Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/linux/drivers/staging/media/starfive/camss/
A Dstf-isp.c162 sel.which = fmt->which; in isp_set_format()
205 switch (sel->target) { in isp_get_selection()
209 sel->pad); in isp_get_selection()
210 sel->r.left = 0; in isp_get_selection()
211 sel->r.top = 0; in isp_get_selection()
216 sel->r = *rect; in isp_get_selection()
225 sel->r = *rect; in isp_get_selection()
254 *rect = sel->r; in isp_set_selection()
271 *rect = sel->r; in isp_set_selection()
274 fmt.which = sel->which; in isp_set_selection()
[all …]
/linux/drivers/media/platform/renesas/vsp1/
A Dvsp1_rwpf.c154 sel->r.left = 0; in vsp1_rwpf_get_selection()
155 sel->r.top = 0; in vsp1_rwpf_get_selection()
206 sel->r.left = ALIGN(sel->r.left, 2); in vsp1_rwpf_set_selection()
207 sel->r.top = ALIGN(sel->r.top, 2); in vsp1_rwpf_set_selection()
208 sel->r.width = round_down(sel->r.width, 2); in vsp1_rwpf_set_selection()
209 sel->r.height = round_down(sel->r.height, 2); in vsp1_rwpf_set_selection()
212 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection()
213 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection()
214 sel->r.width = min_t(unsigned int, sel->r.width, in vsp1_rwpf_set_selection()
216 sel->r.height = min_t(unsigned int, sel->r.height, in vsp1_rwpf_set_selection()
[all …]
A Dvsp1_histo.c222 sel->r.left = 0; in histo_get_selection()
223 sel->r.top = 0; in histo_get_selection()
231 sel->r.left = 0; in histo_get_selection()
232 sel->r.top = 0; in histo_get_selection()
238 sel->r = *v4l2_subdev_state_get_compose(state, sel->pad); in histo_get_selection()
242 sel->r = *v4l2_subdev_state_get_crop(state, sel->pad); in histo_get_selection()
271 *v4l2_subdev_state_get_crop(sd_state, sel->pad) = sel->r; in histo_set_crop()
272 *v4l2_subdev_state_get_compose(sd_state, sel->pad) = sel->r; in histo_set_crop()
290 sel->r.left = 0; in histo_set_compose()
291 sel->r.top = 0; in histo_set_compose()
[all …]
A Dvsp1_uif.c93 if (sel->pad != UIF_PAD_SINK) in uif_get_selection()
104 switch (sel->target) { in uif_get_selection()
108 sel->r.left = 0; in uif_get_selection()
109 sel->r.top = 0; in uif_get_selection()
110 sel->r.width = format->width; in uif_get_selection()
115 sel->r = *v4l2_subdev_state_get_crop(state, sel->pad); in uif_get_selection()
153 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in uif_set_selection()
154 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in uif_set_selection()
155 sel->r.width = clamp_t(unsigned int, sel->r.width, UIF_MIN_SIZE, in uif_set_selection()
157 sel->r.height = clamp_t(unsigned int, sel->r.height, UIF_MIN_SIZE, in uif_set_selection()
[all …]
A Dvsp1_brx.c185 switch (sel->target) { in brx_get_selection()
187 sel->r.left = 0; in brx_get_selection()
188 sel->r.top = 0; in brx_get_selection()
189 sel->r.width = BRX_MAX_SIZE; in brx_get_selection()
190 sel->r.height = BRX_MAX_SIZE; in brx_get_selection()
195 sel->which); in brx_get_selection()
200 sel->r = *v4l2_subdev_state_get_compose(state, sel->pad); in brx_get_selection()
238 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in brx_set_selection()
239 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in brx_set_selection()
246 sel->r.width = format->width; in brx_set_selection()
[all …]
/linux/lib/
A Dtest_linear_ranges.c117 unsigned int sel, val; in range_test_get_value() local
120 sel = range1_sels[i]; in range_test_get_value()
126 sel = range2_sels[i]; in range_test_get_value()
138 unsigned int sel; in range_test_get_selector_high() local
143 &sel, &found); in range_test_get_selector_high()
150 &sel, &found); in range_test_get_selector_high()
154 &sel, &found); in range_test_get_selector_high()
171 unsigned int sel; in range_test_get_selector_low() local
176 range1_vals[i], &sel, in range_test_get_selector_low()
184 range2_vals[i], &sel, in range_test_get_selector_low()
[all …]
/linux/drivers/power/supply/
A Dmt6360_charger.c262 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; in mt6360_charger_get_ichg()
285 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; in mt6360_charger_get_cv()
308 sel = (sel & MT6360_IAICR_MASK) >> MT6360_IAICR_SHFT; in mt6360_charger_get_aicr()
356 sel = (sel & MT6360_IEOC_MASK) >> MT6360_IEOC_SHFT; in mt6360_charger_get_ieoc()
377 u32 sel; in mt6360_charger_set_ichg() local
389 u32 sel; in mt6360_charger_set_cv() local
401 u32 sel; in mt6360_charger_set_aicr() local
413 u32 sel; in mt6360_charger_set_mivr() local
425 u32 sel; in mt6360_charger_set_iprechg() local
437 u32 sel; in mt6360_charger_set_ieoc() local
[all …]
/linux/Documentation/devicetree/bindings/phy/
A Dti,phy-gmii-sel.yaml51 - ti,am3352-phy-gmii-sel
52 - ti,dra7xx-phy-gmii-sel
53 - ti,am43xx-phy-gmii-sel
54 - ti,dm814-phy-gmii-sel
55 - ti,am654-phy-gmii-sel
56 - ti,j7200-cpsw5g-phy-gmii-sel
57 - ti,j721e-cpsw9g-phy-gmii-sel
58 - ti,j784s4-cpsw9g-phy-gmii-sel
86 - ti,dra7xx-phy-gmii-sel
87 - ti,dm814-phy-gmii-sel
[all …]
/linux/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp.h81 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument
85 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) argument
86 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) argument
87 #define ASP_RX_FILTER_MDA_MSK_H(sel) (((sel) * 0x14) + 0x10c) argument
88 #define ASP_RX_FILTER_MDA_MSK_L(sel) (((sel) * 0x14) + 0x110) argument
89 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument
94 #define ASP_RX_FILTER_NET_CFG(sel) (((sel) * 0xa04) + 0x400) argument
95 #define ASP_RX_FILTER_NET_CFG_CH(sel) ((sel) << 0) argument
100 #define ASP_RX_FILTER_NET_CFG_L3_FRM(sel) ((sel) << 13) argument
101 #define ASP_RX_FILTER_NET_CFG_L4_FRM(sel) ((sel) << 15) argument
[all …]
/linux/drivers/regulator/
A Danatop-regulator.c31 int sel; member
63 int sel; in anatop_regmap_enable() local
65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable()
101 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel()
109 int sel; in anatop_regmap_get_bypass() local
112 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass()
124 int sel; in anatop_regmap_set_bypass() local
129 sel = enable ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_set_bypass()
269 sreg->sel = 0; in anatop_regulator_probe()
279 sreg->sel = 22; in anatop_regulator_probe()
[all …]
A Dhelpers.c216 sel -= voltages_in_range; in regulator_set_voltage_sel_pickable_regmap()
432 unsigned int sel; in regulator_map_voltage_linear_range() local
448 ret = sel; in regulator_map_voltage_linear_range()
492 unsigned int sel; in regulator_map_voltage_pickable_linear_range() local
821 int i, sel = -1; in regulator_set_current_limit_regmap() local
835 sel = i; in regulator_set_current_limit_regmap()
843 sel = i; in regulator_set_current_limit_regmap()
850 if (sel < 0) in regulator_set_current_limit_regmap()
954 *sel = s; in regulator_find_closest_bigger()
963 *sel = maxsel; in regulator_find_closest_bigger()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Dselection-api-examples.rst16 struct v4l2_selection sel = {
20 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel);
23 sel.target = V4L2_SEL_TGT_CROP;
36 struct v4l2_selection sel = {
46 r.width = sel.r.width / 2;
47 r.height = sel.r.height / 2;
48 r.left = sel.r.width / 4;
49 r.top = sel.r.height / 4;
50 sel.r = r;
51 sel.target = V4L2_SEL_TGT_COMPOSE;
[all …]
/linux/drivers/clk/bcm/
A Dclk-bcm281xx.c38 .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 = SELECTOR(0x0a38, 0, 2),
[all …]
A Dclk-kona-setup.c13 #define selector_clear_exists(sel) ((sel)->width = 0) argument
46 struct bcm_clk_sel *sel; in clk_requires_trigger() local
52 sel = &peri->sel; in clk_requires_trigger()
53 if (sel->parent_count && selector_exists(sel)) in clk_requires_trigger()
76 struct bcm_clk_sel *sel; in peri_clk_data_offsets_valid() local
140 sel = &peri->sel; in peri_clk_data_offsets_valid()
286 if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name)) in sel_valid()
301 max_sel = sel->parent_sel[sel->parent_count - 1]; in sel_valid()
307 sel->width); in sel_valid()
429 sel = &peri->sel; in peri_clk_data_valid()
[all …]
/linux/arch/arm/mach-dove/
A Dmpp.c68 static void __init dove_mpp_cfg_nfc(int sel) in dove_mpp_cfg_nfc() argument
73 mpp_gen_cfg |= sel; in dove_mpp_cfg_nfc()
79 static void __init dove_mpp_cfg_au1(int sel) in dove_mpp_cfg_au1() argument
91 if (!sel || sel == 0x2) in dove_mpp_cfg_au1()
96 if (sel & 0x1) { in dove_mpp_cfg_au1()
100 if (sel & 0x2) { in dove_mpp_cfg_au1()
104 if (sel & 0x4) { in dove_mpp_cfg_au1()
108 if (sel & 0x8) in dove_mpp_cfg_au1()
126 unsigned int sel = MPP_SEL(*mpp_grp_list); in dove_mpp_conf_grp() local
134 mpp_ctrl4 |= sel << num; in dove_mpp_conf_grp()
[all …]
/linux/drivers/media/platform/nxp/imx8-isi/
A Dimx8-isi-pipe.c563 sel->r.top = 0; in mxc_isi_pipe_get_selection()
576 sel->r = *rect; in mxc_isi_pipe_get_selection()
585 sel->r = *rect; in mxc_isi_pipe_get_selection()
594 sel->r = *rect; in mxc_isi_pipe_get_selection()
621 sel->r.left = clamp_t(s32, sel->r.left, 0, rect->width - 1); in mxc_isi_pipe_set_selection()
622 sel->r.top = clamp_t(s32, sel->r.top, 0, rect->height - 1); in mxc_isi_pipe_set_selection()
623 sel->r.width = clamp(sel->r.width, MXC_ISI_MIN_WIDTH, in mxc_isi_pipe_set_selection()
625 sel->r.height = clamp(sel->r.height, MXC_ISI_MIN_HEIGHT, in mxc_isi_pipe_set_selection()
650 sel->r.width = clamp(sel->r.width, MXC_ISI_MIN_WIDTH, in mxc_isi_pipe_set_selection()
652 sel->r.height = clamp(sel->r.height, MXC_ISI_MIN_HEIGHT, in mxc_isi_pipe_set_selection()
[all …]
/linux/drivers/firmware/
A Ddmi-sysfs.c273 struct dmi_system_event_log sel; \
276 memcpy(&sel, dh, sizeof(sel)); \
326 ret = inb(sel->io.data_addr); in read_sel_8bit_indexed_io()
339 ret = inb(sel->io.data_addr); in read_sel_2x8bit_indexed_io()
351 ret = inb(sel->io.data_addr); in read_sel_16bit_indexed_io()
372 *(buf++) = io_reader(sel, pos++); in dmi_sel_raw_read_io()
387 mapped = dmi_remap(sel->access_method_address, sel->area_length); in dmi_sel_raw_read_phys32()
406 struct dmi_system_event_log sel; in dmi_sel_raw_read_helper() local
411 memcpy(&sel, dh, sizeof(sel)); in dmi_sel_raw_read_helper()
413 switch (sel.access_method) { in dmi_sel_raw_read_helper()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
A Dsdhci-am654.yaml61 ti,otap-del-sel-legacy:
67 ti,otap-del-sel-mmc-hs:
73 ti,otap-del-sel-sd-hs:
79 ti,otap-del-sel-sdr12:
85 ti,otap-del-sel-sdr25:
91 ti,otap-del-sel-sdr50:
103 ti,otap-del-sel-ddr50:
109 ti,otap-del-sel-ddr52:
115 ti,otap-del-sel-hs200:
189 ti,strobe-sel:
[all …]
/linux/drivers/clk/qcom/
A Dclk-krait.c39 regval |= (sel & mux->mask) << mux->shift; in __krait_mux_set_sel()
42 regval |= (sel & mux->mask) << (mux->shift + LPL_SHIFT); in __krait_mux_set_sel()
66 u32 sel; in krait_mux_set_parent() local
68 sel = clk_mux_index_to_val(mux->parent_map, 0, index); in krait_mux_set_parent()
69 mux->en_mask = sel; in krait_mux_set_parent()
72 __krait_mux_set_sel(mux, sel); in krait_mux_set_parent()
82 u32 sel; in krait_mux_get_parent() local
84 sel = krait_get_l2_indirect_reg(mux->offset); in krait_mux_get_parent()
85 sel >>= mux->shift; in krait_mux_get_parent()
86 sel &= mux->mask; in krait_mux_get_parent()
[all …]
/linux/drivers/media/pci/intel/ipu6/
A Dipu6-isys-csi2.c421 sel->pad, in ipu6_isys_csi2_set_sel()
430 crop = v4l2_subdev_state_get_crop(state, sel->pad, sel->stream); in ipu6_isys_csi2_set_sel()
435 sel->r.left = 0; in ipu6_isys_csi2_set_sel()
440 sel->r.height = clamp(sel->r.height & ~1, IPU6_ISYS_MIN_HEIGHT, in ipu6_isys_csi2_set_sel()
442 *crop = sel->r; in ipu6_isys_csi2_set_sel()
452 sd->name, sel->r.left, sel->r.top, sel->r.width, sel->r.height, in ipu6_isys_csi2_set_sel()
470 sel->pad, in ipu6_isys_csi2_get_sel()
475 crop = v4l2_subdev_state_get_crop(state, sel->pad, sel->stream); in ipu6_isys_csi2_get_sel()
482 sel->r.left = 0; in ipu6_isys_csi2_get_sel()
483 sel->r.top = 0; in ipu6_isys_csi2_get_sel()
[all …]
/linux/tools/testing/selftests/syscall_user_dispatch/
A Dsud_test.c61 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST_SIGNAL() local
73 SYSCALL_DISPATCH_ON(sel); in TEST_SIGNAL()
84 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST() local
89 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0, 0, &sel); in TEST()
104 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x0, 0x0, &sel); in TEST()
116 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x1, 0x0, &sel); in TEST()
118 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, -1L, 0x0, &sel); in TEST()
128 prctl(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_ON, 1, -1L, &sel); in TEST()
279 char sel = 0; in TEST() local
307 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST() local
[all …]
/linux/include/linux/iio/
A Diio-gts-helper.h28 int sel; member
55 int sel; member
75 .sel = (_sel), \
81 .sel = (_sel), \
101 iio_gts_find_itime_by_sel(struct iio_gts *gts, int sel) in iio_gts_find_itime_by_sel() argument
106 if (gts->itime_table[i].sel == sel) in iio_gts_find_itime_by_sel()
124 static inline int iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) in iio_gts_find_int_time_by_sel() argument
128 itime = iio_gts_find_itime_by_sel(gts, sel); in iio_gts_find_int_time_by_sel()
151 return itime->sel; in iio_gts_find_sel_by_int_time()
181 int iio_gts_find_gain_by_sel(struct iio_gts *gts, int sel);
[all …]
/linux/Documentation/devicetree/bindings/net/
A Dcpsw-phy-sel.txt5 - 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/drivers/accessibility/speakup/
A Dselection.c21 struct tiocl_selection sel; member
31 struct tiocl_selection sel; in __speakup_set_selection() local
33 sel = ssw->sel; in __speakup_set_selection()
51 set_selection_kernel(&sel, tty); in __speakup_set_selection()
81 speakup_sel_work.sel.xs = spk_xs + 1; in speakup_set_selection()
82 speakup_sel_work.sel.ys = spk_ys + 1; in speakup_set_selection()
83 speakup_sel_work.sel.xe = spk_xe + 1; in speakup_set_selection()
84 speakup_sel_work.sel.ye = spk_ye + 1; in speakup_set_selection()
85 speakup_sel_work.sel.sel_mode = TIOCL_SELCHAR; in speakup_set_selection()
/linux/arch/x86/kernel/
A Dtls.c157 savesegment(ds, sel); in do_set_thread_area()
158 if (sel == modified_sel) in do_set_thread_area()
159 loadsegment(ds, sel); in do_set_thread_area()
161 savesegment(es, sel); in do_set_thread_area()
162 if (sel == modified_sel) in do_set_thread_area()
163 loadsegment(es, sel); in do_set_thread_area()
165 savesegment(fs, sel); in do_set_thread_area()
166 if (sel == modified_sel) in do_set_thread_area()
167 loadsegment(fs, sel); in do_set_thread_area()
170 savesegment(gs, sel); in do_set_thread_area()
[all …]

Completed in 68 milliseconds

12345678910>>...25