/drivers/clk/mvebu/ |
H A D | orion.c | 32 u32 opt = (readl(sar) >> SAR_MV88F5182_TCLK_FREQ) & local 34 if (opt == 1) 36 else if (opt == 2) 47 u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & local 49 if (opt == 0) 51 else if (opt == 1 || opt == 2) 53 else if (opt == 3) 62 u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & local 64 if (opt 106 u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & local 119 u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & local 157 u32 opt = (readl(sar) >> SAR_MV88F6183_TCLK_FREQ) & local 172 u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & local 185 u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & local [all...] |
H A D | dove.c | 90 u32 opt = (readl(sar) >> SAR_DOVE_TCLK_FREQ) & local 92 return dove_tclk_freqs[opt]; 109 u32 opt = (readl(sar) >> SAR_DOVE_CPU_FREQ) & local 111 return dove_cpu_freqs[opt]; 132 u32 opt = (readl(sar) >> SAR_DOVE_L2_RATIO) & local 134 *mult = dove_cpu_l2_ratios[opt][0]; 135 *div = dove_cpu_l2_ratios[opt][1]; 140 u32 opt = (readl(sar) >> SAR_DOVE_DDR_RATIO) & local 142 *mult = dove_cpu_ddr_ratios[opt][0]; 143 *div = dove_cpu_ddr_ratios[opt][ [all...] |
H A D | armada-xp.c | 128 u32 opt = ((readl(sar + SARL) >> SARL_AXP_FAB_FREQ_OPT) & local 134 opt |= (((readl(sar + SARH) >> SARH_AXP_FAB_FREQ_OPT) & 139 *mult = axp_nbclk_ratios[opt][0]; 140 *div = axp_nbclk_ratios[opt][1]; 143 *mult = axp_hclk_ratios[opt][0]; 144 *div = axp_hclk_ratios[opt][1]; 147 *mult = axp_dramclk_ratios[opt][0]; 148 *div = axp_dramclk_ratios[opt][1];
|
H A D | armada-370.c | 118 u32 opt = ((readl(sar) >> SARL_A370_FAB_FREQ_OPT) & local 123 *mult = a370_nbclk_ratios[opt][0]; 124 *div = a370_nbclk_ratios[opt][1]; 127 *mult = a370_hclk_ratios[opt][0]; 128 *div = a370_hclk_ratios[opt][1]; 131 *mult = a370_dramclk_ratios[opt][0]; 132 *div = a370_dramclk_ratios[opt][1];
|
H A D | armada-375.c | 119 u32 opt = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & local 124 *mult = armada_375_cpu_l2_ratios[opt][0]; 125 *div = armada_375_cpu_l2_ratios[opt][1]; 128 *mult = armada_375_cpu_ddr_ratios[opt][0]; 129 *div = armada_375_cpu_ddr_ratios[opt][1];
|
H A D | armada-38x.c | 102 u32 opt = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & local 107 *mult = armada_38x_cpu_l2_ratios[opt][0]; 108 *div = armada_38x_cpu_l2_ratios[opt][1]; 111 *mult = armada_38x_cpu_ddr_ratios[opt][0]; 112 *div = armada_38x_cpu_ddr_ratios[opt][1];
|
H A D | kirkwood.c | 90 u32 opt = (readl(sar) >> SAR_KIRKWOOD_TCLK_FREQ) & local 92 return (opt) ? 166666667 : 200000000; 112 u32 opt = SAR_KIRKWOOD_CPU_FREQ(readl(sar)); local 113 return kirkwood_cpu_freqs[opt]; 134 u32 opt = SAR_KIRKWOOD_L2_RATIO(readl(sar)); local 135 *mult = kirkwood_cpu_l2_ratios[opt][0]; 136 *div = kirkwood_cpu_l2_ratios[opt][1]; 141 u32 opt = (readl(sar) >> SAR_KIRKWOOD_DDR_RATIO) & local 143 *mult = kirkwood_cpu_ddr_ratios[opt][0]; 144 *div = kirkwood_cpu_ddr_ratios[opt][ 159 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & SAR_MV88F6180_CLK_MASK; local 181 u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & local [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | param.c | 174 const struct e1000_option *opt, 178 *value = opt->def; 182 switch (opt->type) { 187 opt->name); 191 opt->name); 196 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 198 opt->name, *value); 206 for (i = 0; i < opt->arg.l.nr; i++) { 207 ent = &opt 173 e1000_validate_option(unsigned int *value, const struct e1000_option *opt, struct e1000_adapter *adapter) argument 250 static const struct e1000_option opt = { local 270 static const struct e1000_option opt = { local 290 static struct e1000_option opt = { local 310 static const struct e1000_option opt = { local 330 static const struct e1000_option opt = { local 407 static struct e1000_option opt = { local 452 static const struct e1000_option opt = { local 469 static const struct e1000_option opt = { local 491 static const struct e1000_option opt = { local 512 static const struct e1000_option opt = { local [all...] |
/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_param.c | 119 static int atl1e_validate_option(int *value, struct atl1e_option *opt, argument 123 *value = opt->def; 127 switch (opt->type) { 132 "%s Enabled\n", opt->name); 136 "%s Disabled\n", opt->name); 141 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 143 opt->name, *value); 151 for (i = 0; i < opt->arg.l.nr; i++) { 152 ent = &opt 193 struct atl1e_option opt = { local 212 struct atl1e_option opt = { local 232 struct atl1e_option opt = { local 251 struct atl1e_option opt = { local [all...] |
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_param.c | 203 ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt) argument 206 *value = opt->def; 210 switch (opt->type) { 214 pr_info("%s Enabled\n", opt->name); 217 pr_info("%s Disabled\n", opt->name); 222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 223 pr_info("%s set to %i\n", opt->name, *value); 231 for (i = 0; i < opt->arg.l.nr; i++) { 232 ent = &opt 270 static const struct ixgb_option opt = { local 289 static const struct ixgb_option opt = { local 308 static const struct ixgb_option opt = { local 333 static const struct ixgb_option opt = { local 351 static const struct ixgb_option opt = { local 370 static const struct ixgb_option opt = { local 389 static const struct ixgb_option opt = { local 419 static const struct ixgb_option opt = { local 436 static const struct ixgb_option opt = { local 454 static const struct ixgb_option opt = { local [all...] |
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | option.h | 6 const char *nouveau_stropt(const char *optstr, const char *opt, int *len); 7 bool nouveau_boolopt(const char *optstr, const char *opt, bool value);
|
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 209 const struct e1000_option *opt, 213 *value = opt->def; 217 switch (opt->type) { 221 e_dev_info("%s Enabled\n", opt->name); 224 e_dev_info("%s Disabled\n", opt->name); 229 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 230 e_dev_info("%s set to %i\n", opt->name, *value); 238 for (i = 0; i < opt->arg.l.nr; i++) { 239 ent = &opt 208 e1000_validate_option(unsigned int *value, const struct e1000_option *opt, struct e1000_adapter *adapter) argument 272 struct e1000_option opt; local 564 struct e1000_option opt; local [all...] |
/drivers/video/fbdev/core/ |
H A D | fb_cmdline.c | 37 char *opt, *options = NULL; local 50 opt = video_options[i]; 51 if (!strncmp(name, opt, name_len) && 52 opt[name_len] == ':') 53 options = opt + name_len + 1;
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 220 * @opt: option 227 const struct pch_gbe_option *opt, 231 *value = opt->def; 235 switch (opt->type) { 239 netdev_dbg(adapter->netdev, "%s Enabled\n", opt->name); 242 netdev_dbg(adapter->netdev, "%s Disabled\n", opt->name); 247 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 249 opt->name, *value); 257 for (i = 0; i < opt 226 pch_gbe_validate_option(int *value, const struct pch_gbe_option *opt, struct pch_gbe_adapter *adapter) argument 288 static const struct pch_gbe_option opt = { local 300 static const struct pch_gbe_option opt = { local 313 static const struct pch_gbe_option opt = { local 450 static const struct pch_gbe_option opt = { local 466 static const struct pch_gbe_option opt = { local 482 static const struct pch_gbe_option opt = { local 494 static const struct pch_gbe_option opt = { local 506 static const struct pch_gbe_option opt = { local [all...] |
/drivers/gpu/drm/nouveau/core/core/ |
H A D | option.c | 29 nouveau_stropt(const char *optstr, const char *opt, int *arglen) argument 35 if (!strncasecmpz(optstr, opt, len)) { 55 nouveau_boolopt(const char *optstr, const char *opt, bool value) argument 59 optstr = nouveau_stropt(optstr, opt, &arglen);
|
/drivers/net/ppp/ |
H A D | pptp.c | 96 struct pptp_opt *opt; local 101 opt = &sock->proto.pptp; 102 if (opt->dst_addr.sin_addr.s_addr != s_addr) 115 struct pptp_opt *opt; local 124 opt = &sock->proto.pptp; 125 if (opt->dst_addr.call_id == call_id && 126 opt->dst_addr.sin_addr.s_addr == d_addr) 174 struct pptp_opt *opt = &po->proto.pptp; local 193 opt->dst_addr.sin_addr.s_addr, 194 opt 298 struct pptp_opt *opt = &po->proto.pptp; local 420 struct pptp_opt *opt = &po->proto.pptp; local 439 struct pptp_opt *opt = &po->proto.pptp; local 526 struct pptp_opt *opt; local 569 struct pptp_opt *opt; local 603 struct pptp_opt *opt = &po->proto.pptp; local [all...] |
H A D | pppolac.c | 74 struct pppolac_opt *opt = &pppox_sk(sk)->proto.lac; local 86 return opt->backlog_rcv(sk_udp, skb); 116 if (unaligned(ptr)->u32 != opt->local) 122 if ((__s16)(meta->sequence - opt->recv_sequence) < 0) 140 atomic_set(&opt->sequencing, bits & L2TP_SEQUENCE_BIT); 171 meta->sequence != opt->recv_sequence) 174 opt->recv_sequence = (__u16)(meta->sequence + 1); 225 struct pppolac_opt *opt = &pppox_sk(sk_udp->sk_user_data)->proto.lac; local 233 if (atomic_read(&opt->sequencing)) { 236 skb->data[6] = opt [all...] |
H A D | pppopns.c | 73 struct pppopns_opt *opt = &pppox_sk(sk)->proto.pns; local 87 if (hdr->type != PPTP_GRE_TYPE || hdr->call != opt->local || 104 if ((__s32)(meta->sequence - opt->recv_sequence) < 0) 152 meta->sequence != opt->recv_sequence) 155 opt->recv_sequence = meta->sequence + 1; 208 struct pppopns_opt *opt = &pppox_sk(sk_raw->sk_user_data)->proto.pns; local 223 hdr->call = opt->remote; 224 hdr->sequence = htonl(opt->xmit_sequence); 225 opt->xmit_sequence++;
|
/drivers/video/fbdev/ |
H A D | acornfb.c | 765 static void acornfb_parse_mon(char *opt) argument 767 char *p = opt; 808 printk(KERN_ERR "Acornfb: bad monitor settings: %s\n", opt); 812 static void acornfb_parse_montype(char *opt) argument 816 if (strncmp(opt, "tv", 2) == 0) { 817 opt += 2; 819 } else if (strncmp(opt, "multi", 5) == 0) { 820 opt += 5; 822 } else if (strncmp(opt, "hires", 5) == 0) { 823 opt 853 acornfb_parse_dram(char *opt) argument 888 char *opt; local [all...] |
/drivers/net/bonding/ |
H A D | bond_options.h | 15 #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST) 71 * - if string != NULL -> parse it, if the opt is RAW type then return it, else 105 const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt,
|
H A D | bond_options.c | 389 const struct bond_option *opt; local 393 opt = bond_opt_get(option); 394 if (opt && !strcmp(opt->name, name)) 395 return opt; 401 /* Searches for a value in opt's values[] table */ 404 const struct bond_option *opt; local 407 opt = bond_opt_get(option); 408 if (WARN_ON(!opt)) 410 for (i = 0; opt 418 bond_opt_get_flags(const struct bond_option *opt, u32 flagmask) argument 433 bond_opt_check_range(const struct bond_option *opt, u64 val) argument 455 bond_opt_parse(const struct bond_option *opt, struct bond_opt_value *val) argument 521 bond_opt_check_deps(struct bonding *bond, const struct bond_option *opt) argument 536 bond_opt_dep_print(struct bonding *bond, const struct bond_option *opt) argument 549 bond_opt_error_interpret(struct bonding *bond, const struct bond_option *opt, int error, const struct bond_opt_value *val) argument 608 const struct bond_option *opt; local [all...] |
/drivers/tty/serial/ |
H A D | earlycon-arm-semihost.c | 56 int __init early_smh_setup(struct earlycon_device *device, const char *opt) argument
|
/drivers/pinctrl/ |
H A D | pinctrl-palmas.c | 389 const struct palmas_pin_info *opt[4]; member in struct:palmas_pingroup 515 .opt = { \ 701 if (!g->opt[function]) { 708 for (i = 0; i < ARRAY_SIZE(g->opt); i++) { 709 if (!g->opt[i]) 711 if (g->opt[i]->mux_opt == function) 714 if (WARN_ON(i == ARRAY_SIZE(g->opt))) { 755 const struct palmas_pin_info *opt; local 775 opt = g->opt[pc 865 const struct palmas_pin_info *opt; local [all...] |
/drivers/hid/ |
H A D | hid-wiimote.h | 129 __u32 opt; member in struct:wiimote_state 296 __u32 opt) 298 return wdata->state.cmd == cmd && wdata->state.opt == opt; 330 __u32 opt) 334 wdata->state.opt = opt; 295 wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, __u32 opt) argument 329 wiimote_cmd_set(struct wiimote_data *wdata, int cmd, __u32 opt) argument
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 2919 static int atl2_validate_option(int *value, struct atl2_option *opt) argument 2925 *value = opt->def; 2929 switch (opt->type) { 2933 printk(KERN_INFO "%s Enabled\n", opt->name); 2936 printk(KERN_INFO "%s Disabled\n", opt->name); 2941 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { 2942 printk(KERN_INFO "%s set to %i\n", opt->name, *value); 2947 for (i = 0; i < opt->arg.l.nr; i++) { 2948 ent = &opt 2978 struct atl2_option opt; local [all...] |