/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-core.c | 53 static void etm_os_unlock(struct etm_drvdata *drvdata) in etm_os_unlock() 61 static void etm_set_pwrdwn(struct etm_drvdata *drvdata) in etm_set_pwrdwn() 73 static void etm_clr_pwrdwn(struct etm_drvdata *drvdata) in etm_clr_pwrdwn() 85 static void etm_set_pwrup(struct etm_drvdata *drvdata) in etm_set_pwrup() 97 static void etm_clr_pwrup(struct etm_drvdata *drvdata) in etm_clr_pwrup() 154 static void etm_set_prog(struct etm_drvdata *drvdata) in etm_set_prog() 173 static void etm_clr_prog(struct etm_drvdata *drvdata) in etm_clr_prog() 438 struct etm_drvdata *drvdata; member 589 struct etm_drvdata *drvdata = info; in etm_disable_hw() local 772 struct etm_drvdata *drvdata = info; in etm_init_arch_data() local [all …]
|
H A D | coresight-etm4x-core.c | 198 static void etm4_os_unlock(struct etmv4_drvdata *drvdata) in etm4_os_unlock() 204 static void etm4_os_lock(struct etmv4_drvdata *drvdata) in etm4_os_lock() 213 static void etm4_cs_lock(struct etmv4_drvdata *drvdata, in etm4_cs_lock() 221 static void etm4_cs_unlock(struct etmv4_drvdata *drvdata, in etm4_cs_unlock() 260 struct etmv4_drvdata *drvdata; member 402 static int etm4_enable_hw(struct etmv4_drvdata *drvdata) in etm4_enable_hw() 868 struct etmv4_drvdata *drvdata = info; in etm4_disable_hw() local 1161 struct etmv4_drvdata *drvdata; in etm4_init_arch_data() local 1915 struct etmv4_drvdata *drvdata; in etm4_cpu_pm_notify() local 2126 struct etmv4_drvdata *drvdata; in etm4_probe_amba() local [all …]
|
H A D | ultrasoc-smb.c | 24 static bool smb_buffer_not_empty(struct smb_drv_data *drvdata) in smb_buffer_not_empty() 31 static void smb_update_data_size(struct smb_drv_data *drvdata) in smb_update_data_size() 67 static void smb_reset_buffer(struct smb_drv_data *drvdata) in smb_reset_buffer() 98 struct smb_drv_data *drvdata = container_of(file->private_data, in smb_open() local 181 struct smb_drv_data *drvdata = dev_get_drvdata(dev->parent); in buf_size_show() local 205 static void smb_enable_hw(struct smb_drv_data *drvdata) in smb_enable_hw() 210 static void smb_disable_hw(struct smb_drv_data *drvdata) in smb_disable_hw() 477 static void smb_init_hw(struct smb_drv_data *drvdata) in smb_init_hw() 489 struct smb_drv_data *drvdata) in smb_register_sink() 564 struct smb_drv_data *drvdata; in smb_probe() local [all …]
|
H A D | coresight-tmc-core.c | 34 int tmc_wait_for_tmcready(struct tmc_drvdata *drvdata) in tmc_wait_for_tmcready() 48 void tmc_flush_and_stop(struct tmc_drvdata *drvdata) in tmc_flush_and_stop() 68 void tmc_enable_hw(struct tmc_drvdata *drvdata) in tmc_enable_hw() 73 void tmc_disable_hw(struct tmc_drvdata *drvdata) in tmc_disable_hw() 78 u32 tmc_get_memwidth_mask(struct tmc_drvdata *drvdata) in tmc_get_memwidth_mask() 104 static int tmc_read_prepare(struct tmc_drvdata *drvdata) in tmc_read_prepare() 126 static int tmc_read_unprepare(struct tmc_drvdata *drvdata) in tmc_read_unprepare() 277 struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent); in trigger_cntr_show() local 370 struct tmc_drvdata *drvdata = dev_get_drvdata(parent); in tmc_etr_setup_caps() local 439 struct tmc_drvdata *drvdata; in tmc_probe() local [all …]
|
H A D | coresight-etm4x-sysfs.c | 62 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_pe_cmp_show() local 74 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_addr_cmp_show() local 86 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_cntr_show() local 98 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_ext_inp_show() local 110 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in numcidc_show() local 122 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in numvmidc_show() local 134 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nrseqstate_show() local 146 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_resource_show() local 158 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_ss_cmp_show() local 171 struct etmv4_drvdata *drvdata = dev_get_drvdata(dev->parent); in reset_store() local [all …]
|
H A D | coresight-etm3x-sysfs.c | 17 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_addr_cmp_show() local 27 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_cntr_show() local 38 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in nr_ctxid_cmp_show() local 49 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in etmsr_show() local 71 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in reset_store() local 100 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in mode_show() local 113 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in mode_store() local 185 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in trigger_event_show() local 198 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in trigger_event_store() local 215 struct etm_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_event_show() local [all …]
|
H A D | coresight-cti-core.c | 61 void cti_write_all_hw_regs(struct cti_drvdata *drvdata) in cti_write_all_hw_regs() 90 static int cti_enable_hw(struct cti_drvdata *drvdata) in cti_enable_hw() 124 static void cti_cpuhp_enable_hw(struct cti_drvdata *drvdata) in cti_cpuhp_enable_hw() 150 static int cti_disable_hw(struct cti_drvdata *drvdata) in cti_disable_hw() 218 struct cti_drvdata *drvdata) in cti_set_default_config() 665 struct cti_drvdata *drvdata; in cti_cpu_pm_notify() local 730 struct cti_drvdata *drvdata = cti_cpu_drvdata[cpu]; in cti_starting_cpu() local 741 struct cti_drvdata *drvdata = cti_cpu_drvdata[cpu]; in cti_dying_cpu() local 754 static int cti_pm_setup(struct cti_drvdata *drvdata) in cti_pm_setup() 789 static void cti_pm_release(struct cti_drvdata *drvdata) in cti_pm_release() [all …]
|
H A D | coresight-tpdm.c | 23 static void tpdm_enable_dsb(struct tpdm_drvdata *drvdata) in tpdm_enable_dsb() 34 static void __tpdm_enable(struct tpdm_drvdata *drvdata) in __tpdm_enable() 48 struct tpdm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpdm_enable() local 64 static void tpdm_disable_dsb(struct tpdm_drvdata *drvdata) in tpdm_disable_dsb() 75 static void __tpdm_disable(struct tpdm_drvdata *drvdata) in __tpdm_disable() 89 struct tpdm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpdm_disable() local 113 static void tpdm_init_default_data(struct tpdm_drvdata *drvdata) in tpdm_init_default_data() 135 struct tpdm_drvdata *drvdata = dev_get_drvdata(dev->parent); in integration_test_store() local 182 struct tpdm_drvdata *drvdata; in tpdm_probe() local 228 struct tpdm_drvdata *drvdata = dev_get_drvdata(&adev->dev); in tpdm_remove() local
|
H A D | coresight-tpda.c | 25 static void tpda_enable_pre_port(struct tpda_drvdata *drvdata) in tpda_enable_pre_port() 35 static void tpda_enable_port(struct tpda_drvdata *drvdata, int port) in tpda_enable_port() 45 static void __tpda_enable(struct tpda_drvdata *drvdata, int port) in __tpda_enable() 61 struct tpda_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpda_enable() local 74 static void __tpda_disable(struct tpda_drvdata *drvdata, int port) in __tpda_disable() 91 struct tpda_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpda_disable() local 111 static int tpda_init_default_data(struct tpda_drvdata *drvdata) in tpda_init_default_data() 134 struct tpda_drvdata *drvdata; in tpda_probe() local 182 struct tpda_drvdata *drvdata = dev_get_drvdata(&adev->dev); in tpda_remove() local
|
H A D | coresight-tmc-etf.c | 19 static int __tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_enable_hw() 47 static int tmc_etb_enable_hw(struct tmc_drvdata *drvdata) in tmc_etb_enable_hw() 60 static void tmc_etb_dump_hw(struct tmc_drvdata *drvdata) in tmc_etb_dump_hw() 83 static void __tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in __tmc_etb_disable_hw() 99 static void tmc_etb_disable_hw(struct tmc_drvdata *drvdata) in tmc_etb_disable_hw() 105 static int __tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in __tmc_etf_enable_hw() 130 static int tmc_etf_enable_hw(struct tmc_drvdata *drvdata) in tmc_etf_enable_hw() 143 static void tmc_etf_disable_hw(struct tmc_drvdata *drvdata) in tmc_etf_disable_hw() 160 ssize_t tmc_etb_get_sysfs_trace(struct tmc_drvdata *drvdata, in tmc_etb_get_sysfs_trace() 613 int tmc_read_prepare_etb(struct tmc_drvdata *drvdata) in tmc_read_prepare_etb() [all …]
|
H A D | coresight-stm.c | 86 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \ argument 176 static void stm_enable_hw(struct stm_drvdata *drvdata) in stm_enable_hw() 241 static void stm_disable_hw(struct stm_drvdata *drvdata) in stm_disable_hw() 332 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_link() local 343 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_unlink() local 355 struct stm_drvdata *drvdata = container_of(stm_data, in stm_mmio_addr() local 374 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_set_options() local 407 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_packet() local 813 struct stm_drvdata *drvdata; in stm_probe() local 927 struct stm_drvdata *drvdata = dev_get_drvdata(dev); in stm_runtime_suspend() local [all …]
|
H A D | coresight-etb10.c | 105 static void __etb_enable_hw(struct etb_drvdata *drvdata) in __etb_enable_hw() 133 static int etb_enable_hw(struct etb_drvdata *drvdata) in etb_enable_hw() 252 static void __etb_disable_hw(struct etb_drvdata *drvdata) in __etb_disable_hw() 284 static void etb_dump_hw(struct etb_drvdata *drvdata) in etb_dump_hw() 345 static void etb_disable_hw(struct etb_drvdata *drvdata) in etb_disable_hw() 587 static void etb_dump(struct etb_drvdata *drvdata) in etb_dump() 674 struct etb_drvdata *drvdata = dev_get_drvdata(dev->parent); in trigger_cntr_show() local 723 struct etb_drvdata *drvdata; in etb_probe() local 798 struct etb_drvdata *drvdata = dev_get_drvdata(&adev->dev); in etb_remove() local 812 struct etb_drvdata *drvdata = dev_get_drvdata(dev); in etb_runtime_suspend() local [all …]
|
H A D | coresight-funnel.c | 82 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_enable() local 103 static void dynamic_funnel_disable_hw(struct funnel_drvdata *drvdata, in dynamic_funnel_disable_hw() 126 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_disable() local 155 struct funnel_drvdata *drvdata = dev_get_drvdata(dev->parent); in priority_show() local 167 struct funnel_drvdata *drvdata = dev_get_drvdata(dev->parent); in priority_store() local 178 static u32 get_funnel_ctrl_hw(struct funnel_drvdata *drvdata) in get_funnel_ctrl_hw() 193 struct funnel_drvdata *drvdata = dev_get_drvdata(dev->parent); in funnel_ctrl_show() local 217 struct funnel_drvdata *drvdata; in funnel_probe() local 286 struct funnel_drvdata *drvdata = dev_get_drvdata(dev); in funnel_remove() local 296 struct funnel_drvdata *drvdata = dev_get_drvdata(dev); in funnel_runtime_suspend() local [all …]
|
/openbmc/linux/drivers/char/xilinx_hwicap/ |
H A D | fifo_icap.c | 93 static inline void fifo_icap_fifo_write(struct hwicap_drvdata *drvdata, in fifo_icap_fifo_write() 106 static inline u32 fifo_icap_fifo_read(struct hwicap_drvdata *drvdata) in fifo_icap_fifo_read() 128 static inline void fifo_icap_start_config(struct hwicap_drvdata *drvdata) in fifo_icap_start_config() 160 u32 fifo_icap_get_status(struct hwicap_drvdata *drvdata) in fifo_icap_get_status() 171 static inline u32 fifo_icap_busy(struct hwicap_drvdata *drvdata) in fifo_icap_busy() 184 struct hwicap_drvdata *drvdata) in fifo_icap_write_fifo_vacancy() 196 struct hwicap_drvdata *drvdata) in fifo_icap_read_fifo_occupancy() 213 int fifo_icap_set_configuration(struct hwicap_drvdata *drvdata, in fifo_icap_set_configuration() 289 int fifo_icap_get_configuration(struct hwicap_drvdata *drvdata, in fifo_icap_get_configuration() 357 void fifo_icap_reset(struct hwicap_drvdata *drvdata) in fifo_icap_reset() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | nzxt-smart2.c | 173 struct drvdata { struct 174 struct hid_device *hid; 198 * in drvdata must be updated, and only then new output reports can be argument 221 static void handle_fan_config_report(struct drvdata *drvdata, void *data, int size) in handle_fan_config_report() 341 struct drvdata *drvdata = dev_get_drvdata(dev); in nzxt_smart2_hwmon_read() local 560 static int set_update_interval(struct drvdata *drvdata, long val) in set_update_interval() 603 struct drvdata *drvdata = dev_get_drvdata(dev); in nzxt_smart2_hwmon_write() local 691 struct drvdata *drvdata = hid_get_drvdata(hdev); in nzxt_smart2_hid_raw_event() local 709 struct drvdata *drvdata = hid_get_drvdata(hdev); in nzxt_smart2_hid_reset_resume() local 732 struct drvdata *drvdata; in nzxt_smart2_hid_probe() local [all …]
|
/openbmc/linux/sound/drivers/ |
H A D | serial-generic.c | 56 static void snd_serial_generic_tx_wakeup(struct snd_serial_generic *drvdata) in snd_serial_generic_tx_wakeup() 98 struct snd_serial_generic *drvdata = serdev_device_get_drvdata(serdev); in snd_serial_generic_write_wakeup() local 107 struct snd_serial_generic *drvdata = serdev_device_get_drvdata(serdev); in snd_serial_generic_receive_buf() local 148 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_open() local 164 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_close() local 182 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_trigger() local 192 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_open() local 210 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_close() local 263 struct snd_serial_generic *drvdata) in snd_serial_generic_parse_dt() 287 static int snd_serial_generic_rmidi(struct snd_serial_generic *drvdata, in snd_serial_generic_rmidi() [all …]
|
/openbmc/linux/sound/soc/ux500/ |
H A D | ux500_msp_dai.c | 30 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_multichan() local 63 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_frameper() local 127 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_framing() local 302 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_msp_config() local 384 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_startup() local 425 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_shutdown() local 460 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_prepare() local 500 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_hw_params() local 539 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_set_dai_fmt() local 582 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in ux500_msp_dai_set_tdm_slot() local [all …]
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | cctrng.c | 107 static int cc_trng_pm_init(struct cctrng_drvdata *drvdata) in cc_trng_pm_init() 118 static void cc_trng_pm_go(struct cctrng_drvdata *drvdata) in cc_trng_pm_go() 126 static void cc_trng_pm_fini(struct cctrng_drvdata *drvdata) in cc_trng_pm_fini() 163 static int cc_trng_change_rosc(struct cctrng_drvdata *drvdata) in cc_trng_change_rosc() 275 static void cc_trng_hw_trigger(struct cctrng_drvdata *drvdata) in cc_trng_hw_trigger() 320 struct cctrng_drvdata *drvdata = in cc_trng_compwork_handler() local 451 struct cctrng_drvdata *drvdata = in cc_trng_startwork_handler() local 460 struct cctrng_drvdata *drvdata; in cctrng_probe() local 565 struct cctrng_drvdata *drvdata = platform_get_drvdata(pdev); in cctrng_remove() local 579 struct cctrng_drvdata *drvdata = dev_get_drvdata(dev); in cctrng_suspend() local [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | lpass-cpu.c | 46 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_cpu_init_i2sctl_bitfields() local 490 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_cpu_regmap_writeable() local 532 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_cpu_regmap_readable() local 580 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_cpu_regmap_volatile() local 615 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_hdmi_init_bitfields() local 693 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_hdmi_regmap_writeable() local 738 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_hdmi_regmap_readable() local 787 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_hdmi_regmap_volatile() local 826 struct lpass_data *drvdata = dev_get_drvdata(dev); in __lpass_rxtx_regmap_accessible() local 892 struct lpass_data *drvdata = dev_get_drvdata(dev); in lpass_rxtx_regmap_volatile() local [all …]
|
H A D | lpass-sc7280.c | 110 static int sc7280_lpass_alloc_dma_channel(struct lpass_data *drvdata, in sc7280_lpass_alloc_dma_channel() 173 static int sc7280_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id) in sc7280_lpass_free_dma_channel() 198 struct lpass_data *drvdata = platform_get_drvdata(pdev); in sc7280_lpass_init() local 230 struct lpass_data *drvdata = platform_get_drvdata(pdev); in sc7280_lpass_exit() local 238 struct lpass_data *drvdata = dev_get_drvdata(dev); in sc7280_lpass_dev_resume() local 245 struct lpass_data *drvdata = dev_get_drvdata(dev); in sc7280_lpass_dev_suspend() local
|
H A D | lpass-sc7180.c | 76 static int sc7180_lpass_alloc_dma_channel(struct lpass_data *drvdata, in sc7180_lpass_alloc_dma_channel() 113 static int sc7180_lpass_free_dma_channel(struct lpass_data *drvdata, int chan, unsigned int dai_id) in sc7180_lpass_free_dma_channel() 125 struct lpass_data *drvdata = platform_get_drvdata(pdev); in sc7180_lpass_init() local 157 struct lpass_data *drvdata = platform_get_drvdata(pdev); in sc7180_lpass_exit() local 165 struct lpass_data *drvdata = dev_get_drvdata(dev); in sc7180_lpass_dev_resume() local 172 struct lpass_data *drvdata = dev_get_drvdata(dev); in sc7180_lpass_dev_suspend() local
|
/openbmc/linux/drivers/watchdog/ |
H A D | gxp-wdt.c | 29 static void gxp_wdt_enable_reload(struct gxp_wdt *drvdata) in gxp_wdt_enable_reload() 40 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_wdt_start() local 49 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_wdt_stop() local 61 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_wdt_set_timeout() local 73 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_wdt_get_timeleft() local 81 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_wdt_ping() local 90 struct gxp_wdt *drvdata = watchdog_get_drvdata(wdd); in gxp_restart() local 116 struct gxp_wdt *drvdata; in gxp_wdt_probe() local
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_fips.c | 16 struct cc_drvdata *drvdata; member 22 static bool cc_get_tee_fips_status(struct cc_drvdata *drvdata) in cc_get_tee_fips_status() 40 void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool status) in cc_set_ree_fips_status() 58 struct cc_drvdata *drvdata = fips_h->drvdata; in cc_ree_fips_failure() local 67 void cc_fips_fini(struct cc_drvdata *drvdata) in cc_fips_fini() 81 void fips_handler(struct cc_drvdata *drvdata) in fips_handler() 114 struct cc_drvdata *drvdata = (struct cc_drvdata *)devarg; in fips_dsr() local
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-gxp.c | 96 static void gxp_i2c_start(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_start() 117 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(adapter); in gxp_i2c_master_xfer() local 153 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(slave->adapter); in gxp_i2c_reg_slave() local 195 static void gxp_i2c_stop(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_stop() 203 static void gxp_i2c_restart(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_restart() 225 static void gxp_i2c_chk_addr_ack(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_chk_addr_ack() 277 static void gxp_i2c_ack_data(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_ack_data() 316 static void gxp_i2c_chk_data_ack(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_chk_data_ack() 490 static void gxp_i2c_init(struct gxp_i2c_drvdata *drvdata) in gxp_i2c_init() 510 struct gxp_i2c_drvdata *drvdata; in gxp_i2c_probe() local [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | pwm-regulator.c | 56 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_init_state() local 74 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_get_voltage_sel() local 85 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_set_voltage_sel() local 107 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_list_voltage() local 117 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_enable() local 126 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_disable() local 137 struct pwm_regulator_data *drvdata = rdev_get_drvdata(dev); in pwm_regulator_is_enabled() local 147 struct pwm_regulator_data *drvdata = rdev_get_drvdata(rdev); in pwm_regulator_get_voltage() local 257 struct pwm_regulator_data *drvdata) in pwm_regulator_init_table() 294 struct pwm_regulator_data *drvdata) in pwm_regulator_init_continuous() [all …]
|