| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_attr.h | 24 #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/tools/lib/subcmd/ |
| H A D | parse-options.h | 90 * `defval`:: 110 intptr_t defval; 122 #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) } 130 #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) } 131 #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) } 134 #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) } 142 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d) } 146 .flags = PARSE_OPT_OPTARG, .defval = (intptr_t)(d), \ 160 { .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 } 163 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval 108 intptr_t defval; global() member [all...] |
| H A D | parse-options.c | 58 res = (const char *)opt->defval; in get_arg() 225 *(int *)opt->value &= ~opt->defval; in get_value() 227 *(int *)opt->value |= opt->defval; in get_value() 241 *(unsigned int *)opt->value = unset ? 0 : opt->defval; in get_value() 245 *(void **)opt->value = unset ? NULL : (void *)opt->defval; in get_value() 253 *(const char **)opt->value = (const char *)opt->defval; in get_value() 296 *(int *)opt->value = opt->defval; in get_value() 312 *(unsigned int *)opt->value = opt->defval; in get_value() 330 *(long *)opt->value = opt->defval; in get_value() 346 *(unsigned long *)opt->value = opt->defval; in parse_short_opt() [all...] |
| /linux/drivers/hwmon/ |
| H A D | w83l785ts.c | 69 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/ |
| H A D | cs42l43-jack.c | 47 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/sound/pci/emu10k1/ |
| H A D | emufx.c | 1157 const char *name, int gpr, int defval, int defval_hr) in snd_emu10k1_init_mono_control2() argument 1167 defval = defval_hr; in snd_emu10k1_init_mono_control2() 1174 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_mono_control2() 1176 #define snd_emu10k1_init_mono_control(ctl, name, gpr, defval) \ argument 1177 snd_emu10k1_init_mono_control2(ctl, name, gpr, defval, HR_VAL(defval)) 1181 const char *name, int gpr, int defval, int defval_hr) in snd_emu10k1_init_stereo_control2() argument 1191 defval = defval_hr; in snd_emu10k1_init_stereo_control2() 1198 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; in snd_emu10k1_init_stereo_control2() 1199 ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; in snd_emu10k1_init_stereo_control2() 1201 #define snd_emu10k1_init_stereo_control(ctl, name, gpr, defval) \ argument [all …]
|
| /linux/net/dccp/ |
| H A D | feat.c | |
| /linux/arch/sparc/include/asm/ |
| H A D | oplib_32.h | 137 int prom_getintdefault(phandle node, char *property, int defval);
|
| H A D | oplib_64.h | 205 int prom_getintdefault(phandle node, const char *property, int defval);
|
| /linux/arch/m68k/include/asm/ |
| H A D | oplib.h | 238 extern int prom_getintdefault(int node, char *property, int defval);
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-mcp23s08.c | 366 int intcap, intcon, intf, i, gpio, gpio_orig, intcap_mask, defval, gpinten; in mcp23s08_irq() local 388 if (mcp_read(mcp, MCP_DEFVAL, &defval)) in mcp23s08_irq() 451 (BIT(i) & defval)); in mcp23s08_irq()
|
| /linux/drivers/media/common/siano/ |
| H A D | smsdvb-main.c | 215 #define convert_from_table(value, table, defval) ({ \ argument 220 __ret = defval; \
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 256 block_str, fieldstr, scanfmt, convert, masked=False, defval=None argument 259 return block_str, defval 265 return str_skipped, defval
|