/linux-6.3-rc2/drivers/media/platform/renesas/vsp1/ |
A D | vsp1_rwpf.c | 165 sel->r.left = 0; in vsp1_rwpf_get_selection() 166 sel->r.top = 0; in vsp1_rwpf_get_selection() 219 sel->r.left = ALIGN(sel->r.left, 2); in vsp1_rwpf_set_selection() 220 sel->r.top = ALIGN(sel->r.top, 2); in vsp1_rwpf_set_selection() 221 sel->r.width = round_down(sel->r.width, 2); in vsp1_rwpf_set_selection() 222 sel->r.height = round_down(sel->r.height, 2); in vsp1_rwpf_set_selection() 225 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection() 226 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection() 227 sel->r.width = min_t(unsigned int, sel->r.width, in vsp1_rwpf_set_selection() 229 sel->r.height = min_t(unsigned int, sel->r.height, in vsp1_rwpf_set_selection() [all …]
|
A D | vsp1_uif.c | 99 sel->which); in uif_get_selection() 105 switch (sel->target) { in uif_get_selection() 110 sel->r.left = 0; in uif_get_selection() 111 sel->r.top = 0; in uif_get_selection() 118 sel->pad, sel->target); in uif_get_selection() 148 sel->which); in uif_set_selection() 157 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in uif_set_selection() 158 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in uif_set_selection() 159 sel->r.width = clamp_t(unsigned int, sel->r.width, UIF_MIN_SIZE, in uif_set_selection() 161 sel->r.height = clamp_t(unsigned int, sel->r.height, UIF_MIN_SIZE, in uif_set_selection() [all …]
|
A D | vsp1_histo.c | 229 sel->r.left = 0; in histo_get_selection() 230 sel->r.top = 0; in histo_get_selection() 239 sel->r.left = 0; in histo_get_selection() 240 sel->r.top = 0; in histo_get_selection() 248 sel->pad, sel->target); in histo_get_selection() 274 sel->r.width = clamp_t(unsigned int, sel->r.width, HISTO_MIN_SIZE, in histo_set_crop() 285 sel->pad, in histo_set_crop() 306 sel->r.left = 0; in histo_set_compose() 307 sel->r.top = 0; in histo_set_compose() 327 sel->r.width = clamp(sel->r.width, crop->width / 4, crop->width); in histo_set_compose() [all …]
|
A D | vsp1_brx.c | 194 switch (sel->target) { in brx_get_selection() 196 sel->r.left = 0; in brx_get_selection() 197 sel->r.top = 0; in brx_get_selection() 198 sel->r.width = BRX_MAX_SIZE; in brx_get_selection() 204 sel->which); in brx_get_selection() 209 sel->r = *brx_get_compose(brx, config, sel->pad); in brx_get_selection() 237 sel->which); in brx_set_selection() 249 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in brx_set_selection() 250 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in brx_set_selection() 257 sel->r.width = format->width; in brx_set_selection() [all …]
|
/linux-6.3-rc2/lib/ |
A D | test_linear_ranges.c | 117 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-6.3-rc2/drivers/power/supply/ |
A D | mt6360_charger.c | 269 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; in mt6360_charger_get_ichg() 292 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; in mt6360_charger_get_cv() 315 sel = (sel & MT6360_IAICR_MASK) >> MT6360_IAICR_SHFT; in mt6360_charger_get_aicr() 363 sel = (sel & MT6360_IEOC_MASK) >> MT6360_IEOC_SHFT; in mt6360_charger_get_ieoc() 384 u32 sel; in mt6360_charger_set_ichg() local 396 u32 sel; in mt6360_charger_set_cv() local 408 u32 sel; in mt6360_charger_set_aicr() local 420 u32 sel; in mt6360_charger_set_mivr() local 432 u32 sel; in mt6360_charger_set_iprechg() local 444 u32 sel; in mt6360_charger_set_ieoc() local [all …]
|
/linux-6.3-rc2/drivers/regulator/ |
A D | anatop-regulator.c | 31 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 D | helpers.c | 188 sel -= voltages_in_range; in regulator_set_voltage_sel_pickable_regmap() 412 unsigned int sel; in regulator_map_voltage_linear_range() local 428 ret = sel; in regulator_map_voltage_linear_range() 472 unsigned int sel; in regulator_map_voltage_pickable_linear_range() local 801 int i, sel = -1; in regulator_set_current_limit_regmap() local 815 sel = i; in regulator_set_current_limit_regmap() 823 sel = i; in regulator_set_current_limit_regmap() 830 if (sel < 0) in regulator_set_current_limit_regmap() 921 *sel = s; in find_closest_bigger() 930 *sel = maxsel; in find_closest_bigger() [all …]
|
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/ |
A D | selection-api-examples.rst | 16 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-6.3-rc2/drivers/clk/bcm/ |
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 = SELECTOR(0x0a38, 0, 2), [all …]
|
A D | clk-kona-setup.c | 13 #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 …]
|
A D | clk-kona.c | 840 if (!selector_exists(sel)) in selector_read_index() 848 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index() 885 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit() 889 sel->clk_index = index; in __sel_commit() 894 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit() 895 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit() 904 reg_val = bitfield_replace(reg_val, sel->shift, sel->width, parent_sel); in __sel_commit() 926 if (!selector_exists(sel)) in sel_init() 944 previous = sel->clk_index; in selector_write() 948 sel->clk_index = index; in selector_write() [all …]
|
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 = SELECTOR(0x0a68, 0, 3), [all …]
|
/linux-6.3-rc2/arch/arm/mach-dove/ |
A D | mpp.c | 68 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-6.3-rc2/Documentation/devicetree/bindings/phy/ |
A D | 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 85 - ti,dra7xx-phy-gmii-sel 86 - ti,dm814-phy-gmii-sel 87 - ti,am654-phy-gmii-sel [all …]
|
/linux-6.3-rc2/drivers/firmware/ |
A D | dmi-sysfs.c | 273 struct dmi_system_event_log sel; \ 276 memcpy(&sel, dh, sizeof(sel)); \ 325 ret = inb(sel->io.data_addr); in read_sel_8bit_indexed_io() 338 ret = inb(sel->io.data_addr); in read_sel_2x8bit_indexed_io() 350 ret = inb(sel->io.data_addr); in read_sel_16bit_indexed_io() 371 *(buf++) = io_reader(sel, pos++); in dmi_sel_raw_read_io() 385 mapped = dmi_remap(sel->access_method_address, sel->area_length); in dmi_sel_raw_read_phys32() 404 struct dmi_system_event_log sel; in dmi_sel_raw_read_helper() local 409 memcpy(&sel, dh, sizeof(sel)); in dmi_sel_raw_read_helper() 411 switch (sel.access_method) { in dmi_sel_raw_read_helper() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mmc/ |
A D | sdhci-am654.yaml | 61 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-6.3-rc2/drivers/clk/qcom/ |
A D | clk-krait.c | 39 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-6.3-rc2/tools/testing/selftests/syscall_user_dispatch/ |
A D | sud_test.c | 61 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() 265 char sel = 0; in TEST() local 293 char sel = SYSCALL_DISPATCH_FILTER_ALLOW; in TEST() local [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/ |
A 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-6.3-rc2/drivers/accessibility/speakup/ |
A D | selection.c | 21 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-6.3-rc2/arch/x86/kernel/ |
A D | tls.c | 157 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 …]
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | insn-eval.c | 357 return sel; in get_segment_selector() 360 return sel; in get_segment_selector() 363 return sel; in get_segment_selector() 366 return sel; in get_segment_selector() 406 return sel; in get_segment_selector() 632 sel >>= 3; in get_desc() 684 short sel; in insn_get_seg_base() local 722 if (!sel) in insn_get_seg_base() 752 short sel; in get_seg_limit() local 761 if (!sel) in get_seg_limit() [all …]
|
/linux-6.3-rc2/net/ipv6/ |
A D | mip6.c | 203 struct xfrm_selector sel; in mip6_destopt_reject() local 226 memset(&sel, 0, sizeof(sel)); in mip6_destopt_reject() 228 sizeof(sel.daddr)); in mip6_destopt_reject() 229 sel.prefixlen_d = 128; in mip6_destopt_reject() 231 sizeof(sel.saddr)); in mip6_destopt_reject() 232 sel.prefixlen_s = 128; in mip6_destopt_reject() 233 sel.family = AF_INET6; in mip6_destopt_reject() 236 if (sel.dport) in mip6_destopt_reject() 237 sel.dport_mask = htons(~0); in mip6_destopt_reject() 239 if (sel.sport) in mip6_destopt_reject() [all …]
|
/linux-6.3-rc2/drivers/media/tuners/ |
A D | mt20xx.c | 121 if(s>1890) sel=0; in mt2032_compute_freq() 122 else if(s>1720) sel=1; in mt2032_compute_freq() 123 else if(s>1530) sel=2; in mt2032_compute_freq() 125 else sel=4; // >1090 in mt2032_compute_freq() 132 else sel=4; // >1090 in mt2032_compute_freq() 134 *ret_sel=sel; in mt2032_compute_freq() 220 if(sel==0) in mt2032_optimize_vco() 222 else sel--; in mt2032_optimize_vco() 225 if(sel<4) in mt2032_optimize_vco() 226 sel++; in mt2032_optimize_vco() [all …]
|