Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/
Ddm_services.h96 #define get_reg_field_value(reg_value, reg_name, reg_field)\ argument
99 reg_name ## __ ## reg_field ## _MASK,\
100 reg_name ## __ ## reg_field ## __SHIFT)
112 #define set_reg_field_value(reg_value, value, reg_name, reg_field)\ argument
116 reg_name ## __ ## reg_field ## _MASK,\
117 reg_name ## __ ## reg_field ## __SHIFT)
134 #define FD(reg_field) reg_field ## __SHIFT, \ argument
135 reg_field ## _MASK
165 #define get_reg_field_value_soc15(reg_value, block, reg_num, reg_name, reg_field)\ argument
168 block ## reg_num ## _ ## reg_name ## __ ## reg_field ## _MASK,\
[all …]
/linux-6.6.21/drivers/input/touchscreen/
Diqs7211.c1523 struct iqs7211_reg_field_desc *reg_field; in iqs7211_init_device() local
1555 list_for_each_entry(reg_field, &iqs7211->reg_field_head, list) { in iqs7211_init_device()
1556 u16 new_val = reg_field->val; in iqs7211_init_device()
1558 if (reg_field->mask < U16_MAX) { in iqs7211_init_device()
1561 error = iqs7211_read_word(iqs7211, reg_field->addr, in iqs7211_init_device()
1566 new_val = old_val & ~reg_field->mask; in iqs7211_init_device()
1567 new_val |= reg_field->val; in iqs7211_init_device()
1573 error = iqs7211_write_word(iqs7211, reg_field->addr, new_val); in iqs7211_init_device()
1611 struct iqs7211_reg_field_desc *reg_field; in iqs7211_add_field() local
1616 list_for_each_entry(reg_field, &iqs7211->reg_field_head, list) { in iqs7211_add_field()
[all …]
/linux-6.6.21/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.6.21/drivers/phy/ti/
Dphy-j721e-wiz.c87 static const struct reg_field por_en = REG_FIELD(WIZ_SERDES_CTRL, 31, 31);
88 static const struct reg_field phy_reset_n = REG_FIELD(WIZ_SERDES_RST, 31, 31);
89 static const struct reg_field phy_en_refclk = REG_FIELD(WIZ_SERDES_RST, 30, 30);
90 static const struct reg_field pll1_refclk_mux_sel =
92 static const struct reg_field pll1_refclk_mux_sel_2 =
94 static const struct reg_field pll0_refclk_mux_sel =
96 static const struct reg_field pll0_refclk_mux_sel_2 =
98 static const struct reg_field refclk_dig_sel_16g =
100 static const struct reg_field refclk_dig_sel_10g =
102 static const struct reg_field pma_cmn_refclk_int_mode =
[all …]
Dphy-gmii-sel.c52 const struct reg_field (*regfields)[PHY_GMII_SEL_LAST];
167 struct reg_field phy_gmii_sel_fields_am33xx[][PHY_GMII_SEL_LAST] = {
189 struct reg_field phy_gmii_sel_fields_dra7[][PHY_GMII_SEL_LAST] = {
212 struct reg_field phy_gmii_sel_fields_am654[][PHY_GMII_SEL_LAST] = {
331 const struct reg_field *fields; in phy_gmii_init_phy()
333 struct reg_field field; in phy_gmii_init_phy()
/linux-6.6.21/drivers/net/phy/
Dnxp-c45-tja11xx.c318 const struct nxp_c45_reg_field *reg_field) in nxp_c45_read_reg_field() argument
323 if (reg_field->size == 0) { in nxp_c45_read_reg_field()
328 ret = phy_read_mmd(phydev, reg_field->devad, reg_field->reg); in nxp_c45_read_reg_field()
332 mask = reg_field->size == 1 ? BIT(reg_field->offset) : in nxp_c45_read_reg_field()
333 GENMASK(reg_field->offset + reg_field->size - 1, in nxp_c45_read_reg_field()
334 reg_field->offset); in nxp_c45_read_reg_field()
336 ret >>= reg_field->offset; in nxp_c45_read_reg_field()
342 const struct nxp_c45_reg_field *reg_field, in nxp_c45_write_reg_field() argument
348 if (reg_field->size == 0) { in nxp_c45_write_reg_field()
353 mask = reg_field->size == 1 ? BIT(reg_field->offset) : in nxp_c45_write_reg_field()
[all …]
/linux-6.6.21/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.6.21/drivers/reset/sti/
Dreset-syscfg.h24 struct reg_field reset;
25 struct reg_field ack;
/linux-6.6.21/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.c346 static const struct reg_field apds9960_reg_field_int_als =
349 static const struct reg_field apds9960_reg_field_int_ges =
352 static const struct reg_field apds9960_reg_field_int_pxs =
355 static const struct reg_field apds9960_reg_field_enable_als =
358 static const struct reg_field apds9960_reg_field_enable_ges =
361 static const struct reg_field apds9960_reg_field_enable_pxs =
/linux-6.6.21/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.6.21/drivers/power/supply/
Daxp20x_usb_power.c53 struct reg_field curr_lim_fld;
54 struct reg_field vbus_valid_bit;
55 struct reg_field vbus_mon_bit;
56 struct reg_field usb_bc_en_bit;
57 struct reg_field vbus_disable_bit;
517 struct reg_field fdesc, in axp20x_regmap_field_alloc_optional()
/linux-6.6.21/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.6.21/drivers/phy/cadence/
Dphy-cadence-sierra.c243 static const struct reg_field macro_id_type =
245 static const struct reg_field phy_pll_cfg_1 =
247 static const struct reg_field pma_cmn_ready =
249 static const struct reg_field pllctrl_lock =
251 static const struct reg_field phy_iso_link_ctrl_1 =
253 static const struct reg_field cmn_plllc_clk1outdiv_preg =
255 static const struct reg_field cmn_plllc_clk1_en_preg =
270 struct reg_field pfdclk_sel_preg;
271 struct reg_field plllc1en_field;
272 struct reg_field termen_field;
[all …]
/linux-6.6.21/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.6.21/drivers/soc/qcom/
Dicc-bwmon.c173 const struct reg_field *regmap_fields;
176 const struct reg_field *global_regmap_fields;
194 static const struct reg_field msm8998_bwmon_reg_fields[] = {
241 static const struct reg_field msm8998_bwmon_global_reg_fields[] = {
307 static const struct reg_field sdm845_cpu_bwmon_reg_fields[] = {
376 static const struct reg_field sdm845_llcc_bwmon_reg_fields[] = {
/linux-6.6.21/include/soc/mscc/
Dvsc7514_regs.h15 extern const struct reg_field vsc7514_regfields[REGFIELD_MAX];
/linux-6.6.21/include/linux/
Dregmap.h1334 struct reg_field { struct
1357 struct reg_field reg_field); argument
1361 struct regmap *regmap, struct reg_field reg_field);
1366 const struct reg_field *reg_field,
1371 const struct reg_field *reg_field,
/linux-6.6.21/drivers/base/regmap/
Dregmap.c1200 struct regmap *regmap, struct reg_field reg_field) in regmap_field_init() argument
1203 rm_field->reg = reg_field.reg; in regmap_field_init()
1204 rm_field->shift = reg_field.lsb; in regmap_field_init()
1205 rm_field->mask = GENMASK(reg_field.msb, reg_field.lsb); in regmap_field_init()
1209 rm_field->id_size = reg_field.id_size; in regmap_field_init()
1210 rm_field->id_offset = reg_field.id_offset; in regmap_field_init()
1225 struct regmap *regmap, struct reg_field reg_field) in devm_regmap_field_alloc() argument
1232 regmap_field_init(rm_field, regmap, reg_field); in devm_regmap_field_alloc()
1254 const struct reg_field *reg_field, in regmap_field_bulk_alloc() argument
1265 regmap_field_init(&rf[i], regmap, reg_field[i]); in regmap_field_bulk_alloc()
[all …]
/linux-6.6.21/drivers/thermal/st/
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()
/linux-6.6.21/sound/soc/jz4740/
Djz4740-i2s.c69 struct reg_field field_rx_fifo_thresh;
70 struct reg_field field_tx_fifo_thresh;
71 struct reg_field field_i2sdiv_capture;
72 struct reg_field field_i2sdiv_playback;
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_io.c117 const struct reg_field *const regfields) in ocelot_regfields_init()
123 struct reg_field regfield = {}; in ocelot_regfields_init()

1234