Home
last modified time | relevance | path

Searched refs:defval (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/scsi/lpfc/
A Dlpfc_attr.h25 static uint lpfc_##name = defval;\
31 static uint lpfc_##name = defval;\
39 static uint lpfc_##name = defval;\
50 static uint lpfc_##name = defval;\
60 static uint lpfc_##name = defval;\
68 static uint lpfc_##name = defval;\
79 static uint lpfc_##name = defval;\
85 static uint lpfc_##name = defval;\
101 static uint lpfc_##name = defval;\
112 static uint lpfc_##name = defval;\
[all …]
/linux/tools/lib/subcmd/
A Dparse-options.h108 intptr_t defval; member
120 …, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
128 …name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
129 …e = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
132 …= check_vtype(v, unsigned int *), .help = (h), .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
140 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
144 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d), \
156 …ng_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .fl…
159 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
A Dparse-options.c58 res = (const char *)opt->defval; in get_arg()
188 *(int *)opt->value &= ~opt->defval; in get_value()
190 *(int *)opt->value |= opt->defval; in get_value()
204 *(unsigned int *)opt->value = unset ? 0 : opt->defval; in get_value()
208 *(void **)opt->value = unset ? NULL : (void *)opt->defval; in get_value()
216 *(const char **)opt->value = (const char *)opt->defval; in get_value()
259 *(int *)opt->value = opt->defval; in get_value()
275 *(unsigned int *)opt->value = opt->defval; in get_value()
293 *(long *)opt->value = opt->defval; in get_value()
309 *(unsigned long *)opt->value = opt->defval; in get_value()
[all …]
/linux/drivers/hwmon/
A Dw83l785ts.c69 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
217 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value() argument
253 return defval; in w83l785ts_read_value()
/linux/sound/soc/codecs/
A Dcs42l43-jack.c47 unsigned int defval, unsigned int *val, in cs42l43_find_index() argument
53 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index()
60 *val = defval; in cs42l43_find_index()
63 if (defval == values[i]) in cs42l43_find_index()
66 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index()
/linux/arch/sparc/include/asm/
A Doplib_32.h137 int prom_getintdefault(phandle node, char *property, int defval);
A Doplib_64.h205 int prom_getintdefault(phandle node, const char *property, int defval);
/linux/net/dccp/
A Dfeat.c1110 u8 defval, type = dccp_feat_type(feat); in dccp_feat_change_recv() local
1155 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1156 if (dccp_feat_preflist_match(&defval, 1, val, len) > -1) in dccp_feat_change_recv()
1157 fval.sp.vec[0] = defval; in dccp_feat_change_recv()
1189 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1190 if (!dccp_feat_reconcile(&entry->val, &defval, 1, server, true)) in dccp_feat_change_recv()
/linux/sound/pci/emu10k1/
A Demufx.c1185 defval = defval_hr; in snd_emu10k1_init_mono_control2()
1192 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_control2()
1195 snd_emu10k1_init_mono_control2(ctl, name, gpr, defval, HR_VAL(defval))
1209 defval = defval_hr; in snd_emu10k1_init_stereo_control2()
1216 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_control2()
1217 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_control2()
1220 snd_emu10k1_init_stereo_control2(ctl, name, gpr, defval, HR_VAL(defval))
1224 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_onoff_control() argument
1229 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_onoff_control()
1242 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_onoff_control()
[all …]
/linux/arch/m68k/include/asm/
A Doplib.h238 extern int prom_getintdefault(int node, char *property, int defval);
/linux/drivers/pinctrl/
A Dpinctrl-mcp23s08.c378 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval, gpinten; in mcp23s08_irq() local
402 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
455 (BIT(i) & defval)); in mcp23s08_irq()
/linux/drivers/media/common/siano/
A Dsmsdvb-main.c215 #define convert_from_table(value, table, defval) ({ \ argument
220 __ret = defval; \
/linux/tools/testing/selftests/net/openvswitch/
A Dovs-dpctl.py257 block_str, fieldstr, scanfmt, convert, masked=False, defval=None argument
260 return block_str, defval
266 return str_skipped, defval

Completed in 612 milliseconds