Searched refs:opt (Results 26 - 50 of 711) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000_param.c182 const struct e1000_option *opt,
186 *value = opt->def;
190 switch (opt->type) {
194 e_dev_info("%s Enabled\n", opt->name);
197 e_dev_info("%s Disabled\n", opt->name);
202 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
203 e_dev_info("%s set to %i\n", opt->name, *value);
211 for (i = 0; i < opt->arg.l.nr; i++) {
212 ent = &opt
181 e1000_validate_option(unsigned int *value, const struct e1000_option *opt, struct e1000_adapter *adapter) argument
245 struct e1000_option opt; local
537 struct e1000_option opt; local
[all...]
/linux-master/drivers/clk/mvebu/
H A Ddove.c89 u32 opt = (readl(sar) >> SAR_DOVE_TCLK_FREQ) & local
91 return dove_tclk_freqs[opt];
108 u32 opt = (readl(sar) >> SAR_DOVE_CPU_FREQ) & local
110 return dove_cpu_freqs[opt];
131 u32 opt = (readl(sar) >> SAR_DOVE_L2_RATIO) & local
133 *mult = dove_cpu_l2_ratios[opt][0];
134 *div = dove_cpu_l2_ratios[opt][1];
139 u32 opt = (readl(sar) >> SAR_DOVE_DDR_RATIO) & local
141 *mult = dove_cpu_ddr_ratios[opt][0];
142 *div = dove_cpu_ddr_ratios[opt][
[all...]
H A Darmada-xp.c126 u32 opt = ((readl(sar + SARL) >> SARL_AXP_FAB_FREQ_OPT) & local
132 opt |= (((readl(sar + SARH) >> SARH_AXP_FAB_FREQ_OPT) &
137 *mult = axp_nbclk_ratios[opt][0];
138 *div = axp_nbclk_ratios[opt][1];
141 *mult = axp_hclk_ratios[opt][0];
142 *div = axp_hclk_ratios[opt][1];
145 *mult = axp_dramclk_ratios[opt][0];
146 *div = axp_dramclk_ratios[opt][1];
H A Darmada-370.c116 u32 opt = ((readl(sar) >> SARL_A370_FAB_FREQ_OPT) & local
121 *mult = a370_nbclk_ratios[opt][0];
122 *div = a370_nbclk_ratios[opt][1];
125 *mult = a370_hclk_ratios[opt][0];
126 *div = a370_hclk_ratios[opt][1];
129 *mult = a370_dramclk_ratios[opt][0];
130 *div = a370_dramclk_ratios[opt][1];
H A Darmada-375.c117 u32 opt = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & local
122 *mult = armada_375_cpu_l2_ratios[opt][0];
123 *div = armada_375_cpu_l2_ratios[opt][1];
126 *mult = armada_375_cpu_ddr_ratios[opt][0];
127 *div = armada_375_cpu_ddr_ratios[opt][1];
H A Darmada-38x.c101 u32 opt = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & local
106 *mult = armada_38x_cpu_l2_ratios[opt][0];
107 *div = armada_38x_cpu_l2_ratios[opt][1];
110 *mult = armada_38x_cpu_ddr_ratios[opt][0];
111 *div = armada_38x_cpu_ddr_ratios[opt][1];
H A Dkirkwood.c88 u32 opt = (readl(sar) >> SAR_KIRKWOOD_TCLK_FREQ) & local
90 return (opt) ? 166666667 : 200000000;
110 u32 opt = SAR_KIRKWOOD_CPU_FREQ(readl(sar)); local
111 return kirkwood_cpu_freqs[opt];
132 u32 opt = SAR_KIRKWOOD_L2_RATIO(readl(sar)); local
133 *mult = kirkwood_cpu_l2_ratios[opt][0];
134 *div = kirkwood_cpu_l2_ratios[opt][1];
139 u32 opt = (readl(sar) >> SAR_KIRKWOOD_DDR_RATIO) & local
141 *mult = kirkwood_cpu_ddr_ratios[opt][0];
142 *div = kirkwood_cpu_ddr_ratios[opt][
157 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & SAR_MV88F6180_CLK_MASK; local
179 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & local
[all...]
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_drvfs.c43 unsigned int opt)
47 if (opt & OPTION_VALID) {
48 if (opt & OPTION_BIN_LIST) {
57 if (opt & OPTION_BIN_RUN) {
108 return sysfs_emit(buf, "dbgfun opt:%u\n", dbgfun);
115 unsigned int opt; local
118 ret = kstrtouint(buf, 10, &opt);
122 return atomisp_set_css_dbgfunc(isp, opt);
136 unsigned int opt; local
139 ret = kstrtouint(buf, 10, &opt);
42 iunit_dump_dbgopt(struct atomisp_device *isp, unsigned int opt) argument
[all...]
/linux-master/tools/power/cpupower/bench/
H A Dparse.c158 char opt[16], val[32], *line = NULL; local
178 if (sscanf(line, "%14s = %30s", opt, val) < 2)
181 dprintf("parsing: %s -> %s\n", opt, val);
183 if (strcmp("sleep", opt) == 0)
186 else if (strcmp("load", opt) == 0)
189 else if (strcmp("load_step", opt) == 0)
192 else if (strcmp("sleep_step", opt) == 0)
195 else if (strcmp("cycles", opt) == 0)
198 else if (strcmp("rounds", opt) == 0)
201 else if (strcmp("verbose", opt)
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c517 struct tc_gred_qopt_offload *opt)
523 if (opt->set.grio_on || opt->set.wred_on) {
525 opt->parent, opt->handle);
528 if (opt->set.dp_def != alink->def_band) {
530 alink->def_band, opt->parent, opt->handle);
533 if (opt->set.dp_cnt != abm->num_bands) {
535 abm->num_bands, opt
516 nfp_abm_gred_check_params(struct nfp_abm_link *alink, struct tc_gred_qopt_offload *opt) argument
576 nfp_abm_gred_replace(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_gred_qopt_offload *opt) argument
603 nfp_abm_setup_tc_gred(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_gred_qopt_offload *opt) argument
620 nfp_abm_red_xstats(struct nfp_abm_link *alink, struct tc_red_qopt_offload *opt) argument
661 nfp_abm_red_check_params(struct nfp_abm_link *alink, struct tc_red_qopt_offload *opt) argument
698 nfp_abm_red_replace(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_red_qopt_offload *opt) argument
735 nfp_abm_setup_tc_red(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_red_qopt_offload *opt) argument
757 nfp_abm_mq_create(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_mq_qopt_offload *opt) argument
816 nfp_abm_setup_tc_mq(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_mq_qopt_offload *opt) argument
836 nfp_abm_setup_root(struct net_device *netdev, struct nfp_abm_link *alink, struct tc_root_qopt_offload *opt) argument
[all...]
/linux-master/scripts/
H A Dexport_report.pl65 my (%SYMBOL, %MODULE, %opt, @allcfiles);
67 if (not getopts('hk:o:f',\%opt) or defined $opt{'h'}) {
71 if (defined $opt{'f'}) {
77 if (not defined $opt{'k'}) {
78 $opt{'k'} = "Module.symvers";
81 open (my $module_symvers, '<', $opt{'k'})
82 or die "Sorry, cannot open $opt{'k'}: $!\n";
84 if (defined $opt{'o'}) {
85 open (my $out, '>', $opt{'
[all...]
/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_open.c41 int opt; local
54 while ((opt = getopt(argc, argv, "d:")) != -1) {
55 switch (opt) {
/linux-master/samples/bpf/
H A Dtc_l2_redirect_user.c30 int opt; local
32 while ((opt = getopt(argc, argv, "F:U:i:")) != -1) {
33 switch (opt) {
/linux-master/net/ipv6/
H A Dexthdrs.c234 struct inet6_skb_parm *opt = IP6CB(skb); local
239 if (opt->dsthao) {
243 opt->dsthao = opt->dst1;
244 opt->dst1 = 0;
298 struct inet6_skb_parm *opt = IP6CB(skb); local
320 opt->lastopt = opt->dst1 = skb_network_header_len(skb);
322 dstbuf = opt->dst1;
327 opt
371 struct inet6_skb_parm *opt = IP6CB(skb); local
485 struct inet6_skb_parm *opt = IP6CB(skb); local
651 struct inet6_skb_parm *opt = IP6CB(skb); local
1035 struct inet6_skb_parm *opt = IP6CB(skb); local
1077 ipv6_push_rthdr0(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) argument
1102 ipv6_push_rthdr4(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) argument
1151 ipv6_push_rthdr(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) argument
1169 ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) argument
1178 ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto, struct in6_addr **daddr, struct in6_addr *saddr) argument
1195 ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) argument
1203 ipv6_dup_options(struct sock *sk, struct ipv6_txoptions *opt) argument
1263 ipv6_renew_options(struct sock *sk, struct ipv6_txoptions *opt, int newtype, struct ipv6_opt_hdr *newopt) argument
1319 __ipv6_fixup_options(struct ipv6_txoptions *opt_space, struct ipv6_txoptions *opt) argument
1350 fl6_update_dst(struct flowi6 *fl6, const struct ipv6_txoptions *opt, struct in6_addr *orig) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.h17 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt);
27 mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) { return 0; } argument
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c209 * @opt: option
216 const struct pch_gbe_option *opt,
220 *value = opt->def;
224 switch (opt->type) {
228 netdev_dbg(adapter->netdev, "%s Enabled\n", opt->name);
231 netdev_dbg(adapter->netdev, "%s Disabled\n", opt->name);
236 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
238 opt->name, *value);
246 for (i = 0; i < opt
215 pch_gbe_validate_option(int *value, const struct pch_gbe_option *opt, struct pch_gbe_adapter *adapter) argument
277 static const struct pch_gbe_option opt = { local
289 static const struct pch_gbe_option opt = { local
302 static const struct pch_gbe_option opt = { local
439 static const struct pch_gbe_option opt = { local
455 static const struct pch_gbe_option opt = { local
471 static const struct pch_gbe_option opt = { local
483 static const struct pch_gbe_option opt = { local
495 static const struct pch_gbe_option opt = { local
[all...]
/linux-master/net/netfilter/
H A Dxt_TCPMSS.c34 optlen(const u_int8_t *opt, unsigned int offset) argument
37 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0)
40 return opt[offset+1];
83 u8 *opt; local
116 opt = (u_int8_t *)tcph;
117 for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) {
118 if (opt[i] == TCPOPT_MSS && opt[i+1] == TCPOLEN_MSS) {
121 oldmss = (opt[
[all...]
H A Dxt_TCPOPTSTRIP.c19 static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset) argument
22 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0)
25 return opt[offset+1];
37 u_int8_t *opt; local
57 opt = (u8 *)tcph;
64 optl = optlen(opt, i);
69 if (!tcpoptstrip_test_bit(info->strip_bmap, opt[i]))
73 o = opt[i+j];
82 memset(opt
[all...]
/linux-master/arch/s390/include/asm/
H A Dtlbflush.h22 unsigned long opt; local
24 opt = IDTE_PTOA;
26 opt |= IDTE_GUEST_ASCE;
28 asm volatile("idte 0,%1,%0" : : "a" (opt), "a" (asce) : "cc");
/linux-master/include/linux/
H A Dmroute.h14 static inline int ip_mroute_opt(int opt) argument
16 return opt >= MRT_BASE && opt <= MRT_MAX;
49 static inline int ip_mroute_opt(int opt) argument
/linux-master/tools/usb/usbip/src/
H A Dusbip_detach.c102 int opt; local
106 opt = getopt_long(argc, argv, "p:", opts, NULL);
108 if (opt == -1)
111 switch (opt) {
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_base.h27 * @opt: [in] encode option
32 int (*encode)(void *handle, enum venc_start_opt opt,
/linux-master/arch/loongarch/include/asm/
H A Defi.h13 void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
/linux-master/net/dns_resolver/
H A Ddns_key.c98 const char *data = prep->data, *end, *opt; local
144 opt = memchr(data, '#', datalen);
145 if (!opt) {
152 result_len = opt - data;
153 opt++;
154 kdebug("options: '%s'", opt);
160 next_opt = memchr(opt, '#', end - opt) ?: end;
161 opt_len = next_opt - opt;
168 eq = memchr(opt, '
[all...]
/linux-master/drivers/net/ppp/
H A Dpptp.c56 struct pptp_opt *opt; local
61 opt = &sock->proto.pptp;
62 if (opt->dst_addr.sin_addr.s_addr != s_addr)
75 struct pptp_opt *opt; local
84 opt = &sock->proto.pptp;
85 if (opt->dst_addr.call_id == call_id &&
86 opt->dst_addr.sin_addr.s_addr == d_addr)
154 struct pptp_opt *opt = &po->proto.pptp; local
196 if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp)
200 if ((opt
272 struct pptp_opt *opt = &po->proto.pptp; local
420 struct pptp_opt *opt = &po->proto.pptp; local
546 struct pptp_opt *opt; local
580 struct pptp_opt *opt = &po->proto.pptp; local
[all...]

Completed in 192 milliseconds

1234567891011>>