Home
last modified time | relevance | path

Searched refs:defval (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_attr.h24 #define LPFC_ATTR(name, defval, minval, maxval, desc) \
25 static uint lpfc_##name = defval;\
28 lpfc_param_init(name, defval, minval, maxval)
30 #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \
31 static uint lpfc_##name = defval;\
35 lpfc_param_init(name, defval, minval, maxval)\
38 #define LPFC_ATTR_RW(name, defval, minval, maxval, desc) \
39 static uint lpfc_##name = defval;\
43 lpfc_param_init(name, defval, minval, maxval)\
44 lpfc_param_set(name, defval, minva
[all...]
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_attr.h24 #define LPFC_ATTR(name, defval, minval, maxval, desc) \
25 static uint lpfc_##name = defval;\
28 lpfc_param_init(name, defval, minval, maxval)
30 #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \
31 static uint lpfc_##name = defval;\
35 lpfc_param_init(name, defval, minval, maxval)\
38 #define LPFC_ATTR_RW(name, defval, minval, maxval, desc) \
39 static uint lpfc_##name = defval;\
43 lpfc_param_init(name, defval, minval, maxval)\
44 lpfc_param_set(name, defval, minva
[all...]
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.h88 * `defval`::
108 intptr_t defval; member
120 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
128 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
132 #define OPT_UINTEGER_OPTARG(s, l, v, d, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l), .value = 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 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE_OPT_LASTARG_DEFAULT }
159 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval
[all...]
H 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...]
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.h92 * `defval`::
112 intptr_t defval; member
124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
133 #define OPT_SET_PTR(s, l, v, h, p) { .type = 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), \
159 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE_OPT_LASTARG_DEFAULT }
162 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
H 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...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dw83l785ts.c69 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
219 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value() argument
255 return defval; in w83l785ts_read_value()
/kernel/linux/linux-6.6/drivers/hwmon/
H 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()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42l43-jack.c41 unsigned int defval, unsigned int *val, in cs42l43_find_index()
47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index()
54 *val = defval; in cs42l43_find_index()
57 if (defval == values[i]) in cs42l43_find_index()
60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index()
40 cs42l43_find_index(struct cs42l43_codec *priv, const char * const prop, unsigned int defval, unsigned int *val, const unsigned int *values, const int nvalues) cs42l43_find_index() argument
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Doplib_32.h137 int prom_getintdefault(phandle node, char *property, int defval);
H A Doplib_64.h205 int prom_getintdefault(phandle node, const char *property, int defval);
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Doplib_32.h137 int prom_getintdefault(phandle node, char *property, int defval);
H A Doplib_64.h205 int prom_getintdefault(phandle node, const char *property, int defval);
/kernel/linux/linux-5.10/net/dccp/
H A Dfeat.c1104 u8 defval, type = dccp_feat_type(feat); in dccp_feat_change_recv() local
1149 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1150 if (dccp_feat_preflist_match(&defval, 1, val, len) > -1) in dccp_feat_change_recv()
1151 fval.sp.vec[0] = defval; in dccp_feat_change_recv()
1183 defval = dccp_feat_default_value(feat); in dccp_feat_change_recv()
1184 if (!dccp_feat_reconcile(&entry->val, &defval, 1, server, true)) in dccp_feat_change_recv()
/kernel/linux/linux-6.6/net/dccp/
H 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()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Doplib.h236 extern int prom_getintdefault(int node, char *property, int defval);
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Doplib.h236 extern int prom_getintdefault(int node, char *property, int defval);
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c345 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval; in mcp23s08_irq() local
365 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
415 (BIT(i) & defval)); in mcp23s08_irq()
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c378 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval; in mcp23s08_irq() local
398 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq()
448 (BIT(i) & defval)); in mcp23s08_irq()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Demufx.c1175 const char *name, int gpr, int defval, int defval_hr) in snd_emu10k1_init_mono_control2()
1185 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()
1194 #define snd_emu10k1_init_mono_control(ctl, name, gpr, defval) \
1195 snd_emu10k1_init_mono_control2(ctl, name, gpr, defval, HR_VAL(defval))
1199 const char *name, int gpr, int defval, int defval_hr) in snd_emu10k1_init_stereo_control2()
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()
1174 snd_emu10k1_init_mono_control2(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval, int defval_hr) snd_emu10k1_init_mono_control2() argument
1198 snd_emu10k1_init_stereo_control2(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval, int defval_hr) snd_emu10k1_init_stereo_control2() argument
1223 snd_emu10k1_init_mono_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_mono_onoff_control() argument
1236 snd_emu10k1_init_stereo_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_stereo_onoff_control() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Demufx.c1118 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_control()
1123 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_control()
1139 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_control()
1144 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_control()
1145 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_control()
1161 const char *name, int gpr, int defval) in snd_emu10k1_init_mono_onoff_control()
1166 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_onoff_control()
1174 const char *name, int gpr, int defval) in snd_emu10k1_init_stereo_onoff_control()
1179 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_onoff_control()
1180 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_onoff_control()
1117 snd_emu10k1_init_mono_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_mono_control() argument
1138 snd_emu10k1_init_stereo_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_stereo_control() argument
1160 snd_emu10k1_init_mono_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_mono_onoff_control() argument
1173 snd_emu10k1_init_stereo_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, const char *name, int gpr, int defval) snd_emu10k1_init_stereo_onoff_control() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/common/siano/
H A Dsmsdvb-main.c187 #define convert_from_table(value, table, defval) ({ \
192 __ret = defval; \
/kernel/linux/linux-6.6/drivers/media/common/siano/
H A Dsmsdvb-main.c215 #define convert_from_table(value, table, defval) ({ \
220 __ret = defval; \
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py239 block_str, fieldstr, scanfmt, convert, masked=False, defval=None
242 return block_str, defval
248 return str_skipped, defval

Completed in 23 milliseconds