Home
last modified time | relevance | path

Searched refs:reg_field (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/sound/soc/qcom/
Dlpass.h138 struct reg_field loopback;
139 struct reg_field spken;
140 struct reg_field spkmode;
141 struct reg_field spkmono;
142 struct reg_field micen;
143 struct reg_field micmode;
144 struct reg_field micmono;
145 struct reg_field wssrc;
146 struct reg_field bitwidth;
166 struct reg_field sstream_en;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_hdmi.h204 struct reg_field ddc_clk_reg;
211 struct reg_field field_ddc_en;
212 struct reg_field field_ddc_start;
213 struct reg_field field_ddc_reset;
214 struct reg_field field_ddc_addr_reg;
215 struct reg_field field_ddc_slave_addr;
216 struct reg_field field_ddc_int_mask;
217 struct reg_field field_ddc_int_status;
218 struct reg_field field_ddc_fifo_clear;
219 struct reg_field field_ddc_fifo_rx_thres;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddm_services.h114 #define get_reg_field_value(reg_value, reg_name, reg_field)\ argument
117 reg_name ## __ ## reg_field ## _MASK,\
118 reg_name ## __ ## reg_field ## __SHIFT)
130 #define set_reg_field_value(reg_value, value, reg_name, reg_field)\ argument
134 reg_name ## __ ## reg_field ## _MASK,\
135 reg_name ## __ ## reg_field ## __SHIFT)
152 #define FD(reg_field) reg_field ## __SHIFT, \ argument
153 reg_field ## _MASK
183 #define get_reg_field_value_soc15(reg_value, block, reg_num, reg_name, reg_field)\ argument
186 block ## reg_num ## _ ## reg_name ## __ ## reg_field ## _MASK,\
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsti-cpufreq.c108 static int sti_cpufreq_fetch_regmap_field(const struct reg_field *reg_fields, in sti_cpufreq_fetch_regmap_field()
112 struct reg_field reg_field = reg_fields[field]; in sti_cpufreq_fetch_regmap_field() local
117 reg_field.reg = hw_info_offset; in sti_cpufreq_fetch_regmap_field()
120 reg_field); in sti_cpufreq_fetch_regmap_field()
136 static const struct reg_field sti_stih407_dvfs_regfields[DVFS_MAX_REGFIELDS] = {
141 static const struct reg_field *sti_cpufreq_match(void) in sti_cpufreq_match()
155 const struct reg_field *reg_fields; in sti_cpufreq_set_opp_info()
/kernel/linux/linux-5.10/drivers/thermal/st/
Dst_thermal_syscfg.c34 static const struct reg_field st_415sas_regfields[MAX_REGFIELDS] = {
41 static const struct reg_field st_415mpe_regfields[MAX_REGFIELDS] = {
48 static const struct reg_field st_416sas_regfields[MAX_REGFIELDS] = {
55 static const struct reg_field st_127_regfields[MAX_REGFIELDS] = {
Dst_thermal_memmap.c23 static const struct reg_field st_mmap_thermal_regfields[MAX_REGFIELDS] = {
61 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_mmap_alloc_regfields()
Dst_thermal.h71 const struct reg_field *reg_fields;
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-j721e-wiz.c55 static const struct reg_field por_en = REG_FIELD(WIZ_SERDES_CTRL, 31, 31);
56 static const struct reg_field phy_reset_n = REG_FIELD(WIZ_SERDES_RST, 31, 31);
57 static const struct reg_field pll1_refclk_mux_sel =
59 static const struct reg_field pll0_refclk_mux_sel =
61 static const struct reg_field refclk_dig_sel_16g =
63 static const struct reg_field refclk_dig_sel_10g =
65 static const struct reg_field pma_cmn_refclk_int_mode =
67 static const struct reg_field pma_cmn_refclk_mode =
69 static const struct reg_field pma_cmn_refclk_dig_div =
71 static const struct reg_field pma_cmn_refclk1_dig_div =
[all …]
Dphy-gmii-sel.c44 const struct reg_field (*regfields)[PHY_GMII_SEL_LAST];
129 struct reg_field phy_gmii_sel_fields_am33xx[][PHY_GMII_SEL_LAST] = {
151 struct reg_field phy_gmii_sel_fields_dra7[][PHY_GMII_SEL_LAST] = {
174 struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = {
253 const struct reg_field *fields; in phy_gmii_init_phy()
255 struct reg_field field; in phy_gmii_init_phy()
/kernel/linux/linux-5.10/drivers/reset/sti/
Dreset-syscfg.h24 struct reg_field reset;
25 struct reg_field ack;
/kernel/linux/linux-5.10/drivers/iio/light/
Dstk3310.c67 static const struct reg_field stk3310_reg_field_state =
69 static const struct reg_field stk3310_reg_field_als_gain =
71 static const struct reg_field stk3310_reg_field_ps_gain =
73 static const struct reg_field stk3310_reg_field_als_it =
75 static const struct reg_field stk3310_reg_field_ps_it =
77 static const struct reg_field stk3310_reg_field_int_ps =
79 static const struct reg_field stk3310_reg_field_flag_psint =
81 static const struct reg_field stk3310_reg_field_flag_nf =
Dapds9960.c341 static const struct reg_field apds9960_reg_field_int_als =
344 static const struct reg_field apds9960_reg_field_int_ges =
347 static const struct reg_field apds9960_reg_field_int_pxs =
350 static const struct reg_field apds9960_reg_field_enable_als =
353 static const struct reg_field apds9960_reg_field_enable_ges =
356 static const struct reg_field apds9960_reg_field_enable_pxs =
Dltr501.c74 static const struct reg_field reg_field_it =
76 static const struct reg_field reg_field_als_intr =
78 static const struct reg_field reg_field_ps_intr =
80 static const struct reg_field reg_field_als_rate =
82 static const struct reg_field reg_field_ps_rate =
84 static const struct reg_field reg_field_als_prst =
86 static const struct reg_field reg_field_ps_prst =
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_reg.h45 #define FD(reg_field) (REGS)->shift.reg_field, (REGS)->mask.reg_field argument
/kernel/linux/linux-5.10/sound/soc/meson/
Daxg-fifo.h12 struct reg_field;
76 struct reg_field field_threshold;
/kernel/linux/linux-5.10/include/linux/
Dregmap.h1162 struct reg_field { struct
1185 struct reg_field reg_field); argument
1189 struct regmap *regmap, struct reg_field reg_field);
1194 struct reg_field *reg_field,
1199 struct reg_field *reg_field, int num_fields);
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap.c1238 struct regmap *regmap, struct reg_field reg_field) in regmap_field_init() argument
1241 rm_field->reg = reg_field.reg; in regmap_field_init()
1242 rm_field->shift = reg_field.lsb; in regmap_field_init()
1243 rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); in regmap_field_init()
1244 rm_field->id_size = reg_field.id_size; in regmap_field_init()
1245 rm_field->id_offset = reg_field.id_offset; in regmap_field_init()
1260 struct regmap *regmap, struct reg_field reg_field) in devm_regmap_field_alloc() argument
1267 regmap_field_init(rm_field, regmap, reg_field); in devm_regmap_field_alloc()
1289 struct reg_field *reg_field, in regmap_field_bulk_alloc() argument
1300 regmap_field_init(&rf[i], regmap, reg_field[i]); in regmap_field_bulk_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_io.c100 const struct reg_field *const regfields) in ocelot_regfields_init()
106 struct reg_field regfield = {}; in ocelot_regfields_init()
/kernel/linux/linux-5.10/drivers/regulator/
Dda9063-regulator.c78 struct reg_field mode; /* buck mode of operation */
79 struct reg_field suspend;
80 struct reg_field sleep;
81 struct reg_field suspend_sleep;
85 struct reg_field oc_event;
Dda9062-regulator.c49 struct reg_field mode;
50 struct reg_field suspend;
51 struct reg_field sleep;
52 struct reg_field suspend_sleep;
55 struct reg_field oc_event;
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
Dfelix.h15 const struct reg_field *regfields;
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-st.c1063 struct reg_field clk1notclk0 = RT_P_CFG0_CLK1NOTCLK0_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1064 struct reg_field delay_0 = RT_P_CFG0_DELAY_0_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1065 struct reg_field delay_1 = RT_P_CFG0_DELAY_1_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1067 struct reg_field invertclk = RT_P_CFG1_INVERTCLK_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1068 struct reg_field retime = RT_P_CFG1_RETIME_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1069 struct reg_field clknotdata = RT_P_CFG1_CLKNOTDATA_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1070 struct reg_field double_edge = RT_P_CFG1_DOUBLE_EDGE_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1103 struct reg_field reg = REG_FIELD(reg_offset, 0, 31); in st_pctl_dt_setup_retime_dedicated()
1130 struct reg_field reg = REG_FIELD((data + bank) * 4, lsb, msb); in st_pc_get_value()
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dtsens-v2.c39 static const struct reg_field tsens_v2_regfields[MAX_REGFIELDS] = {
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-sti.c77 const struct reg_field *reg_fields;
104 static const struct reg_field sti_pwm_regfields[MAX_REGFIELDS] = {
477 const struct reg_field *reg_fields; in sti_pwm_probe_dt()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9002_calib.c546 u32 ccomp_org, reg_field; in ar9285_hw_pa_cal() local
601 reg_field = MS(REG_READ(ah, 0x7840), AR9285_AN_RXTXBB1_SPARE9); in ar9285_hw_pa_cal()
602 regVal |= (reg_field << (19 + i)); in ar9285_hw_pa_cal()
608 reg_field = MS(REG_READ(ah, AR9285_AN_RF2G9), AR9285_AN_RXTXBB1_SPARE9); in ar9285_hw_pa_cal()
609 REG_RMW_FIELD(ah, AR9285_AN_RF2G3, AR9285_AN_RF2G3_PDVCCOMP, reg_field); in ar9285_hw_pa_cal()

123