Home
last modified time | relevance | path

Searched full:sel (Results 1 – 25 of 917) sorted by relevance

12345678910>>...37

/linux/drivers/usb/typec/
H A Dmode_selection.c80 static int mode_selection_activate(struct mode_selection *sel, in mode_selection_activate() argument
83 __must_hold(&sel->lock) in mode_selection_activate()
91 * sel->mutex before activation to avoid potential deadlock. in mode_selection_activate()
92 * Note that sel->mode_list must remain invariant throughout this unlocked in mode_selection_activate()
95 mutex_unlock(&sel->lock); in mode_selection_activate()
96 device_for_each_child(&sel->partner->dev, &order, activate_altmode); in mode_selection_activate()
97 mutex_lock(&sel->lock); in mode_selection_activate()
102 static void mode_list_clean(struct mode_selection *sel) in mode_list_clean() argument
106 list_for_each_entry_safe(ms, tmp, &sel->mode_list, list) { in mode_list_clean()
132 struct mode_selection *sel = container_of(work, in mode_selection_work_fn() local
[all …]
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_report_desc.h28 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/
29 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */
30 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */
39 0x0A, 0x40, 0x08, /* Sensor property report state no events sel */
40 0x0A, 0x41, 0x08, /* Sensor property report state all events sel */
41 0x0A, 0x42, 0x08, /* Sensor property report state threshold events sel */
42 0x0A, 0x43, 0x08, /* Sensor property report state no events wake sel */
43 0x0A, 0x44, 0x08, /* Sensor property report state all events wake sel */
44 0x0A, 0x45, 0x08, /* Sensor property report state threshold events wake sel */
53 0x0A, 0x50, 0x08, /* Sensor property power state undefined sel */
[all …]
/linux/drivers/staging/media/starfive/camss/
H A Dstf-isp.c15 struct v4l2_subdev_selection *sel);
159 struct v4l2_subdev_selection sel = { 0 }; in isp_set_format() local
162 sel.which = fmt->which; in isp_set_format()
163 sel.pad = STF_ISP_PAD_SINK; in isp_set_format()
164 sel.target = V4L2_SEL_TGT_CROP; in isp_set_format()
165 sel.r.width = fmt->format.width; in isp_set_format()
166 sel.r.height = fmt->format.height; in isp_set_format()
167 isp_set_selection(sd, state, &sel); in isp_set_format()
200 struct v4l2_subdev_selection *sel) in isp_get_selection() argument
205 switch (sel->target) { in isp_get_selection()
[all …]
/linux/sound/soc/meson/
H A Daxg-frddr.c132 SND_SOC_DAPM_DEMUX("SINK SEL", SND_SOC_NOPM, 0, 0,
145 { "SINK SEL", NULL, "Playback" },
146 { "OUT 0", "OUT 0", "SINK SEL" },
147 { "OUT 1", "OUT 1", "SINK SEL" },
148 { "OUT 2", "OUT 2", "SINK SEL" },
149 { "OUT 3", "OUT 3", "SINK SEL" },
150 { "OUT 4", "OUT 4", "SINK SEL" },
151 { "OUT 5", "OUT 5", "SINK SEL" },
152 { "OUT 6", "OUT 6", "SINK SEL" },
153 { "OUT 7", "OUT 7", "SINK SEL" },
[all …]
H A Daxg-toddr.c151 SND_SOC_DAPM_MUX("SRC SEL", SND_SOC_NOPM, 0, 0, &axg_toddr_in_mux),
163 { "Capture", NULL, "SRC SEL" },
164 { "SRC SEL", "IN 0", "IN 0" },
165 { "SRC SEL", "IN 1", "IN 1" },
166 { "SRC SEL", "IN 2", "IN 2" },
167 { "SRC SEL", "IN 3", "IN 3" },
168 { "SRC SEL", "IN 4", "IN 4" },
169 { "SRC SEL", "IN 5", "IN 5" },
170 { "SRC SEL", "IN 6", "IN 6" },
171 { "SRC SEL", "IN 7", "IN 7" },
[all …]
H A Daxg-tdmin.c184 SND_SOC_DAPM_MUX("SRC SEL", SND_SOC_NOPM, 0, 0, &axg_tdmin_in_mux),
192 { "SRC SEL", "IN 0", "IN 0" },
193 { "SRC SEL", "IN 1", "IN 1" },
194 { "SRC SEL", "IN 2", "IN 2" },
195 { "SRC SEL", "IN 3", "IN 3" },
196 { "SRC SEL", "IN 4", "IN 4" },
197 { "SRC SEL", "IN 5", "IN 5" },
198 { "SRC SEL", "IN 6", "IN 6" },
199 { "SRC SEL", "IN 7", "IN 7" },
200 { "SRC SEL", "IN 8", "IN 8" },
[all …]
/linux/Documentation/devicetree/bindings/nvmem/
H A Dairoha,an8855-efuse.yaml43 shift_sel_port0_tx_a: shift-sel-port0-tx-a@c {
47 shift_sel_port0_tx_b: shift-sel-port0-tx-b@10 {
51 shift_sel_port0_tx_c: shift-sel-port0-tx-c@14 {
55 shift_sel_port0_tx_d: shift-sel-port0-tx-d@18 {
59 shift_sel_port1_tx_a: shift-sel-port1-tx-a@1c {
63 shift_sel_port1_tx_b: shift-sel-port1-tx-b@20 {
67 shift_sel_port1_tx_c: shift-sel-port1-tx-c@24 {
71 shift_sel_port1_tx_d: shift-sel-port1-tx-d@28 {
75 shift_sel_port2_tx_a: shift-sel-port2-tx-a@2c {
79 shift_sel_port2_tx_b: shift-sel-port2-tx-b@30 {
[all …]
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_histo.c197 struct v4l2_subdev_selection *sel) in histo_get_selection() argument
205 if (sel->pad != HISTO_PAD_SINK) in histo_get_selection()
210 state = vsp1_entity_get_state(&histo->entity, sd_state, sel->which); in histo_get_selection()
216 switch (sel->target) { in histo_get_selection()
220 sel->r.left = 0; in histo_get_selection()
221 sel->r.top = 0; in histo_get_selection()
222 sel->r.width = crop->width; in histo_get_selection()
223 sel->r.height = crop->height; in histo_get_selection()
229 sel->r.left = 0; in histo_get_selection()
230 sel->r.top = 0; in histo_get_selection()
[all …]
H A Dvsp1_rwpf.c170 struct v4l2_subdev_selection *sel) in vsp1_rwpf_get_selection() argument
181 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection()
186 state = vsp1_entity_get_state(&rwpf->entity, sd_state, sel->which); in vsp1_rwpf_get_selection()
192 switch (sel->target) { in vsp1_rwpf_get_selection()
194 sel->r = *v4l2_subdev_state_get_crop(state, RWPF_PAD_SINK); in vsp1_rwpf_get_selection()
199 sel->r.left = 0; in vsp1_rwpf_get_selection()
200 sel->r.top = 0; in vsp1_rwpf_get_selection()
201 sel->r.width = format->width; in vsp1_rwpf_get_selection()
202 sel->r.height = format->height; in vsp1_rwpf_get_selection()
217 struct v4l2_subdev_selection *sel) in vsp1_rwpf_set_selection() argument
[all …]
H A Dvsp1_uif.c86 struct v4l2_subdev_selection *sel) in uif_get_selection() argument
93 if (sel->pad != UIF_PAD_SINK) in uif_get_selection()
98 state = vsp1_entity_get_state(&uif->entity, sd_state, sel->which); 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()
111 sel->r.height = format->height; in uif_get_selection()
115 sel->r = *v4l2_subdev_state_get_crop(state, sel->pad); in uif_get_selection()
130 struct v4l2_subdev_selection *sel) in uif_set_selection() argument
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dsdhci-am654.yaml60 ti,otap-del-sel-legacy:
66 ti,otap-del-sel-mmc-hs:
72 ti,otap-del-sel-sd-hs:
78 ti,otap-del-sel-sdr12:
84 ti,otap-del-sel-sdr25:
90 ti,otap-del-sel-sdr50:
96 ti,otap-del-sel-sdr104:
102 ti,otap-del-sel-ddr50:
108 ti,otap-del-sel-ddr52:
114 ti,otap-del-sel-hs200:
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dti,phy-gmii-sel.yaml5 $id: http://devicetree.org/schemas/phy/ti,phy-gmii-sel.yaml#
51 - 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
[all …]
/linux/drivers/power/supply/
H A Dmt6360_charger.c257 u32 sel, value; in mt6360_charger_get_ichg() local
259 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL7, &sel); in mt6360_charger_get_ichg()
262 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; in mt6360_charger_get_ichg()
263 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_ICHG], sel, &value); in mt6360_charger_get_ichg()
280 u32 sel, value; in mt6360_charger_get_cv() local
282 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL4, &sel); in mt6360_charger_get_cv()
285 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; in mt6360_charger_get_cv()
286 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VOREG], sel, &value); in mt6360_charger_get_cv()
303 u32 sel, value; in mt6360_charger_get_aicr() local
305 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL3, &sel); in mt6360_charger_get_aicr()
[all …]
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.h74 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument
76 #define ASP_RX_FILTER_MDA_CFG_UMC_SEL(sel) ((sel) > 1 ? BIT(17) : \ argument
77 BIT((sel) + 9))
78 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) argument
79 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) argument
80 #define ASP_RX_FILTER_MDA_MSK_H(sel) (((sel) * 0x14) + 0x10c) argument
81 #define ASP_RX_FILTER_MDA_MSK_L(sel) (((sel) * 0x14) + 0x110) argument
82 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument
83 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) argument
84 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) argument
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dselection-api-examples.rst17 struct v4l2_selection sel = {
21 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel);
24 sel.target = V4L2_SEL_TGT_CROP;
25 ret = ioctl(fd, VIDIOC_S_SELECTION, &sel);
37 struct v4l2_selection sel = {
43 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel);
47 r.width = sel.r.width / 2;
48 r.height = sel.r.height / 2;
49 r.left = sel.r.width / 4;
50 r.top = sel.r.height / 4;
[all …]
/linux/drivers/staging/media/ipu7/
H A Dipu7-isys-csi2.c194 struct v4l2_subdev_selection *sel) in ipu7_isys_csi2_set_sel() argument
202 if (sel->pad == IPU7_CSI2_PAD_SINK || sel->target != V4L2_SEL_TGT_CROP) in ipu7_isys_csi2_set_sel()
206 sel->pad, in ipu7_isys_csi2_set_sel()
207 sel->stream); in ipu7_isys_csi2_set_sel()
211 src_ffmt = v4l2_subdev_state_get_format(state, sel->pad, sel->stream); in ipu7_isys_csi2_set_sel()
215 crop = v4l2_subdev_state_get_crop(state, sel->pad, sel->stream); in ipu7_isys_csi2_set_sel()
220 sel->r.left = 0; in ipu7_isys_csi2_set_sel()
221 sel->r.width = sink_ffmt->width; in ipu7_isys_csi2_set_sel()
224 sel->r.top &= ~1U; in ipu7_isys_csi2_set_sel()
225 sel->r.height = clamp(sel->r.height & ~1U, IPU_ISYS_MIN_HEIGHT, in ipu7_isys_csi2_set_sel()
[all …]
/linux/drivers/media/platform/amlogic/c3/isp/
H A Dc3-isp-resizer.c637 struct v4l2_subdev_selection *sel) in c3_isp_rsz_get_selection() argument
643 if (sel->pad == C3_ISP_RSZ_PAD_SOURCE) in c3_isp_rsz_get_selection()
646 switch (sel->target) { in c3_isp_rsz_get_selection()
648 fmt = v4l2_subdev_state_get_format(state, sel->pad); in c3_isp_rsz_get_selection()
649 sel->r.width = fmt->width; in c3_isp_rsz_get_selection()
650 sel->r.height = fmt->height; in c3_isp_rsz_get_selection()
651 sel->r.left = 0; in c3_isp_rsz_get_selection()
652 sel->r.top = 0; in c3_isp_rsz_get_selection()
655 crop = v4l2_subdev_state_get_crop(state, sel->pad); in c3_isp_rsz_get_selection()
656 sel->r.width = crop->width; in c3_isp_rsz_get_selection()
[all …]
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c547 struct v4l2_subdev_selection *sel) in mxc_isi_pipe_get_selection() argument
553 switch (sel->target) { in mxc_isi_pipe_get_selection()
555 if (sel->pad != MXC_ISI_PIPE_PAD_SINK) in mxc_isi_pipe_get_selection()
562 sel->r.left = 0; in mxc_isi_pipe_get_selection()
563 sel->r.top = 0; in mxc_isi_pipe_get_selection()
564 sel->r.width = format->width; in mxc_isi_pipe_get_selection()
565 sel->r.height = format->height; in mxc_isi_pipe_get_selection()
569 if (sel->pad != MXC_ISI_PIPE_PAD_SOURCE) in mxc_isi_pipe_get_selection()
576 sel->r = *rect; in mxc_isi_pipe_get_selection()
580 if (sel->pad != MXC_ISI_PIPE_PAD_SOURCE) in mxc_isi_pipe_get_selection()
[all …]
/linux/drivers/media/platform/rockchip/rkcif/
H A Drkcif-interface.c81 struct v4l2_subdev_selection *sel) in rkcif_interface_get_sel() argument
87 if (sel->pad != RKCIF_IF_PAD_SRC) in rkcif_interface_get_sel()
90 sink = v4l2_subdev_state_get_opposite_stream_format(state, sel->pad, in rkcif_interface_get_sel()
91 sel->stream); in rkcif_interface_get_sel()
95 crop = v4l2_subdev_state_get_crop(state, sel->pad, sel->stream); in rkcif_interface_get_sel()
99 switch (sel->target) { in rkcif_interface_get_sel()
102 sel->r.left = 0; in rkcif_interface_get_sel()
103 sel->r.top = 0; in rkcif_interface_get_sel()
104 sel->r.width = sink->width; in rkcif_interface_get_sel()
105 sel->r.height = sink->height; in rkcif_interface_get_sel()
[all …]
/linux/drivers/regulator/
H 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()
66 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable()
86 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
92 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel()
101 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel()
109 int sel; in anatop_regmap_get_bypass() local
111 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass()
112 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass()
[all …]
/linux/lib/tests/
H 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()
121 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value()
126 sel = range2_sels[i]; in range_test_get_value()
127 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value()
131 ret = linear_range_get_value_array(&testr[0], 2, sel + 1, &val); 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()
145 KUNIT_EXPECT_EQ(test, sel, range1_sels[i]); in range_test_get_selector_high()
150 &sel, &found); in range_test_get_selector_high()
[all …]
/linux/drivers/firmware/
H A Ddmi-sysfs.c273 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, in read_sel_8bit_indexed_io() argument
325 outb((u8)offset, sel->io.index_addr); in read_sel_8bit_indexed_io()
326 ret = inb(sel->io.data_addr); in read_sel_8bit_indexed_io()
331 static u8 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, in read_sel_2x8bit_indexed_io() argument
[all …]
/linux/drivers/clk/bcm/
H 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 …]
/linux/arch/arm/mach-dove/
H 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()
117 /* Configure the group registers, enabling GPIO if sel indicates the
126 unsigned int sel = MPP_SEL(*mpp_grp_list); in dove_mpp_conf_grp() local
[all …]
/linux/Documentation/devicetree/bindings/net/
H 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";

12345678910>>...37