/linux-master/drivers/clk/meson/ |
H A D | vid-pll-div.h | 15 struct parm sel; member in struct:meson_vid_pll_div_data
|
/linux-master/arch/mips/include/asm/mach-loongson64/ |
H A D | cpucfg-emul.h | 22 __u64 sel) 24 switch (sel) { 30 return c->loongson3_cpucfg_data[sel - 1]; 68 __u64 sel) 21 loongson3_cpucfg_read_synthesized(struct cpuinfo_mips *c, __u64 sel) argument 67 loongson3_cpucfg_read_synthesized(struct cpuinfo_mips *c, __u64 sel) argument
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.c | 132 struct v4l2_subdev_selection *sel) 143 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) 148 state = vsp1_entity_get_state(&rwpf->entity, sd_state, sel->which); 154 switch (sel->target) { 156 sel->r = *vsp1_rwpf_get_crop(rwpf, state); 162 sel->r.left = 0; 163 sel->r.top = 0; 164 sel->r.width = format->width; 165 sel->r.height = format->height; 180 struct v4l2_subdev_selection *sel) 130 vsp1_rwpf_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 178 vsp1_rwpf_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument [all...] |
H A D | vsp1_uif.c | 86 struct v4l2_subdev_selection *sel) 93 if (sel->pad != UIF_PAD_SINK) 98 state = vsp1_entity_get_state(&uif->entity, sd_state, sel->which); 104 switch (sel->target) { 109 sel->r.left = 0; 110 sel->r.top = 0; 111 sel->r.width = format->width; 112 sel->r.height = format->height; 116 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, state, 117 sel 84 uif_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 130 uif_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument [all...] |
H A D | vsp1_histo.c | 203 struct v4l2_subdev_selection *sel) 211 if (sel->pad != HISTO_PAD_SINK) 216 state = vsp1_entity_get_state(&histo->entity, sd_state, sel->which); 222 switch (sel->target) { 228 sel->r.left = 0; 229 sel->r.top = 0; 230 sel->r.width = crop->width; 231 sel->r.height = crop->height; 238 sel->r.left = 0; 239 sel 201 histo_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 260 histo_set_crop(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 291 histo_set_compose(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 343 histo_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument [all...] |
H A D | vsp1_brx.c | 185 struct v4l2_subdev_selection *sel) 190 if (sel->pad == brx->entity.source_pad) 193 switch (sel->target) { 195 sel->r.left = 0; 196 sel->r.top = 0; 197 sel->r.width = BRX_MAX_SIZE; 198 sel->r.height = BRX_MAX_SIZE; 203 sel->which); 208 sel->r = *brx_get_compose(brx, state, sel 183 brx_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument 217 brx_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) argument [all...] |
/linux-master/lib/ |
H A D | test_linear_ranges.c | 117 unsigned int sel, val; local 120 sel = range1_sels[i]; 121 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); 126 sel = range2_sels[i]; 127 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); 131 ret = linear_range_get_value_array(&testr[0], 2, sel + 1, &val); 138 unsigned int sel; local 143 &sel, &found); 145 KUNIT_EXPECT_EQ(test, sel, range1_sels[i]); 150 &sel, 171 unsigned int sel; local [all...] |
/linux-master/arch/arm/mach-dove/ |
H A D | mpp.c | 68 static void __init dove_mpp_cfg_nfc(int sel) argument 73 mpp_gen_cfg |= sel; 79 static void __init dove_mpp_cfg_au1(int sel) argument 91 if (!sel || sel == 0x2) 96 if (sel & 0x1) { 100 if (sel & 0x2) { 104 if (sel & 0x4) { 108 if (sel & 0x8) 117 /* Configure the group registers, enabling GPIO if sel indicate 126 unsigned int sel = MPP_SEL(*mpp_grp_list); local [all...] |
/linux-master/include/linux/iio/ |
H A D | iio-gts-helper.h | 23 * @sel: Selector (usually register value) used to indicate this gain. 28 int sel; member in struct:iio_gain_sel_pair 48 * @sel: Selector (usually register value) used to indicate this time 55 int sel; member in struct:iio_itime_sel_mul 75 .sel = (_sel), \ 81 .sel = (_sel), \ 101 iio_gts_find_itime_by_sel(struct iio_gts *gts, int sel) argument 106 if (gts->itime_table[i].sel == sel) 119 * @sel 124 iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) argument [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | gsseg.h | 22 u16 sel = selector; local 24 _ASM_EXTABLE_TYPE_REG(1b, 1b, EX_TYPE_ZERO_REG, %k[sel]) 25 : [sel] "+D" (sel));
|
/linux-master/drivers/accessibility/speakup/ |
H A D | selection.c | 21 struct tiocl_selection sel; member in struct:speakup_selection_work 31 struct tiocl_selection sel; local 33 sel = ssw->sel; 35 /* this ensures we copy sel before releasing the lock below */ 51 set_selection_kernel(&sel, tty); 81 speakup_sel_work.sel.xs = spk_xs + 1; 82 speakup_sel_work.sel.ys = spk_ys + 1; 83 speakup_sel_work.sel.xe = spk_xe + 1; 84 speakup_sel_work.sel [all...] |
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-isp.c | 18 struct v4l2_subdev_selection *sel); 165 struct v4l2_subdev_selection sel = { 0 }; local 168 sel.which = fmt->which; 169 sel.pad = STF_ISP_PAD_SINK; 170 sel.target = V4L2_SEL_TGT_CROP; 171 sel.r.width = fmt->format.width; 172 sel.r.height = fmt->format.height; 173 isp_set_selection(sd, state, &sel); 206 struct v4l2_subdev_selection *sel) 211 switch (sel 204 isp_get_selection(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) argument 241 isp_set_selection(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) argument [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | clk-krait.c | 23 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) argument 39 regval |= (sel & mux->mask) << mux->shift; 42 regval |= (sel & mux->mask) << (mux->shift + LPL_SHIFT); 66 u32 sel; local 68 sel = clk_mux_index_to_val(mux->parent_map, 0, index); 69 mux->en_mask = sel; 72 __krait_mux_set_sel(mux, sel); 82 u32 sel; local 84 sel = krait_get_l2_indirect_reg(mux->offset); 85 sel >> [all...] |
/linux-master/drivers/regulator/ |
H A D | anatop-regulator.c | 31 int sel; member in struct:anatop_regulator 63 int sel; local 65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; 66 return regulator_set_voltage_sel_regmap(reg, sel); 86 anatop_reg->sel = selector; 92 anatop_reg->sel = selector; 101 return anatop_reg->sel; 109 int sel; local 111 sel 124 int sel; local [all...] |
H A D | helpers.c | 168 * @sel: Selector to set 176 unsigned int sel) 188 if (sel < voltages_in_range) 190 sel -= voltages_in_range; 196 sel <<= ffs(rdev->desc->vsel_mask) - 1; 197 sel += rdev->desc->linear_ranges[i].min_sel; 206 rdev->desc->vsel_mask, sel | range); 215 rdev->desc->vsel_mask, sel); 258 * @sel: Selector to set 264 int regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned sel) argument 175 regulator_set_voltage_sel_pickable_regmap(struct regulator_dev *rdev, unsigned int sel) argument 415 unsigned int sel; local 475 unsigned int sel; local 804 int i, sel = -1; local 921 regulator_find_closest_bigger(unsigned int target, const unsigned int *table, unsigned int num_sel, unsigned int *sel) argument 967 unsigned int sel; local [all...] |
H A D | max77693-regulator.c | 60 unsigned int reg, sel; local 68 sel = reg & reg_data->linear_mask; 71 if (sel <= reg_data->min_sel) 72 sel = 0; 74 sel -= reg_data->min_sel; 76 val = chg_min_uA + reg_data->uA_step * sel; 88 int sel = 0; local 90 while (chg_min_uA + reg_data->uA_step * sel < min_uA) 91 sel++; 93 if (chg_min_uA + reg_data->uA_step * sel > max_u [all...] |
/linux-master/drivers/clk/bcm/ |
H A D | clk-bcm281xx.c | 38 .sel = SELECTOR(0x0a10, 0, 2), 47 .sel = SELECTOR(0x0a04, 0, 2), 55 .sel = SELECTOR(0x0a00, 0, 2), 79 .sel = SELECTOR(0x0e74, 0, 2), 101 .sel = SELECTOR(0x0a28, 0, 3), 113 .sel = SELECTOR(0x0a2c, 0, 3), 125 .sel = SELECTOR(0x0a34, 0, 3), 137 .sel = SELECTOR(0x0a30, 0, 3), 148 .sel = SELECTOR(0x0a24, 0, 2), 158 .sel [all...] |
H A D | clk-kona-setup.c | 13 #define selector_clear_exists(sel) ((sel)->width = 0) 46 struct bcm_clk_sel *sel; local 52 sel = &peri->sel; 53 if (sel->parent_count && selector_exists(sel)) 76 struct bcm_clk_sel *sel; local 140 sel = &peri->sel; 283 sel_valid(struct bcm_clk_sel *sel, const char *field_name, const char *clock_name) argument 398 struct bcm_clk_sel *sel; local 601 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel, struct clk_init_data *init_data) argument 641 clk_sel_teardown(struct bcm_clk_sel *sel, struct clk_init_data *init_data) argument [all...] |
H A D | clk-bcm21664.c | 38 .sel = SELECTOR(0x0a10, 0, 2), 64 .sel = SELECTOR(0x0a28, 0, 3), 76 .sel = SELECTOR(0x0a2c, 0, 3), 88 .sel = SELECTOR(0x0a34, 0, 3), 100 .sel = SELECTOR(0x0a30, 0, 3), 159 .sel = SELECTOR(0x0a10, 0, 2), 169 .sel = SELECTOR(0x0a14, 0, 2), 179 .sel = SELECTOR(0x0a18, 0, 2), 191 .sel = SELECTOR(0x0a64, 0, 3), 202 .sel [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | antsel.h | 23 void brcms_c_antsel_antcfg_get(struct antsel_info *asi, bool usedef, bool sel,
|
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 81 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) 83 #define ASP_RX_FILTER_MDA_CFG_UMC_SEL(sel) ((sel) > 1 ? BIT(17) : \ 84 BIT((sel) + 9)) 85 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) 86 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) 87 #define ASP_RX_FILTER_MDA_MSK_H(sel) (((se [all...] |
/linux-master/tools/testing/selftests/syscall_user_dispatch/ |
H A D | sud_test.c | 61 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; local 68 ret = prctl(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_ON, 0, 0, &sel); 73 SYSCALL_DISPATCH_ON(sel); 84 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; local 89 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0, 0, &sel); 103 /* sel != NULL */ 104 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x0, 0x0, &sel); 116 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x1, 0x0, &sel); 118 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, -1L, 0x0, &sel); 128 prctl(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_ON, 1, -1L, &sel); 265 char sel = 0; local 293 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | tls.c | 120 unsigned short __maybe_unused sel, modified_sel; local 157 savesegment(ds, sel); 158 if (sel == modified_sel) 159 loadsegment(ds, sel); 161 savesegment(es, sel); 162 if (sel == modified_sel) 163 loadsegment(es, sel); 165 savesegment(fs, sel); 166 if (sel == modified_sel) 167 loadsegment(fs, sel); [all...] |
/linux-master/drivers/firmware/ |
H A D | dmi-sysfs.c | 273 struct dmi_system_event_log sel; \ 274 if (sizeof(sel) > dmi_entry_length(dh)) \ 276 memcpy(&sel, dh, sizeof(sel)); \ 277 return sprintf(buf, "%u\n", sel._field); \ 279 static DMI_SYSFS_MAPPED_ATTR(sel, _field) 314 typedef u8 (*sel_io_reader)(const struct dmi_system_event_log *sel, 319 static u8 read_sel_8bit_indexed_io(const struct dmi_system_event_log *sel, argument 325 outb((u8)offset, sel->io.index_addr); 326 ret = inb(sel 331 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) argument 344 read_sel_16bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) argument 362 dmi_sel_raw_read_io(struct dmi_sysfs_entry *entry, const struct dmi_system_event_log *sel, char *buf, loff_t pos, size_t count) argument 380 dmi_sel_raw_read_phys32(struct dmi_sysfs_entry *entry, const struct dmi_system_event_log *sel, char *buf, loff_t pos, size_t count) argument 406 struct dmi_system_event_log sel; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | mt6360_charger.c | 264 u32 sel, value; local 266 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL7, &sel); 269 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; 270 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_ICHG], sel, &value); 287 u32 sel, value; local 289 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL4, &sel); 292 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; 293 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VOREG], sel, 310 u32 sel, value; local 326 u32 sel, value; local 342 u32 sel, value; local 358 u32 sel, value; local 384 u32 sel; local 396 u32 sel; local 408 u32 sel; local 420 u32 sel; local 432 u32 sel; local 444 u32 sel; local 752 u32 sel; local [all...] |