Home
last modified time | relevance | path

Searched defs:drv_data (Results 1 – 25 of 42) sorted by relevance

12

/drivers/spi/
Dspi-pxa2xx.c78 static bool is_lpss_ssp(const struct driver_data *drv_data) in is_lpss_ssp()
87 static u32 __lpss_ssp_read_priv(struct driver_data *drv_data, unsigned offset) in __lpss_ssp_read_priv()
93 static void __lpss_ssp_write_priv(struct driver_data *drv_data, in __lpss_ssp_write_priv()
107 static void lpss_ssp_setup(struct driver_data *drv_data) in lpss_ssp_setup()
159 static void lpss_ssp_cs_control(struct driver_data *drv_data, bool enable) in lpss_ssp_cs_control()
174 static void cs_assert(struct driver_data *drv_data) in cs_assert()
196 static void cs_deassert(struct driver_data *drv_data) in cs_deassert()
216 int pxa2xx_spi_flush(struct driver_data *drv_data) in pxa2xx_spi_flush()
232 static int null_writer(struct driver_data *drv_data) in null_writer()
247 static int null_reader(struct driver_data *drv_data) in null_reader()
[all …]
Dspi-adi-v3.c111 static void adi_spi_enable(struct adi_spi_master *drv_data) in adi_spi_enable()
120 static void adi_spi_disable(struct adi_spi_master *drv_data) in adi_spi_disable()
139 static int adi_spi_flush(struct adi_spi_master *drv_data) in adi_spi_flush()
153 static void adi_spi_cs_active(struct adi_spi_master *drv_data, struct adi_spi_device *chip) in adi_spi_cs_active()
165 static void adi_spi_cs_deactive(struct adi_spi_master *drv_data, in adi_spi_cs_deactive()
183 static inline void adi_spi_cs_enable(struct adi_spi_master *drv_data, in adi_spi_cs_enable()
194 static inline void adi_spi_cs_disable(struct adi_spi_master *drv_data, in adi_spi_cs_disable()
206 static void adi_spi_restore_state(struct adi_spi_master *drv_data) in adi_spi_restore_state()
229 static inline void dummy_read(struct adi_spi_master *drv_data) in dummy_read()
235 static void adi_spi_u8_write(struct adi_spi_master *drv_data) in adi_spi_u8_write()
[all …]
Dspi-bfin-sport.c110 bfin_sport_spi_enable(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_enable()
118 bfin_sport_spi_disable(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_disable()
160 bfin_sport_spi_stat_poll_complete(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_stat_poll_complete()
170 bfin_sport_spi_u8_writer(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u8_writer()
182 bfin_sport_spi_u8_reader(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u8_reader()
194 bfin_sport_spi_u8_duplex(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u8_duplex()
210 bfin_sport_spi_u16_writer(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u16_writer()
222 bfin_sport_spi_u16_reader(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u16_reader()
234 bfin_sport_spi_u16_duplex(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_u16_duplex()
251 bfin_sport_spi_restore_state(struct bfin_sport_spi_master_data *drv_data) in bfin_sport_spi_restore_state()
[all …]
Dspi-bfin5xx.c126 static void bfin_spi_enable(struct bfin_spi_master_data *drv_data) in bfin_spi_enable()
131 static void bfin_spi_disable(struct bfin_spi_master_data *drv_data) in bfin_spi_disable()
151 static int bfin_spi_flush(struct bfin_spi_master_data *drv_data) in bfin_spi_flush()
165 static void bfin_spi_cs_active(struct bfin_spi_master_data *drv_data, struct bfin_spi_slave_data *c… in bfin_spi_cs_active()
173 static void bfin_spi_cs_deactive(struct bfin_spi_master_data *drv_data, in bfin_spi_cs_deactive()
187 static inline void bfin_spi_cs_enable(struct bfin_spi_master_data *drv_data, in bfin_spi_cs_enable()
194 static inline void bfin_spi_cs_disable(struct bfin_spi_master_data *drv_data, in bfin_spi_cs_disable()
202 static void bfin_spi_restore_state(struct bfin_spi_master_data *drv_data) in bfin_spi_restore_state()
222 static inline void bfin_spi_dummy_read(struct bfin_spi_master_data *drv_data) in bfin_spi_dummy_read()
227 static void bfin_spi_u8_writer(struct bfin_spi_master_data *drv_data) in bfin_spi_u8_writer()
[all …]
Dspi-pxa2xx-dma.c23 static int pxa2xx_spi_map_dma_buffer(struct driver_data *drv_data, in pxa2xx_spi_map_dma_buffer()
74 static void pxa2xx_spi_unmap_dma_buffer(struct driver_data *drv_data, in pxa2xx_spi_unmap_dma_buffer()
91 static void pxa2xx_spi_unmap_dma_buffers(struct driver_data *drv_data) in pxa2xx_spi_unmap_dma_buffers()
102 static void pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data, in pxa2xx_spi_dma_transfer_complete()
157 pxa2xx_spi_dma_prepare_one(struct driver_data *drv_data, in pxa2xx_spi_dma_prepare_one()
215 int pxa2xx_spi_map_dma_buffers(struct driver_data *drv_data) in pxa2xx_spi_map_dma_buffers()
246 irqreturn_t pxa2xx_spi_dma_transfer(struct driver_data *drv_data) in pxa2xx_spi_dma_transfer()
264 int pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst) in pxa2xx_spi_dma_prepare()
291 void pxa2xx_spi_dma_start(struct driver_data *drv_data) in pxa2xx_spi_dma_start()
299 int pxa2xx_spi_dma_setup(struct driver_data *drv_data) in pxa2xx_spi_dma_setup()
[all …]
Dspi-pxa2xx-pxadma.c51 int pxa2xx_spi_map_dma_buffers(struct driver_data *drv_data) in pxa2xx_spi_map_dma_buffers()
103 static void pxa2xx_spi_unmap_dma_buffers(struct driver_data *drv_data) in pxa2xx_spi_unmap_dma_buffers()
141 static void pxa2xx_spi_dma_error_stop(struct driver_data *drv_data, in pxa2xx_spi_dma_error_stop()
164 static void pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data) in pxa2xx_spi_dma_transfer_complete()
211 struct driver_data *drv_data = data; in pxa2xx_spi_dma_handler() local
240 irqreturn_t pxa2xx_spi_dma_transfer(struct driver_data *drv_data) in pxa2xx_spi_dma_transfer()
276 int pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst) in pxa2xx_spi_dma_prepare()
333 void pxa2xx_spi_dma_start(struct driver_data *drv_data) in pxa2xx_spi_dma_start()
339 int pxa2xx_spi_dma_setup(struct driver_data *drv_data) in pxa2xx_spi_dma_setup()
371 void pxa2xx_spi_dma_release(struct driver_data *drv_data) in pxa2xx_spi_dma_release()
[all …]
Dspi-pxa2xx.h151 static inline void write_SSSR_CS(struct driver_data *drv_data, u32 val) in write_SSSR_CS()
197 static inline int pxa2xx_spi_map_dma_buffers(struct driver_data *drv_data) in pxa2xx_spi_map_dma_buffers()
202 static inline void pxa2xx_spi_dma_prepare(struct driver_data *drv_data, in pxa2xx_spi_dma_prepare()
204 static inline void pxa2xx_spi_dma_start(struct driver_data *drv_data) {} in pxa2xx_spi_dma_start()
205 static inline int pxa2xx_spi_dma_setup(struct driver_data *drv_data) in pxa2xx_spi_dma_setup()
209 static inline void pxa2xx_spi_dma_release(struct driver_data *drv_data) {} in pxa2xx_spi_dma_release()
210 static inline void pxa2xx_spi_dma_resume(struct driver_data *drv_data) {} in pxa2xx_spi_dma_resume()
/drivers/nfc/nfcmrvl/
Dusb.c55 static int nfcmrvl_inc_tx(struct nfcmrvl_usb_drv_data *drv_data) in nfcmrvl_inc_tx()
71 struct nfcmrvl_usb_drv_data *drv_data = urb->context; in nfcmrvl_bulk_complete() local
105 nfcmrvl_submit_bulk_urb(struct nfcmrvl_usb_drv_data *drv_data, gfp_t mem_flags) in nfcmrvl_submit_bulk_urb()
154 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; in nfcmrvl_tx_complete() local
169 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; in nfcmrvl_usb_nci_open() local
193 static void nfcmrvl_usb_stop_traffic(struct nfcmrvl_usb_drv_data *drv_data) in nfcmrvl_usb_stop_traffic()
200 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; in nfcmrvl_usb_nci_close() local
224 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; in nfcmrvl_usb_nci_send() local
276 struct nfcmrvl_usb_drv_data *drv_data = in nfcmrvl_waker() local
291 struct nfcmrvl_usb_drv_data *drv_data; in nfcmrvl_probe() local
[all …]
Dnfcmrvl.h33 void *drv_data; member
Dmain.c90 struct nfcmrvl_private *nfcmrvl_nci_register_dev(void *drv_data, in nfcmrvl_nci_register_dev()
/drivers/ata/
Dpata_ep93xx.c261 static u16 ep93xx_pata_read(struct ep93xx_pata_data *drv_data, in ep93xx_pata_read()
282 static u16 ep93xx_pata_read_reg(struct ep93xx_pata_data *drv_data, in ep93xx_pata_read_reg()
289 static u16 ep93xx_pata_read_data(struct ep93xx_pata_data *drv_data, in ep93xx_pata_read_data()
295 static void ep93xx_pata_write(struct ep93xx_pata_data *drv_data, in ep93xx_pata_write()
316 static void ep93xx_pata_write_reg(struct ep93xx_pata_data *drv_data, in ep93xx_pata_write_reg()
323 static void ep93xx_pata_write_data(struct ep93xx_pata_data *drv_data, in ep93xx_pata_write_data()
332 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_set_piomode() local
359 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_check_status() local
366 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_check_altstatus() local
375 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_tf_load() local
[all …]
Dahci_st.c58 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); in st_ahci_deassert_resets() local
94 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); in st_ahci_host_stop() local
108 struct st_ahci_drv_data *drv_data = platform_get_drvdata(pdev); in st_ahci_probe_resets() local
145 struct st_ahci_drv_data *drv_data; in st_ahci_probe() local
181 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); in st_ahci_suspend() local
204 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); in st_ahci_resume() local
/drivers/watchdog/
Dmenf21bmc_wdt.c64 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); in menf21bmc_wdt_start() local
71 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); in menf21bmc_wdt_stop() local
81 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); in menf21bmc_wdt_settimeout() local
100 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); in menf21bmc_wdt_ping() local
121 struct menf21bmc_wdt *drv_data; in menf21bmc_wdt_probe() local
170 struct menf21bmc_wdt *drv_data = platform_get_drvdata(pdev); in menf21bmc_wdt_remove() local
182 struct menf21bmc_wdt *drv_data = platform_get_drvdata(pdev); in menf21bmc_wdt_shutdown() local
/drivers/i2c/busses/
Di2c-mv64xxx.c176 mv64xxx_i2c_prepare_for_io(struct mv64xxx_i2c_data *drv_data, in mv64xxx_i2c_prepare_for_io()
196 static int mv64xxx_i2c_offload_msg(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_offload_msg()
248 mv64xxx_i2c_update_offload_data(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_update_offload_data()
275 mv64xxx_i2c_hw_init(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_hw_init()
297 mv64xxx_i2c_fsm(struct mv64xxx_i2c_data *drv_data, u32 status) in mv64xxx_i2c_fsm()
414 static void mv64xxx_i2c_send_start(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_send_start()
432 mv64xxx_i2c_do_action(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_do_action()
536 struct mv64xxx_i2c_data *drv_data = dev_id; in mv64xxx_i2c_intr() local
582 mv64xxx_i2c_wait_for_completion(struct mv64xxx_i2c_data *drv_data) in mv64xxx_i2c_wait_for_completion()
620 mv64xxx_i2c_execute_msg(struct mv64xxx_i2c_data *drv_data, struct i2c_msg *msg, in mv64xxx_i2c_execute_msg()
[all …]
/drivers/hid/
Dhid-steelseries.c146 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hid); in steelseries_srws1_led_all_set_brightness() local
165 struct steelseries_srws1_data *drv_data; in steelseries_srws1_led_all_get_brightness() local
182 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hid); in steelseries_srws1_led_set_brightness() local
210 struct steelseries_srws1_data *drv_data; in steelseries_srws1_led_get_brightness() local
237 struct steelseries_srws1_data *drv_data = kzalloc(sizeof(*drv_data), GFP_KERNEL); in steelseries_srws1_probe() local
343 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hdev); in steelseries_srws1_remove() local
Dhid-lg.c344 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); in lg_report_fixup() local
566 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); in lg_input_mapping() local
607 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); in lg_input_mapped() local
644 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); in lg_event() local
661 struct lg_drv_data *drv_data; in lg_probe() local
730 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); in lg_remove() local
Dhid-lg4ff.c162 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) in lg4ff_adjust_input_event()
240 struct lg_drv_data *drv_data; in hid_lg4ff_set_autocenter_default() local
423 struct lg_drv_data *drv_data; in lg4ff_range_show() local
448 struct lg_drv_data *drv_data; in lg4ff_range_store() local
498 struct lg_drv_data *drv_data = hid_get_drvdata(hid); in lg4ff_led_set_brightness() local
533 struct lg_drv_data *drv_data = hid_get_drvdata(hid); in lg4ff_led_get_brightness() local
564 struct lg_drv_data *drv_data; in lg4ff_init() local
720 struct lg_drv_data *drv_data; in lg4ff_deinit() local
Dhid-lg.h34 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) { return 0; } in lg4ff_adjust_input_event()
/drivers/hwmon/
Dmenf21bmc_hwmon.c60 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in menf21bmc_hwmon_update() local
81 static int menf21bmc_hwmon_get_volt_limits(struct menf21bmc_hwmon *drv_data) in menf21bmc_hwmon_get_volt_limits()
115 struct menf21bmc_hwmon *drv_data = menf21bmc_hwmon_update(dev); in show_in() local
127 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in show_min() local
136 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); in show_max() local
190 struct menf21bmc_hwmon *drv_data; in menf21bmc_hwmon_probe() local
/drivers/mmc/host/
Ddw_mmc-pltfm.c39 const struct dw_mci_drv_data *drv_data) in dw_mci_pltfm_register()
99 const struct dw_mci_drv_data *drv_data = NULL; in dw_mci_pltfm_probe() local
Dbfin_sdh.c528 struct bfin_sd_host *drv_data = get_sdh_data(pdev); in sdh_probe() local
642 struct bfin_sd_host *drv_data = get_sdh_data(dev); in sdh_suspend() local
651 struct bfin_sd_host *drv_data = get_sdh_data(dev); in sdh_resume() local
Ddw_mmc-k3.c44 const struct dw_mci_drv_data *drv_data; in dw_mci_k3_probe() local
Ddw_mmc-rockchip.c89 const struct dw_mci_drv_data *drv_data; in dw_mci_rockchip_probe() local
Ddw_mmc.c215 const struct dw_mci_drv_data *drv_data = slot->host->drv_data; in dw_mci_prepare_command() local
958 const struct dw_mci_drv_data *drv_data = slot->host->drv_data; in dw_mci_set_ios() local
1201 const struct dw_mci_drv_data *drv_data = host->drv_data; in dw_mci_execute_tuning() local
2206 const struct dw_mci_drv_data *drv_data = host->drv_data; in dw_mci_init_slot() local
2470 const struct dw_mci_drv_data *drv_data = host->drv_data; in dw_mci_parse_dt() local
2523 const struct dw_mci_drv_data *drv_data = host->drv_data; in dw_mci_probe() local
/drivers/thermal/samsung/
Dexynos_tmu.c362 static int exynos_tmu_set_emulation(void *drv_data, unsigned long temp) in exynos_tmu_set_emulation()
404 static int exynos_tmu_set_emulation(void *drv_data, unsigned long temp) in exynos_tmu_set_emulation()

12