| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | internal.h | 49 struct regmap { struct 57 regmap_lock lock; argument 58 regmap_unlock unlock; argument 64 struct regmap_format format; /* Buffer format */ argument 65 const struct regmap_bus *bus; argument 66 void *bus_context; 67 const char *name; 69 bool async; 70 spinlock_t async_lock; 71 wait_queue_head_t async_waitq; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/at91/ |
| H A D | clk-main.c | 30 struct regmap *regmap; member 37 struct regmap *regmap; member 46 struct regmap *regmap; member 53 struct regmap *regmap; member 59 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready() 71 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local 94 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local 111 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local 130 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc() 172 static bool clk_main_rc_osc_ready(struct regmap *regmap) in clk_main_rc_osc_ready() [all …]
|
| H A D | dt-compat.c | 33 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local 56 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local 79 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local 123 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local 180 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local 242 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local 268 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local 292 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local 316 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local 373 struct regmap *regmap; in of_at91_clk_master_setup() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/davinci/ |
| H A D | da8xx-cfgchip.c | 34 struct regmap *regmap; member 89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register() 135 struct regmap *regmap) in da8xx_cfgchip_register_tbclk() 158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5() 170 struct regmap *regmap) in of_da8xx_cfgchip_gate_clk_init() 182 struct regmap *regmap) in of_da8xx_tbclksync_init() 188 struct regmap *regmap) in of_da8xx_div4p5ena_init() 205 struct regmap *regmap; member 239 struct regmap *regmap) in da8xx_cfgchip_mux_clk_register() 277 struct regmap *regmap) in da8xx_cfgchip_register_async1() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | w83773g.c | 61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() 74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() 92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault() 105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() 123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() 142 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval() 155 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval() 175 struct regmap *regmap = dev_get_drvdata(dev); in w83773_read() local 200 struct regmap *regmap = dev_get_drvdata(dev); in w83773_write() local 266 struct regmap *regmap; in w83773_probe() local
|
| /OK3568_Linux_fs/kernel/drivers/clk/qcom/ |
| H A D | clk-hfpll.c | 24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local 57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local 93 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local 108 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local 153 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local 191 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local 203 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local 229 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
|
| /OK3568_Linux_fs/kernel/drivers/acpi/pmic/ |
| H A D | intel_pmic_bytcrc.c | 188 static int intel_crc_pmic_get_power(struct regmap *regmap, int reg, in intel_crc_pmic_get_power() 200 static int intel_crc_pmic_update_power(struct regmap *regmap, int reg, in intel_crc_pmic_update_power() 220 static int intel_crc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_crc_pmic_get_raw_temp() 235 static int intel_crc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_crc_pmic_update_aux() 241 static int intel_crc_pmic_get_policy(struct regmap *regmap, in intel_crc_pmic_get_policy() 252 static int intel_crc_pmic_update_policy(struct regmap *regmap, in intel_crc_pmic_update_policy()
|
| H A D | tps68470_pmic.c | 31 struct regmap *regmap; member 217 static int tps68470_pmic_get_power(struct regmap *regmap, int reg, in tps68470_pmic_get_power() 229 static int tps68470_pmic_get_vr_val(struct regmap *regmap, int reg, in tps68470_pmic_get_vr_val() 241 static int tps68470_pmic_get_clk(struct regmap *regmap, int reg, in tps68470_pmic_get_clk() 253 static int tps68470_pmic_get_clk_freq(struct regmap *regmap, int reg, in tps68470_pmic_get_clk_freq() 265 static int ti_tps68470_regmap_update_bits(struct regmap *regmap, int reg, in ti_tps68470_regmap_update_bits() 275 int (*get)(struct regmap *, in tps68470_pmic_common_handler() argument 277 int (*update)(struct regmap *, in tps68470_pmic_common_handler() 283 struct regmap *regmap = opregion->regmap; in tps68470_pmic_common_handler() local
|
| H A D | intel_pmic_bxtwc.c | 273 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power() 285 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power() 298 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp() 324 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux() 351 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy() 364 intel_bxtwc_pmic_update_policy(struct regmap *regmap, in intel_bxtwc_pmic_update_policy()
|
| /OK3568_Linux_fs/kernel/drivers/reset/hisilicon/ |
| H A D | hi6220_reset.c | 41 struct regmap *regmap; member 48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local 60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local 77 struct regmap *regmap = data->regmap; in hi6220_media_assert() local 86 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local 110 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local 129 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local 161 struct regmap *regmap; in hi6220_reset_probe() local
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | zl38060.c | 86 struct regmap *regmap; member 91 static int zl38_fw_issue_command(struct regmap *regmap, u16 cmd) in zl38_fw_issue_command() 113 static int zl38_fw_go(struct regmap *regmap) in zl38_fw_go() 124 static int zl38_fw_enter_boot_mode(struct regmap *regmap) in zl38_fw_enter_boot_mode() 139 zl38_fw_send_data(struct regmap *regmap, u32 addr, const void *data, u16 len) in zl38_fw_send_data() 151 static int zl38_fw_send_xaddr(struct regmap *regmap, const void *data) in zl38_fw_send_xaddr() 162 static int zl38_load_firmware(struct device *dev, struct regmap *regmap) in zl38_load_firmware() 210 static int zl38_software_reset(struct regmap *regmap) in zl38_software_reset() 393 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_set() local 401 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_get() local [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | regmap.h | 30 struct regmap { struct 33 struct regmap_range *range, base_range; argument 40 int regmap_write(struct regmap *map, uint offset, uint val); argument
|
| /OK3568_Linux_fs/u-boot/drivers/pinctrl/rockchip/ |
| H A D | pinctrl-rk3328.c | 128 struct regmap *regmap; in rk3328_set_mux() local 154 int pin_num, struct regmap **regmap, in rk3328_calc_pull_reg_and_bit() 171 struct regmap *regmap; in rk3328_set_pull() local 198 int pin_num, struct regmap **regmap, in rk3328_calc_drv_reg_and_bit() 215 struct regmap *regmap; in rk3328_set_drive() local 243 struct regmap **regmap, in rk3328_calc_schmitt_reg_and_bit() 261 struct regmap *regmap; in rk3328_set_schmitt() local
|
| H A D | pinctrl-rv1108.c | 82 struct regmap *regmap; in rv1108_set_mux() local 109 int pin_num, struct regmap **regmap, in rv1108_calc_pull_reg_and_bit() 134 struct regmap *regmap; in rv1108_set_pull() local 163 int pin_num, struct regmap **regmap, in rv1108_calc_drv_reg_and_bit() 189 struct regmap *regmap; in rv1108_set_drive() local 218 struct regmap **regmap, in rv1108_calc_schmitt_reg_and_bit() 243 struct regmap *regmap; in rv1108_set_schmitt() local
|
| H A D | pinctrl-rk1808.c | 57 struct regmap *regmap; in rk1808_set_mux() local 102 struct regmap **regmap, in rk1808_calc_pull_reg_and_bit() 128 struct regmap **regmap, in rk1808_calc_drv_reg_and_bit() 153 struct regmap **regmap, in rk1808_calc_schmitt_reg_and_bit() 175 struct regmap *regmap; in rk1808_set_pull() local 203 struct regmap *regmap; in rk1808_set_drive() local 220 struct regmap *regmap; in rk1808_set_schmitt() local
|
| H A D | pinctrl-rv1126.c | 147 struct regmap *regmap; in rv1126_set_mux() local 192 int pin_num, struct regmap **regmap, in rv1126_calc_pull_reg_and_bit() 223 struct regmap *regmap; in rv1126_set_pull() local 255 int pin_num, struct regmap **regmap, in rv1126_calc_drv_reg_and_bit() 287 struct regmap *regmap; in rv1126_set_drive() local 309 struct regmap **regmap, in rv1126_calc_schmitt_reg_and_bit() 341 struct regmap *regmap; in rv1126_set_schmitt() local
|
| H A D | pinctrl-rk3568.c | 113 struct regmap *regmap; in rk3568_set_mux() local 145 int pin_num, struct regmap **regmap, in rk3568_calc_pull_reg_and_bit() 172 int pin_num, struct regmap **regmap, in rk3568_calc_drv_reg_and_bit() 199 int pin_num, struct regmap **regmap, in rk3568_calc_schmitt_reg_and_bit() 223 struct regmap *regmap; in rk3568_set_pull() local 251 struct regmap *regmap; in rk3568_set_drive() local 292 struct regmap *regmap; in rk3568_set_schmitt() local
|
| H A D | pinctrl-rk3562.c | 18 struct regmap *regmap; in rk3562_set_mux() local 62 int pin_num, struct regmap **regmap, in rk3562_calc_drv_reg_and_bit() 103 struct regmap *regmap; in rk3562_set_drive() local 128 int pin_num, struct regmap **regmap, in rk3562_calc_pull_reg_and_bit() 169 struct regmap *regmap; in rk3562_set_pull() local 204 struct regmap **regmap, in rk3562_calc_schmitt_reg_and_bit() 247 struct regmap *regmap; in rk3562_set_schmitt() local
|
| H A D | pinctrl-rv1106.c | 18 struct regmap *regmap; in rv1106_set_mux() local 55 int pin_num, struct regmap **regmap, in rv1106_calc_drv_reg_and_bit() 102 struct regmap *regmap; in rv1106_set_drive() local 127 int pin_num, struct regmap **regmap, in rv1106_calc_pull_reg_and_bit() 174 struct regmap *regmap; in rv1106_set_pull() local 209 struct regmap **regmap, in rv1106_calc_schmitt_reg_and_bit() 258 struct regmap *regmap; in rv1106_set_schmitt() local
|
| H A D | pinctrl-rk3528.c | 18 struct regmap *regmap; in rk3528_set_mux() local 51 int pin_num, struct regmap **regmap, in rk3528_calc_drv_reg_and_bit() 92 struct regmap *regmap; in rk3528_set_drive() local 117 int pin_num, struct regmap **regmap, in rk3528_calc_pull_reg_and_bit() 158 struct regmap *regmap; in rk3528_set_pull() local 193 struct regmap **regmap, in rk3528_calc_schmitt_reg_and_bit() 235 struct regmap *regmap; in rk3528_set_schmitt() local
|
| H A D | pinctrl-rk3588.c | 17 struct regmap *regmap; in rk3588_set_mux() local 190 int pin_num, struct regmap **regmap, in rk3588_calc_pull_reg_and_bit() 216 int pin_num, struct regmap **regmap, in rk3588_calc_drv_reg_and_bit() 242 int pin_num, struct regmap **regmap, in rk3588_calc_schmitt_reg_and_bit() 269 struct regmap *regmap; in rk3588_set_pull() local 286 struct regmap *regmap; in rk3588_set_drive() local 303 struct regmap *regmap; in rk3588_set_schmitt() local
|
| H A D | pinctrl-rk3308.c | 457 struct regmap *regmap; in rk3308_set_mux() local 498 int pin_num, struct regmap **regmap, in rk3308_calc_pull_reg_and_bit() 518 int pin_num, struct regmap **regmap, in rk3308_calc_drv_reg_and_bit() 538 struct regmap **regmap, in rk3308_calc_schmitt_reg_and_bit() 556 struct regmap *regmap; in rk3308_set_pull() local 584 struct regmap *regmap; in rk3308_set_drive() local 601 struct regmap *regmap; in rk3308_set_schmitt() local
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-rockchip.c | 1068 struct regmap *regmap; in rockchip_get_mux() local 1184 struct regmap *regmap; in rockchip_set_mux() local 1333 int pin_num, struct regmap **regmap, in px30_calc_pull_reg_and_bit() 1365 int pin_num, struct regmap **regmap, in px30_calc_drv_reg_and_bit() 1398 struct regmap **regmap, in px30_calc_schmitt_reg_and_bit() 1430 int pin_num, struct regmap **regmap, in rv1106_calc_drv_reg_and_bit() 1483 int pin_num, struct regmap **regmap, in rv1106_calc_pull_reg_and_bit() 1537 struct regmap **regmap, in rv1106_calc_schmitt_reg_and_bit() 1588 int pin_num, struct regmap **regmap, in rv1108_calc_pull_reg_and_bit() 1619 int pin_num, struct regmap **regmap, in rv1108_calc_drv_reg_and_bit() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | fsl_spdif.c | 110 struct regmap *regmap; member 152 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local 168 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local 182 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local 237 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local 256 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local 336 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local 371 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local 392 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local 411 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-tps68470.c | 32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() local 54 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get_direction() local 77 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_set() local 92 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_output() local 109 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_input() local
|