Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 182 of 182) sorted by relevance

/linux-4.4.14/drivers/md/
Ddm-round-robin.c46 struct selector { struct
51 static struct selector *alloc_selector(void) in alloc_selector() argument
53 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
65 struct selector *s; in rr_create()
77 struct selector *s = (struct selector *) ps->context; in rr_destroy()
114 struct selector *s = (struct selector *) ps->context; in rr_add_path()
149 struct selector *s = (struct selector *) ps->context; in rr_fail_path()
157 struct selector *s = (struct selector *) ps->context; in rr_reinstate_path()
168 struct selector *s = (struct selector *) ps->context; in rr_select_path()
Ddm-queue-length.c29 struct selector { struct
41 static struct selector *alloc_selector(void) in alloc_selector() argument
43 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
55 struct selector *s = alloc_selector(); in ql_create()
76 struct selector *s = ps->context; in ql_destroy()
112 struct selector *s = ps->context; in ql_add_path()
152 struct selector *s = ps->context; in ql_fail_path()
160 struct selector *s = ps->context; in ql_reinstate_path()
174 struct selector *s = ps->context; in ql_select_path()
Ddm-service-time.c24 struct selector { struct
37 static struct selector *alloc_selector(void) in alloc_selector() argument
39 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector()
51 struct selector *s = alloc_selector(); in st_create()
72 struct selector *s = ps->context; in st_destroy()
109 struct selector *s = ps->context; in st_add_path()
165 struct selector *s = ps->context; in st_fail_path()
173 struct selector *s = ps->context; in st_reinstate_path()
261 struct selector *s = ps->context; in st_select_path()
DMakefile7 dm-multipath-y += dm-path-selector.o dm-mpath.o
DKconfig405 This path selector is a dynamic load balancer which selects
414 This path selector is a dynamic load balancer which selects
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_ctrl.c43 .selector = UVC_PU_BRIGHTNESS_CONTROL,
52 .selector = UVC_PU_CONTRAST_CONTROL,
61 .selector = UVC_PU_HUE_CONTROL,
71 .selector = UVC_PU_SATURATION_CONTROL,
80 .selector = UVC_PU_SHARPNESS_CONTROL,
89 .selector = UVC_PU_GAMMA_CONTROL,
98 .selector = UVC_PU_WHITE_BALANCE_TEMPERATURE_CONTROL,
108 .selector = UVC_PU_WHITE_BALANCE_COMPONENT_CONTROL,
118 .selector = UVC_PU_BACKLIGHT_COMPENSATION_CONTROL,
127 .selector = UVC_PU_GAIN_CONTROL,
[all …]
Duvc_v4l2.c50 map->selector = xmap->selector; in uvc_ioctl_ctrl_map()
799 const struct uvc_entity *selector = chain->selector; in uvc_ioctl_enum_input() local
804 if (selector == NULL || in uvc_ioctl_enum_input()
813 } else if (index < selector->bNrInPins) { in uvc_ioctl_enum_input()
814 pin = selector->baSourceID[index]; in uvc_ioctl_enum_input()
842 if (chain->selector == NULL || in uvc_ioctl_g_input()
848 ret = uvc_query_ctrl(chain->dev, UVC_GET_CUR, chain->selector->id, in uvc_ioctl_g_input()
869 if (chain->selector == NULL || in uvc_ioctl_s_input()
876 if (input >= chain->selector->bNrInPins) in uvc_ioctl_s_input()
880 return uvc_query_ctrl(chain->dev, UVC_SET_CUR, chain->selector->id, in uvc_ioctl_s_input()
[all …]
Duvcvideo.h174 __u8 selector; member
187 __u8 selector; member
289 } selector; member
390 struct uvc_entity *selector; /* Selector unit */ member
Duvc_driver.c1323 if (chain->selector != NULL) { in uvc_scan_chain_entity()
1329 chain->selector = entity; in uvc_scan_chain_entity()
1456 chain->selector = entity; in uvc_scan_chain_backward()
/linux-4.4.14/drivers/regulator/
Dhelpers.c176 int selector = 0; in regulator_map_voltage_iterate() local
189 selector = i; in regulator_map_voltage_iterate()
194 return selector; in regulator_map_voltage_iterate()
350 unsigned int selector) in regulator_list_voltage_linear() argument
352 if (selector >= rdev->desc->n_voltages) in regulator_list_voltage_linear()
354 if (selector < rdev->desc->linear_min_sel) in regulator_list_voltage_linear()
357 selector -= rdev->desc->linear_min_sel; in regulator_list_voltage_linear()
359 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in regulator_list_voltage_linear()
374 unsigned int selector) in regulator_list_voltage_linear_range() argument
387 if (!(selector >= range->min_sel && in regulator_list_voltage_linear_range()
[all …]
Dad5398.c32 unsigned selector) in ad5398_calc_current() argument
36 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()
88 unsigned selector; in ad5398_set_current_limit() local
100 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
102 if (ad5398_calc_current(chip, selector) > max_uA) in ad5398_set_current_limit()
106 ad5398_calc_current(chip, selector)); in ad5398_set_current_limit()
114 selector = (selector << chip->current_offset) & chip->current_mask; in ad5398_set_current_limit()
115 data = (unsigned short)selector | (data & AD5398_CURRENT_EN_MASK); in ad5398_set_current_limit()
Dtps65910-regulator.c600 unsigned selector) in tps65910_set_voltage_dcdc_sel() argument
608 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; in tps65910_set_voltage_dcdc_sel()
611 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel()
619 dcdc_mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; in tps65910_set_voltage_dcdc_sel()
622 vsel = (selector % VDD1_2_NUM_VOLT_FINE) + 3; in tps65910_set_voltage_dcdc_sel()
630 vsel = selector + 3; in tps65910_set_voltage_dcdc_sel()
638 unsigned selector) in tps65910_set_voltage_sel() argument
658 selector << LDO_SEL_SHIFT); in tps65910_set_voltage_sel()
661 selector << BBCH_BBSEL_SHIFT); in tps65910_set_voltage_sel()
668 unsigned selector) in tps65911_set_voltage_sel() argument
[all …]
Dmax8660.c140 u8 selector = max8660->shadow_regs[reg]; in max8660_dcdc_get_voltage_sel() local
142 return selector; in max8660_dcdc_get_voltage_sel()
146 unsigned int selector) in max8660_dcdc_set_voltage_sel() argument
153 ret = max8660_write(max8660, reg, 0, selector); in max8660_dcdc_set_voltage_sel()
179 u8 selector = max8660->shadow_regs[MAX8660_MDTV2]; in max8660_ldo5_get_voltage_sel() local
180 return selector; in max8660_ldo5_get_voltage_sel()
184 unsigned int selector) in max8660_ldo5_set_voltage_sel() argument
189 ret = max8660_write(max8660, MAX8660_MDTV2, 0, selector); in max8660_ldo5_set_voltage_sel()
238 u8 selector = (max8660->shadow_regs[MAX8660_L12VCR] >> shift) & 0xf; in max8660_ldo67_get_voltage_sel() local
240 return selector; in max8660_ldo67_get_voltage_sel()
[all …]
Dwm8994-regulator.c47 unsigned int selector) in wm8994_ldo2_list_voltage() argument
51 if (selector > WM8994_LDO2_MAX_SELECTOR) in wm8994_ldo2_list_voltage()
56 return (selector * 100000) + 900000; in wm8994_ldo2_list_voltage()
58 return (selector * 100000) + 1000000; in wm8994_ldo2_list_voltage()
60 switch (selector) { in wm8994_ldo2_list_voltage()
64 return (selector * 100000) + 950000; in wm8994_ldo2_list_voltage()
Dmax1586.c77 unsigned selector) in max1586_v3_set_voltage_sel() argument
85 regulator_list_voltage_linear(rdev, selector) / 1000); in max1586_v3_set_voltage_sel()
87 v3_prog = I2C_V3_SELECT | (u8) selector; in max1586_v3_set_voltage_sel()
92 max1586->v3_curr_sel = selector; in max1586_v3_set_voltage_sel()
105 unsigned int selector) in max1586_v6_set_voltage_sel() argument
113 rdev->desc->volt_table[selector] / 1000); in max1586_v6_set_voltage_sel()
115 v6_prog = I2C_V6_SELECT | (u8) selector; in max1586_v6_set_voltage_sel()
120 max1586->v6_curr_sel = selector; in max1586_v6_set_voltage_sel()
Dpwm-regulator.c52 unsigned selector) in pwm_regulator_set_voltage_sel() argument
62 drvdata->duty_cycle_table[selector].dutycycle) / 100; in pwm_regulator_set_voltage_sel()
70 drvdata->state = selector; in pwm_regulator_set_voltage_sel()
76 unsigned selector) in pwm_regulator_list_voltage() argument
80 if (selector >= rdev->desc->n_voltages) in pwm_regulator_list_voltage()
83 return drvdata->duty_cycle_table[selector].uV; in pwm_regulator_list_voltage()
130 unsigned *selector) in pwm_regulator_set_voltage() argument
Dmax8998.c282 unsigned selector) in max8998_set_voltage_ldo_sel() argument
292 ret = max8998_update_reg(i2c, reg, selector<<shift, mask<<shift); in max8998_set_voltage_ldo_sel()
309 unsigned selector) in max8998_set_voltage_buck_sel() argument
328 selector, max8998->buck1_vol[0], max8998->buck1_vol[1], in max8998_set_voltage_buck_sel()
337 if (max8998->buck1_vol[j] == selector) { in max8998_set_voltage_buck_sel()
352 max8998->buck1_vol[max8998->buck1_idx] = selector; in max8998_set_voltage_buck_sel()
356 ret = max8998_write_reg(i2c, reg, selector); in max8998_set_voltage_buck_sel()
366 ret = max8998_write_reg(i2c, reg, selector); in max8998_set_voltage_buck_sel()
373 selector, max8998->buck2_vol[0], max8998->buck2_vol[1]); in max8998_set_voltage_buck_sel()
379 if (max8998->buck2_vol[j] == selector) { in max8998_set_voltage_buck_sel()
[all …]
Dda903x.c104 static int da903x_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) in da903x_set_voltage_sel() argument
113 val = selector << info->vol_shift; in da903x_set_voltage_sel()
173 unsigned selector) in da9030_set_ldo1_15_voltage_sel() argument
180 val = selector << info->vol_shift; in da9030_set_ldo1_15_voltage_sel()
216 unsigned selector) in da9030_list_ldo14_voltage() argument
221 if (selector & 0x4) in da9030_list_ldo14_voltage()
223 rdev->desc->uV_step * (3 - (selector & ~0x4)); in da9030_list_ldo14_voltage()
226 rdev->desc->uV_step * (selector & ~0x4); in da9030_list_ldo14_voltage()
236 unsigned selector) in da9034_set_dvc_voltage_sel() argument
243 val = selector << info->vol_shift; in da9034_set_dvc_voltage_sel()
Dqcom_spmi-regulator.c543 unsigned *selector) in spmi_regulator_select_voltage() argument
590 *selector = 0; in spmi_regulator_select_voltage()
592 *selector += vreg->set_points->range[i].n_voltages; in spmi_regulator_select_voltage()
593 *selector += (uV - range->set_point_min_uV) / range->step_uV; in spmi_regulator_select_voltage()
618 unsigned *selector) in spmi_regulator_select_voltage_same_range() argument
651 *selector = 0; in spmi_regulator_select_voltage_same_range()
655 *selector += in spmi_regulator_select_voltage_same_range()
661 *selector += vreg->set_points->range[i].n_voltages; in spmi_regulator_select_voltage_same_range()
664 if (*selector >= vreg->set_points->n_voltages) in spmi_regulator_select_voltage_same_range()
671 range_sel, voltage_sel, selector); in spmi_regulator_select_voltage_same_range()
[all …]
Dmc13892-regulator.c406 unsigned int val, selector; in mc13892_sw_regulator_get_voltage_sel() local
428 selector = val & mc13892_regulators[id].vsel_mask; in mc13892_sw_regulator_get_voltage_sel()
432 selector += MC13892_SWxHI_SEL_OFFSET; in mc13892_sw_regulator_get_voltage_sel()
436 __func__, id, val, selector); in mc13892_sw_regulator_get_voltage_sel()
438 return selector; in mc13892_sw_regulator_get_voltage_sel()
442 unsigned selector) in mc13892_sw_regulator_set_voltage_sel() argument
449 volt = rdev->desc->volt_table[selector]; in mc13892_sw_regulator_set_voltage_sel()
451 reg_value = selector; in mc13892_sw_regulator_set_voltage_sel()
Dtps65912-regulator.c366 static int tps65912_list_voltage(struct regulator_dev *dev, unsigned selector) in tps65912_list_voltage() argument
379 voltage = tps65912_vsel_to_uv_range0(selector); in tps65912_list_voltage()
383 voltage = tps65912_vsel_to_uv_range1(selector); in tps65912_list_voltage()
387 voltage = tps65912_vsel_to_uv_range2(selector); in tps65912_list_voltage()
391 voltage = tps65912_vsel_to_uv_range3(selector); in tps65912_list_voltage()
415 unsigned selector) in tps65912_set_voltage_sel() argument
426 return tps65912_reg_write(mfd, reg, selector | value); in tps65912_set_voltage_sel()
Dmax8952.c74 unsigned int selector) in max8952_list_voltage() argument
81 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage()
98 unsigned selector) in max8952_set_voltage_sel() argument
108 max8952->vid0 = selector & 0x1; in max8952_set_voltage_sel()
109 max8952->vid1 = (selector >> 1) & 0x1; in max8952_set_voltage_sel()
Dmc13xxx-regulator-core.c71 unsigned selector) in mc13xxx_regulator_set_voltage_sel() argument
79 selector << mc13xxx_regulators[id].vsel_shift); in mc13xxx_regulator_set_voltage_sel()
117 int max_uV, unsigned *selector) in mc13xxx_fixed_regulator_set_voltage() argument
126 *selector = 0; in mc13xxx_fixed_regulator_set_voltage()
Dgpio-regulator.c65 unsigned *selector) in gpio_regulator_set_voltage() argument
76 if (selector) in gpio_regulator_set_voltage()
77 *selector = ptr; in gpio_regulator_set_voltage()
93 unsigned selector) in gpio_regulator_list_voltage() argument
97 if (selector >= data->nr_states) in gpio_regulator_list_voltage()
100 return data->states[selector].value; in gpio_regulator_list_voltage()
Dda9052-regulator.c159 unsigned int selector) in da9052_list_voltage() argument
167 && (selector >= DA9052_BUCK_PERI_REG_MAP_UPTO_3uV)) { in da9052_list_voltage()
170 volt_uV += (selector - DA9052_BUCK_PERI_REG_MAP_UPTO_3uV) in da9052_list_voltage()
173 volt_uV = (selector * info->step_uV) + info->min_uV; in da9052_list_voltage()
214 unsigned int selector) in da9052_regulator_set_voltage_sel() argument
222 rdev->desc->vsel_mask, selector); in da9052_regulator_set_voltage_sel()
Dmax8997.c140 unsigned int selector) in max8997_list_voltage_charger_cv() argument
147 switch (selector) { in max8997_list_voltage_charger_cv()
151 return 4000000 + 20000 * (selector - 0x01); in max8997_list_voltage_charger_cv()
162 unsigned int selector) in max8997_list_voltage() argument
176 val = desc->min + desc->step * selector; in max8997_list_voltage()
412 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_charger_cv() argument
455 *selector = val; in max8997_set_voltage_charger_cv()
467 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_ldobuck() argument
503 *selector = i; in max8997_set_voltage_ldobuck()
634 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_buck() argument
[all …]
Darizona-ldo1.c41 unsigned int selector) in arizona_ldo1_hc_list_voltage() argument
43 if (selector >= rdev->desc->n_voltages) in arizona_ldo1_hc_list_voltage()
46 if (selector == rdev->desc->n_voltages - 1) in arizona_ldo1_hc_list_voltage()
49 return rdev->desc->min_uV + (rdev->desc->uV_step * selector); in arizona_ldo1_hc_list_voltage()
Danatop-regulator.c105 unsigned selector) in anatop_regmap_core_set_voltage_sel() argument
111 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
115 ret = regulator_set_voltage_sel_regmap(reg, selector); in anatop_regmap_core_set_voltage_sel()
117 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
Dtps6105x-regulator.c94 unsigned selector) in tps6105x_regulator_set_voltage_sel() argument
101 selector << TPS6105X_REG0_VOLTAGE_SHIFT); in tps6105x_regulator_set_voltage_sel()
Disl6271a-regulator.c54 unsigned selector) in isl6271a_set_voltage_sel() argument
61 err = i2c_smbus_write_byte(pmic->client, selector); in isl6271a_set_voltage_sel()
Dlp3971.c152 unsigned int selector) in lp3971_ldo_set_voltage_sel() argument
159 selector << LDO_VOL_CONTR_SHIFT(ldo)); in lp3971_ldo_set_voltage_sel()
214 unsigned int selector) in lp3971_dcdc_set_voltage_sel() argument
221 BUCK_TARGET_VOL_MASK, selector); in lp3971_dcdc_set_voltage_sel()
Dcore.c2407 unsigned selector, int lock) in _regulator_list_voltage() argument
2413 if (rdev->desc->fixed_uV && rdev->desc->n_voltages == 1 && !selector) in _regulator_list_voltage()
2417 if (selector >= rdev->desc->n_voltages) in _regulator_list_voltage()
2421 ret = ops->list_voltage(rdev, selector); in _regulator_list_voltage()
2425 ret = _regulator_list_voltage(rdev->supply, selector, lock); in _regulator_list_voltage()
2527 int regulator_list_voltage(struct regulator *regulator, unsigned selector) in regulator_list_voltage() argument
2529 return _regulator_list_voltage(regulator, selector, 1); in regulator_list_voltage()
2590 unsigned selector) in regulator_list_hardware_vsel() argument
2595 if (selector >= rdev->desc->n_voltages) in regulator_list_hardware_vsel()
2600 return selector; in regulator_list_hardware_vsel()
[all …]
Dtwl-regulator.c460 twl4030ldo_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) in twl4030ldo_set_voltage_sel() argument
465 selector); in twl4030ldo_set_voltage_sel()
497 unsigned *selector) in twl4030smps_set_voltage() argument
532 int max_uV, unsigned *selector) in twl6030coresmps_set_voltage() argument
579 twl6030ldo_set_voltage_sel(struct regulator_dev *rdev, unsigned selector) in twl6030ldo_set_voltage_sel() argument
584 selector); in twl6030ldo_set_voltage_sel()
802 unsigned int selector) in twl6030smps_set_voltage_sel() argument
807 selector); in twl6030smps_set_voltage_sel()
Dlp3972.c270 unsigned int selector) in lp3972_ldo_set_voltage_sel() argument
278 LP3972_LDO_VOL_MASK(ldo) << shift, selector << shift); in lp3972_ldo_set_voltage_sel()
366 unsigned int selector) in lp3972_dcdc_set_voltage_sel() argument
373 LP3972_BUCK_VOL_MASK, selector); in lp3972_dcdc_set_voltage_sel()
Dtps62360-regulator.c139 unsigned selector) in tps62360_dcdc_set_voltage_sel() argument
151 found = find_voltage_set_register(tps, selector, &new_vset_id); in tps62360_dcdc_set_voltage_sel()
155 tps->voltage_reg_mask, selector); in tps62360_dcdc_set_voltage_sel()
163 tps->curr_vset_vsel[new_vset_id] = selector; in tps62360_dcdc_set_voltage_sel()
Ds5m8767.c258 int selector = 0; in s5m8767_convert_voltage_to_sel() local
269 selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); in s5m8767_convert_voltage_to_sel()
271 if (desc->min + desc->step * selector > desc->max) in s5m8767_convert_voltage_to_sel()
274 return selector; in s5m8767_convert_voltage_to_sel()
300 unsigned selector) in s5m8767_set_voltage_sel() argument
328 while (*buck234_vol != selector) { in s5m8767_set_voltage_sel()
340 return regulator_set_voltage_sel_regmap(rdev, selector); in s5m8767_set_voltage_sel()
Daat2870-regulator.c46 unsigned selector) in aat2870_ldo_set_voltage_sel() argument
52 selector << ri->voltage_shift); in aat2870_ldo_set_voltage_sel()
Dtps65217-regulator.c99 unsigned selector) in tps65217_pmic_set_voltage_sel() argument
107 selector, TPS65217_PROTECT_L2); in tps65217_pmic_set_voltage_sel()
Dpcap-regulator.c150 unsigned selector) in pcap_regulator_set_voltage_sel() argument
161 selector << vreg->index); in pcap_regulator_set_voltage_sel()
Dtps65218-regulator.c104 unsigned selector) in tps65218_pmic_set_voltage_sel() argument
112 selector, TPS65218_PROTECT_L1); in tps65218_pmic_set_voltage_sel()
Dda9055-regulator.c236 unsigned int selector) in da9055_regulator_set_voltage_sel() argument
255 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
272 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
275 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
Dtps65023-regulator.c191 unsigned selector) in tps65023_dcdc_set_voltage_sel() argument
199 return regulator_set_voltage_sel_regmap(dev, selector); in tps65023_dcdc_set_voltage_sel()
Dmax8925-regulator.c46 unsigned int selector) in max8925_set_voltage_sel() argument
51 return max8925_set_bits(info->i2c, info->vol_reg, mask, selector); in max8925_set_voltage_sel()
Dvexpress.c42 int min_uV, int max_uV, unsigned *selector) in vexpress_regulator_set_voltage() argument
Dqcom_rpm-regulator.c215 unsigned selector) in rpm_reg_set_mV_sel() argument
226 uV = regulator_list_voltage_linear_range(rdev, selector); in rpm_reg_set_mV_sel()
242 unsigned selector) in rpm_reg_set_uV_sel() argument
253 uV = regulator_list_voltage_linear_range(rdev, selector); in rpm_reg_set_uV_sel()
Dmc13xxx.h35 int min_uV, int max_uV, unsigned *selector);
Dab8500-ext.c235 int max_uV, unsigned *selector) in ab8500_ext_set_voltage() argument
257 unsigned selector) in ab8500_ext_list_voltage() argument
Dwm831x-dcdc.c209 unsigned selector) in wm831x_buckv_list_voltage() argument
211 if (selector <= 0x8) in wm831x_buckv_list_voltage()
213 if (selector <= WM831X_BUCKV_MAX_SELECTOR) in wm831x_buckv_list_voltage()
214 return 600000 + ((selector - 0x8) * 12500); in wm831x_buckv_list_voltage()
Dtps6507x-regulator.c305 unsigned selector) in tps6507x_pmic_set_voltage_sel() argument
347 data |= selector; in tps6507x_pmic_set_voltage_sel()
Dlp8788-buck.c263 unsigned selector) in lp8788_buck12_set_voltage_sel() argument
276 return lp8788_update_bits(buck->lp, addr, LP8788_VOUT_M, selector); in lp8788_buck12_set_voltage_sel()
Dab3100.c274 unsigned selector) in ab3100_set_voltage_regulator_sel() argument
291 regval |= (selector << 5); in ab3100_set_voltage_regulator_sel()
Dtps6524x-regulator.c457 static int set_voltage_sel(struct regulator_dev *rdev, unsigned selector) in set_voltage_sel() argument
468 return write_field(hw, &info->voltage, selector); in set_voltage_sel()
Dab8500.c558 unsigned selector) in ab8500_regulator_set_voltage_sel() argument
572 regval = (u8)selector << voltage_shift; in ab8500_regulator_set_voltage_sel()
590 unsigned selector) in ab8540_aux3_regulator_set_voltage_sel() argument
601 if (selector < info->expand_register.voltage_limit) { in ab8540_aux3_regulator_set_voltage_sel()
604 regval = (u8)selector << voltage_shift; in ab8540_aux3_regulator_set_voltage_sel()
Dqcom_smd-regulator.c110 unsigned *selector) in rpm_reg_set_voltage() argument
Dlp872x.c321 unsigned selector) in lp872x_buck_set_voltage_sel() argument
335 return lp872x_update_bits(lp, addr, mask, selector); in lp872x_buck_set_voltage_sel()
/linux-4.4.14/drivers/watchdog/
Dda9063_wdt.c66 unsigned int selector; in da9063_wdt_start() local
69 selector = da9063_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9063_wdt_start()
70 ret = _da9063_wdt_set_timeout(wdt->da9063, selector); in da9063_wdt_start()
110 unsigned int selector; in da9063_wdt_set_timeout() local
113 selector = da9063_wdt_timeout_to_sel(timeout); in da9063_wdt_set_timeout()
114 ret = _da9063_wdt_set_timeout(wdt->da9063, selector); in da9063_wdt_set_timeout()
119 wdd->timeout = wdt_timeout[selector]; in da9063_wdt_set_timeout()
Dda9062_wdt.c112 unsigned int selector; in da9062_wdt_start() local
115 selector = da9062_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9062_wdt_start()
116 ret = da9062_wdt_update_timeout_register(wdt, selector); in da9062_wdt_start()
164 unsigned int selector; in da9062_wdt_set_timeout() local
167 selector = da9062_wdt_timeout_to_sel(timeout); in da9062_wdt_set_timeout()
168 ret = da9062_wdt_update_timeout_register(wdt, selector); in da9062_wdt_set_timeout()
173 wdd->timeout = wdt_timeout[selector]; in da9062_wdt_set_timeout()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-lantiq.c28 unsigned selector) in ltq_get_group_name() argument
31 if (selector >= info->num_grps) in ltq_get_group_name()
33 return info->grps[selector].name; in ltq_get_group_name()
37 unsigned selector, in ltq_get_group_pins() argument
42 if (selector >= info->num_grps) in ltq_get_group_pins()
44 *pins = info->grps[selector].pins; in ltq_get_group_pins()
45 *num_pins = info->grps[selector].npins; in ltq_get_group_pins()
190 unsigned selector) in ltq_pmx_func_name() argument
194 if (selector >= info->num_funcs) in ltq_pmx_func_name()
197 return info->funcs[selector].name; in ltq_pmx_func_name()
Dpinctrl-u300.c843 unsigned selector) in u300_get_group_name() argument
845 return u300_pin_groups[selector].name; in u300_get_group_name()
848 static int u300_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in u300_get_group_pins() argument
852 *pins = u300_pin_groups[selector].pins; in u300_get_group_pins()
853 *num_pins = u300_pin_groups[selector].num_pins; in u300_get_group_pins()
933 static void u300_pmx_endisable(struct u300_pmx *upmx, unsigned selector, in u300_pmx_endisable() argument
940 upmx_mask = u300_pmx_functions[selector].mask; in u300_pmx_endisable()
958 static int u300_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned selector, in u300_pmx_set_mux() argument
964 if (selector == 0) in u300_pmx_set_mux()
968 u300_pmx_endisable(upmx, selector, true); in u300_pmx_set_mux()
[all …]
Dpinconf.c77 int selector, ret; in pin_config_group_get() local
97 selector = pinctrl_get_group_selector(pctldev, pin_group); in pin_config_group_get()
98 if (selector < 0) { in pin_config_group_get()
99 ret = selector; in pin_config_group_get()
103 ret = ops->pin_config_group_get(pctldev, selector, config); in pin_config_group_get()
328 struct seq_file *s, unsigned selector, in pinconf_dump_group() argument
336 ops->pin_config_group_dbg_show(pctldev, s, selector); in pinconf_dump_group()
344 unsigned selector = 0; in pinconf_groups_show() local
349 while (selector < ngroups) { in pinconf_groups_show()
350 const char *gname = pctlops->get_group_name(pctldev, selector); in pinconf_groups_show()
[all …]
Dpinctrl-digicolor.c62 unsigned selector) in dc_get_group_name() argument
67 return pmap->desc->pins[selector].name; in dc_get_group_name()
70 static int dc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in dc_get_group_pins() argument
76 *pins = &pmap->desc->pins[selector].number; in dc_get_group_pins()
102 static const char *dc_get_fname(struct pinctrl_dev *pctldev, unsigned selector) in dc_get_fname() argument
104 return dc_functions[selector]; in dc_get_fname()
107 static int dc_get_groups(struct pinctrl_dev *pctldev, unsigned selector, in dc_get_groups() argument
130 static int dc_set_mux(struct pinctrl_dev *pctldev, unsigned selector, in dc_set_mux() argument
141 reg |= (selector << bit_off); in dc_set_mux()
Dpinmux.c37 unsigned selector = 0; in pinmux_check_ops() local
50 while (selector < nfuncs) { in pinmux_check_ops()
52 selector); in pinmux_check_ops()
55 selector); in pinmux_check_ops()
58 selector++; in pinmux_check_ops()
312 unsigned selector = 0; in pinmux_func_name_to_selector() local
315 while (selector < nfuncs) { in pinmux_func_name_to_selector()
316 const char *fname = ops->get_function_name(pctldev, selector); in pinmux_func_name_to_selector()
319 return selector; in pinmux_func_name_to_selector()
321 selector++; in pinmux_func_name_to_selector()
Dpinctrl-zynq.c840 unsigned selector) in zynq_pctrl_get_group_name() argument
844 return pctrl->groups[selector].name; in zynq_pctrl_get_group_name()
848 unsigned selector, in zynq_pctrl_get_group_pins() argument
854 *pins = pctrl->groups[selector].pins; in zynq_pctrl_get_group_pins()
855 *num_pins = pctrl->groups[selector].npins; in zynq_pctrl_get_group_pins()
877 unsigned selector) in zynq_pmux_get_function_name() argument
881 return pctrl->funcs[selector].name; in zynq_pmux_get_function_name()
885 unsigned selector, in zynq_pmux_get_function_groups() argument
891 *groups = pctrl->funcs[selector].groups; in zynq_pmux_get_function_groups()
892 *num_groups = pctrl->funcs[selector].ngroups; in zynq_pmux_get_function_groups()
[all …]
Dpinctrl-adi2.c597 unsigned selector) in adi_get_group_name() argument
601 return pinctrl->soc->groups[selector].name; in adi_get_group_name()
604 static int adi_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in adi_get_group_pins() argument
610 *pins = pinctrl->soc->groups[selector].pins; in adi_get_group_pins()
611 *num_pins = pinctrl->soc->groups[selector].num; in adi_get_group_pins()
662 unsigned selector) in adi_pinmux_get_func_name() argument
666 return pinctrl->soc->functions[selector].name; in adi_pinmux_get_func_name()
669 static int adi_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, in adi_pinmux_get_groups() argument
675 *groups = pinctrl->soc->functions[selector].groups; in adi_pinmux_get_groups()
676 *num_groups = pinctrl->soc->functions[selector].num_groups; in adi_pinmux_get_groups()
Dpinctrl-at91.c221 unsigned selector) in at91_get_group_name() argument
225 return info->groups[selector].name; in at91_get_group_name()
228 static int at91_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in at91_get_group_pins() argument
234 if (selector >= info->ngroups) in at91_get_group_pins()
237 *pins = info->groups[selector].pins; in at91_get_group_pins()
238 *npins = info->groups[selector].npins; in at91_get_group_pins()
708 static int at91_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, in at91_pmx_set() argument
720 info->functions[selector].name, info->groups[group].name); in at91_pmx_set()
777 unsigned selector) in at91_pmx_get_func_name() argument
781 return info->functions[selector].name; in at91_pmx_get_func_name()
[all …]
Dpinctrl-at91-pio4.c403 unsigned selector) in atmel_pctl_get_group_name() argument
407 return atmel_pioctrl->groups[selector].name; in atmel_pctl_get_group_name()
411 unsigned selector, const unsigned **pins, in atmel_pctl_get_group_pins() argument
416 *pins = (unsigned *)&atmel_pioctrl->groups[selector].pin; in atmel_pctl_get_group_pins()
599 unsigned selector) in atmel_pmx_get_function_name() argument
601 return atmel_functions[selector]; in atmel_pmx_get_function_name()
605 unsigned selector, in atmel_pmx_get_function_groups() argument
Dpinctrl-rockchip.c288 unsigned selector) in rockchip_get_group_name() argument
292 return info->groups[selector].name; in rockchip_get_group_name()
296 unsigned selector, const unsigned **pins, in rockchip_get_group_pins() argument
301 if (selector >= info->ngroups) in rockchip_get_group_pins()
304 *pins = info->groups[selector].pins; in rockchip_get_group_pins()
305 *npins = info->groups[selector].npins; in rockchip_get_group_pins()
875 unsigned selector) in rockchip_pmx_get_func_name() argument
879 return info->functions[selector].name; in rockchip_pmx_get_func_name()
883 unsigned selector, const char * const **groups, in rockchip_pmx_get_groups() argument
888 *groups = info->functions[selector].groups; in rockchip_pmx_get_groups()
[all …]
Dpinctrl-st.c829 unsigned selector) in st_pctl_get_group_name() argument
833 return info->groups[selector].name; in st_pctl_get_group_name()
837 unsigned selector, const unsigned **pins, unsigned *npins) in st_pctl_get_group_pins() argument
841 if (selector >= info->ngroups) in st_pctl_get_group_pins()
844 *pins = info->groups[selector].pins; in st_pctl_get_group_pins()
845 *npins = info->groups[selector].npins; in st_pctl_get_group_pins()
935 unsigned selector) in st_pmx_get_fname() argument
939 return info->functions[selector].name; in st_pmx_get_fname()
943 unsigned selector, const char * const **grps, unsigned * const ngrps) in st_pmx_get_groups() argument
946 *grps = info->functions[selector].groups; in st_pmx_get_groups()
[all …]
Dcore.c1378 unsigned ngroups, selector = 0; in pinctrl_groups_show() local
1385 while (selector < ngroups) { in pinctrl_groups_show()
1388 const char *gname = ops->get_group_name(pctldev, selector); in pinctrl_groups_show()
1394 ret = ops->get_group_pins(pctldev, selector, in pinctrl_groups_show()
1411 selector++; in pinctrl_groups_show()
Dpinctrl-xway.c585 unsigned selector, in xway_pinconf_group_set() argument
592 for (i = 0; i < info->grps[selector].npins && !ret; i++) in xway_pinconf_group_set()
594 info->grps[selector].pins[i], in xway_pinconf_group_set()
Dpinctrl-falcon.c365 struct seq_file *s, unsigned selector) in falcon_pinconf_group_dbg_show() argument
Dpinctrl-single.c727 struct seq_file *s, unsigned selector) in pcs_pinconf_group_dbg_show() argument
/linux-4.4.14/sound/usb/
Dclock.c175 struct uac_clock_selector_descriptor *selector; in __uac_clock_find_source() local
200 selector = snd_usb_find_clock_selector(chip->ctrl_intf, entity_id); in __uac_clock_find_source()
201 if (selector) { in __uac_clock_find_source()
206 ret = uac_clock_selector_get_val(chip, selector->bClockID); in __uac_clock_find_source()
212 if (ret > selector->bNrInPins || ret < 1) { in __uac_clock_find_source()
215 __func__, selector->bClockID, ret); in __uac_clock_find_source()
221 ret = __uac_clock_find_source(chip, selector->baCSourceID[ret - 1], in __uac_clock_find_source()
227 for (i = 1; i <= selector->bNrInPins; i++) { in __uac_clock_find_source()
233 ret = __uac_clock_find_source(chip, selector->baCSourceID[i - 1], in __uac_clock_find_source()
/linux-4.4.14/include/linux/pinctrl/
Dpinconf.h53 unsigned selector,
56 unsigned selector,
67 unsigned selector);
Dpinmux.h68 unsigned selector);
70 unsigned selector,
Dpinctrl.h93 unsigned selector);
95 unsigned selector,
/linux-4.4.14/include/linux/regulator/
Ddriver.h135 int (*list_voltage) (struct regulator_dev *, unsigned selector);
139 unsigned *selector);
141 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
424 unsigned int selector);
426 unsigned int selector);
428 unsigned int selector);
Dconsumer.h226 int regulator_list_voltage(struct regulator *regulator, unsigned selector);
250 unsigned selector);
510 unsigned selector) in regulator_list_hardware_vsel() argument
554 static inline int regulator_list_voltage(struct regulator *regulator, unsigned selector) in regulator_list_voltage() argument
/linux-4.4.14/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c42 unsigned selector) in uniphier_pctl_get_group_name() argument
46 return priv->socdata->groups[selector].name; in uniphier_pctl_get_group_name()
50 unsigned selector, in uniphier_pctl_get_group_pins() argument
56 *pins = priv->socdata->groups[selector].pins; in uniphier_pctl_get_group_pins()
57 *num_pins = priv->socdata->groups[selector].num_pins; in uniphier_pctl_get_group_pins()
479 unsigned selector, in uniphier_conf_pin_config_group_set() argument
484 const unsigned *pins = priv->socdata->groups[selector].pins; in uniphier_conf_pin_config_group_set()
485 unsigned num_pins = priv->socdata->groups[selector].num_pins; in uniphier_conf_pin_config_group_set()
513 unsigned selector) in uniphier_pmx_get_function_name() argument
517 return priv->socdata->functions[selector].name; in uniphier_pmx_get_function_name()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c194 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
222 sapp.selector = app->selector; in i40e_dcbnl_vsi_del_app()
244 pf->vsi[v]->seid, err, app->selector, in i40e_dcbnl_del_app()
263 if (app->selector == cfg->app[i].selector && in i40e_dcbnl_find_app()
Di40e_dcb.c244 dcbcfg->app[i].selector = (u8)((buf[offset] & in i40e_parse_ieee_app_tlv()
383 u8 i, up, selector; in i40e_parse_cee_app_tlv() local
402 selector = (app->upper_oui_sel & I40E_CEE_APP_SELECTOR_MASK); in i40e_parse_cee_app_tlv()
403 if (selector == I40E_CEE_APP_SEL_ETHTYPE) in i40e_parse_cee_app_tlv()
404 dcbcfg->app[i].selector = I40E_APP_SEL_ETHTYPE; in i40e_parse_cee_app_tlv()
405 else if (selector == I40E_CEE_APP_SEL_TCPIP) in i40e_parse_cee_app_tlv()
406 dcbcfg->app[i].selector = I40E_APP_SEL_TCPIP; in i40e_parse_cee_app_tlv()
409 dcbcfg->app[i].selector = selector; in i40e_parse_cee_app_tlv()
655 dcbcfg->app[0].selector = I40E_APP_SEL_ETHTYPE; in i40e_cee_to_dcb_v1_config()
662 dcbcfg->app[1].selector = I40E_APP_SEL_TCPIP; in i40e_cee_to_dcb_v1_config()
[all …]
Di40e_type.h470 u8 selector; member
Di40e_debugfs.c1361 cfg->app[i].selector, in i40e_dbg_command_write()
1393 r_cfg->app[i].selector, in i40e_dbg_command_write()
Di40e_fcoe.c345 if (app.selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in i40e_get_fcoe_tc_map()
Di40e_main.c4441 if (app.selector == I40E_APP_SEL_TCPIP && in i40e_get_iscsi_tc_map()
/linux-4.4.14/tools/testing/selftests/x86/
Dldt_gdt.c50 uint32_t selector = (index << 3) | (ldt << 2) | 3; in check_invalid_segment() local
57 : [selector] "r" (selector)); in check_invalid_segment()
63 : [selector] "r" (selector)); in check_invalid_segment()
80 uint32_t selector = (index << 3) | (ldt << 2) | 3; in check_valid_segment() local
87 : [selector] "r" (selector)); in check_valid_segment()
93 : [selector] "r" (selector)); in check_valid_segment()
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dfan53555.txt8 - fcs,suspend-voltage-selector: declare which of the two available
9 voltage selector registers should be used for the suspend
22 fcs,suspend-voltage-selector = <1>;
Dlp872x.txt29 - ti,dvs-vsel: DVS selector. 0 = SEL_V1, 1 = SEL_V2.
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-imx1-core.c186 unsigned selector) in imx1_get_group_name() argument
191 return info->groups[selector].name; in imx1_get_group_name()
194 static int imx1_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in imx1_get_group_pins() argument
201 if (selector >= info->ngroups) in imx1_get_group_pins()
204 *pins = info->groups[selector].pin_ids; in imx1_get_group_pins()
205 *npins = info->groups[selector].npins; in imx1_get_group_pins()
301 static int imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, in imx1_pmx_set() argument
320 info->functions[selector].name, info->groups[group].name); in imx1_pmx_set()
363 unsigned selector) in imx1_pmx_get_func_name() argument
368 return info->functions[selector].name; in imx1_pmx_get_func_name()
[all …]
Dpinctrl-imx.c73 unsigned selector) in imx_get_group_name() argument
78 return info->groups[selector].name; in imx_get_group_name()
81 static int imx_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in imx_get_group_pins() argument
88 if (selector >= info->ngroups) in imx_get_group_pins()
91 *pins = info->groups[selector].pin_ids; in imx_get_group_pins()
92 *npins = info->groups[selector].npins; in imx_get_group_pins()
184 static int imx_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, in imx_pmx_set() argument
202 info->functions[selector].name, grp->name); in imx_pmx_set()
283 unsigned selector) in imx_pmx_get_func_name() argument
288 return info->functions[selector].name; in imx_pmx_get_func_name()
[all …]
Dpinctrl-mxs.c198 static int mxs_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned selector, in mxs_pinctrl_set_mux() argument
/linux-4.4.14/drivers/usb/wusbcore/
Drh.c247 u8 selector, u8 port_idx) in wusbhc_rh_set_port_feat() argument
274 port_idx, feature, selector); in wusbhc_rh_set_port_feat()
278 port_idx, feature, selector); in wusbhc_rh_set_port_feat()
291 u8 selector, u8 port_idx) in wusbhc_rh_clear_port_feat() argument
320 port_idx, feature, selector); in wusbhc_rh_clear_port_feat()
325 port_idx, feature, selector); in wusbhc_rh_clear_port_feat()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dfw-cfg.txt7 - A write-only, 16-bit wide selector (or control) register,
14 The guest writes a selector value (a key) to the selector register, and then
19 The selector register takes keys in big endian byte order.
33 The authoritative registry of the valid selector values and their meanings is
58 * Bytes 0x8 to 0x9 cover the selector register.
/linux-4.4.14/drivers/pinctrl/sh-pfc/
Dpinctrl.c57 unsigned selector) in sh_pfc_get_group_name() argument
61 return pmx->pfc->info->groups[selector].name; in sh_pfc_get_group_name()
64 static int sh_pfc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in sh_pfc_get_group_pins() argument
69 *pins = pmx->pfc->info->groups[selector].pins; in sh_pfc_get_group_pins()
70 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins()
321 unsigned selector) in sh_pfc_get_function_name() argument
325 return pmx->pfc->info->functions[selector].name; in sh_pfc_get_function_name()
329 unsigned selector, in sh_pfc_get_function_groups() argument
335 *groups = pmx->pfc->info->functions[selector].groups; in sh_pfc_get_function_groups()
336 *num_groups = pmx->pfc->info->functions[selector].nr_groups; in sh_pfc_get_function_groups()
[all …]
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-exynos5440.c156 unsigned selector) in exynos5440_get_group_name() argument
161 return priv->pin_groups[selector].name; in exynos5440_get_group_name()
166 unsigned selector, const unsigned **pins, unsigned *num_pins) in exynos5440_get_group_pins() argument
171 *pins = priv->pin_groups[selector].pins; in exynos5440_get_group_pins()
172 *num_pins = priv->pin_groups[selector].num_pins; in exynos5440_get_group_pins()
314 unsigned selector) in exynos5440_pinmux_get_fname() argument
319 return priv->pmx_functions[selector].name; in exynos5440_pinmux_get_fname()
324 unsigned selector, const char * const **groups, in exynos5440_pinmux_get_groups() argument
330 *groups = priv->pmx_functions[selector].groups; in exynos5440_pinmux_get_groups()
331 *num_groups = priv->pmx_functions[selector].num_groups; in exynos5440_pinmux_get_groups()
[all …]
Dpinctrl-samsung.c316 unsigned selector) in samsung_pinmux_get_fname() argument
321 return drvdata->pmx_functions[selector].name; in samsung_pinmux_get_fname()
326 unsigned selector, const char * const **groups, in samsung_pinmux_get_groups() argument
332 *groups = drvdata->pmx_functions[selector].groups; in samsung_pinmux_get_groups()
333 *num_groups = drvdata->pmx_functions[selector].num_groups; in samsung_pinmux_get_groups()
360 static void samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector, in samsung_pinmux_setup() argument
373 func = &drvdata->pmx_functions[selector]; in samsung_pinmux_setup()
400 unsigned selector, in samsung_pinmux_set_mux() argument
403 samsung_pinmux_setup(pctldev, selector, group, true); in samsung_pinmux_set_mux()
/linux-4.4.14/arch/x86/math-emu/
Dget_address.c131 addr->selector = VM86_REG_(segment); in vm86_segment()
155 addr->selector = get_user_gs(FPU_info->regs); in pm_address()
158 addr->selector = PM_REG_(segment); in pm_address()
161 descriptor = FPU_get_ldt_descriptor(addr->selector); in pm_address()
223 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address()
307 addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ in FPU_get_address_16()
Dreg_ld_str.c1042 FPU_get_user(instruction_address.selector, in fldenv()
1046 FPU_get_user(operand_address.selector, in fldenv()
1052 += (instruction_address.selector & 0xf000) << 4; in fldenv()
1054 (operand_address.selector & 0xf000) << 4; in fldenv()
1064 FPU_get_user(instruction_address.selector, in fldenv()
1070 FPU_get_user(operand_address.selector, in fldenv()
1167 FPU_put_user(instruction_address.selector, in fstenv()
1169 FPU_put_user(operand_address.selector, in fstenv()
Dfpu_aux.c45 oaddr->selector = 0; in fpstate_init_soft()
48 iaddr->selector = 0; in fpstate_init_soft()
Dfpu_emu.h113 unsigned int selector:16; member
Dfpu_entry.c242 entry_sel_off.selector = FPU_CS; in math_emulate()
473 operand_address.selector = FPU_DS; in math_emulate()
/linux-4.4.14/drivers/pinctrl/sirf/
Dpinctrl-sirf.c54 unsigned selector) in sirfsoc_get_group_name() argument
56 return sirfsoc_pin_groups[selector].name; in sirfsoc_get_group_name()
60 unsigned selector, in sirfsoc_get_group_pins() argument
64 *pins = sirfsoc_pin_groups[selector].pins; in sirfsoc_get_group_pins()
65 *num_pins = sirfsoc_pin_groups[selector].num_pins; in sirfsoc_get_group_pins()
141 unsigned selector, bool enable) in sirfsoc_pinmux_endisable() argument
145 sirfsoc_pmx_functions[selector].padmux; in sirfsoc_pinmux_endisable()
172 unsigned selector, in sirfsoc_pinmux_set_mux() argument
178 sirfsoc_pinmux_endisable(spmx, selector, true); in sirfsoc_pinmux_set_mux()
189 unsigned selector) in sirfsoc_pinmux_get_func_name() argument
[all …]
Dpinctrl-atlas7.c4932 u32 selector) in atlas7_pmx_get_func_name() argument
4936 return pmx->pctl_data->funcs[selector].name; in atlas7_pmx_get_func_name()
4940 u32 selector, const char * const **groups, in atlas7_pmx_get_func_groups() argument
4945 *groups = pmx->pctl_data->funcs[selector].groups; in atlas7_pmx_get_func_groups()
4946 *num_groups = pmx->pctl_data->funcs[selector].num_groups; in atlas7_pmx_get_func_groups()
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Drenesas,h8300-div-clock.txt11 - reg: Base address and length of the divide rate selector
13 - renesas,width: bit width of selector
Drenesas,h8s2678-pll-clock.txt13 - reg: Two rate selector (Multiply / Divide) register address
/linux-4.4.14/include/uapi/linux/
Duvcvideo.h45 __u8 selector; member
60 __u8 selector; member
Ddcbnl.h232 __u8 selector; member
/linux-4.4.14/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c709 unsigned selector) in cygnus_get_group_name() argument
713 return pinctrl->groups[selector].name; in cygnus_get_group_name()
717 unsigned selector, const unsigned **pins, in cygnus_get_group_pins() argument
722 *pins = pinctrl->groups[selector].pins; in cygnus_get_group_pins()
723 *num_pins = pinctrl->groups[selector].num_pins; in cygnus_get_group_pins()
751 unsigned selector) in cygnus_get_function_name() argument
755 return pinctrl->functions[selector].name; in cygnus_get_function_name()
759 unsigned selector, in cygnus_get_function_groups() argument
765 *groups = pinctrl->functions[selector].groups; in cygnus_get_function_groups()
766 *num_groups = pinctrl->functions[selector].num_groups; in cygnus_get_function_groups()
Dpinctrl-bcm2835.c613 unsigned selector) in bcm2835_pctl_get_group_name() argument
615 return bcm2835_gpio_groups[selector]; in bcm2835_pctl_get_group_name()
619 unsigned selector, in bcm2835_pctl_get_group_pins() argument
623 *pins = &bcm2835_gpio_pins[selector].number; in bcm2835_pctl_get_group_pins()
817 unsigned selector) in bcm2835_pmx_get_function_name() argument
819 return bcm2835_functions[selector]; in bcm2835_pmx_get_function_name()
823 unsigned selector, in bcm2835_pmx_get_function_groups() argument
Dpinctrl-cygnus-gpio.c376 unsigned selector) in cygnus_get_group_name() argument
/linux-4.4.14/drivers/pinctrl/meson/
Dpinctrl-meson.c148 unsigned selector) in meson_get_group_name() argument
152 return pc->data->groups[selector].name; in meson_get_group_name()
155 static int meson_get_group_pins(struct pinctrl_dev *pcdev, unsigned selector, in meson_get_group_pins() argument
160 *pins = pc->data->groups[selector].pins; in meson_get_group_pins()
161 *num_pins = pc->data->groups[selector].num_pins; in meson_get_group_pins()
262 unsigned selector) in meson_pmx_get_func_name() argument
266 return pc->data->funcs[selector].name; in meson_pmx_get_func_name()
269 static int meson_pmx_get_groups(struct pinctrl_dev *pcdev, unsigned selector, in meson_pmx_get_groups() argument
275 *groups = pc->data->funcs[selector].groups; in meson_pmx_get_groups()
276 *num_groups = pc->data->funcs[selector].num_groups; in meson_pmx_get_groups()
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Drcar-gen2-phy.txt19 - reg: the USB controller selector; see the table below for the values.
22 The phandle's argument in the PHY specifier is the USB controller selector for
23 the USB channel; see the selector meanings below:
/linux-4.4.14/arch/powerpc/include/asm/
Dpmac_feature.h146 static inline long pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() argument
151 return ppc_md.feature_call(selector, node, param, value); in pmac_call_feature()
301 extern long pmac_do_feature_call(unsigned int selector, ...);
/linux-4.4.14/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c74 unsigned selector) in wmt_pmx_get_function_name() argument
76 return wmt_functions[selector]; in wmt_pmx_get_function_name()
80 unsigned selector, in wmt_pmx_get_function_groups() argument
184 unsigned selector) in wmt_get_group_name() argument
188 return data->groups[selector]; in wmt_get_group_name()
192 unsigned selector, in wmt_get_group_pins() argument
198 *pins = &data->pins[selector].number; in wmt_get_group_pins()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c92 app.selector = dcb->app_priority[i].sel_field + 1; in cxgb4_dcb_cleanup_apps()
95 app.selector = !!(dcb->app_priority[i].sel_field); in cxgb4_dcb_cleanup_apps()
102 dcb_ver_array[dcb->dcb_version], app.selector, in cxgb4_dcb_cleanup_apps()
353 app.selector = (fwap->sel_field + 1); in cxgb4_dcb_handle_fw_update()
359 app.selector = !!(fwap->sel_field); in cxgb4_dcb_handle_fw_update()
367 app.selector, app.protocol, app.priority, -err); in cxgb4_dcb_handle_fw_update()
883 .selector = app_idtype, in cxgb4_setapp()
1010 if (!(app->selector && app->protocol)) in cxgb4_ieee_getapp()
1014 prio = __cxgb4_getapp(dev, app->selector - 1, app->protocol, 0); in cxgb4_ieee_getapp()
1032 if (!(app->selector && app->protocol)) in cxgb4_ieee_setapp()
[all …]
/linux-4.4.14/arch/x86/include/asm/
Dspecial_insns.h174 static inline void load_gs_index(unsigned selector) in load_gs_index() argument
176 native_load_gs_index(selector); in load_gs_index()
Dkvm_emulate.h191 bool (*get_segment)(struct x86_emulate_ctxt *ctxt, u16 *selector,
193 void (*set_segment)(struct x86_emulate_ctxt *ctxt, u16 selector,
Dsvm.h132 u16 selector; member
Dkvm_host.h1018 int kvm_load_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector, int seg);
/linux-4.4.14/Documentation/device-mapper/
Ddm-queue-length.txt4 dm-queue-length is a path selector module for device-mapper targets,
6 The path selector name is 'queue-length'.
Ddm-service-time.txt4 dm-service-time is a path selector module for device-mapper targets,
13 The path selector name is 'service-time'.
/linux-4.4.14/net/tipc/
Dnode.h149 int selector);
151 u32 selector);
Dnode.c1024 u32 dnode, int selector) in tipc_node_xmit() argument
1037 l = tipc_node_select_link(n, selector, &bearer_id, &maddr); in tipc_node_xmit()
1065 u32 selector) in tipc_node_xmit_skb() argument
1072 rc = tipc_node_xmit(net, &head, dnode, selector); in tipc_node_xmit_skb()
Dsocket.c256 u32 selector; in tipc_sk_respond() local
264 selector = msg_origport(buf_msg(skb)); in tipc_sk_respond()
265 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond()
/linux-4.4.14/drivers/media/usb/gspca/
Dse401.c122 u16 selector, u16 param) in se401_set_feature() argument
133 param, selector, NULL, 0, 1000); in se401_set_feature()
136 selector, param, err); in se401_set_feature()
141 static int se401_get_feature(struct gspca_dev *gspca_dev, u16 selector) in se401_get_feature() argument
158 0, selector, gspca_dev->usb_buf, 2, 1000); in se401_get_feature()
161 selector, err); in se401_get_feature()
/linux-4.4.14/Documentation/video4linux/
Duvcvideo.txt64 and the control selector need to be known. This information either needs to be
146 __u8 selector UVC control selector
179 and control selector.
236 __u8 selector Control selector
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c60 .selector = DCB_APP_IDTYPE_ETHTYPE, in ixgbe_copy_dcb_cfg()
395 .selector = DCB_APP_IDTYPE_ETHTYPE, in ixgbe_dcbnl_set_all()
502 .selector = idtype, in ixgbe_dcbnl_getapp()
656 if (app->selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in ixgbe_dcbnl_ieee_setapp()
669 if (app->selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in ixgbe_dcbnl_ieee_setapp()
699 if (!err && app->selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in ixgbe_dcbnl_ieee_delapp()
712 if (app->selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE && in ixgbe_dcbnl_ieee_delapp()
Dixgbe_main.c6398 .selector = IEEE_8021QAZ_APP_SEL_ETHERTYPE, in ixgbe_update_default_up()
/linux-4.4.14/drivers/clk/tegra/
Dclk-dfll.c1438 int selector; in dfll_build_i2c_lut() local
1473 selector = find_vdd_map_entry_min(td, v); in dfll_build_i2c_lut()
1474 if (selector < 0) in dfll_build_i2c_lut()
1476 if (selector != td->i2c_lut[j - 1]) in dfll_build_i2c_lut()
1477 td->i2c_lut[j++] = selector; in dfll_build_i2c_lut()
1481 selector = find_vdd_map_entry_exact(td, v); in dfll_build_i2c_lut()
1482 if (selector < 0) in dfll_build_i2c_lut()
1484 if (selector != td->i2c_lut[j - 1]) in dfll_build_i2c_lut()
1485 td->i2c_lut[j++] = selector; in dfll_build_i2c_lut()
/linux-4.4.14/arch/x86/kvm/
Demulate.c599 u16 selector; in get_segment_selector() local
602 ctxt->ops->get_segment(ctxt, &selector, &desc, NULL, seg); in get_segment_selector()
603 return selector; in get_segment_selector()
606 static void set_segment_selector(struct x86_emulate_ctxt *ctxt, u16 selector, in set_segment_selector() argument
614 ctxt->ops->set_segment(ctxt, selector, &desc, base3, seg); in set_segment_selector()
1457 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr() argument
1462 if (selector & 1 << 2) { in get_descriptor_table_ptr()
1478 u16 selector, ulong *desc_addr_p) in get_descriptor_ptr() argument
1481 u16 index = selector >> 3; in get_descriptor_ptr()
1484 get_descriptor_table_ptr(ctxt, selector, &dt); in get_descriptor_ptr()
[all …]
Dvmx.c570 u16 selector; member
930 .selector = GUEST_##seg##_SELECTOR, \
937 unsigned selector; member
1605 u16 *p = &vmx->segment_cache.seg[seg].selector; in vmx_read_guest_seg_selector()
1608 *p = vmcs_read16(kvm_vmx_segment_fields[seg].selector); in vmx_read_guest_seg_selector()
1847 static unsigned long segment_base(u16 selector) in segment_base() argument
1854 if (!(selector & ~3)) in segment_base()
1859 if (selector & 4) { /* from ldt */ in segment_base()
1867 d = (struct desc_struct *)(table_base + (selector & ~7)); in segment_base()
3426 save->selector &= ~SEGMENT_RPL_MASK; in fix_pmode_seg()
[all …]
Dsvm.c945 seg->selector = 0; in init_seg()
954 seg->selector = 0; in init_sys_seg()
1061 save->cs.selector = 0xf000; in init_vmcb()
1332 var->selector = s->selector; in svm_get_segment()
1532 s->selector = var->selector; in svm_set_segment()
3342 save->es.selector, save->es.attrib, in dump_vmcb()
3346 save->cs.selector, save->cs.attrib, in dump_vmcb()
3350 save->ss.selector, save->ss.attrib, in dump_vmcb()
3354 save->ds.selector, save->ds.attrib, in dump_vmcb()
3358 save->fs.selector, save->fs.attrib, in dump_vmcb()
[all …]
Dx86.c4802 static bool emulator_get_segment(struct x86_emulate_ctxt *ctxt, u16 *selector, in emulator_get_segment() argument
4809 *selector = var.selector; in emulator_get_segment()
4836 static void emulator_set_segment(struct x86_emulate_ctxt *ctxt, u16 selector, in emulator_set_segment() argument
4843 var.selector = selector; in emulator_set_segment()
6097 put_smstate(u32, buf, 0x7fa8 + n * 4, seg.selector); in process_smi_save_seg_32()
6120 put_smstate(u16, buf, offset, seg.selector); in process_smi_save_seg_64()
6148 put_smstate(u32, buf, 0x7fc4, seg.selector); in process_smi_save_state_32()
6154 put_smstate(u32, buf, 0x7fc0, seg.selector); in process_smi_save_state_32()
6208 put_smstate(u16, buf, 0x7e90, seg.selector); in process_smi_save_state_64()
6218 put_smstate(u16, buf, 0x7e70, seg.selector); in process_smi_save_state_64()
[all …]
/linux-4.4.14/Documentation/power/regulator/
Dconsumer.txt207 selector register, use :-
213 To convert a regulator framework voltage selector code (used by
214 regulator_list_voltage) to a hardware-specific voltage selector that can be
215 directly written to the voltage selector register, use :-
218 unsigned selector);
/linux-4.4.14/Documentation/hwmon/
Dlineage-pem38 All Lineage CPL power entry modules have a built-in I2C bus master selector
40 driver to the pca9541 I2C master selector driver.
Dw83781d294 Remark: Register 0x5b is suspected to be temperature type selector. Bit 1
360 and a temperature sensor type selector at 0x5B (which basically means
363 Revision 1 of the chip also has the temperature sensor type selector at
371 PWM registers seem to be split in two parts: bit 7 is a mode selector,
/linux-4.4.14/lib/
Ddecompress_bunzip2.c160 int dbufCount, nextSym, dbufSize, groupCount, selector, in get_next_block() local
356 runPos = dbufCount = symCount = selector = 0; in get_next_block()
361 if (selector >= nSelectors) in get_next_block()
363 hufGroup = bd->groups+selectors[selector++]; in get_next_block()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c150 enum qlcnic_dcb_selector selector; member
725 app->selector = QLC_DCB_GET_SELECTOR_APP(each->app[i]) - 1; in qlcnic_dcb_fill_cee_app_params()
726 new_app.selector = app->selector; in qlcnic_dcb_fill_cee_app_params()
933 .selector = idtype, in qlcnic_dcb_get_app()
1057 table[j].selector = app->selector; in qlcnic_dcb_peer_app_table()
/linux-4.4.14/Documentation/
Dpinctrl.txt160 unsigned selector)
162 return foo_groups[selector].name;
165 static int foo_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector,
169 *pins = (unsigned *) foo_groups[selector].pins;
170 *num_pins = foo_groups[selector].num_pins;
243 unsigned selector,
250 unsigned selector,
498 - Request the name of a function with a certain selector (>= 0)
635 unsigned selector)
637 return foo_groups[selector].name;
[all …]
/linux-4.4.14/net/key/
Daf_key.c2031 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2032 addr->sadb_address_prefixlen = xp->selector.prefixlen_s; in pfkey_xfrm_policy2msg()
2034 if (!pfkey_sockaddr_fill(&xp->selector.saddr, in pfkey_xfrm_policy2msg()
2035 xp->selector.sport, in pfkey_xfrm_policy2msg()
2047 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2048 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; in pfkey_xfrm_policy2msg()
2051 pfkey_sockaddr_fill(&xp->selector.daddr, xp->selector.dport, in pfkey_xfrm_policy2msg()
2220 xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); in pfkey_spdadd()
2221 xp->selector.family = xp->family; in pfkey_spdadd()
2222 xp->selector.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_spdadd()
[all …]
/linux-4.4.14/drivers/usb/host/
Dehci-hub.c877 unsigned selector; in ehci_hub_control() local
1145 selector = wIndex >> 8; in ehci_hub_control()
1243 if (selector == EHSET_TEST_SINGLE_STEP_SET_FEATURE) { in ehci_hub_control()
1251 if (!selector || selector > 5) in ehci_hub_control()
1273 temp |= selector << 16; in ehci_hub_control()
Doxu210hp-hcd.c3162 unsigned selector; in oxu_hub_control() local
3371 selector = wIndex >> 8; in oxu_hub_control()
3421 if (!selector || selector > 5) in oxu_hub_control()
3425 temp |= selector << 16; in oxu_hub_control()
Dfotg210-hcd.c1494 unsigned selector; in fotg210_hub_control() local
1720 selector = wIndex >> 8; in fotg210_hub_control()
1769 if (!selector || selector > 5) in fotg210_hub_control()
1787 temp |= selector << 16; in fotg210_hub_control()
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-evb-act8846.dts57 fcs,suspend-voltage-selector = <1>;
69 fcs,suspend-voltage-selector = <1>;
Drk3288-rock2-som.dtsi210 fcs,suspend-voltage-selector = <1>;
224 fcs,suspend-voltage-selector = <1>;
Drk3288-r89.dts153 fcs,suspend-voltage-selector = <1>;
167 fcs,suspend-voltage-selector = <1>;
Drk3288-firefly.dtsi251 fcs,suspend-voltage-selector = <1>;
265 fcs,suspend-voltage-selector = <1>;
/linux-4.4.14/Documentation/devicetree/bindings/display/imx/
Dldb.txt19 - clocks, clock-names : phandles to the LDB divider and selector clocks and to
20 the display interface selector clocks, as described in
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-mdio.h131 uint16_t selector:5; member
153 uint16_t selector:5; member
/linux-4.4.14/net/xfrm/
Dxfrm_policy.c426 h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, in xfrm_dst_hash_transfer()
630 chain = policy_hash_bysel(net, &policy->selector, in xfrm_hash_rebuild()
757 chain = policy_hash_bysel(net, &policy->selector, policy->family, dir); in xfrm_policy_insert()
762 !selector_cmp(&pol->selector, &policy->selector) && in xfrm_policy_insert()
829 !selector_cmp(sel, &pol->selector) && in xfrm_policy_bysel_ctx()
1074 const struct xfrm_selector *sel = &pol->selector; in xfrm_policy_match()
1228 bool match = xfrm_selector_match(&pol->selector, fl, in xfrm_sk_policy_lookup()
1351 newp->selector = old->selector; in clone_policy()
1670 int family = policy->selector.family; in xfrm_bundle_create()
1888 err = xfrm_dst_update_parent(dst, &pols[1]->selector); in xfrm_resolve_and_create_bundle()
[all …]
Dxfrm_user.c1447 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1458 memcpy(&p->sel, &xp->selector, sizeof(p->sel)); in copy_to_user_policy()
2923 memcpy(&id->sel, &xp->selector, sizeof(id->sel)); in xfrm_notify_policy()
/linux-4.4.14/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c786 unsigned selector) in abx500_get_group_name() argument
790 return pct->soc->groups[selector].name; in abx500_get_group_name()
794 unsigned selector, in abx500_get_group_pins() argument
800 *pins = pct->soc->groups[selector].pins; in abx500_get_group_pins()
801 *num_pins = pct->soc->groups[selector].npins; in abx500_get_group_pins()
Dpinctrl-nomadik.c1326 unsigned selector) in nmk_get_group_name() argument
1330 return npct->soc->groups[selector].name; in nmk_get_group_name()
1333 static int nmk_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in nmk_get_group_pins() argument
1339 *pins = npct->soc->groups[selector].pins; in nmk_get_group_pins()
1340 *num_pins = npct->soc->groups[selector].npins; in nmk_get_group_pins()
/linux-4.4.14/drivers/usb/storage/
Dshuttle_usbat.c1411 int selector; in usbat_select_and_test_registers() local
1415 for (selector = 0xA0; selector <= 0xB0; selector += 0x10) { in usbat_select_and_test_registers()
1416 if (usbat_write(us, USBAT_ATA, USBAT_ATA_DEVICE, selector) != in usbat_select_and_test_registers()
/linux-4.4.14/drivers/scsi/ufs/
Dufs.h354 u8 selector; member
Dufshcd.c1582 enum query_opcode opcode, u8 idn, u8 index, u8 selector) in ufshcd_init_query() argument
1591 (*request)->upiu_req.selector = selector; in ufshcd_init_query()
1608 int err, index = 0, selector = 0; in ufshcd_query_flag() local
1615 selector); in ufshcd_query_flag()
1672 enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) in ufshcd_query_attr() argument
1690 selector); in ufshcd_query_attr()
1740 u8 selector, u8 *desc_buf, int *buf_len) in ufshcd_query_descriptor() argument
1765 selector); in ufshcd_query_descriptor()
/linux-4.4.14/Documentation/networking/
Dipsec.txt31 matches the selector but not coming from any XFRM layer, i.e., with no
/linux-4.4.14/drivers/usb/core/
Dhub.c413 static char *to_led_name(int selector) in to_led_name() argument
415 switch (selector) { in to_led_name()
433 static void set_port_led(struct usb_hub *hub, int port1, int selector) in set_port_led() argument
438 status = set_port_feature(hub->hdev, (selector << 8) | port1, in set_port_led()
441 to_led_name(selector), status); in set_port_led()
459 unsigned selector, mode; in led_work() local
467 selector = HUB_LED_AUTO; in led_work()
472 selector = HUB_LED_GREEN; in led_work()
476 selector = HUB_LED_OFF; in led_work()
481 selector = HUB_LED_AMBER; in led_work()
[all …]
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsdma.h1122 u32 selector,
1127 u32 selector,
Dsdma.c773 u32 selector, in sdma_select_engine_vl() argument
790 rval = e->sde[selector & e->mask]; in sdma_select_engine_vl()
793 trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx); in sdma_select_engine_vl()
808 u32 selector, in sdma_select_engine_sc() argument
813 return sdma_select_engine_vl(dd, selector, vl); in sdma_select_engine_sc()
/linux-4.4.14/Documentation/devicetree/bindings/net/
Drockchip-dwmac.txt11 - clocks: <&cru SCLK_MAC>: clock selector for main clock, from PLL or PHY.
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dnvidia,tegra30-ahub.txt70 nvidia,dma-request-selector = <&apbdma 1>;
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c145 u16 selector; in _nbu2ss_ep0_complete() local
161 selector = p_ctrl->wValue; in _nbu2ss_ep0_complete()
163 (selector == USB_DEVICE_TEST_MODE)) { in _nbu2ss_ep0_complete()
1431 u16 selector, in _nbu2ss_set_feature_device() argument
1437 switch (selector) { in _nbu2ss_set_feature_device()
1491 u16 selector = udc->ctrl.wValue; in _nbu2ss_req_feature() local
1505 _nbu2ss_set_feature_device(udc, selector, wIndex); in _nbu2ss_req_feature()
1510 if (selector == USB_ENDPOINT_HALT) { in _nbu2ss_req_feature()
/linux-4.4.14/drivers/leds/
Ddell-led.c47 u16 selector; member
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dfeature.c123 unsigned int selector; member
2382 long pmac_do_feature_call(unsigned int selector, ...) in pmac_do_feature_call() argument
2392 if (pmac_mb.features[i].selector == selector) { in pmac_do_feature_call()
2398 if (any_features[i].selector == selector) { in pmac_do_feature_call()
2405 va_start(args, selector); in pmac_do_feature_call()
/linux-4.4.14/arch/x86/include/uapi/asm/
Dkvm.h130 __u16 selector; member
/linux-4.4.14/drivers/hid/
Dwacom_sys.c1219 static int wacom_cmd_unpair_remote(struct wacom *wacom, unsigned char selector) in wacom_cmd_unpair_remote() argument
1230 buf[1] = selector; in wacom_cmd_unpair_remote()
1243 unsigned char selector = 0; in wacom_store_unpair_remote() local
1250 selector = WAC_CMD_UNPAIR_ALL; in wacom_store_unpair_remote()
1259 err = wacom_cmd_unpair_remote(wacom, selector); in wacom_store_unpair_remote()
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-emc.txt10 and chosen using the ramcode board selector. If omitted, only one
/linux-4.4.14/net/dcb/
Ddcbnl.c480 .selector = idtype, in dcbnl_getapp()
548 app.selector = idtype; in dcbnl_setapp()
1275 itr->app.selector); in dcbnl_cee_fill()
1763 if (itr->app.selector == app->selector && in dcb_app_lookup()
/linux-4.4.14/drivers/infiniband/core/
Dmulticast.c258 u8 selector, u8 src_value, u8 dst_value) in check_selector() argument
265 switch (selector) { in check_selector()
/linux-4.4.14/tools/perf/Documentation/
Dperf-record.txt79 Event filter. This option should follow a event selector (-e) which
85 a event selector (-e) which selects tracepoint event(s). It adds a
/linux-4.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts220 fcs,suspend-voltage-selector = <1>;
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmcg.c358 u8 selector = dst_value >> 6; in check_selector() local
365 switch (selector) { in check_selector()
/linux-4.4.14/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c643 unsigned selector) in mtk_pmx_get_func_name() argument
645 return mtk_gpio_functions[selector]; in mtk_pmx_get_func_name()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1941 if (entry->app.selector != DCB_APP_IDTYPE_ETHTYPE) in fcoe_dcb_app_notification()
2285 app.selector = IEEE_8021QAZ_APP_SEL_ETHERTYPE; in fcoe_dcb_create()
2290 app.selector = DCB_APP_IDTYPE_ETHTYPE; in fcoe_dcb_create()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_type.h465 u8 selector; member
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-hcd.c1819 unsigned selector; in isp1760_hub_control() local
2012 selector = wIndex >> 8; in isp1760_hub_control()
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt72 function selector register of the pin-bank.
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c686 app.selector = bnx2x_dcbx_dcbnl_app_idtype(ent); in bnx2x_dcbnl_update_applist()
2492 table[j].selector = bnx2x_dcbx_dcbnl_app_idtype(ent); in bnx2x_peer_apptable()
/linux-4.4.14/include/net/
Dxfrm.h539 struct xfrm_selector selector; member
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dmessage.c1863 word selector; in facility_req() local
1888 selector = GET_WORD(msg[0].info); in facility_req()
1892 switch (selector) in facility_req()
2604 "wws", Info, selector, SSparms); in facility_req()
/linux-4.4.14/Documentation/virtual/kvm/
Dapi.txt3646 @sel1 - selector 1
3647 @sel2 - selector 2