Home
last modified time | relevance | path

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

123

/linux-6.1.9/sound/soc/qcom/
Dlpass.h220 struct reg_field loopback;
221 struct reg_field spken;
222 struct reg_field spkmode;
223 struct reg_field spkmono;
224 struct reg_field micen;
225 struct reg_field micmode;
226 struct reg_field micmono;
227 struct reg_field wssrc;
228 struct reg_field bitwidth;
248 struct reg_field sstream_en;
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddm_services.h95 #define get_reg_field_value(reg_value, reg_name, reg_field)\ argument
98 reg_name ## __ ## reg_field ## _MASK,\
99 reg_name ## __ ## reg_field ## __SHIFT)
111 #define set_reg_field_value(reg_value, value, reg_name, reg_field)\ argument
115 reg_name ## __ ## reg_field ## _MASK,\
116 reg_name ## __ ## reg_field ## __SHIFT)
133 #define FD(reg_field) reg_field ## __SHIFT, \ argument
134 reg_field ## _MASK
164 #define get_reg_field_value_soc15(reg_value, block, reg_num, reg_name, reg_field)\ argument
167 block ## reg_num ## _ ## reg_name ## __ ## reg_field ## _MASK,\
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/phy/ti/
Dphy-j721e-wiz.c79 static const struct reg_field por_en = REG_FIELD(WIZ_SERDES_CTRL, 31, 31);
80 static const struct reg_field phy_reset_n = REG_FIELD(WIZ_SERDES_RST, 31, 31);
81 static const struct reg_field phy_en_refclk = REG_FIELD(WIZ_SERDES_RST, 30, 30);
82 static const struct reg_field pll1_refclk_mux_sel =
84 static const struct reg_field pll0_refclk_mux_sel =
86 static const struct reg_field refclk_dig_sel_16g =
88 static const struct reg_field refclk_dig_sel_10g =
90 static const struct reg_field pma_cmn_refclk_int_mode =
92 static const struct reg_field pma_cmn_refclk_mode =
94 static const struct reg_field pma_cmn_refclk_dig_div =
[all …]
Dphy-gmii-sel.c50 const struct reg_field (*regfields)[PHY_GMII_SEL_LAST];
149 struct reg_field phy_gmii_sel_fields_am33xx[][PHY_GMII_SEL_LAST] = {
171 struct reg_field phy_gmii_sel_fields_dra7[][PHY_GMII_SEL_LAST] = {
194 struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = {
284 const struct reg_field *fields; in phy_gmii_init_phy()
286 struct reg_field field; in phy_gmii_init_phy()
/linux-6.1.9/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;
/linux-6.1.9/drivers/clk/mstar/
Dclk-msc313-mpll.c22 static const struct reg_field config1_loop_div_first = REG_FIELD(REG_CONFIG1, 8, 9);
23 static const struct reg_field config1_input_div_first = REG_FIELD(REG_CONFIG1, 4, 5);
24 static const struct reg_field config2_output_div_first = REG_FIELD(REG_CONFIG2, 12, 13);
25 static const struct reg_field config2_loop_div_second = REG_FIELD(REG_CONFIG2, 0, 7);
/linux-6.1.9/drivers/reset/sti/
Dreset-syscfg.h24 struct reg_field reset;
25 struct reg_field ack;
/linux-6.1.9/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.c342 static const struct reg_field apds9960_reg_field_int_als =
345 static const struct reg_field apds9960_reg_field_int_ges =
348 static const struct reg_field apds9960_reg_field_int_pxs =
351 static const struct reg_field apds9960_reg_field_enable_als =
354 static const struct reg_field apds9960_reg_field_enable_ges =
357 static const struct reg_field apds9960_reg_field_enable_pxs =
Dltr501.c75 static const struct reg_field reg_field_it =
77 static const struct reg_field reg_field_als_intr =
79 static const struct reg_field reg_field_ps_intr =
81 static const struct reg_field reg_field_als_rate =
83 static const struct reg_field reg_field_ps_rate =
85 static const struct reg_field reg_field_als_prst =
87 static const struct reg_field reg_field_ps_prst =
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_reg.h45 #define FD(reg_field) (REGS)->shift.reg_field, (REGS)->mask.reg_field argument
/linux-6.1.9/sound/soc/meson/
Daxg-fifo.h12 struct reg_field;
76 struct reg_field field_threshold;
Dg12a-toacodec.c54 struct reg_field field_dat_sel;
55 struct reg_field field_lrclk_sel;
56 struct reg_field field_bclk_sel;
/linux-6.1.9/drivers/phy/cadence/
Dphy-cadence-sierra.c221 static const struct reg_field macro_id_type =
223 static const struct reg_field phy_pll_cfg_1 =
225 static const struct reg_field pma_cmn_ready =
227 static const struct reg_field pllctrl_lock =
229 static const struct reg_field phy_iso_link_ctrl_1 =
231 static const struct reg_field cmn_plllc_clk1outdiv_preg =
233 static const struct reg_field cmn_plllc_clk1_en_preg =
248 struct reg_field pfdclk_sel_preg;
249 struct reg_field plllc1en_field;
250 struct reg_field termen_field;
[all …]
/linux-6.1.9/include/linux/
Dregmap.h1278 struct reg_field { struct
1301 struct reg_field reg_field); argument
1305 struct regmap *regmap, struct reg_field reg_field);
1310 const struct reg_field *reg_field,
1315 const struct reg_field *reg_field,
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-core.c183 static const struct reg_field isp1760_hc_reg_fields[] = {
258 static const struct reg_field isp1763_hc_reg_fields[] = {
371 static const struct reg_field isp1761_dc_reg_fields[] = {
426 static const struct reg_field isp1763_dc_reg_fields[] = {
485 const struct reg_field *hc_reg_fields; in isp1760_register()
487 const struct reg_field *dc_reg_fields; in isp1760_register()
/linux-6.1.9/drivers/base/regmap/
Dregmap.c1294 struct regmap *regmap, struct reg_field reg_field) in regmap_field_init() argument
1297 rm_field->reg = reg_field.reg; in regmap_field_init()
1298 rm_field->shift = reg_field.lsb; in regmap_field_init()
1299 rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); in regmap_field_init()
1303 rm_field->id_size = reg_field.id_size; in regmap_field_init()
1304 rm_field->id_offset = reg_field.id_offset; in regmap_field_init()
1319 struct regmap *regmap, struct reg_field reg_field) in devm_regmap_field_alloc() argument
1326 regmap_field_init(rm_field, regmap, reg_field); in devm_regmap_field_alloc()
1348 const struct reg_field *reg_field, in regmap_field_bulk_alloc() argument
1359 regmap_field_init(&rf[i], regmap, reg_field[i]); in regmap_field_bulk_alloc()
[all …]
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_io.c113 const struct reg_field *const regfields) in ocelot_regfields_init()
119 struct reg_field regfield = {}; in ocelot_regfields_init()
/linux-6.1.9/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;
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-st.c1061 struct reg_field clk1notclk0 = RT_P_CFG0_CLK1NOTCLK0_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1062 struct reg_field delay_0 = RT_P_CFG0_DELAY_0_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1063 struct reg_field delay_1 = RT_P_CFG0_DELAY_1_FIELD(reg); in st_pctl_dt_setup_retime_packed()
1065 struct reg_field invertclk = RT_P_CFG1_INVERTCLK_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1066 struct reg_field retime = RT_P_CFG1_RETIME_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1067 struct reg_field clknotdata = RT_P_CFG1_CLKNOTDATA_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1068 struct reg_field double_edge = RT_P_CFG1_DOUBLE_EDGE_FIELD(reg + 4); in st_pctl_dt_setup_retime_packed()
1101 struct reg_field reg = REG_FIELD(reg_offset, 0, 31); in st_pctl_dt_setup_retime_dedicated()
1128 struct reg_field reg = REG_FIELD((data + bank) * 4, lsb, msb); in st_pc_get_value()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.h26 const struct reg_field *regfields;

123