/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_debug.c | 52 void dump_drv_version(void *sel) in dump_drv_version() argument 54 DBG_871X_SEL_NL(sel, "%s %s\n", "rtl8723bs", DRIVERVERSION); in dump_drv_version() 57 void dump_log_level(void *sel) in dump_log_level() argument 59 DBG_871X_SEL_NL(sel, "log_level:%d\n", GlobalDebugLevel); in dump_log_level() 62 void sd_f0_reg_dump(void *sel, struct adapter *adapter) in sd_f0_reg_dump() argument 68 DBG_871X_SEL_NL(sel, "0x%02x ", i); in sd_f0_reg_dump() 70 DBG_871X_SEL(sel, "%02x ", rtw_sd_f0_read8(adapter, i)); in sd_f0_reg_dump() 73 DBG_871X_SEL(sel, "\n"); in sd_f0_reg_dump() 75 DBG_871X_SEL(sel, "\t"); in sd_f0_reg_dump() 79 void mac_reg_dump(void *sel, struc argument 94 bb_reg_dump(void *sel, struct adapter *adapter) bb_reg_dump() argument 108 rf_reg_dump(void *sel, struct adapter *adapter) rf_reg_dump() argument [all...] |
H A D | rtw_odm.c | 93 void rtw_odm_dbg_comp_msg(void *sel, struct adapter *adapter) in rtw_odm_dbg_comp_msg() argument 99 DBG_871X_SEL_NL(sel, "odm.DebugComponents = 0x%016llx\n", dbg_comp); in rtw_odm_dbg_comp_msg() 102 DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n", in rtw_odm_dbg_comp_msg() 113 void rtw_odm_dbg_level_msg(void *sel, struct adapter *adapter) in rtw_odm_dbg_level_msg() argument 119 DBG_871X_SEL_NL(sel, "odm.DebugLevel = %u\n", dbg_level); in rtw_odm_dbg_level_msg() 122 DBG_871X_SEL_NL(sel, "%u %s\n", in rtw_odm_dbg_level_msg() 132 void rtw_odm_ability_msg(void *sel, struct adapter *adapter) in rtw_odm_ability_msg() argument 138 DBG_871X_SEL_NL(sel, "odm.SupportAbility = 0x%08x\n", ability); in rtw_odm_ability_msg() 141 DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n", in rtw_odm_ability_msg() 152 void rtw_odm_adaptivity_parm_msg(void *sel, struc argument 186 rtw_odm_get_perpkt_rssi(void *sel, struct adapter *adapter) rtw_odm_get_perpkt_rssi() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/ |
H A D | mips-extns.h | 174 #define __read_64bit_c2_split(source, sel) \ 180 if (sel == 0) \ 192 "dmfc2\t%M0, " #source ", " #sel "\n\t" \ 203 #define __write_64bit_c2_split(source, sel, val) \ 208 if (sel == 0) \ 225 "dmtc2\t%L0, " #source ", " #sel "\n\t" \ 231 #define __read_32bit_c2_register(source, sel) \ 233 if (sel == 0) \ 242 "mfc2\t%0, " #source ", " #sel "\n\t" \ 248 #define __read_64bit_c2_register(source, sel) \ [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_uif.c | 85 struct v4l2_subdev_selection *sel) in uif_get_selection() 92 if (sel->pad != UIF_PAD_SINK) in uif_get_selection() 97 config = vsp1_entity_get_pad_config(&uif->entity, cfg, sel->which); in uif_get_selection() 103 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 = *vsp1_entity_get_pad_selection(&uif->entity, config, in uif_get_selection() 116 sel in uif_get_selection() 83 uif_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) uif_get_selection() argument 129 uif_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) uif_set_selection() argument [all...] |
H A D | vsp1_rwpf.c | 132 struct v4l2_subdev_selection *sel) in vsp1_rwpf_get_selection() 143 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection() 148 config = vsp1_entity_get_pad_config(&rwpf->entity, cfg, sel->which); in vsp1_rwpf_get_selection() 154 switch (sel->target) { in vsp1_rwpf_get_selection() 156 sel->r = *vsp1_rwpf_get_crop(rwpf, config); in vsp1_rwpf_get_selection() 162 sel->r.left = 0; in vsp1_rwpf_get_selection() 163 sel->r.top = 0; in vsp1_rwpf_get_selection() 164 sel->r.width = format->width; in vsp1_rwpf_get_selection() 165 sel->r.height = format->height; in vsp1_rwpf_get_selection() 180 struct v4l2_subdev_selection *sel) in vsp1_rwpf_set_selection() 130 vsp1_rwpf_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) vsp1_rwpf_get_selection() argument 178 vsp1_rwpf_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) vsp1_rwpf_set_selection() argument [all...] |
H A D | vsp1_histo.c | 201 struct v4l2_subdev_selection *sel) in histo_get_selection() 209 if (sel->pad != HISTO_PAD_SINK) in histo_get_selection() 214 config = vsp1_entity_get_pad_config(&histo->entity, cfg, sel->which); in histo_get_selection() 220 switch (sel->target) { in histo_get_selection() 226 sel->r.left = 0; in histo_get_selection() 227 sel->r.top = 0; in histo_get_selection() 228 sel->r.width = crop->width; in histo_get_selection() 229 sel->r.height = crop->height; in histo_get_selection() 236 sel->r.left = 0; in histo_get_selection() 237 sel in histo_get_selection() 199 histo_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) histo_get_selection() argument 258 histo_set_crop(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *config, struct v4l2_subdev_selection *sel) histo_set_crop() argument 289 histo_set_compose(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *config, struct v4l2_subdev_selection *sel) histo_set_compose() argument 340 histo_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_selection *sel) histo_set_selection() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_uif.c | 86 struct v4l2_subdev_selection *sel) in uif_get_selection() 93 if (sel->pad != UIF_PAD_SINK) in uif_get_selection() 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() 112 sel->r.width = format->width; in uif_get_selection() 113 sel->r.height = format->height; in uif_get_selection() 117 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, config, in uif_get_selection() 118 sel in uif_get_selection() 84 uif_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) uif_get_selection() argument 131 uif_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) uif_set_selection() argument [all...] |
H A D | vsp1_rwpf.c | 134 struct v4l2_subdev_selection *sel) in vsp1_rwpf_get_selection() 145 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection() 151 sel->which); in vsp1_rwpf_get_selection() 157 switch (sel->target) { in vsp1_rwpf_get_selection() 159 sel->r = *vsp1_rwpf_get_crop(rwpf, config); in vsp1_rwpf_get_selection() 165 sel->r.left = 0; in vsp1_rwpf_get_selection() 166 sel->r.top = 0; in vsp1_rwpf_get_selection() 167 sel->r.width = format->width; in vsp1_rwpf_get_selection() 168 sel->r.height = format->height; in vsp1_rwpf_get_selection() 183 struct v4l2_subdev_selection *sel) in vsp1_rwpf_set_selection() 132 vsp1_rwpf_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) vsp1_rwpf_get_selection() argument 181 vsp1_rwpf_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) vsp1_rwpf_set_selection() argument [all...] |
H A D | vsp1_histo.c | 203 struct v4l2_subdev_selection *sel) in histo_get_selection() 211 if (sel->pad != HISTO_PAD_SINK) in histo_get_selection() 217 sel->which); in histo_get_selection() 223 switch (sel->target) { in histo_get_selection() 229 sel->r.left = 0; in histo_get_selection() 230 sel->r.top = 0; in histo_get_selection() 231 sel->r.width = crop->width; in histo_get_selection() 232 sel->r.height = crop->height; in histo_get_selection() 239 sel->r.left = 0; in histo_get_selection() 240 sel in histo_get_selection() 201 histo_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) histo_get_selection() argument 261 histo_set_crop(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) histo_set_crop() argument 292 histo_set_compose(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) histo_set_compose() argument 344 histo_set_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_selection *sel) histo_set_selection() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_linear_ranges.c | 126 unsigned int sel, val; in range_test_get_value() local 129 sel = range1_sels[i]; in range_test_get_value() 130 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value() 135 sel = range2_sels[i]; in range_test_get_value() 136 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value() 140 ret = linear_range_get_value_array(&testr[0], 2, sel + 1, &val); in range_test_get_value() 147 unsigned int sel; in range_test_get_selector_high() local 152 &sel, &found); in range_test_get_selector_high() 154 KUNIT_EXPECT_EQ(test, sel, range1_sels[i]); in range_test_get_selector_high() 159 &sel, in range_test_get_selector_high() 180 unsigned int sel; range_test_get_selector_low() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H 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() 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, in range_test_get_selector_high() 171 unsigned int sel; range_test_get_selector_low() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 73 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) 75 #define ASP_RX_FILTER_MDA_CFG_UMC_SEL(sel) ((sel) > 1 ? BIT(17) : \ 76 BIT((sel) + 9)) 77 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) 78 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) 79 #define ASP_RX_FILTER_MDA_MSK_H(sel) (((se [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H 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() 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 in anatop_regmap_get_bypass() 124 int sel; anatop_regmap_set_bypass() local [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H 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() 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 in anatop_regmap_get_bypass() 124 int sel; anatop_regmap_set_bypass() local [all...] |
/kernel/linux/linux-5.10/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) 313 typedef u8 (*sel_io_reader)(const struct dmi_system_event_log *sel, 318 static u8 read_sel_8bit_indexed_io(const struct dmi_system_event_log *sel, in read_sel_8bit_indexed_io() argument 324 outb((u8)offset, sel->io.index_addr); in read_sel_8bit_indexed_io() 325 ret = inb(sel in read_sel_8bit_indexed_io() 330 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) read_sel_2x8bit_indexed_io() argument 343 read_sel_16bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) read_sel_16bit_indexed_io() argument 361 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) dmi_sel_raw_read_io() argument 378 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) dmi_sel_raw_read_phys32() argument 404 struct dmi_system_event_log sel; dmi_sel_raw_read_helper() local [all...] |
/kernel/linux/linux-6.6/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, 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 in read_sel_8bit_indexed_io() 331 read_sel_2x8bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) read_sel_2x8bit_indexed_io() argument 344 read_sel_16bit_indexed_io(const struct dmi_system_event_log *sel, loff_t offset) read_sel_16bit_indexed_io() 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) dmi_sel_raw_read_io() 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) dmi_sel_raw_read_phys32() argument 406 struct dmi_system_event_log sel; dmi_sel_raw_read_helper() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | clk-krait.c | 21 static void __krait_mux_set_sel(struct krait_mux_clk *mux, int sel) in __krait_mux_set_sel() argument 29 regval |= (sel & mux->mask) << mux->shift; in __krait_mux_set_sel() 32 regval |= (sel & mux->mask) << (mux->shift + LPL_SHIFT); in __krait_mux_set_sel() 50 u32 sel; in krait_mux_set_parent() local 52 sel = clk_mux_index_to_val(mux->parent_map, 0, index); in krait_mux_set_parent() 53 mux->en_mask = sel; in krait_mux_set_parent() 56 __krait_mux_set_sel(mux, sel); in krait_mux_set_parent() 66 u32 sel; in krait_mux_get_parent() local 68 sel = krait_get_l2_indirect_reg(mux->offset); in krait_mux_get_parent() 69 sel >> in krait_mux_get_parent() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | mt6360_charger.c | 264 u32 sel, value; in mt6360_charger_get_ichg() local 266 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL7, &sel); in mt6360_charger_get_ichg() 269 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; in mt6360_charger_get_ichg() 270 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_ICHG], sel, &value); in mt6360_charger_get_ichg() 287 u32 sel, value; in mt6360_charger_get_cv() local 289 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL4, &sel); in mt6360_charger_get_cv() 292 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; in mt6360_charger_get_cv() 293 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VOREG], sel, in mt6360_charger_get_cv() 310 u32 sel, value; mt6360_charger_get_aicr() local 326 u32 sel, value; mt6360_charger_get_mivr() local 342 u32 sel, value; mt6360_charger_get_iprechg() local 358 u32 sel, value; mt6360_charger_get_ieoc() local 384 u32 sel; mt6360_charger_set_ichg() local 396 u32 sel; mt6360_charger_set_cv() local 408 u32 sel; mt6360_charger_set_aicr() local 420 u32 sel; mt6360_charger_set_mivr() local 432 u32 sel; mt6360_charger_set_iprechg() local 444 u32 sel; mt6360_charger_set_ieoc() local 752 u32 sel; mt6360_chg_init_setting() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 21 #define selector_clear_exists(sel) ((sel)->width = 0) 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() 291 sel_valid(struct bcm_clk_sel *sel, const char *field_name, const char *clock_name) sel_valid() argument 406 struct bcm_clk_sel *sel; peri_clk_data_valid() local 609 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel, struct clk_init_data *init_data) clk_sel_setup() argument 649 clk_sel_teardown(struct bcm_clk_sel *sel, struct clk_init_data *init_data) clk_sel_teardown() argument [all...] |
H A 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 [all...] |
/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 13 #define selector_clear_exists(sel) ((sel)->width = 0) 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() 283 sel_valid(struct bcm_clk_sel *sel, const char *field_name, const char *clock_name) sel_valid() argument 398 struct bcm_clk_sel *sel; peri_clk_data_valid() local 601 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel, struct clk_init_data *init_data) clk_sel_setup() argument 641 clk_sel_teardown(struct bcm_clk_sel *sel, struct clk_init_data *init_data) clk_sel_teardown() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-dove/ |
H A 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() 120 /* Configure the group registers, enabling GPIO if sel indicate 129 unsigned int sel = MPP_SEL(*mpp_grp_list); dove_mpp_conf_grp() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-dove/ |
H 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() 117 /* Configure the group registers, enabling GPIO if sel indicate 126 unsigned int sel = MPP_SEL(*mpp_grp_list); dove_mpp_conf_grp() local [all...] |
/kernel/linux/linux-6.6/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 48 * @sel: Selector (usually register value) used to indicate this time 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() 119 * @sel 124 iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) iio_gts_find_int_time_by_sel() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 547 struct v4l2_subdev_selection *sel) in mxc_isi_pipe_get_selection() 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 in mxc_isi_pipe_get_selection() 545 mxc_isi_pipe_get_selection(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) mxc_isi_pipe_get_selection() argument 604 mxc_isi_pipe_set_selection(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) mxc_isi_pipe_set_selection() argument [all...] |