| /linux-4.4.14/drivers/media/platform/vsp1/ |
| D | vsp1_rwpf.c | 150 struct v4l2_subdev_selection *sel) in vsp1_rwpf_get_selection() argument 156 if (sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection() 159 switch (sel->target) { in vsp1_rwpf_get_selection() 161 sel->r = *vsp1_rwpf_get_crop(rwpf, cfg, sel->which); in vsp1_rwpf_get_selection() 166 RWPF_PAD_SINK, sel->which); in vsp1_rwpf_get_selection() 167 sel->r.left = 0; in vsp1_rwpf_get_selection() 168 sel->r.top = 0; in vsp1_rwpf_get_selection() 169 sel->r.width = format->width; in vsp1_rwpf_get_selection() 170 sel->r.height = format->height; in vsp1_rwpf_get_selection() 182 struct v4l2_subdev_selection *sel) in vsp1_rwpf_set_selection() argument [all …]
|
| D | vsp1_bru.c | 324 struct v4l2_subdev_selection *sel) in bru_get_selection() argument 328 if (sel->pad == BRU_PAD_SOURCE) in bru_get_selection() 331 switch (sel->target) { in bru_get_selection() 333 sel->r.left = 0; in bru_get_selection() 334 sel->r.top = 0; in bru_get_selection() 335 sel->r.width = BRU_MAX_SIZE; in bru_get_selection() 336 sel->r.height = BRU_MAX_SIZE; in bru_get_selection() 340 sel->r = *bru_get_compose(bru, cfg, sel->pad, sel->which); in bru_get_selection() 350 struct v4l2_subdev_selection *sel) in bru_set_selection() argument 356 if (sel->pad == BRU_PAD_SOURCE) in bru_set_selection() [all …]
|
| D | vsp1_rwpf.h | 65 struct v4l2_subdev_selection *sel); 68 struct v4l2_subdev_selection *sel);
|
| /linux-4.4.14/arch/mips/include/asm/netlogic/ |
| D | mips-extns.h | 174 #define __read_64bit_c2_split(source, sel) \ argument 180 if (sel == 0) \ 192 "dmfc2\t%M0, " #source ", " #sel "\n\t" \ 203 #define __write_64bit_c2_split(source, sel, val) \ argument 208 if (sel == 0) \ 225 "dmtc2\t%L0, " #source ", " #sel "\n\t" \ 231 #define __read_32bit_c2_register(source, sel) \ argument 233 if (sel == 0) \ 242 "mfc2\t%0, " #source ", " #sel "\n\t" \ 248 #define __read_64bit_c2_register(source, sel) \ argument [all …]
|
| /linux-4.4.14/drivers/clk/bcm/ |
| D | clk-bcm281xx.c | 46 .sel = SELECTOR(0x0a10, 0, 2), 55 .sel = SELECTOR(0x0a04, 0, 2), 63 .sel = SELECTOR(0x0a00, 0, 2), 87 .sel = SELECTOR(0x0e74, 0, 2), 109 .sel = SELECTOR(0x0a28, 0, 3), 121 .sel = SELECTOR(0x0a2c, 0, 3), 133 .sel = SELECTOR(0x0a34, 0, 3), 145 .sel = SELECTOR(0x0a30, 0, 3), 156 .sel = SELECTOR(0x0a24, 0, 2), 166 .sel = SELECTOR(0x0a38, 0, 2), [all …]
|
| D | clk-kona-setup.c | 21 #define selector_clear_exists(sel) ((sel)->width = 0) argument 54 struct bcm_clk_sel *sel; in clk_requires_trigger() local 60 sel = &peri->sel; in clk_requires_trigger() 61 if (sel->parent_count && selector_exists(sel)) in clk_requires_trigger() 84 struct bcm_clk_sel *sel; in peri_clk_data_offsets_valid() local 148 sel = &peri->sel; in peri_clk_data_offsets_valid() 149 if (selector_exists(sel)) { in peri_clk_data_offsets_valid() 150 if (sel->offset > limit) { in peri_clk_data_offsets_valid() 152 __func__, name, sel->offset, limit); in peri_clk_data_offsets_valid() 291 static bool sel_valid(struct bcm_clk_sel *sel, const char *field_name, in sel_valid() argument [all …]
|
| D | clk-kona.c | 820 static u8 parent_index(struct bcm_clk_sel *sel, u8 parent_sel) in parent_index() argument 824 BUG_ON(sel->parent_count > (u32)U8_MAX); in parent_index() 825 for (i = 0; i < sel->parent_count; i++) in parent_index() 826 if (sel->parent_sel[i] == parent_sel) in parent_index() 839 static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) in selector_read_index() argument 847 if (!selector_exists(sel)) in selector_read_index() 852 reg_val = __ccu_read(ccu, sel->offset); in selector_read_index() 855 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index() 858 index = parent_index(sel, parent_sel); in selector_read_index() 861 __func__, parent_sel, ccu->name, sel->offset); in selector_read_index() [all …]
|
| D | clk-bcm21664.c | 46 .sel = SELECTOR(0x0a10, 0, 2), 72 .sel = SELECTOR(0x0a28, 0, 3), 84 .sel = SELECTOR(0x0a2c, 0, 3), 96 .sel = SELECTOR(0x0a34, 0, 3), 108 .sel = SELECTOR(0x0a30, 0, 3), 167 .sel = SELECTOR(0x0a10, 0, 2), 177 .sel = SELECTOR(0x0a14, 0, 2), 187 .sel = SELECTOR(0x0a18, 0, 2), 199 .sel = SELECTOR(0x0a64, 0, 3), 210 .sel = SELECTOR(0x0a68, 0, 3), [all …]
|
| D | clk-kona.h | 70 #define selector_exists(sel) ((sel)->width != 0) argument 398 struct bcm_clk_sel sel; member
|
| /linux-4.4.14/drivers/regulator/ |
| D | anatop-regulator.c | 56 int sel; member 88 int sel; in anatop_regmap_enable() local 90 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable() 91 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable() 111 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel() 117 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel() 126 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel() 134 int sel; in anatop_regmap_get_bypass() local 136 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass() 137 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass() [all …]
|
| D | max77693.c | 74 unsigned int reg, sel; in max77693_chg_get_current_limit() local 82 sel = reg & reg_data->linear_mask; in max77693_chg_get_current_limit() 85 if (sel <= reg_data->min_sel) in max77693_chg_get_current_limit() 86 sel = 0; in max77693_chg_get_current_limit() 88 sel -= reg_data->min_sel; in max77693_chg_get_current_limit() 90 val = chg_min_uA + reg_data->uA_step * sel; in max77693_chg_get_current_limit() 102 int sel = 0; in max77693_chg_set_current_limit() local 104 while (chg_min_uA + reg_data->uA_step * sel < min_uA) in max77693_chg_set_current_limit() 105 sel++; in max77693_chg_set_current_limit() 107 if (chg_min_uA + reg_data->uA_step * sel > max_uA) in max77693_chg_set_current_limit() [all …]
|
| D | da9210-regulator.c | 90 unsigned int sel; in da9210_set_current_limit() local 97 sel = i; in da9210_set_current_limit() 98 sel = sel << DA9210_BUCK_ILIM_SHIFT; in da9210_set_current_limit() 101 DA9210_BUCK_ILIM_MASK, sel); in da9210_set_current_limit() 112 unsigned int sel; in da9210_get_current_limit() local 120 sel = (data & DA9210_BUCK_ILIM_MASK) >> DA9210_BUCK_ILIM_SHIFT; in da9210_get_current_limit() 122 return da9210_buck_limits[sel]; in da9210_get_current_limit()
|
| D | arizona-ldo1.c | 55 int sel; in arizona_ldo1_hc_map_voltage() local 57 sel = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in arizona_ldo1_hc_map_voltage() 58 if (sel >= rdev->desc->n_voltages) in arizona_ldo1_hc_map_voltage() 59 sel = rdev->desc->n_voltages - 1; in arizona_ldo1_hc_map_voltage() 61 return sel; in arizona_ldo1_hc_map_voltage() 65 unsigned sel) in arizona_ldo1_hc_set_voltage_sel() argument 72 if (sel == rdev->desc->n_voltages - 1) in arizona_ldo1_hc_set_voltage_sel() 85 val = sel << ARIZONA_LDO1_VSEL_SHIFT; in arizona_ldo1_hc_set_voltage_sel()
|
| D | wm831x-ldo.c | 75 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_gp_ldo_set_suspend_voltage() local 77 sel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm831x_gp_ldo_set_suspend_voltage() 78 if (sel < 0) in wm831x_gp_ldo_set_suspend_voltage() 79 return sel; in wm831x_gp_ldo_set_suspend_voltage() 81 return wm831x_set_bits(wm831x, reg, WM831X_LDO1_ON_VSEL_MASK, sel); in wm831x_gp_ldo_set_suspend_voltage() 328 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_aldo_set_suspend_voltage() local 330 sel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm831x_aldo_set_suspend_voltage() 331 if (sel < 0) in wm831x_aldo_set_suspend_voltage() 332 return sel; in wm831x_aldo_set_suspend_voltage() 334 return wm831x_set_bits(wm831x, reg, WM831X_LDO7_ON_VSEL_MASK, sel); in wm831x_aldo_set_suspend_voltage() [all …]
|
| D | ltc3589.c | 113 int sel, shift; in ltc3589_set_ramp_delay() local 122 for (sel = 0; sel < 4; sel++) { in ltc3589_set_ramp_delay() 123 if ((880 << sel) >= ramp_delay) { in ltc3589_set_ramp_delay() 126 0x3 << shift, sel << shift); in ltc3589_set_ramp_delay() 135 int sel; in ltc3589_set_suspend_voltage() local 137 sel = regulator_map_voltage_linear(rdev, uV, uV); in ltc3589_set_suspend_voltage() 138 if (sel < 0) in ltc3589_set_suspend_voltage() 139 return sel; in ltc3589_set_suspend_voltage() 143 rdev->desc->vsel_mask, sel); in ltc3589_set_suspend_voltage()
|
| D | rk808-regulator.c | 114 unsigned sel) in rk808_buck1_2_i2c_set_voltage_sel() argument 126 delta_sel = sel - old_sel; in rk808_buck1_2_i2c_set_voltage_sel() 145 delta_sel = sel - old_sel; in rk808_buck1_2_i2c_set_voltage_sel() 148 sel <<= ffs(mask) - 1; in rk808_buck1_2_i2c_set_voltage_sel() 149 val = tmp | sel; in rk808_buck1_2_i2c_set_voltage_sel() 163 unsigned sel) in rk808_buck1_2_set_voltage_sel() argument 173 return rk808_buck1_2_i2c_set_voltage_sel(rdev, sel); in rk808_buck1_2_set_voltage_sel() 188 sel <<= ffs(rdev->desc->vsel_mask) - 1; in rk808_buck1_2_set_voltage_sel() 189 sel |= old_sel & ~rdev->desc->vsel_mask; in rk808_buck1_2_set_voltage_sel() 191 ret = regmap_write(rdev->regmap, reg, sel); in rk808_buck1_2_set_voltage_sel() [all …]
|
| D | ti-abb-regulator.c | 322 static int ti_abb_set_voltage_sel(struct regulator_dev *rdev, unsigned sel) in ti_abb_set_voltage_sel() argument 343 if (sel >= desc->n_voltages) { in ti_abb_set_voltage_sel() 345 sel, desc->n_voltages); in ti_abb_set_voltage_sel() 350 if (sel == abb->current_info_idx) { in ti_abb_set_voltage_sel() 351 dev_dbg(dev, "%s: Already at sel=%d\n", __func__, sel); in ti_abb_set_voltage_sel() 356 info = &abb->info[sel]; in ti_abb_set_voltage_sel() 360 sel, abb->current_info_idx); in ti_abb_set_voltage_sel() 368 abb->current_info_idx = sel; in ti_abb_set_voltage_sel() 372 __func__, desc->volt_table[sel], sel, in ti_abb_set_voltage_sel()
|
| D | da9062-regulator.c | 125 unsigned int sel; in da9062_get_current_limit() local 128 ret = regmap_field_read(regl->ilimit, &sel); in da9062_get_current_limit() 132 if (sel >= rinfo->n_current_limits) in da9062_get_current_limit() 133 sel = rinfo->n_current_limits - 1; in da9062_get_current_limit() 135 return rinfo->current_limits[sel]; in da9062_get_current_limit() 303 int ret, sel; in da9062_set_suspend_voltage() local 305 sel = regulator_map_voltage_linear(rdev, uv, uv); in da9062_set_suspend_voltage() 306 if (sel < 0) in da9062_set_suspend_voltage() 307 return sel; in da9062_set_suspend_voltage() 309 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9062_set_suspend_voltage() [all …]
|
| D | da9063-regulator.c | 183 unsigned int sel; in da9063_get_current_limit() local 186 ret = regmap_field_read(regl->ilimit, &sel); in da9063_get_current_limit() 190 if (sel >= rinfo->n_current_limits) in da9063_get_current_limit() 191 sel = rinfo->n_current_limits - 1; in da9063_get_current_limit() 193 return rinfo->current_limits[sel]; in da9063_get_current_limit() 361 int ret, sel; in da9063_set_suspend_voltage() local 363 sel = regulator_map_voltage_linear(rdev, uV, uV); in da9063_set_suspend_voltage() 364 if (sel < 0) in da9063_set_suspend_voltage() 365 return sel; in da9063_set_suspend_voltage() 367 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9063_set_suspend_voltage() [all …]
|
| D | tps80031-regulator.c | 165 static int tps80031_dcdc_list_voltage(struct regulator_dev *rdev, unsigned sel) in tps80031_dcdc_list_voltage() argument 170 if (sel == 0) in tps80031_dcdc_list_voltage() 172 else if (sel < 58) in tps80031_dcdc_list_voltage() 173 return regulator_list_voltage_linear(rdev, sel - 1); in tps80031_dcdc_list_voltage() 175 return tps80031_dcdc_voltages[volt_index][sel - 58] * 1000; in tps80031_dcdc_list_voltage() 242 unsigned int sel) in tps80031_ldo_list_voltage() argument 250 unsigned nvsel = (sel) & 0x1F; in tps80031_ldo_list_voltage() 262 return regulator_list_voltage_linear(rdev, sel); in tps80031_ldo_list_voltage()
|
| D | da9052-regulator.c | 188 int ret, sel; in da9052_map_voltage() local 199 sel = DA9052_BUCK_PERI_REG_MAP_UPTO_3uV + in da9052_map_voltage() 203 sel = DIV_ROUND_UP(min_uV - info->min_uV, info->step_uV); in da9052_map_voltage() 206 ret = da9052_list_voltage(rdev, sel); in da9052_map_voltage() 210 return sel; in da9052_map_voltage()
|
| D | wm8350-regulator.c | 338 int sel, volt_reg, dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_voltage() local 362 sel = regulator_map_voltage_linear(rdev, uV, uV); in wm8350_dcdc_set_suspend_voltage() 363 if (sel < 0) in wm8350_dcdc_set_suspend_voltage() 364 return sel; in wm8350_dcdc_set_suspend_voltage() 368 wm8350_reg_write(wm8350, volt_reg, val | sel); in wm8350_dcdc_set_suspend_voltage() 553 int sel, volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_voltage() local 575 sel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm8350_ldo_set_suspend_voltage() 576 if (sel < 0) in wm8350_ldo_set_suspend_voltage() 577 return sel; in wm8350_ldo_set_suspend_voltage() 581 wm8350_reg_write(wm8350, volt_reg, val | sel); in wm8350_ldo_set_suspend_voltage()
|
| D | da903x.c | 197 int thresh, sel; in da9030_map_ldo14_voltage() local 206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage() 207 sel |= 0x4; in da9030_map_ldo14_voltage() 209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage() 212 return sel; in da9030_map_ldo14_voltage()
|
| D | helpers.c | 141 int regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned sel) in regulator_set_voltage_sel_regmap() argument 145 sel <<= ffs(rdev->desc->vsel_mask) - 1; in regulator_set_voltage_sel_regmap() 148 rdev->desc->vsel_mask, sel); in regulator_set_voltage_sel_regmap()
|
| D | wm831x-dcdc.c | 579 int sel; in wm831x_buckp_set_suspend_voltage() local 581 sel = regulator_map_voltage_linear(rdev, uV, uV); in wm831x_buckp_set_suspend_voltage() 582 if (sel < 0) in wm831x_buckp_set_suspend_voltage() 583 return sel; in wm831x_buckp_set_suspend_voltage() 585 return wm831x_set_bits(wm831x, reg, WM831X_DC3_ON_VSEL_MASK, sel); in wm831x_buckp_set_suspend_voltage()
|
| D | da9055-regulator.c | 209 int ret, sel; in da9055_regulator_get_voltage_sel() local 231 sel = (ret & volt.v_mask); in da9055_regulator_get_voltage_sel() 232 return sel; in da9055_regulator_get_voltage_sel()
|
| D | max8997.c | 813 int sel, rid = rdev_get_id(rdev); in max8997_get_current_limit() local 818 sel = max8997_get_voltage_sel(rdev); in max8997_get_current_limit() 819 if (sel < 0) in max8997_get_current_limit() 820 return sel; in max8997_get_current_limit() 823 return max8997_list_voltage(rdev, sel); in max8997_get_current_limit()
|
| D | twl-regulator.c | 557 static int twl6030ldo_list_voltage(struct regulator_dev *rdev, unsigned sel) in twl6030ldo_list_voltage() argument 561 switch (sel) { in twl6030ldo_list_voltage() 568 return (info->min_mV + 100 * (sel - 1)) * 1000; in twl6030ldo_list_voltage()
|
| D | qcom_spmi-regulator.c | 732 u8 range_sel, sel; in spmi_regulator_single_range_set_voltage() local 735 &sel, selector); in spmi_regulator_single_range_set_voltage() 745 return spmi_vreg_write(vreg, SPMI_COMMON_REG_VOLTAGE_SET, &sel, 1); in spmi_regulator_single_range_set_voltage()
|
| D | core.c | 3099 int sel, ret; in _regulator_get_voltage() local 3102 sel = rdev->desc->ops->get_voltage_sel(rdev); in _regulator_get_voltage() 3103 if (sel < 0) in _regulator_get_voltage() 3104 return sel; in _regulator_get_voltage() 3105 ret = rdev->desc->ops->list_voltage(rdev, sel); in _regulator_get_voltage()
|
| /linux-4.4.14/arch/arm/mach-dove/ |
| D | mpp.c | 71 static void __init dove_mpp_cfg_nfc(int sel) in dove_mpp_cfg_nfc() argument 76 mpp_gen_cfg |= sel; in dove_mpp_cfg_nfc() 82 static void __init dove_mpp_cfg_au1(int sel) in dove_mpp_cfg_au1() argument 94 if (!sel || sel == 0x2) in dove_mpp_cfg_au1() 99 if (sel & 0x1) { in dove_mpp_cfg_au1() 103 if (sel & 0x2) { in dove_mpp_cfg_au1() 107 if (sel & 0x4) { in dove_mpp_cfg_au1() 111 if (sel & 0x8) in dove_mpp_cfg_au1() 129 unsigned int sel = MPP_SEL(*mpp_grp_list); in dove_mpp_conf_grp() local 137 mpp_ctrl4 |= sel << num; in dove_mpp_conf_grp() [all …]
|
| /linux-4.4.14/net/ipv4/ |
| D | xfrm4_state.c | 25 __xfrm4_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) in __xfrm4_init_tempsel() argument 29 sel->daddr.a4 = fl4->daddr; in __xfrm4_init_tempsel() 30 sel->saddr.a4 = fl4->saddr; in __xfrm4_init_tempsel() 31 sel->dport = xfrm_flowi_dport(fl, &fl4->uli); in __xfrm4_init_tempsel() 32 sel->dport_mask = htons(0xffff); in __xfrm4_init_tempsel() 33 sel->sport = xfrm_flowi_sport(fl, &fl4->uli); in __xfrm4_init_tempsel() 34 sel->sport_mask = htons(0xffff); in __xfrm4_init_tempsel() 35 sel->family = AF_INET; in __xfrm4_init_tempsel() 36 sel->prefixlen_d = 32; in __xfrm4_init_tempsel() 37 sel->prefixlen_s = 32; in __xfrm4_init_tempsel() [all …]
|
| D | xfrm4_mode_beet.c | 52 if (x->sel.family != AF_INET6) in xfrm4_beet_output() 121 iph->daddr = x->sel.daddr.a4; in xfrm4_beet_input() 122 iph->saddr = x->sel.saddr.a4; in xfrm4_beet_input()
|
| D | ipcomp.c | 72 memcpy(&t->sel, &x->sel, sizeof(t->sel)); in ipcomp_tunnel_create()
|
| D | esp4.c | 699 else if (x->props.mode == XFRM_MODE_BEET && x->sel.family != AF_INET6) in esp_init_state()
|
| /linux-4.4.14/drivers/firmware/ |
| D | dmi-sysfs.c | 271 struct dmi_system_event_log sel; \ 272 if (sizeof(sel) > dmi_entry_length(dh)) \ 274 memcpy(&sel, dh, sizeof(sel)); \ 275 return sprintf(buf, "%u\n", sel._field); \ 277 static DMI_SYSFS_MAPPED_ATTR(sel, _field) 311 typedef u8 (*sel_io_reader)(const struct dmi_system_event_log *sel, 316 static u8 read_sel_8bit_indexed_io(const struct dmi_system_event_log *sel, in read_sel_8bit_indexed_io() argument 322 outb((u8)offset, sel->io.index_addr); in read_sel_8bit_indexed_io() 323 ret = inb(sel->io.data_addr); in read_sel_8bit_indexed_io() 328 static u8 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, in read_sel_2x8bit_indexed_io() argument [all …]
|
| /linux-4.4.14/Documentation/devicetree/bindings/net/ |
| D | cpsw-phy-sel.txt | 5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and 6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform 7 "ti,am43xx-cpsw-phy-sel" for am43xx platform 18 phy_sel: cpsw-phy-sel@44e10650 { 19 compatible = "ti,am3352-cpsw-phy-sel"; 21 reg-names = "gmii-sel"; 25 phy_sel: cpsw-phy-sel@44e10650 { 26 compatible = "ti,am3352-cpsw-phy-sel"; 28 reg-names = "gmii-sel";
|
| /linux-4.4.14/net/ipv6/ |
| D | xfrm6_state.c | 24 __xfrm6_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) in __xfrm6_init_tempsel() argument 30 *(struct in6_addr *)&sel->daddr = fl6->daddr; in __xfrm6_init_tempsel() 31 *(struct in6_addr *)&sel->saddr = fl6->saddr; in __xfrm6_init_tempsel() 32 sel->dport = xfrm_flowi_dport(fl, &fl6->uli); in __xfrm6_init_tempsel() 33 sel->dport_mask = htons(0xffff); in __xfrm6_init_tempsel() 34 sel->sport = xfrm_flowi_sport(fl, &fl6->uli); in __xfrm6_init_tempsel() 35 sel->sport_mask = htons(0xffff); in __xfrm6_init_tempsel() 36 sel->family = AF_INET6; in __xfrm6_init_tempsel() 37 sel->prefixlen_d = 128; in __xfrm6_init_tempsel() 38 sel->prefixlen_s = 128; in __xfrm6_init_tempsel() [all …]
|
| D | mip6.c | 215 struct xfrm_selector sel; in mip6_destopt_reject() local 238 memset(&sel, 0, sizeof(sel)); in mip6_destopt_reject() 239 memcpy(&sel.daddr, (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in mip6_destopt_reject() 240 sizeof(sel.daddr)); in mip6_destopt_reject() 241 sel.prefixlen_d = 128; in mip6_destopt_reject() 242 memcpy(&sel.saddr, (xfrm_address_t *)&ipv6_hdr(skb)->saddr, in mip6_destopt_reject() 243 sizeof(sel.saddr)); in mip6_destopt_reject() 244 sel.prefixlen_s = 128; in mip6_destopt_reject() 245 sel.family = AF_INET6; in mip6_destopt_reject() 246 sel.proto = fl6->flowi6_proto; in mip6_destopt_reject() [all …]
|
| D | xfrm6_mode_beet.c | 52 if (x->sel.family != AF_INET6) in xfrm6_beet_output() 98 ip6h->daddr = x->sel.daddr.in6; in xfrm6_beet_input() 99 ip6h->saddr = x->sel.saddr.in6; in xfrm6_beet_input()
|
| D | ipcomp6.c | 100 memcpy(&t->sel, &x->sel, sizeof(t->sel)); in ipcomp6_tunnel_create()
|
| D | ipv6_sockglue.c | 61 int ip6_ra_control(struct sock *sk, int sel) in ip6_ra_control() argument 69 new_ra = (sel >= 0) ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL; in ip6_ra_control() 74 if (sel >= 0) { in ip6_ra_control() 93 new_ra->sel = sel; in ip6_ra_control()
|
| D | ip6_output.c | 251 static int ip6_call_ra_chain(struct sk_buff *skb, int sel) in ip6_call_ra_chain() argument 259 if (sk && ra->sel == sel && in ip6_call_ra_chain()
|
| D | esp6.c | 644 if (x->sel.family != AF_INET6) in esp6_init_state()
|
| /linux-4.4.14/drivers/media/v4l2-core/ |
| D | v4l2-subdev.c | 155 struct v4l2_subdev_selection *sel) in check_selection() argument 157 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && in check_selection() 158 sel->which != V4L2_SUBDEV_FORMAT_ACTIVE) in check_selection() 161 if (sel->pad >= sd->entity.num_pads) in check_selection() 279 struct v4l2_subdev_selection sel; in subdev_do_ioctl() local 285 memset(&sel, 0, sizeof(sel)); in subdev_do_ioctl() 286 sel.which = crop->which; in subdev_do_ioctl() 287 sel.pad = crop->pad; in subdev_do_ioctl() 288 sel.target = V4L2_SEL_TGT_CROP; in subdev_do_ioctl() 291 sd, pad, get_selection, subdev_fh->pad, &sel); in subdev_do_ioctl() [all …]
|
| /linux-4.4.14/drivers/media/tuners/ |
| D | mt20xx.c | 109 unsigned int fref,lo1,lo1n,lo1a,s,sel,lo1freq, desired_lo1, in mt2032_compute_freq() local 122 if(s>1890) sel=0; in mt2032_compute_freq() 123 else if(s>1720) sel=1; in mt2032_compute_freq() 124 else if(s>1530) sel=2; in mt2032_compute_freq() 125 else if(s>1370) sel=3; in mt2032_compute_freq() 126 else sel=4; // >1090 in mt2032_compute_freq() 129 if(s>1790) sel=0; // <1958 in mt2032_compute_freq() 130 else if(s>1617) sel=1; in mt2032_compute_freq() 131 else if(s>1449) sel=2; in mt2032_compute_freq() 132 else if(s>1291) sel=3; in mt2032_compute_freq() [all …]
|
| /linux-4.4.14/drivers/media/i2c/smiapp/ |
| D | smiapp-core.c | 1882 struct v4l2_subdev_selection *sel, in smiapp_set_compose_binner() argument 1891 crops[SMIAPP_PAD_SINK]->width, sel->r.width, in smiapp_set_compose_binner() 1892 crops[SMIAPP_PAD_SINK]->height, sel->r.height, sel->flags); in smiapp_set_compose_binner() 1899 sel->r.width, in smiapp_set_compose_binner() 1902 sel->r.height, sel->flags); in smiapp_set_compose_binner() 1910 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in smiapp_set_compose_binner() 1915 sel->r.width = (crops[SMIAPP_PAD_SINK]->width / binh) & ~1; in smiapp_set_compose_binner() 1916 sel->r.height = (crops[SMIAPP_PAD_SINK]->height / binv) & ~1; in smiapp_set_compose_binner() 1930 struct v4l2_subdev_selection *sel, in smiapp_set_compose_scaler() argument 1944 sel->r.width = min_t(unsigned int, sel->r.width, in smiapp_set_compose_scaler() [all …]
|
| /linux-4.4.14/arch/powerpc/perf/ |
| D | mpc7450-pmu.c | 83 int pmc, sel; in mpc7450_threshold_use() local 86 sel = event & PM_PMCSEL_MSK; in mpc7450_threshold_use() 89 if (sel == 0x1e || sel == 0x1f) in mpc7450_threshold_use() 91 if (sel == 0x28 || sel == 0x2b) in mpc7450_threshold_use() 95 if (sel == 0x20) in mpc7450_threshold_use() 99 if (sel == 0xc || sel == 0xd) in mpc7450_threshold_use() 101 if (sel == 0x11) in mpc7450_threshold_use() 105 if (sel == 0x10) in mpc7450_threshold_use()
|
| /linux-4.4.14/arch/mips/kvm/ |
| D | dyntrans.c | 75 int32_t rt, rd, sel; in kvm_mips_trans_mfc0() local 81 sel = inst & 0x7; in kvm_mips_trans_mfc0() 83 if ((rd == MIPS_CP0_ERRCTL) && (sel == 0)) { in kvm_mips_trans_mfc0() 91 reg[rd][sel]) + offsetof(struct kvm_mips_commpage, in kvm_mips_trans_mfc0() 117 int32_t rt, rd, sel; in kvm_mips_trans_mtc0() local 123 sel = inst & 0x7; in kvm_mips_trans_mtc0() 128 reg[rd][sel]) + offsetof(struct kvm_mips_commpage, cop0); in kvm_mips_trans_mtc0()
|
| D | emulate.c | 982 int32_t rt, rd, copz, sel, co_bit, op; in kvm_mips_emulate_CP0() local 998 sel = inst & 0x7; in kvm_mips_emulate_CP0() 1032 cop0->stat[rd][sel]++; in kvm_mips_emulate_CP0() 1035 if ((rd == MIPS_CP0_COUNT) && (sel == 0)) { in kvm_mips_emulate_CP0() 1037 } else if ((rd == MIPS_CP0_ERRCTL) && (sel == 0)) { in kvm_mips_emulate_CP0() 1043 vcpu->arch.gprs[rt] = cop0->reg[rd][sel]; in kvm_mips_emulate_CP0() 1052 pc, rd, sel, rt, vcpu->arch.gprs[rt]); in kvm_mips_emulate_CP0() 1057 vcpu->arch.gprs[rt] = cop0->reg[rd][sel]; in kvm_mips_emulate_CP0() 1062 cop0->stat[rd][sel]++; in kvm_mips_emulate_CP0() 1073 if ((rd == MIPS_CP0_PRID) && (sel == 1)) { in kvm_mips_emulate_CP0() [all …]
|
| /linux-4.4.14/drivers/clk/imx/ |
| D | clk-imx35.c | 38 unsigned char arm, ahb, sel; member 42 { .arm = 1, .ahb = 4, .sel = 0}, 43 { .arm = 1, .ahb = 3, .sel = 1}, 44 { .arm = 2, .ahb = 2, .sel = 0}, 45 { .arm = 0, .ahb = 0, .sel = 0}, 46 { .arm = 0, .ahb = 0, .sel = 0}, 47 { .arm = 0, .ahb = 0, .sel = 0}, 48 { .arm = 4, .ahb = 1, .sel = 0}, 49 { .arm = 1, .ahb = 5, .sel = 0}, 50 { .arm = 1, .ahb = 8, .sel = 0}, [all …]
|
| /linux-4.4.14/arch/mips/include/asm/ |
| D | mipsmtregs.h | 284 #define mftc0(rt,sel) \ argument 292 " # mftc0 $1, $" #rt ", " #sel " \n" \ 293 " .word 0x41000800 | (" #rt " << 16) | " #sel " \n" \ 318 #define mftr(rt, u, sel) \ argument 323 " mftr %0, " #rt ", " #u ", " #sel " \n" \ 342 #define mttc0(rd, sel, v) \ argument 349 " # mttc0 %0," #rd ", " #sel " \n" \ 350 " .word 0x41810000 | (" #rd " << 11) | " #sel " \n" \ 357 #define mttr(rd, u, sel, v) \ argument 360 "mttr %0," #rd ", " #u ", " #sel \
|
| D | mipsregs.h | 940 #define __read_32bit_c0_register(source, sel) \ argument 942 if (sel == 0) \ 949 "mfc0\t%0, " #source ", " #sel "\n\t" \ 955 #define __read_64bit_c0_register(source, sel) \ argument 958 __res = __read_64bit_c0_split(source, sel); \ 959 else if (sel == 0) \ 968 "dmfc0\t%0, " #source ", " #sel "\n\t" \ 974 #define __write_32bit_c0_register(register, sel, value) \ argument 976 if (sel == 0) \ 983 "mtc0\t%z0, " #register ", " #sel "\n\t" \ [all …]
|
| D | asmmacro.h | 205 .macro MFTR rt=0, rd=0, u=0, sel=0 206 .word 0x41000000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) 209 .macro MTTR rt=0, rd=0, u=0, sel=0 210 .word 0x41800000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel)
|
| /linux-4.4.14/drivers/media/i2c/ |
| D | ths7303.c | 88 u8 val, sel = 0; in ths7303_setval() local 96 sel = 0x3; /*1080p and SXGA/UXGA */ in ths7303_setval() 99 sel = 0x2; /*720p, 1080i and SVGA/XGA */ in ths7303_setval() 102 sel = 0x1; /* EDTV 480p/576p and VGA */ in ths7303_setval() 105 sel = 0x0; /* SDTV, S-Video, 480i/576i */ in ths7303_setval() 112 val = (sel << 6) | (sel << 3); in ths7303_setval() 119 val = (sel << 6) | (sel << 3); in ths7303_setval() 126 val = (sel << 6) | (sel << 3); in ths7303_setval()
|
| D | mt9m032.c | 427 struct v4l2_subdev_selection *sel) in mt9m032_get_pad_selection() argument 431 if (sel->target != V4L2_SEL_TGT_CROP) in mt9m032_get_pad_selection() 435 sel->r = *__mt9m032_get_pad_crop(sensor, cfg, sel->which); in mt9m032_get_pad_selection() 443 struct v4l2_subdev_selection *sel) in mt9m032_set_pad_selection() argument 451 if (sel->target != V4L2_SEL_TGT_CROP) in mt9m032_set_pad_selection() 456 if (sensor->streaming && sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in mt9m032_set_pad_selection() 464 rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN, in mt9m032_set_pad_selection() 466 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, in mt9m032_set_pad_selection() 468 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9m032_set_pad_selection() 470 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9m032_set_pad_selection() [all …]
|
| D | mt9t001.c | 406 struct v4l2_subdev_selection *sel) in mt9t001_get_selection() argument 410 if (sel->target != V4L2_SEL_TGT_CROP) in mt9t001_get_selection() 413 sel->r = *__mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_get_selection() 419 struct v4l2_subdev_selection *sel) in mt9t001_set_selection() argument 426 if (sel->target != V4L2_SEL_TGT_CROP) in mt9t001_set_selection() 432 rect.left = clamp(ALIGN(sel->r.left, 2), in mt9t001_set_selection() 435 rect.top = clamp(ALIGN(sel->r.top, 2), in mt9t001_set_selection() 438 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9t001_set_selection() 441 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9t001_set_selection() 450 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_set_selection() [all …]
|
| D | mt9v032.c | 560 struct v4l2_subdev_selection *sel) in mt9v032_get_selection() argument 564 if (sel->target != V4L2_SEL_TGT_CROP) in mt9v032_get_selection() 567 sel->r = *__mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_get_selection() 573 struct v4l2_subdev_selection *sel) in mt9v032_set_selection() argument 580 if (sel->target != V4L2_SEL_TGT_CROP) in mt9v032_set_selection() 586 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, in mt9v032_set_selection() 589 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 592 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9v032_set_selection() 595 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9v032_set_selection() 604 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_set_selection() [all …]
|
| D | s5k5baf.c | 1375 struct v4l2_subdev_selection *sel) in s5k5baf_get_selection() argument 1380 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_get_selection() 1386 sel->r = s5k5baf_cis_rect; in s5k5baf_get_selection() 1392 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in s5k5baf_get_selection() 1394 sel->r = *v4l2_subdev_get_try_compose(sd, cfg, sel->pad); in s5k5baf_get_selection() 1396 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); in s5k5baf_get_selection() 1403 sel->r = state->crop_sink; in s5k5baf_get_selection() 1406 sel->r = state->compose; in s5k5baf_get_selection() 1409 sel->r = state->crop_source; in s5k5baf_get_selection() 1414 if (s5k5baf_is_bound_target(sel->target)) { in s5k5baf_get_selection() [all …]
|
| D | mt9p031.c | 586 struct v4l2_subdev_selection *sel) in mt9p031_get_selection() argument 590 if (sel->target != V4L2_SEL_TGT_CROP) in mt9p031_get_selection() 593 sel->r = *__mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); in mt9p031_get_selection() 599 struct v4l2_subdev_selection *sel) in mt9p031_set_selection() argument 606 if (sel->target != V4L2_SEL_TGT_CROP) in mt9p031_set_selection() 612 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, in mt9p031_set_selection() 614 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 616 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9p031_set_selection() 619 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection() 628 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); in mt9p031_set_selection() [all …]
|
| D | s5k6aa.c | 1166 struct v4l2_subdev_selection *sel) in s5k6aa_get_selection() argument 1171 if (sel->target != V4L2_SEL_TGT_CROP) in s5k6aa_get_selection() 1174 memset(sel->reserved, 0, sizeof(sel->reserved)); in s5k6aa_get_selection() 1177 rect = __s5k6aa_get_crop_rect(s5k6aa, cfg, sel->which); in s5k6aa_get_selection() 1178 sel->r = *rect; in s5k6aa_get_selection() 1189 struct v4l2_subdev_selection *sel) in s5k6aa_set_selection() argument 1196 if (sel->target != V4L2_SEL_TGT_CROP) in s5k6aa_set_selection() 1200 crop_r = __s5k6aa_get_crop_rect(s5k6aa, cfg, sel->which); in s5k6aa_set_selection() 1202 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in s5k6aa_set_selection() 1208 v4l_bound_align_image(&sel->r.width, mf->width, in s5k6aa_set_selection() [all …]
|
| /linux-4.4.14/net/sched/ |
| D | cls_u32.c | 71 struct tc_u32_sel sel; member 97 const struct tc_u32_sel *sel, in u32_hash_fold() argument 100 unsigned int h = ntohl(key & sel->hmask) >> fshift; in u32_hash_fold() 117 int sel = 0; in u32_classify() local 124 n = rcu_dereference_bh(ht->ht[sel]); in u32_classify() 128 struct tc_u32_key *key = n->sel.keys; in u32_classify() 144 for (i = n->sel.nkeys; i > 0; i--, key++) { in u32_classify() 167 if (n->sel.flags & TC_U32_TERMINAL) { in u32_classify() 199 sel = 0; in u32_classify() 203 data = skb_header_pointer(skb, off + n->sel.hoff, 4, in u32_classify() [all …]
|
| /linux-4.4.14/drivers/media/platform/omap3isp/ |
| D | ispresizer.c | 1227 struct v4l2_subdev_selection *sel) in resizer_get_selection() argument 1234 if (sel->pad != RESZ_PAD_SINK) in resizer_get_selection() 1238 sel->which); in resizer_get_selection() 1240 sel->which); in resizer_get_selection() 1242 switch (sel->target) { in resizer_get_selection() 1244 sel->r.left = 0; in resizer_get_selection() 1245 sel->r.top = 0; in resizer_get_selection() 1246 sel->r.width = INT_MAX; in resizer_get_selection() 1247 sel->r.height = INT_MAX; in resizer_get_selection() 1249 resizer_try_crop(format_sink, format_source, &sel->r); in resizer_get_selection() [all …]
|
| D | isppreview.c | 1933 struct v4l2_subdev_selection *sel) in preview_get_selection() argument 1938 if (sel->pad != PREV_PAD_SINK) in preview_get_selection() 1941 switch (sel->target) { in preview_get_selection() 1943 sel->r.left = 0; in preview_get_selection() 1944 sel->r.top = 0; in preview_get_selection() 1945 sel->r.width = INT_MAX; in preview_get_selection() 1946 sel->r.height = INT_MAX; in preview_get_selection() 1949 sel->which); in preview_get_selection() 1950 preview_try_crop(prev, format, &sel->r); in preview_get_selection() 1954 sel->r = *__preview_get_crop(prev, cfg, sel->which); in preview_get_selection() [all …]
|
| D | ispccdc.c | 2227 struct v4l2_subdev_selection *sel) in ccdc_get_selection() argument 2232 if (sel->pad != CCDC_PAD_SOURCE_OF) in ccdc_get_selection() 2235 switch (sel->target) { in ccdc_get_selection() 2237 sel->r.left = 0; in ccdc_get_selection() 2238 sel->r.top = 0; in ccdc_get_selection() 2239 sel->r.width = INT_MAX; in ccdc_get_selection() 2240 sel->r.height = INT_MAX; in ccdc_get_selection() 2242 format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SINK, sel->which); in ccdc_get_selection() 2243 ccdc_try_crop(ccdc, format, &sel->r); in ccdc_get_selection() 2247 sel->r = *__ccdc_get_crop(ccdc, cfg, sel->which); in ccdc_get_selection() [all …]
|
| /linux-4.4.14/drivers/clk/meson/ |
| D | clk-cpu.c | 77 unsigned int div, sel, N = 0; in meson_clk_cpu_set_rate() local 83 sel = div - 1; in meson_clk_cpu_set_rate() 85 sel = 3; in meson_clk_cpu_set_rate() 94 reg = PARM_SET(MESON_SEL_WIDTH, MESON_SEL_SHIFT, reg, sel); in meson_clk_cpu_set_rate() 104 unsigned int N, sel; in meson_clk_cpu_recalc_rate() local 112 sel = PARM_GET(MESON_SEL_WIDTH, MESON_SEL_SHIFT, reg); in meson_clk_cpu_recalc_rate() 114 if (sel < 3) in meson_clk_cpu_recalc_rate() 115 div = sel + 1; in meson_clk_cpu_recalc_rate()
|
| /linux-4.4.14/net/xfrm/ |
| D | xfrm_hash.h | 139 static inline unsigned int __sel_hash(const struct xfrm_selector *sel, in __sel_hash() argument 143 const xfrm_address_t *daddr = &sel->daddr; in __sel_hash() 144 const xfrm_address_t *saddr = &sel->saddr; in __sel_hash() 149 if (sel->prefixlen_d < dbits || in __sel_hash() 150 sel->prefixlen_s < sbits) in __sel_hash() 157 if (sel->prefixlen_d < dbits || in __sel_hash() 158 sel->prefixlen_s < sbits) in __sel_hash()
|
| D | xfrm_policy.c | 63 __xfrm4_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm4_selector_match() argument 67 return addr4_match(fl4->daddr, sel->daddr.a4, sel->prefixlen_d) && in __xfrm4_selector_match() 68 addr4_match(fl4->saddr, sel->saddr.a4, sel->prefixlen_s) && in __xfrm4_selector_match() 69 !((xfrm_flowi_dport(fl, &fl4->uli) ^ sel->dport) & sel->dport_mask) && in __xfrm4_selector_match() 70 !((xfrm_flowi_sport(fl, &fl4->uli) ^ sel->sport) & sel->sport_mask) && in __xfrm4_selector_match() 71 (fl4->flowi4_proto == sel->proto || !sel->proto) && in __xfrm4_selector_match() 72 (fl4->flowi4_oif == sel->ifindex || !sel->ifindex); in __xfrm4_selector_match() 76 __xfrm6_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm6_selector_match() argument 80 return addr_match(&fl6->daddr, &sel->daddr, sel->prefixlen_d) && in __xfrm6_selector_match() 81 addr_match(&fl6->saddr, &sel->saddr, sel->prefixlen_s) && in __xfrm6_selector_match() [all …]
|
| D | xfrm_state.c | 641 afinfo->init_tempsel(&x->sel, fl); in xfrm_init_tempstate() 743 if ((x->sel.family && in xfrm_state_look_at() 744 !xfrm_selector_match(&x->sel, fl, x->sel.family)) || in xfrm_state_look_at() 757 if (xfrm_selector_match(&x->sel, fl, x->sel.family) && in xfrm_state_look_at() 1037 x->sel.daddr.a4 = daddr->a4; in __find_acq_core() 1038 x->sel.saddr.a4 = saddr->a4; in __find_acq_core() 1039 x->sel.prefixlen_d = 32; in __find_acq_core() 1040 x->sel.prefixlen_s = 32; in __find_acq_core() 1046 x->sel.daddr.in6 = daddr->in6; in __find_acq_core() 1047 x->sel.saddr.in6 = saddr->in6; in __find_acq_core() [all …]
|
| D | xfrm_user.c | 468 memcpy(&x->sel, &p->sel, sizeof(x->sel)); in copy_from_user_state() 478 if (!x->sel.family && !(p->flags & XFRM_STATE_AF_UNSPEC)) in copy_from_user_state() 479 x->sel.family = p->family; in copy_from_user_state() 729 memcpy(&p->sel, &x->sel, sizeof(p->sel)); in copy_to_user_state() 1309 switch (p->sel.family) { in verify_newpolicy_info() 1447 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy() 1451 xp->family = p->sel.family; in copy_from_user_policy() 1458 memcpy(&p->sel, &xp->selector, sizeof(p->sel)); in copy_to_user_policy() 1463 p->sel.family = xp->family; in copy_to_user_policy() 1747 xp = xfrm_policy_bysel_ctx(net, mark, type, p->dir, &p->sel, in xfrm_get_policy() [all …]
|
| D | xfrm_input.c | 171 if (x->sel.family == AF_UNSPEC) { in xfrm_prepare_input() 334 if (x->sel.family == AF_UNSPEC) { in xfrm_input()
|
| D | xfrm_output.c | 221 if (x->sel.family == AF_UNSPEC) in xfrm_inner_extract_output()
|
| /linux-4.4.14/sound/soc/sh/rcar/ |
| D | adg.c | 172 int idx, sel, div, step, ret; in rsnd_adg_set_convert_clk_gen2() local 188 for (sel = 0; sel < ARRAY_SIZE(sel_rate); sel++) { in rsnd_adg_set_convert_clk_gen2() 192 if (!sel_rate[sel]) in rsnd_adg_set_convert_clk_gen2() 196 diff = abs(src_rate - sel_rate[sel] / div); in rsnd_adg_set_convert_clk_gen2() 198 val = (sel << 8) | idx; in rsnd_adg_set_convert_clk_gen2() 200 en = 1 << (sel + 1); /* fixme */ in rsnd_adg_set_convert_clk_gen2() 253 int idx, sel, div, shift; in rsnd_adg_set_convert_clk_gen1() local 266 for (sel = 0; sel < ARRAY_SIZE(sel_rate); sel++) { in rsnd_adg_set_convert_clk_gen1() 270 if (src_rate == sel_rate[sel] / div) { in rsnd_adg_set_convert_clk_gen1() 271 val = (idx << 4) | sel; in rsnd_adg_set_convert_clk_gen1()
|
| /linux-4.4.14/drivers/tty/vt/ |
| D | selection.c | 159 int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty) in set_selection() argument 172 if (!access_ok(VERIFY_READ, sel, sizeof(*sel))) in set_selection() 174 __get_user(xs, &sel->xs); in set_selection() 175 __get_user(ys, &sel->ys); in set_selection() 176 __get_user(xe, &sel->xe); in set_selection() 177 __get_user(ye, &sel->ye); in set_selection() 178 __get_user(sel_mode, &sel->sel_mode); in set_selection()
|
| /linux-4.4.14/drivers/media/platform/s3c-camif/ |
| D | camif-capture.c | 999 struct v4l2_selection *sel) in s3c_camif_g_selection() argument 1003 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in s3c_camif_g_selection() 1006 switch (sel->target) { in s3c_camif_g_selection() 1009 sel->r.left = 0; in s3c_camif_g_selection() 1010 sel->r.top = 0; in s3c_camif_g_selection() 1011 sel->r.width = vp->out_frame.f_width; in s3c_camif_g_selection() 1012 sel->r.height = vp->out_frame.f_height; in s3c_camif_g_selection() 1016 sel->r = vp->out_frame.rect; in s3c_camif_g_selection() 1036 struct v4l2_selection *sel) in s3c_camif_s_selection() argument 1040 struct v4l2_rect rect = sel->r; in s3c_camif_s_selection() [all …]
|
| /linux-4.4.14/drivers/media/platform/exynos4-is/ |
| D | fimc-lite.c | 907 struct v4l2_selection *sel) in fimc_lite_g_selection() argument 912 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in fimc_lite_g_selection() 915 switch (sel->target) { in fimc_lite_g_selection() 918 sel->r.left = 0; in fimc_lite_g_selection() 919 sel->r.top = 0; in fimc_lite_g_selection() 920 sel->r.width = f->f_width; in fimc_lite_g_selection() 921 sel->r.height = f->f_height; in fimc_lite_g_selection() 925 sel->r = f->rect; in fimc_lite_g_selection() 933 struct v4l2_selection *sel) in fimc_lite_s_selection() argument 937 struct v4l2_rect rect = sel->r; in fimc_lite_s_selection() [all …]
|
| D | fimc-capture.c | 1603 struct v4l2_subdev_selection *sel) in fimc_subdev_get_selection() argument 1608 struct v4l2_rect *r = &sel->r; in fimc_subdev_get_selection() 1611 if (sel->pad == FIMC_SD_PAD_SOURCE) in fimc_subdev_get_selection() 1616 switch (sel->target) { in fimc_subdev_get_selection() 1628 try_sel = v4l2_subdev_get_try_crop(sd, cfg, sel->pad); in fimc_subdev_get_selection() 1631 try_sel = v4l2_subdev_get_try_compose(sd, cfg, sel->pad); in fimc_subdev_get_selection() 1639 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_subdev_get_selection() 1640 sel->r = *try_sel; in fimc_subdev_get_selection() 1649 sel->pad, r->left, r->top, r->width, r->height, in fimc_subdev_get_selection() 1658 struct v4l2_subdev_selection *sel) in fimc_subdev_set_selection() argument [all …]
|
| /linux-4.4.14/drivers/media/platform/ti-vpe/ |
| D | csc.c | 126 int sel = 0; in csc_set_coeff() local 137 sel = 1; in csc_set_coeff() 143 sel = 3; in csc_set_coeff() 150 sd_hd_coeffs = &colorspace_coeffs[sel]; in csc_set_coeff()
|
| D | vpe.c | 1715 struct v4l2_selection sel = *s; in vpe_s_selection() local 1718 ret = __vpe_try_selection(ctx, &sel); in vpe_s_selection() 1722 q_data = get_q_data(ctx, sel.type); in vpe_s_selection() 1726 if ((q_data->c_rect.left == sel.r.left) && in vpe_s_selection() 1727 (q_data->c_rect.top == sel.r.top) && in vpe_s_selection() 1728 (q_data->c_rect.width == sel.r.width) && in vpe_s_selection() 1729 (q_data->c_rect.height == sel.r.height)) { in vpe_s_selection() 1735 q_data->c_rect = sel.r; in vpe_s_selection()
|
| /linux-4.4.14/scripts/ |
| D | get_maintainer.pl | 1527 my $sel = ""; 1528 $sel = "*" if ($selected{$count}); 1535 printf STDERR "%1s %2d %-65s", $sel, $count + 1, $email; 1600 my $sel = substr($nr, 0, 1); 1605 if ($sel eq "y") { 1613 } elsif ($sel eq "*" || $sel eq '^') { 1615 $toggle = 1 if ($sel eq '*'); 1619 } elsif ($sel eq "0") { 1623 } elsif ($sel eq "t") { 1645 } elsif ($sel eq "a") { [all …]
|
| /linux-4.4.14/arch/alpha/kernel/ |
| D | time.c | 205 unsigned char x, sel = 0; in common_init_rtc() local 213 sel = RTC_REF_CLCK_32KHZ + 6; in common_init_rtc() 216 sel = RTC_REF_CLCK_32KHZ + __builtin_ffs(32768 / CONFIG_HZ); in common_init_rtc() 220 if (sel) { in common_init_rtc() 222 CONFIG_HZ, sel); in common_init_rtc() 223 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc()
|
| /linux-4.4.14/net/tipc/ |
| D | node.h | 161 static inline struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link() argument 163 int bearer_id = n->active_links[sel & 1]; in node_active_link() 171 static inline unsigned int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel) in tipc_node_get_mtu() argument 181 bearer_id = n->active_links[sel & 1]; in tipc_node_get_mtu()
|
| D | node.c | 1000 static struct tipc_link *tipc_node_select_link(struct tipc_node *n, int sel, in tipc_node_select_link() argument 1004 int id = n->active_links[sel & 1]; in tipc_node_select_link()
|
| /linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
| D | dm365_isif.c | 1548 struct v4l2_subdev_selection *sel) in isif_pad_set_selection() argument 1554 if (sel->pad != ISIF_PAD_SINK || sel->target != V4L2_SEL_TGT_CROP) in isif_pad_set_selection() 1557 format = __isif_get_format(vpfe_isif, cfg, sel->pad, sel->which); in isif_pad_set_selection() 1562 if (sel->r.top < 0 || sel->r.left < 0 || in isif_pad_set_selection() 1563 (sel->r.left + sel->r.width > in isif_pad_set_selection() 1565 (sel->r.top + sel->r.height > in isif_pad_set_selection() 1567 sel->r.left = 0; in isif_pad_set_selection() 1568 sel->r.top = 0; in isif_pad_set_selection() 1569 sel->r.width = format->width; in isif_pad_set_selection() 1570 sel->r.height = format->height; in isif_pad_set_selection() [all …]
|
| /linux-4.4.14/drivers/leds/ |
| D | leds-bcm6328.c | 209 u32 sel; in bcm6328_hwled() local 218 &sel); in bcm6328_hwled() 220 if (reg / 4 != sel / 4) { in bcm6328_hwled() 227 val |= (BIT(reg) << (((sel % 4) * 4) + 16)); in bcm6328_hwled() 236 u32 sel; in bcm6328_hwled() local 245 i, &sel); in bcm6328_hwled() 247 if (reg / 4 != sel / 4) { in bcm6328_hwled() 254 val |= (BIT(reg) << ((sel % 4) * 4)); in bcm6328_hwled()
|
| /linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
| D | espi.c | 317 u32 sel; in t1_espi_get_mon() local 322 sel = V_MONITORED_PORT_NUM((addr & 0x3c) >> 2); in t1_espi_get_mon() 329 if ((sel != (espi->misc_ctrl & MON_MASK))) { in t1_espi_get_mon() 330 writel(((espi->misc_ctrl & ~MON_MASK) | sel), in t1_espi_get_mon() 332 sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3); in t1_espi_get_mon() 335 sel = readl(adapter->regs + A_ESPI_SCH_TOKEN3); in t1_espi_get_mon() 337 return sel; in t1_espi_get_mon()
|
| /linux-4.4.14/drivers/clk/zte/ |
| D | clk.c | 180 u32 sel, integ, fra_div, tmp; in calc_reg() local 188 sel = tmp / BPAR; in calc_reg() 192 tmp = (sel << 24) | (integ << 16) | (0xff << 8) | fra_div; in calc_reg() 203 u32 sel, integ, fra_div, tmp; in calc_rate() local 207 sel = (tmp >> 24) & BIT(0); in calc_rate() 213 tmp += sel * BPAR; in calc_rate()
|
| /linux-4.4.14/drivers/media/pci/ivtv/ |
| D | ivtv-ioctl.c | 846 struct v4l2_selection *sel) in ivtv_s_selection() argument 854 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT || in ivtv_s_selection() 858 if (sel->target != V4L2_SEL_TGT_COMPOSE) in ivtv_s_selection() 862 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT || in ivtv_s_selection() 871 sel->r.width = clamp(sel->r.width, 16U, r.width); in ivtv_s_selection() 872 sel->r.height = clamp(sel->r.height, 16U, r.height); in ivtv_s_selection() 873 sel->r.left = clamp_t(unsigned, sel->r.left, 0, r.width - sel->r.width); in ivtv_s_selection() 874 sel->r.top = clamp_t(unsigned, sel->r.top, 0, r.height - sel->r.height); in ivtv_s_selection() 877 yi->main_rect = sel->r; in ivtv_s_selection() 881 sel->r.width, sel->r.height, sel->r.left, sel->r.top)) { in ivtv_s_selection() [all …]
|
| /linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
| D | phy_shim.c | 206 int len, u32 sel) in wlapi_copyfrom_objmem() argument 208 brcms_b_copyfrom_objmem(physhim->wlc_hw, offset, buf, len, sel); in wlapi_copyfrom_objmem() 213 int l, u32 sel) in wlapi_copyto_objmem() argument 215 brcms_b_copyto_objmem(physhim->wlc_hw, offset, buf, l, sel); in wlapi_copyto_objmem()
|
| D | antsel.h | 23 void brcms_c_antsel_antcfg_get(struct antsel_info *asi, bool usedef, bool sel,
|
| D | antsel.c | 261 brcms_c_antsel_antcfg_get(struct antsel_info *asi, bool usedef, bool sel, in brcms_c_antsel_antcfg_get() argument 274 if (!sel) { in brcms_c_antsel_antcfg_get()
|
| D | phy_shim.h | 165 int, u32 sel);
|
| D | main.h | 657 const void *buf, int len, u32 sel); 659 void *buf, int len, u32 sel);
|
| D | main.c | 2918 brcms_b_read_objmem(struct brcms_hardware *wlc_hw, uint offset, u32 sel) in brcms_b_read_objmem() argument 2923 bcma_write32(core, D11REGOFFS(objaddr), sel | (offset >> 2)); in brcms_b_read_objmem() 2933 u32 sel) in brcms_b_write_objmem() argument 2938 bcma_write32(core, D11REGOFFS(objaddr), sel | (offset >> 2)); in brcms_b_write_objmem() 2972 const void *buf, int len, u32 sel) in brcms_b_copyto_objmem() argument 2983 brcms_b_write_objmem(wlc_hw, offset + i, v, sel); in brcms_b_copyto_objmem() 2995 int len, u32 sel) in brcms_b_copyfrom_objmem() argument 3005 v = brcms_b_read_objmem(wlc_hw, offset + i, sel); in brcms_b_copyfrom_objmem()
|
| /linux-4.4.14/drivers/pinctrl/qcom/ |
| D | pinctrl-spmi-mpp.c | 268 unsigned int sel; in pmic_mpp_write_mode_ctl() local 296 sel = PMIC_MPP_SELECTOR_DTEST_FIRST + pad->dtest - 1; in pmic_mpp_write_mode_ctl() 298 sel = PMIC_MPP_SELECTOR_PAIRED; in pmic_mpp_write_mode_ctl() 300 sel = PMIC_MPP_SELECTOR_NORMAL; in pmic_mpp_write_mode_ctl() 305 sel << PMIC_MPP_REG_MODE_FUNCTION_SHIFT | in pmic_mpp_write_mode_ctl() 657 unsigned int sel; in pmic_mpp_populate() local 740 sel = val >> PMIC_MPP_REG_MODE_FUNCTION_SHIFT; in pmic_mpp_populate() 741 sel &= PMIC_MPP_REG_MODE_FUNCTION_MASK; in pmic_mpp_populate() 743 if (sel >= PMIC_MPP_SELECTOR_DTEST_FIRST) in pmic_mpp_populate() 744 pad->dtest = sel + 1; in pmic_mpp_populate() [all …]
|
| /linux-4.4.14/sound/soc/codecs/ |
| D | max98088.c | 385 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic1pre_set() local 387 max98088->mic1pre = sel; in max98088_mic1pre_set() 389 (1+sel)<<M98088_MICPRE_SHIFT); in max98088_mic1pre_set() 409 unsigned int sel = ucontrol->value.integer.value[0]; in max98088_mic2pre_set() local 411 max98088->mic2pre = sel; in max98088_mic2pre_set() 413 (1+sel)<<M98088_MICPRE_SHIFT); in max98088_mic2pre_set() 1401 int best, best_val, save, i, sel, fs; in max98088_setup_eq1() local 1411 sel = cdata->eq_sel; in max98088_setup_eq1() 1416 if (strcmp(pdata->eq_cfg[i].name, max98088->eq_texts[sel]) == 0 && in max98088_setup_eq1() 1431 coef_set = &pdata->eq_cfg[sel]; in max98088_setup_eq1() [all …]
|
| D | max98095.c | 358 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic1pre_set() local 360 max98095->mic1pre = sel; in max98095_mic1pre_set() 362 (1+sel)<<M98095_MICPRE_SHIFT); in max98095_mic1pre_set() 382 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_mic2pre_set() local 384 max98095->mic2pre = sel; in max98095_mic2pre_set() 386 (1+sel)<<M98095_MICPRE_SHIFT); in max98095_mic2pre_set() 1502 unsigned int sel = ucontrol->value.integer.value[0]; in max98095_put_eq_enum() local 1513 if (sel >= pdata->eq_cfgcnt) in max98095_put_eq_enum() 1517 cdata->eq_sel = sel; in max98095_put_eq_enum() 1524 if (strcmp(pdata->eq_cfg[i].name, max98095->eq_texts[sel]) == 0 && in max98095_put_eq_enum() [all …]
|
| D | wm8580.c | 724 int ret, sel, sel_mask, sel_shift; in wm8580_set_sysclk() local 746 sel = 0 << sel_shift; in wm8580_set_sysclk() 749 sel = 1 << sel_shift; in wm8580_set_sysclk() 752 sel = 2 << sel_shift; in wm8580_set_sysclk() 755 sel = 3 << sel_shift; in wm8580_set_sysclk() 765 ret = snd_soc_update_bits(codec, WM8580_CLKSEL, sel_mask, sel); in wm8580_set_sysclk()
|
| D | max98090.c | 402 unsigned int sel = ucontrol->value.integer.value[0]; in max98090_put_enab_tlv() local 422 *select = sel; in max98090_put_enab_tlv() 426 sel = sel + 1; in max98090_put_enab_tlv() 429 sel = val; in max98090_put_enab_tlv() 434 sel << mc->shift); in max98090_put_enab_tlv()
|
| D | da732x.c | 337 unsigned int sel = ucontrol->value.integer.value[0]; in da732x_hpf_set() local 340 switch (sel) { in da732x_hpf_set()
|
| /linux-4.4.14/Documentation/devicetree/bindings/i2c/ |
| D | i2c-cbus-gpio.txt | 5 - gpios: clk, dat, sel 18 &gpio 64 0 /* sel */
|
| /linux-4.4.14/net/key/ |
| D | af_key.c | 762 if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, x->props.family)) in __pfkey_xfrm_state2msg() 912 if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, in __pfkey_xfrm_state2msg() 921 pfkey_proto_from_xfrm(x->sel.proto); in __pfkey_xfrm_state2msg() 922 addr->sadb_address_prefixlen = x->sel.prefixlen_s; in __pfkey_xfrm_state2msg() 925 pfkey_sockaddr_fill(&x->sel.saddr, x->sel.sport, in __pfkey_xfrm_state2msg() 1218 x->sel.family = pfkey_sadb_addr2xfrm_addr(addr, &x->sel.saddr); in pfkey_msg2xfrm_state() 1219 x->sel.prefixlen_s = addr->sadb_address_prefixlen; in pfkey_msg2xfrm_state() 1222 if (!x->sel.family) in pfkey_msg2xfrm_state() 1223 x->sel.family = x->props.family; in pfkey_msg2xfrm_state() 2311 struct xfrm_selector sel; in pfkey_spddelete() local [all …]
|
| /linux-4.4.14/drivers/clk/tegra/ |
| D | clk-pll.c | 397 struct tegra_clk_pll_freq_table *sel; in _get_table_rate() local 399 for (sel = pll->params->freq_table; sel->input_rate != 0; sel++) in _get_table_rate() 400 if (sel->input_rate == parent_rate && in _get_table_rate() 401 sel->output_rate == rate) in _get_table_rate() 404 if (sel->input_rate == 0) in _get_table_rate() 407 cfg->input_rate = sel->input_rate; in _get_table_rate() 408 cfg->output_rate = sel->output_rate; in _get_table_rate() 409 cfg->m = sel->m; in _get_table_rate() 410 cfg->n = sel->n; in _get_table_rate() 411 cfg->p = sel->p; in _get_table_rate() [all …]
|
| /linux-4.4.14/arch/arm/plat-orion/ |
| D | mpp.c | 44 unsigned int sel = MPP_SEL(*mpp_list); in orion_mpp_conf() local 61 mpp_ctrl[num / 8] |= sel << shift; in orion_mpp_conf()
|
| /linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
| D | fsl,imx7d-pinctrl.txt | 8 iomuxc controller for daisy chain settings, the fsl,input-sel property extends 14 fsl,input-sel = <&iomuxc>; 37 - fsl,input-sel: required property for iomuxc-lpsr controller, this property is 70 fsl,input-sel = <&iomuxc>;
|
| D | nvidia,tegra114-pinmux.txt | 21 - nvidia,rcv-sel: Integer. Select VIL/VIH receivers. 0: normal, 1: high. 33 nvidia,io-reset and nvidia,rcv-sel.
|
| D | nvidia,tegra124-pinmux.txt | 32 - nvidia,rcv-sel: Integer. Select VIL/VIH receivers. 45 nvidia,io-reset and nvidia,rcv-sel.
|
| D | brcm,cygnus-gpio.txt | 103 bcm,rfkill-bank-sel = <&gpio_asiu 5 1>
|
| /linux-4.4.14/drivers/staging/iio/light/ |
| D | isl29028.c | 87 int sel; in isl29028_set_proxim_sampling() local 90 for (sel = 0; sel < ARRAY_SIZE(prox_period); ++sel) { in isl29028_set_proxim_sampling() 91 if (period >= prox_period[sel]) in isl29028_set_proxim_sampling() 95 CONFIGURE_PROX_SLP_MASK, sel << CONFIGURE_PROX_SLP_SH); in isl29028_set_proxim_sampling()
|
| /linux-4.4.14/include/uapi/linux/ |
| D | xfrm.h | 360 struct xfrm_selector sel; member 405 struct xfrm_selector sel; member 422 struct xfrm_selector sel; member 430 struct xfrm_selector sel; member 454 struct xfrm_selector sel; member
|
| /linux-4.4.14/drivers/ide/ |
| D | icside.c | 72 unsigned int sel; member 333 writeb(state->sel | hwif->channel, state->ioc_base); in icside_dma_setup() 468 unsigned int sel = 0; in icside_register_v6() local 491 sel = 1 << 5; in icside_register_v6() 494 writeb(sel, ioc_base); in icside_register_v6() 500 state->sel = sel; in icside_register_v6()
|
| D | it821x.c | 174 int clock, altclock, sel = 0; in it821x_clock_strategy() local 204 sel = 1; in it821x_clock_strategy() 209 v |= sel << (1 + hwif->channel); in it821x_clock_strategy()
|
| /linux-4.4.14/arch/x86/boot/ |
| D | video.c | 205 unsigned int sel; in mode_menu() local 226 sel = get_entry(); in mode_menu() 227 if (sel != SCAN) in mode_menu() 228 return sel; in mode_menu()
|
| /linux-4.4.14/Documentation/devicetree/bindings/sound/ |
| D | da7213.txt | 17 - dlg,dmic-data-sel : DMIC channel select based on clock edge. 38 dlg,dmic-data-sel = "lrise_rfall";
|
| D | da7219.txt | 35 - dlg,mic-amp-in-sel : Mic input source type 89 dlg,mic-amp-in-sel = "diff";
|
| /linux-4.4.14/drivers/input/serio/ |
| D | ps2mult.c | 30 unsigned char sel; member 71 serio_write(mx_serio, port->sel); in ps2mult_select_port() 73 dev_dbg(&mx_serio->dev, "switched to sel %02x\n", port->sel); in ps2mult_select_port() 183 psm->ports[i].sel = ps2mult_controls[i]; in ps2mult_connect()
|
| /linux-4.4.14/sound/pci/ice1712/ |
| D | maya44.c | 369 int sel; in maya_rec_src_get() local 372 sel = 1; in maya_rec_src_get() 374 sel = 0; in maya_rec_src_get() 375 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get() 383 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put() local 388 sel ? (1 << GPIO_MIC_RELAY) : 0); in maya_rec_src_put() 389 wm8776_select_input(chip, 0, sel ? MAYA_MIC_IN : MAYA_LINE_IN); in maya_rec_src_put()
|
| D | se.c | 260 unsigned int sel) in se200pci_WM8776_set_input_selector() argument 266 if (sel > 4) in se200pci_WM8776_set_input_selector() 267 sel = 4; in se200pci_WM8776_set_input_selector() 268 se200pci_WM8776_write(ice, 0x15, vals[sel]); in se200pci_WM8776_set_input_selector()
|
| /linux-4.4.14/drivers/staging/rts5208/ |
| D | rtsx_card.c | 715 u8 sel, div, mcu_cnt; in switch_normal_clock() local 724 sel = SSC_80; in switch_normal_clock() 731 sel = SSC_120; in switch_normal_clock() 738 sel = SSC_80; in switch_normal_clock() 745 sel = SSC_100; in switch_normal_clock() 752 sel = SSC_120; in switch_normal_clock() 759 sel = SSC_80; in switch_normal_clock() 766 sel = SSC_100; in switch_normal_clock() 773 sel = SSC_120; in switch_normal_clock() 780 sel = SSC_150; in switch_normal_clock() [all …]
|
| /linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/ |
| D | stmpe.txt | 12 - st,ref-sel: ADC reference source (0 -> internal reference, 1 -> external 36 st,ref-sel = <0>;
|
| /linux-4.4.14/drivers/media/platform/ |
| D | sh_vou.c | 911 struct v4l2_selection *sel) in sh_vou_g_selection() argument 915 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) in sh_vou_g_selection() 917 switch (sel->target) { in sh_vou_g_selection() 919 sel->r = vou_dev->rect; in sh_vou_g_selection() 923 sel->r.left = 0; in sh_vou_g_selection() 924 sel->r.top = 0; in sh_vou_g_selection() 925 sel->r.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_g_selection() 927 sel->r.height = 480; in sh_vou_g_selection() 929 sel->r.height = 576; in sh_vou_g_selection() 939 struct v4l2_selection *sel) in sh_vou_s_selection() argument [all …]
|
| /linux-4.4.14/Documentation/devicetree/bindings/spi/ |
| D | spi-mt65xx.txt | 28 - clock-names: shall be "parent-clk" for the parent clock, "sel-clk" for the 54 clock-names = "parent-clk", "sel-clk", "spi-clk";
|
| /linux-4.4.14/Documentation/devicetree/bindings/input/ |
| D | ti,drv260x.txt | 16 - library-sel - These are ROM based waveforms pre-programmed into the IC. 44 library-sel = <DRV260X_LIB_LRA>;
|
| /linux-4.4.14/drivers/ata/ |
| D | pata_icside.c | 398 unsigned int sel = 0; in pata_icside_register_v6() local 414 sel = 1 << 5; in pata_icside_register_v6() 417 writeb(sel, ioc_base); in pata_icside_register_v6() 421 state->port[0].port_sel = sel; in pata_icside_register_v6() 422 state->port[1].port_sel = sel | 1; in pata_icside_register_v6()
|
| D | pata_it821x.c | 194 int sel = 0; in it821x_clock_strategy() local 221 sel = 1; in it821x_clock_strategy() 225 v |= sel << (1 + ap->port_no); in it821x_clock_strategy()
|
| D | libata.h | 88 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
|
| D | libata-eh.c | 2075 int sel; in ata_eh_speed_down() local 2078 sel = dma_dnxfer_sel[dev->spdn_cnt]; in ata_eh_speed_down() 2080 sel = pio_dnxfer_sel[dev->spdn_cnt]; in ata_eh_speed_down() 2084 if (ata_down_xfermask_limit(dev, sel) == 0) { in ata_eh_speed_down()
|
| /linux-4.4.14/sound/soc/au1x/ |
| D | psc-i2s.c | 298 unsigned long sel; in au1xpsc_i2s_drvprobe() local 324 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_i2s_drvprobe() 327 __raw_writel(PSC_SEL_PS_I2SMODE | sel, PSC_SEL(wd)); in au1xpsc_i2s_drvprobe()
|
| D | psc-ac97.c | 371 unsigned long sel; in au1xpsc_ac97_drvprobe() local 401 sel = __raw_readl(PSC_SEL(wd)) & PSC_SEL_CLK_MASK; in au1xpsc_ac97_drvprobe() 406 __raw_writel(PSC_SEL_PS_AC97MODE | sel, PSC_SEL(wd)); in au1xpsc_ac97_drvprobe()
|
| /linux-4.4.14/drivers/scsi/ufs/ |
| D | ufshci.h | 213 #define UIC_ARG_MIB_SEL(attr, sel) ((((attr) & 0xFFFF) << 16) |\ argument 214 ((sel) & 0xFFFF))
|
| /linux-4.4.14/drivers/scsi/fcoe/ |
| D | fcoe_ctlr.c | 328 struct fcoe_fcf *sel; in fcoe_ctlr_announce() local 340 sel = fip->sel_fcf; in fcoe_ctlr_announce() 342 if (sel && ether_addr_equal(sel->fcf_mac, fip->dest_addr)) in fcoe_ctlr_announce() 350 if (sel) { in fcoe_ctlr_announce() 353 fip->lp->host->host_no, sel->fcf_mac); in fcoe_ctlr_announce() 354 memcpy(fip->dest_addr, sel->fcoe_mac, ETH_ALEN); in fcoe_ctlr_announce() 1146 struct fcoe_fcf *sel; in fcoe_ctlr_recv_els() local 1185 sel = fip->sel_fcf; in fcoe_ctlr_recv_els() 1207 if ((desc_cnt == 3) && (sel)) in fcoe_ctlr_recv_els() 1208 memcpy(sel->fcoe_mac, in fcoe_ctlr_recv_els() [all …]
|
| /linux-4.4.14/Documentation/devicetree/bindings/leds/ |
| D | leds-lp55xx.txt | 21 - pwr-sel: LP8501 specific property. Power selection for output channels. 166 9 channels are defined. The 'pwr-sel' is LP8501 specific property. 173 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
|
| /linux-4.4.14/drivers/media/platform/vivid/ |
| D | vivid-vid-out.c | 627 struct v4l2_selection *sel) in vivid_vid_out_g_selection() argument 633 if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) in vivid_vid_out_g_selection() 636 sel->r.left = sel->r.top = 0; in vivid_vid_out_g_selection() 637 switch (sel->target) { in vivid_vid_out_g_selection() 641 sel->r = dev->crop_out; in vivid_vid_out_g_selection() 646 sel->r = dev->fmt_out_rect; in vivid_vid_out_g_selection() 651 sel->r = vivid_max_rect; in vivid_vid_out_g_selection() 656 sel->r = dev->compose_out; in vivid_vid_out_g_selection() 662 sel->r = dev->sink_rect; in vivid_vid_out_g_selection()
|
| D | vivid-vid-out.h | 36 int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
|
| D | vivid-vid-cap.c | 826 struct v4l2_selection *sel) in vivid_vid_cap_g_selection() argument 832 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vivid_vid_cap_g_selection() 837 sel->r.left = sel->r.top = 0; in vivid_vid_cap_g_selection() 838 switch (sel->target) { in vivid_vid_cap_g_selection() 842 sel->r = dev->crop_cap; in vivid_vid_cap_g_selection() 848 sel->r = dev->src_rect; in vivid_vid_cap_g_selection() 853 sel->r = vivid_max_rect; in vivid_vid_cap_g_selection() 858 sel->r = dev->compose_cap; in vivid_vid_cap_g_selection() 863 sel->r = dev->fmt_cap_rect; in vivid_vid_cap_g_selection()
|
| D | vivid-vid-cap.h | 41 int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
|
| D | vivid-core.c | 356 struct v4l2_selection *sel) in vidioc_g_selection() argument 361 return vivid_vid_cap_g_selection(file, fh, sel); in vidioc_g_selection() 362 return vivid_vid_out_g_selection(file, fh, sel); in vidioc_g_selection() 366 struct v4l2_selection *sel) in vidioc_s_selection() argument 371 return vivid_vid_cap_s_selection(file, fh, sel); in vidioc_s_selection() 372 return vivid_vid_out_s_selection(file, fh, sel); in vidioc_s_selection()
|
| /linux-4.4.14/drivers/net/ethernet/ti/ |
| D | Makefile | 13 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o
|
| D | Kconfig | 51 bool "TI CPSW Switch Phy sel Support"
|
| /linux-4.4.14/arch/x86/oprofile/ |
| D | op_model_p4.c | 353 #define ESCR_SET_EVENT_SELECT(escr, sel) ((escr) |= (((sel) & 0x3f) << 25)) argument 359 #define CCCR_SET_ESCR_SELECT(cccr, sel) ((cccr) |= (((sel) & 0x07) << 13)) argument
|
| /linux-4.4.14/include/linux/ |
| D | selection.h | 19 extern int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty);
|
| /linux-4.4.14/Documentation/sound/oss/ |
| D | WaveArtist | 32 08 | 1 | 0 0 1 1 | mono mixer gain |right ADC mux sel|left ADC mux sel |
|
| /linux-4.4.14/arch/arm/boot/dts/ |
| D | tegra124-jetson-tk1-emc.dtsi | 101 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 269 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 437 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 605 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 773 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 941 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 1109 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 1277 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1445 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1613 nvidia,emc-sel-dpd-ctrl = <0x00040008>; [all …]
|
| D | tegra124-nyan-blaze-emc.dtsi | 90 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 258 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 426 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 594 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 762 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 930 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1098 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 1266 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1434 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1602 nvidia,emc-sel-dpd-ctrl = <0x00040000>;
|
| D | tegra124-nyan-big-emc.dtsi | 90 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 258 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 426 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 594 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 762 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 930 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1098 nvidia,emc-sel-dpd-ctrl = <0x00040128>; 1266 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1434 nvidia,emc-sel-dpd-ctrl = <0x00040008>; 1602 nvidia,emc-sel-dpd-ctrl = <0x00040000>;
|
| D | dm814x.dtsi | 324 phy_sel: cpsw-phy-sel@48140650 { 325 compatible = "ti,am3352-cpsw-phy-sel"; 327 reg-names = "gmii-sel";
|
| D | omap2420-n8x0-common.dtsi | 14 &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
|
| D | imx53-m53.dtsi | 70 st,ref-sel = <0>;
|
| D | spear320-hmi.dts | 263 ts,ref-sel = <0>;
|
| D | am33xx.dtsi | 770 phy_sel: cpsw-phy-sel@44e10650 { 771 compatible = "ti,am3352-cpsw-phy-sel"; 773 reg-names = "gmii-sel";
|
| D | tegra124-nyan-big.dts | 462 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 846 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 854 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 1320 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
|
| D | tegra124-nyan-blaze.dts | 458 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 842 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 850 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 1316 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
|
| D | am4372.dtsi | 616 phy_sel: cpsw-phy-sel@44e10650 { 617 compatible = "ti,am43xx-cpsw-phy-sel"; 619 reg-names = "gmii-sel";
|
| D | spear1310-evb.dts | 378 ts,ref-sel = <0>;
|
| D | spear1340-evb.dts | 489 ts,ref-sel = <0>;
|
| D | tegra124-jetson-tk1.dts | 503 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 883 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 891 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>; 1351 nvidia,rcv-sel = <TEGRA_PIN_DISABLE>;
|
| D | tegra30-colibri.dtsi | 353 st,ref-sel = <0>;
|
| D | dra7.dtsi | 1543 phy_sel: cpsw-phy-sel@4a002554 { 1544 compatible = "ti,dra7xx-cpsw-phy-sel"; 1546 reg-names = "gmii-sel";
|
| /linux-4.4.14/drivers/iio/adc/ |
| D | twl4030-madc.c | 186 .sel = TWL4030_MADC_RTSELECT_LSB, 191 .sel = TWL4030_MADC_SW1SELECT_LSB, 197 .sel = TWL4030_MADC_SW2SELECT_LSB, 591 ret = twl_i2c_write_u16(TWL4030_MODULE_MADC, req->channels, method->sel); in twl4030_madc_conversion() 594 "unable to write sel register 0x%X\n", method->sel); in twl4030_madc_conversion()
|
| /linux-4.4.14/include/linux/i2c/ |
| D | twl4030-madc.h | 27 u8 sel; member
|
| /linux-4.4.14/drivers/media/pci/cx18/ |
| D | cx18-ioctl.c | 462 struct v4l2_selection *sel) in cx18_g_selection() argument 466 if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in cx18_g_selection() 468 switch (sel->target) { in cx18_g_selection() 471 sel->r.top = sel->r.left = 0; in cx18_g_selection() 472 sel->r.width = 720; in cx18_g_selection() 473 sel->r.height = cx->is_50hz ? 576 : 480; in cx18_g_selection()
|
| /linux-4.4.14/drivers/usb/renesas_usbhs/ |
| D | fifo.c | 307 usbhs_write(priv, fifo->sel, 0); in usbhsf_fifo_unselect() 333 usbhs_write(priv, fifo->sel, base); in usbhsf_fifo_select() 335 usbhs_write(priv, fifo->sel, base | MBW_32); in usbhsf_fifo_select() 339 if (base == (mask & usbhs_read(priv, fifo->sel))) { in usbhsf_fifo_select() 794 usbhs_bset(priv, fifo->sel, DREQE, dreqe); in __usbhsf_dma_ctrl() 1407 fifo->sel = D##channel##FIFOSEL; \ 1429 fifo->sel = CFIFOSEL; in usbhs_fifo_probe()
|
| D | fifo.h | 29 u32 sel; /* xFIFOSEL */ member
|
| /linux-4.4.14/drivers/mtd/nand/ |
| D | s3c2410.c | 1082 unsigned long sel; in s3c24xx_nand_resume() local 1090 sel = readl(info->sel_reg); in s3c24xx_nand_resume() 1091 sel &= ~info->sel_bit; in s3c24xx_nand_resume() 1092 sel |= info->save_sel & info->sel_bit; in s3c24xx_nand_resume() 1093 writel(sel, info->sel_reg); in s3c24xx_nand_resume()
|
| D | sunxi_nand.c | 394 struct sunxi_nand_chip_sel *sel; in sunxi_nfc_select_chip() local 407 sel = &sunxi_nand->sels[chip]; in sunxi_nfc_select_chip() 409 ctl |= NFC_CE_SEL(sel->cs) | NFC_EN | in sunxi_nfc_select_chip() 411 if (sel->rb.type == RB_NONE) { in sunxi_nfc_select_chip() 415 if (sel->rb.type == RB_NATIVE) in sunxi_nfc_select_chip() 416 ctl |= NFC_RB_SEL(sel->rb.info.nativeid); in sunxi_nfc_select_chip()
|
| /linux-4.4.14/include/net/ |
| D | xfrm.h | 141 struct xfrm_selector sel; member 328 void (*init_tempsel)(struct xfrm_selector *sel, 599 int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); 600 int (*migrate)(const struct xfrm_selector *sel, 908 bool xfrm_selector_match(const struct xfrm_selector *sel, 1595 struct xfrm_selector *sel, 1613 int km_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, 1619 int xfrm_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, 1626 int km_report(struct net *net, u8 proto, struct xfrm_selector *sel,
|
| D | ipv6.h | 195 int sel; member 296 int ip6_ra_control(struct sock *sk, int sel);
|
| /linux-4.4.14/drivers/power/ |
| D | qcom_smbb.c | 165 unsigned int sel; in smbb_hw_lookup() local 167 for (widx = sel = 0; (*fn)(widx) <= val; ++widx) in smbb_hw_lookup() 168 sel = widx; in smbb_hw_lookup() 170 return sel; in smbb_hw_lookup()
|
| /linux-4.4.14/drivers/media/usb/uvc/ |
| D | uvc_v4l2.c | 1060 struct v4l2_selection *sel) in uvc_ioctl_g_selection() argument 1065 if (sel->type != stream->type) in uvc_ioctl_g_selection() 1068 switch (sel->target) { in uvc_ioctl_g_selection() 1083 sel->r.left = 0; in uvc_ioctl_g_selection() 1084 sel->r.top = 0; in uvc_ioctl_g_selection() 1086 sel->r.width = stream->cur_frame->wWidth; in uvc_ioctl_g_selection() 1087 sel->r.height = stream->cur_frame->wHeight; in uvc_ioctl_g_selection()
|
| /linux-4.4.14/Documentation/devicetree/bindings/display/msm/ |
| D | hdmi.txt | 24 - qcom,hdmi-tx-mux-sel-gpio: hdmi mux select pin
|
| /linux-4.4.14/drivers/acpi/ |
| D | sbs.c | 407 u16 value, sel = 1 << (battery->id + 12); in acpi_battery_set_alarm() local 417 if ((value & 0xf000) != sel) { in acpi_battery_set_alarm() 419 value |= sel; in acpi_battery_set_alarm()
|
| /linux-4.4.14/scripts/kconfig/ |
| D | gconf.c | 227 GtkTreeSelection *sel; in init_left_tree() local 256 sel = gtk_tree_view_get_selection(view); in init_left_tree() 257 gtk_tree_selection_set_mode(sel, GTK_SELECTION_SINGLE); in init_left_tree() 269 GtkTreeSelection *sel; in init_right_tree() local 359 sel = gtk_tree_view_get_selection(view); in init_right_tree() 360 gtk_tree_selection_set_mode(sel, GTK_SELECTION_SINGLE); in init_right_tree()
|
| /linux-4.4.14/drivers/media/usb/em28xx/ |
| D | em28xx-core.c | 490 int sel = ac97_return_record_select(dev->ctl_aoutput); in em28xx_audio_analog_set() local 494 sel |= (sel << 8); in em28xx_audio_analog_set() 496 em28xx_write_ac97(dev, AC97_REC_SEL, sel); in em28xx_audio_analog_set()
|
| /linux-4.4.14/Documentation/DocBook/ |
| D | regulator.xml.db | 33 API-regulator-set-voltage-time-sel
|
| /linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/ |
| D | ata_defs.h | 121 unsigned int sel : 2; member
|
| /linux-4.4.14/arch/mips/include/asm/octeon/ |
| D | cvmx-gpio-defs.h | 356 uint64_t sel:4; member 358 uint64_t sel:4;
|
| D | cvmx-lmcx-defs.h | 253 uint64_t sel:1; member 259 uint64_t sel:1; 271 uint64_t sel:1; member 277 uint64_t sel:1;
|
| /linux-4.4.14/drivers/usb/host/ |
| D | xhci.c | 4293 unsigned long long sel; in xhci_get_timeout_no_hub_lpm() local 4301 sel = DIV_ROUND_UP(udev->u1_params.sel, 1000); in xhci_get_timeout_no_hub_lpm() 4307 sel = DIV_ROUND_UP(udev->u2_params.sel, 1000); in xhci_get_timeout_no_hub_lpm() 4318 if (sel <= max_sel_pel && pel <= max_sel_pel) in xhci_get_timeout_no_hub_lpm() 4321 if (sel > max_sel_pel) in xhci_get_timeout_no_hub_lpm() 4324 state_name, sel); in xhci_get_timeout_no_hub_lpm() 4351 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout() 4354 timeout_ns = udev->u1_params.sel * 5; in xhci_calculate_intel_u1_timeout() 4359 timeout_ns = udev->u1_params.sel * 3; in xhci_calculate_intel_u1_timeout() 4366 if (timeout_ns < udev->u1_params.sel * 2) in xhci_calculate_intel_u1_timeout() [all …]
|
| /linux-4.4.14/include/media/ |
| D | v4l2-subdev.h | 624 struct v4l2_subdev_selection *sel); 627 struct v4l2_subdev_selection *sel);
|
| /linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ |
| D | tegra-emc.txt | 38 - nvidia,emc-sel-dpd-ctrl : EMC_SEL_DPD_CTRL 216 nvidia,emc-sel-dpd-ctrl = <0x00040128>;
|
| /linux-4.4.14/drivers/staging/rdma/hfi1/ |
| D | trace.h | 810 TP_PROTO(struct hfi1_devdata *dd, u32 sel, u8 vl, u8 idx), 811 TP_ARGS(dd, sel, vl, idx), 814 __field(u32, sel) 820 __entry->sel = sel; 828 __entry->sel,
|
| /linux-4.4.14/include/linux/regulator/ |
| D | driver.h | 438 int regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned sel);
|
| /linux-4.4.14/arch/x86/include/asm/ |
| D | perf_event_p4.h | 296 #define P4_OPCODE_PACK(event, sel) (((event) << 8) | sel) argument
|
| D | kvm_host.h | 1119 static inline void kvm_load_ldt(u16 sel) in kvm_load_ldt() argument 1121 asm("lldt %0" : : "rm"(sel)); in kvm_load_ldt()
|
| /linux-4.4.14/drivers/block/ |
| D | swim.c | 272 static inline void swim_select(struct swim __iomem *base, int sel) in swim_select() argument 276 via1_set_head(sel & 0x100); in swim_select() 278 swim_write(base, phase, sel & CA_MASK); in swim_select()
|
| D | swim3.c | 277 static void swim3_select(struct floppy_state *fs, int sel) in swim3_select() argument 282 if (sel & 8) in swim3_select() 286 out_8(&sw->select, sel & CA_MASK); in swim3_select()
|
| /linux-4.4.14/arch/x86/kvm/ |
| D | emulate.c | 489 u16 sel; in stack_mask() local 494 ctxt->ops->get_segment(ctxt, &sel, &ss, NULL, VCPU_SREG_SS); in stack_mask() 650 u16 sel; in __linearize() local 666 usable = ctxt->ops->get_segment(ctxt, &sel, &desc, NULL, in __linearize() 1464 u16 sel; in get_descriptor_table_ptr() local 1467 if (!ops->get_segment(ctxt, &sel, &desc, &base3, in get_descriptor_table_ptr() 2096 unsigned short sel, old_sel; in em_jmp_far() local 2106 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2); in em_jmp_far() 2108 rc = __load_segment_descriptor(ctxt, sel, VCPU_SREG_CS, cpl, in em_jmp_far() 2249 unsigned short sel; in em_lseg() local [all …]
|
| /linux-4.4.14/drivers/media/dvb-frontends/ |
| D | lgs8gxx.c | 556 u8 sel) in lgs8g75_set_adc_vpp() argument 563 r26 |= (sel & 0x01) << 7; in lgs8g75_set_adc_vpp() 564 r27 |= (sel & 0x02) >> 1; in lgs8g75_set_adc_vpp()
|
| /linux-4.4.14/arch/mips/include/asm/netlogic/xlr/ |
| D | fmn.h | 182 #define nlm_read_c2_status(sel) __read_32bit_c2_register($2, 0) argument
|
| /linux-4.4.14/drivers/net/wireless/rt2x00/ |
| D | rt73usb.c | 693 const struct antenna_sel *sel; in rt73usb_config_ant() local 706 sel = antenna_sel_a; in rt73usb_config_ant() 709 sel = antenna_sel_bg; in rt73usb_config_ant() 714 rt73usb_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); in rt73usb_config_ant()
|
| D | rt61pci.c | 797 const struct antenna_sel *sel; in rt61pci_config_ant() local 810 sel = antenna_sel_a; in rt61pci_config_ant() 813 sel = antenna_sel_bg; in rt61pci_config_ant() 818 rt61pci_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); in rt61pci_config_ant()
|
| /linux-4.4.14/drivers/pinctrl/sirf/ |
| D | pinctrl-atlas7.c | 5143 u32 pin, u32 sel) in altas7_pinctrl_set_pull_sel() argument 5157 regv = pull_info->s2v[sel].data & pull_info->mask; in altas7_pinctrl_set_pull_sel() 5164 pin, sel); in altas7_pinctrl_set_pull_sel() 5169 u32 pin, u32 sel) in __altas7_pinctrl_set_drive_strength_sel() argument 5178 if (sel & (~(ds_info->mask))) in __altas7_pinctrl_set_drive_strength_sel() 5185 writel(sel << conf->drvstr_bit, ds_sel_reg); in __altas7_pinctrl_set_drive_strength_sel() 5191 pin, conf->type, sel); in __altas7_pinctrl_set_drive_strength_sel() 5201 u32 sel; in altas7_pinctrl_set_drive_strength_sel() local 5204 sel = convert_current_to_drive_strength(conf->type, ma); in altas7_pinctrl_set_drive_strength_sel() 5205 if (DS_NULL == sel) { in altas7_pinctrl_set_drive_strength_sel() [all …]
|
| /linux-4.4.14/drivers/staging/iio/accel/ |
| D | sca3000_core.c | 168 u8 sel, in sca3000_write_ctrl_reg() argument 183 ret = sca3000_write_reg(st, SCA3000_REG_ADDR_CTRL_SEL, sel); in sca3000_write_ctrl_reg()
|
| /linux-4.4.14/sound/pci/hda/ |
| D | patch_ca0132.c | 3633 int sel = ucontrol->value.enumerated.item[0]; in ca0132_voicefx_put() local 3637 if (sel >= items) in ca0132_voicefx_put() 3641 sel, ca0132_voicefx_presets[sel].name); in ca0132_voicefx_put() 3650 ca0132_voicefx_presets[sel].vals[i]); in ca0132_voicefx_put() 3656 spec->voicefx_val = sel; in ca0132_voicefx_put() 3658 ca0132_voicefx_set(codec, (sel ? 1 : 0)); in ca0132_voicefx_put()
|
| /linux-4.4.14/drivers/hwmon/ |
| D | w83627hf.c | 1642 int res = 0xff, sel; in w83627thf_read_gpio5() local 1657 sel = superio_inb(sio_data, W83627THF_GPIO5_IOSR) & 0x3f; in w83627thf_read_gpio5() 1658 if ((sel & 0x1f) != 0x1f) { in w83627thf_read_gpio5() 1665 res = superio_inb(sio_data, W83627THF_GPIO5_DR) & sel; in w83627thf_read_gpio5()
|
| /linux-4.4.14/drivers/infiniband/hw/qib/ |
| D | qib_mad.c | 1265 __be16 sel) in get_counter() argument 1269 switch (sel) { in get_counter() 1319 __be16 sel) in get_cache_hw_sample_counters() argument 1323 switch (sel) { in get_cache_hw_sample_counters()
|
| /linux-4.4.14/arch/mips/include/uapi/asm/ |
| D | inst.h | 628 __BITFIELD_FIELD(unsigned int sel : 4,
|
| /linux-4.4.14/arch/powerpc/boot/dts/ |
| D | mpc832x_mds.dts | 235 * port pin dir drain sel irq
|
| /linux-4.4.14/arch/arm64/boot/dts/mediatek/ |
| D | mt8173.dtsi | 386 clock-names = "parent-clk", "sel-clk", "spi-clk";
|
| /linux-4.4.14/drivers/staging/rdma/ipath/ |
| D | ipath_mad.c | 933 __be16 sel) in get_counter() argument 937 switch (sel) { in get_counter()
|