Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/tools/lib/subcmd/
Dparse-options.h111 intptr_t defval; member
123 …, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
131 …name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
132 …e = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
141 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) }
145 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d), \
155 …ng_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .fl…
158 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
Dparse-options.c58 res = (const char *)opt->defval; in get_arg()
186 *(int *)opt->value &= ~opt->defval; in get_value()
188 *(int *)opt->value |= opt->defval; in get_value()
202 *(unsigned int *)opt->value = unset ? 0 : opt->defval; in get_value()
206 *(void **)opt->value = unset ? NULL : (void *)opt->defval; in get_value()
214 *(const char **)opt->value = (const char *)opt->defval; in get_value()
254 *(int *)opt->value = opt->defval; in get_value()
270 *(unsigned int *)opt->value = opt->defval; in get_value()
288 *(long *)opt->value = opt->defval; in get_value()
304 *(u64 *)opt->value = opt->defval; in get_value()
/Linux-v4.19/drivers/hwmon/
Dw83l785ts.c83 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
234 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value() argument
270 return defval; in w83l785ts_read_value()
/Linux-v4.19/arch/arm/mach-pxa/
Dcm-x270.c236 .defval = 640,
241 .defval = 480,
246 .defval = 16,
/Linux-v4.19/include/video/
Dmbxfb.h9 unsigned int defval; member
/Linux-v4.19/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-v4.19/arch/m68k/include/asm/
Doplib.h236 extern int prom_getintdefault(int node, char *property, int defval);
/Linux-v4.19/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-v4.19/drivers/pinctrl/
Dpinctrl-mcp23s08.c452 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval; in mcp23s08_irq() local
467 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
522 (BIT(i) & defval)); in mcp23s08_irq()
/Linux-v4.19/sound/pci/emu10k1/
Demufx.c1103 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_control() argument
1108 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_control()
1124 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_control() argument
1129 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_control()
1130 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_control()
1146 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_onoff_control() argument
1151 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_onoff_control()
1159 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_onoff_control() argument
1164 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_onoff_control()
1165 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_onoff_control()
/Linux-v4.19/drivers/media/common/siano/
Dsmsdvb-main.c198 #define convert_from_table(value, table, defval) ({ \ argument
203 __ret = defval; \