Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_attr.h24 #define LPFC_ATTR(name, defval, minval, maxval, desc) \ argument
25 static uint lpfc_##name = defval;\
28 lpfc_param_init(name, defval, minval, maxval)
30 #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \ argument
31 static uint lpfc_##name = defval;\
35 lpfc_param_init(name, defval, minval, maxval)\
38 #define LPFC_ATTR_RW(name, defval, minval, maxval, desc) \ argument
39 static uint lpfc_##name = defval;\
43 lpfc_param_init(name, defval, minval, maxval)\
44 lpfc_param_set(name, defval, minval, maxval)\
[all …]
/Linux-v5.4/tools/lib/subcmd/
Dparse-options.h112 intptr_t defval; member
124 …, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
132 …name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
133 …e = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
143 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
147 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d), \
157 …ng_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .fl…
160 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
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()
256 *(int *)opt->value = opt->defval; in get_value()
272 *(unsigned int *)opt->value = opt->defval; in get_value()
290 *(long *)opt->value = opt->defval; in get_value()
306 *(unsigned long *)opt->value = opt->defval; in get_value()
[all …]
/Linux-v5.4/drivers/hwmon/
Dw83l785ts.c70 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
221 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value() argument
257 return defval; in w83l785ts_read_value()
/Linux-v5.4/arch/arm/mach-pxa/
Dcm-x270.c234 .defval = 640,
239 .defval = 480,
244 .defval = 16,
/Linux-v5.4/include/video/
Dmbxfb.h9 unsigned int defval; member
/Linux-v5.4/arch/sparc/include/asm/
Doplib_32.h137 int prom_getintdefault(phandle node, char *property, int defval);
Doplib_64.h205 int prom_getintdefault(phandle node, const char *property, int defval);
/Linux-v5.4/arch/m68k/include/asm/
Doplib.h236 extern int prom_getintdefault(int node, char *property, int defval);
/Linux-v5.4/net/dccp/
Dfeat.c1100 u8 defval, type = dccp_feat_type(feat); in dccp_feat_change_recv() local
1145 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1146 if (dccp_feat_preflist_match(&defval, 1, val, len) > -1) in dccp_feat_change_recv()
1147 fval.sp.vec[0] = defval; in dccp_feat_change_recv()
1179 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1180 if (!dccp_feat_reconcile(&entry->val, &defval, 1, server, true)) in dccp_feat_change_recv()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-mcp23s08.c453 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval; in mcp23s08_irq() local
468 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
523 (BIT(i) & defval)); in mcp23s08_irq()
/Linux-v5.4/sound/pci/emu10k1/
Demufx.c1094 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_control() argument
1099 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_control()
1115 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_control() argument
1120 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_control()
1121 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_control()
1137 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_onoff_control() argument
1142 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_onoff_control()
1150 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_onoff_control() argument
1155 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_onoff_control()
1156 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_onoff_control()
/Linux-v5.4/drivers/media/common/siano/
Dsmsdvb-main.c187 #define convert_from_table(value, table, defval) ({ \ argument
192 __ret = defval; \