Home
last modified time | relevance | path

Searched defs:ctlr (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.6.21/drivers/spi/
Dspi.c315 struct spi_controller *ctlr) in spi_statistics_add_transfer_stats()
567 struct spi_device *spi_alloc_device(struct spi_controller *ctlr) in spi_alloc_device()
630 struct spi_controller *ctlr = spi->controller; in __spi_add_device() local
701 struct spi_controller *ctlr = spi->controller; in spi_add_device() local
725 struct spi_device *spi_new_device(struct spi_controller *ctlr, in spi_new_device()
801 static void spi_match_controller_to_boardinfo(struct spi_controller *ctlr, in spi_match_controller_to_boardinfo()
849 struct spi_controller *ctlr; in spi_register_board_info() local
930 static void spi_res_release(struct spi_controller *ctlr, struct spi_message *message) in spi_res_release()
1005 static int spi_map_buf_attrs(struct spi_controller *ctlr, struct device *dev, in spi_map_buf_attrs()
1082 int spi_map_buf(struct spi_controller *ctlr, struct device *dev, in spi_map_buf()
[all …]
Dspi-mem.c36 int spi_controller_dma_map_mem_op_data(struct spi_controller *ctlr, in spi_controller_dma_map_mem_op_data()
82 void spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr, in spi_controller_dma_unmap_mem_op_data()
167 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_default_supports_op() local
230 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_internal_supports_op() local
264 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_access_start() local
291 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_access_end() local
315 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_exec_op() local
457 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_adjust_op_size() local
538 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_dirmap_create() local
585 struct spi_controller *ctlr = desc->mem->spi->controller; in spi_mem_dirmap_destroy() local
[all …]
Dspi-bcm2835.c123 struct spi_controller *ctlr; member
406 static int bcm2835_spi_transfer_one_irq(struct spi_controller *ctlr, in bcm2835_spi_transfer_one_irq()
481 static void bcm2835_spi_transfer_prologue(struct spi_controller *ctlr, in bcm2835_spi_transfer_prologue()
605 struct spi_controller *ctlr = data; in bcm2835_spi_dma_rx_done() local
633 struct spi_controller *ctlr = data; in bcm2835_spi_dma_tx_done() local
667 static int bcm2835_spi_prepare_sg(struct spi_controller *ctlr, in bcm2835_spi_prepare_sg()
766 static int bcm2835_spi_transfer_one_dma(struct spi_controller *ctlr, in bcm2835_spi_transfer_one_dma()
848 static bool bcm2835_spi_can_dma(struct spi_controller *ctlr, in bcm2835_spi_can_dma()
860 static void bcm2835_dma_release(struct spi_controller *ctlr, in bcm2835_dma_release()
886 static int bcm2835_dma_init(struct spi_controller *ctlr, struct device *dev, in bcm2835_dma_init()
[all …]
Dspi-cadence.c357 struct spi_controller *ctlr = dev_id; in cdns_spi_irq() local
406 static int cdns_prepare_message(struct spi_controller *ctlr, in cdns_prepare_message()
427 static int cdns_transfer_one(struct spi_controller *ctlr, in cdns_transfer_one()
469 static int cdns_prepare_transfer_hardware(struct spi_controller *ctlr) in cdns_prepare_transfer_hardware()
488 static int cdns_unprepare_transfer_hardware(struct spi_controller *ctlr) in cdns_unprepare_transfer_hardware()
536 static int cdns_target_abort(struct spi_controller *ctlr) in cdns_target_abort()
560 struct spi_controller *ctlr; in cdns_spi_probe() local
701 struct spi_controller *ctlr = platform_get_drvdata(pdev); in cdns_spi_remove() local
725 struct spi_controller *ctlr = dev_get_drvdata(dev); in cdns_spi_suspend() local
740 struct spi_controller *ctlr = dev_get_drvdata(dev); in cdns_spi_resume() local
[all …]
Dspi-slave-mt27xx.c129 static int mtk_spi_slave_prepare_message(struct spi_controller *ctlr, in mtk_spi_slave_prepare_message()
162 static int mtk_spi_slave_fifo_transfer(struct spi_controller *ctlr, in mtk_spi_slave_fifo_transfer()
199 static int mtk_spi_slave_dma_transfer(struct spi_controller *ctlr, in mtk_spi_slave_dma_transfer()
282 static int mtk_spi_slave_transfer_one(struct spi_controller *ctlr, in mtk_spi_slave_transfer_one()
317 static int mtk_slave_abort(struct spi_controller *ctlr) in mtk_slave_abort()
329 struct spi_controller *ctlr = dev_id; in mtk_spi_slave_interrupt() local
386 struct spi_controller *ctlr; in mtk_spi_slave_probe() local
485 struct spi_controller *ctlr = dev_get_drvdata(dev); in mtk_spi_slave_suspend() local
501 struct spi_controller *ctlr = dev_get_drvdata(dev); in mtk_spi_slave_resume() local
524 struct spi_controller *ctlr = dev_get_drvdata(dev); in mtk_spi_slave_runtime_suspend() local
[all …]
Dspi-sunplus-sp7021.c79 struct spi_controller *ctlr; member
111 static int sp7021_spi_slave_abort(struct spi_controller *ctlr) in sp7021_spi_slave_abort()
241 static void sp7021_prep_transfer(struct spi_controller *ctlr, struct spi_device *spi) in sp7021_prep_transfer()
251 static int sp7021_spi_controller_prepare_message(struct spi_controller *ctlr, in sp7021_spi_controller_prepare_message()
284 static void sp7021_spi_setup_clk(struct spi_controller *ctlr, struct spi_transfer *xfer) in sp7021_spi_setup_clk()
298 static int sp7021_spi_master_transfer_one(struct spi_controller *ctlr, struct spi_device *spi, in sp7021_spi_master_transfer_one()
362 static int sp7021_spi_slave_transfer_one(struct spi_controller *ctlr, struct spi_device *spi, in sp7021_spi_slave_transfer_one()
406 struct spi_controller *ctlr; in sp7021_spi_controller_probe() local
509 struct spi_controller *ctlr = dev_get_drvdata(&pdev->dev); in sp7021_spi_controller_remove() local
518 struct spi_controller *ctlr = dev_get_drvdata(dev); in sp7021_spi_controller_suspend() local
[all …]
Dspi-ingenic.c121 spi_ingenic_prepare_dma(struct spi_controller *ctlr, struct dma_chan *chan, in spi_ingenic_prepare_dma()
174 static int spi_ingenic_dma_tx(struct spi_controller *ctlr, in spi_ingenic_dma_tx()
239 static int spi_ingenic_transfer_one(struct spi_controller *ctlr, in spi_ingenic_transfer_one()
261 static int spi_ingenic_prepare_message(struct spi_controller *ctlr, in spi_ingenic_prepare_message()
301 static int spi_ingenic_prepare_hardware(struct spi_controller *ctlr) in spi_ingenic_prepare_hardware()
318 static int spi_ingenic_unprepare_hardware(struct spi_controller *ctlr) in spi_ingenic_unprepare_hardware()
329 static bool spi_ingenic_can_dma(struct spi_controller *ctlr, in spi_ingenic_can_dma()
346 static int spi_ingenic_request_dma(struct spi_controller *ctlr, in spi_ingenic_request_dma()
365 struct spi_controller *ctlr = data; in spi_ingenic_release_dma() local
384 struct spi_controller *ctlr; in spi_ingenic_probe() local
Dspi-rockchip.c244 struct spi_controller *ctlr = spi->controller; in rockchip_spi_set_cs() local
275 static void rockchip_spi_handle_err(struct spi_controller *ctlr, in rockchip_spi_handle_err()
351 struct spi_controller *ctlr = dev_id; in rockchip_spi_isr() local
378 struct spi_controller *ctlr, in rockchip_spi_prepare_irq()
404 struct spi_controller *ctlr = data; in rockchip_spi_dma_rxcb() local
420 struct spi_controller *ctlr = data; in rockchip_spi_dma_txcb() local
448 struct spi_controller *ctlr, struct spi_transfer *xfer) in rockchip_spi_prepare_dma()
617 static int rockchip_spi_target_abort(struct spi_controller *ctlr) in rockchip_spi_target_abort()
669 struct spi_controller *ctlr, in rockchip_spi_transfer_one()
710 static bool rockchip_spi_can_dma(struct spi_controller *ctlr, in rockchip_spi_can_dma()
[all …]
Dspi-rpc-if.c133 struct spi_controller *ctlr; in rpcif_spi_probe() local
178 struct spi_controller *ctlr = platform_get_drvdata(pdev); in rpcif_spi_remove() local
187 struct spi_controller *ctlr = dev_get_drvdata(dev); in rpcif_spi_suspend() local
194 struct spi_controller *ctlr = dev_get_drvdata(dev); in rpcif_spi_resume() local
Dspi-at91-usart.c105 struct spi_controller *ctlr = data; in dma_callback() local
122 static int at91_usart_spi_configure_dma(struct spi_controller *ctlr, in at91_usart_spi_configure_dma()
199 static void at91_usart_spi_release_dma(struct spi_controller *ctlr) in at91_usart_spi_release_dma()
207 static void at91_usart_spi_stop_dma(struct spi_controller *ctlr) in at91_usart_spi_stop_dma()
215 static int at91_usart_spi_dma_transfer(struct spi_controller *ctlr, in at91_usart_spi_dma_transfer()
397 static int at91_usart_spi_transfer_one(struct spi_controller *ctlr, in at91_usart_spi_transfer_one()
443 static int at91_usart_spi_prepare_message(struct spi_controller *ctlr, in at91_usart_spi_prepare_message()
457 static int at91_usart_spi_unprepare_message(struct spi_controller *ctlr, in at91_usart_spi_unprepare_message()
595 struct spi_controller *ctlr = dev_get_drvdata(dev); in at91_usart_spi_runtime_suspend() local
648 struct spi_controller *ctlr = platform_get_drvdata(pdev); in at91_usart_spi_remove() local
Dspi-cs42l43.c33 struct spi_controller *ctlr; member
113 static int cs42l43_transfer_one(struct spi_controller *ctlr, struct spi_device *spi, in cs42l43_transfer_one()
155 static int cs42l43_prepare_message(struct spi_controller *ctlr, struct spi_message *msg) in cs42l43_prepare_message()
176 static int cs42l43_prepare_transfer_hardware(struct spi_controller *ctlr) in cs42l43_prepare_transfer_hardware()
188 static int cs42l43_unprepare_transfer_hardware(struct spi_controller *ctlr) in cs42l43_unprepare_transfer_hardware()
Dspi-omap2-mcspi.c120 struct spi_controller *ctlr; member
146 static inline void mcspi_write_reg(struct spi_controller *ctlr, in mcspi_write_reg()
154 static inline u32 mcspi_read_reg(struct spi_controller *ctlr, int idx) in mcspi_read_reg()
271 static void omap2_mcspi_set_mode(struct spi_controller *ctlr) in omap2_mcspi_set_mode()
296 struct spi_controller *ctlr = spi->controller; in omap2_mcspi_set_fifo() local
1023 static void omap2_mcspi_release_dma(struct spi_controller *ctlr) in omap2_mcspi_release_dma()
1114 static int omap2_mcspi_target_abort(struct spi_controller *ctlr) in omap2_mcspi_target_abort()
1127 static int omap2_mcspi_transfer_one(struct spi_controller *ctlr, in omap2_mcspi_transfer_one()
1262 static int omap2_mcspi_prepare_message(struct spi_controller *ctlr, in omap2_mcspi_prepare_message()
1289 static bool omap2_mcspi_can_dma(struct spi_controller *ctlr, in omap2_mcspi_can_dma()
[all …]
Dspi-ar934x.c45 struct spi_controller *ctlr; member
78 static int ar934x_spi_transfer_one_message(struct spi_controller *ctlr, in ar934x_spi_transfer_one_message()
167 struct spi_controller *ctlr; in ar934x_spi_probe() local
226 struct spi_controller *ctlr; in ar934x_spi_remove() local
Dspi-mux.c89 struct spi_controller *ctlr = spi_get_drvdata(priv->spi); in spi_mux_complete_cb() local
99 static int spi_mux_transfer_one_message(struct spi_controller *ctlr, in spi_mux_transfer_one_message()
128 struct spi_controller *ctlr; in spi_mux_probe() local
Dinternals.h29 static inline int spi_map_buf(struct spi_controller *ctlr, struct device *dev, in spi_map_buf()
36 static inline void spi_unmap_buf(struct spi_controller *ctlr, in spi_unmap_buf()
Dspi-rspi.c185 struct spi_controller *ctlr; member
687 static bool rspi_can_dma(struct spi_controller *ctlr, struct spi_device *spi, in rspi_can_dma()
727 static int rspi_transfer_one(struct spi_controller *ctlr, in rspi_transfer_one()
745 static int rspi_rz_transfer_one(struct spi_controller *ctlr, in rspi_rz_transfer_one()
863 static int qspi_transfer_one(struct spi_controller *ctlr, in qspi_transfer_one()
971 static int rspi_prepare_message(struct spi_controller *ctlr, in rspi_prepare_message()
1027 static int rspi_unprepare_message(struct spi_controller *ctlr, in rspi_unprepare_message()
1131 static int rspi_request_dma(struct device *dev, struct spi_controller *ctlr, in rspi_request_dma()
1167 static void rspi_release_dma(struct spi_controller *ctlr) in rspi_release_dma()
1233 static int rspi_parse_dt(struct device *dev, struct spi_controller *ctlr) in rspi_parse_dt()
[all …]
Dspi-sh-hspi.c38 struct spi_controller *ctlr; member
143 static int hspi_transfer_one_message(struct spi_controller *ctlr, in hspi_transfer_one_message()
215 struct spi_controller *ctlr; in hspi_probe() local
/linux-6.6.21/drivers/net/ethernet/ti/
Ddavinci_cpdma.c112 struct cpdma_ctlr *ctlr; member
173 #define dma_reg_read(ctlr, ofs) readl((ctlr)->dmaregs + (ofs)) argument
176 #define dma_reg_write(ctlr, ofs, v) writel(v, (ctlr)->dmaregs + (ofs)) argument
190 static void cpdma_desc_pool_destroy(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_destroy()
212 static int cpdma_desc_pool_create(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_create()
306 static int _cpdma_control_set(struct cpdma_ctlr *ctlr, int control, int value) in _cpdma_control_set()
331 static int _cpdma_control_get(struct cpdma_ctlr *ctlr, int control) in _cpdma_control_get()
357 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_set_chan_shaper() local
377 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_on() local
409 struct cpdma_ctlr *ctlr = ch->ctlr; in cpdma_chan_fit_rate() local
[all …]
/linux-6.6.21/drivers/scsi/fcoe/
Dfcoe_sysfs.c262 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in show_ctlr_mode() local
276 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in store_ctlr_mode() local
325 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in store_ctlr_enabled() local
370 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in fcoe_enum_name_search() local
388 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in store_ctlr_fip_resp() local
412 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); in show_ctlr_fip_resp() local
442 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_r_a_tov() local
456 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_r_a_tov() local
469 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_e_d_tov() local
483 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_e_d_tov() local
[all …]
Dfcoe.c383 struct fcoe_ctlr *ctlr; in fcoe_interface_create() local
513 struct fcoe_ctlr *ctlr; in fcoe_fip_recv() local
536 struct fcoe_ctlr *ctlr; in fcoe_fip_vlan_recv() local
705 struct fcoe_ctlr *ctlr; in fcoe_netdev_config() local
1125 struct fcoe_ctlr *ctlr = fcoe_to_ctlr(fcoe); in fcoe_if_create() local
1339 struct fcoe_ctlr *ctlr; in fcoe_rcv() local
1483 struct fcoe_ctlr *ctlr = fcoe_to_ctlr(fcoe); in fcoe_xmit() local
1605 struct fcoe_ctlr *ctlr; in fcoe_filter_frames() local
1786 struct fcoe_ctlr *ctlr; in fcoe_dcb_app_notification() local
1839 struct fcoe_ctlr *ctlr; in fcoe_device_notification() local
[all …]
/linux-6.6.21/drivers/hid/
Dhid-nintendo.c485 #define jc_type_is_joycon(ctlr) \ argument
489 #define jc_type_is_procon(ctlr) \ argument
491 #define jc_type_is_chrggrip(ctlr) \ argument
495 #define jc_type_has_left(ctlr) \ argument
500 #define jc_type_has_right(ctlr) \ argument
519 static void joycon_wait_for_input_report(struct joycon_ctlr *ctlr) in joycon_wait_for_input_report()
555 #define JC_SUBCMD_RATE_LIMITER_MS(ctlr) ((ctlr)->hdev->bus == BUS_USB ? JC_SUBCMD_RATE_LIMITER_USB_… argument
556 static void joycon_enforce_subcmd_rate(struct joycon_ctlr *ctlr) in joycon_enforce_subcmd_rate()
598 static int joycon_hid_send_sync(struct joycon_ctlr *ctlr, u8 *data, size_t len, in joycon_hid_send_sync()
638 static int joycon_send_usb(struct joycon_ctlr *ctlr, u8 cmd, u32 timeout) in joycon_send_usb()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-hisi.c112 static void hisi_i2c_enable_int(struct hisi_i2c_controller *ctlr, u32 mask) in hisi_i2c_enable_int()
117 static void hisi_i2c_disable_int(struct hisi_i2c_controller *ctlr, u32 mask) in hisi_i2c_disable_int()
122 static void hisi_i2c_clear_int(struct hisi_i2c_controller *ctlr, u32 mask) in hisi_i2c_clear_int()
127 static void hisi_i2c_handle_errors(struct hisi_i2c_controller *ctlr) in hisi_i2c_handle_errors()
148 static int hisi_i2c_start_xfer(struct hisi_i2c_controller *ctlr) in hisi_i2c_start_xfer()
176 static void hisi_i2c_reset_xfer(struct hisi_i2c_controller *ctlr) in hisi_i2c_reset_xfer()
195 struct hisi_i2c_controller *ctlr = i2c_get_adapdata(adap); in hisi_i2c_master_xfer() local
235 static int hisi_i2c_read_rx_fifo(struct hisi_i2c_controller *ctlr) in hisi_i2c_read_rx_fifo()
267 static void hisi_i2c_xfer_msg(struct hisi_i2c_controller *ctlr) in hisi_i2c_xfer_msg()
330 struct hisi_i2c_controller *ctlr = context; in hisi_i2c_irq() local
[all …]
/linux-6.6.21/drivers/mtd/hyperbus/
Dhyperbus-core.c23 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_read16() local
35 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_write16() local
44 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_from() local
53 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_to() local
61 struct hyperbus_ctlr *ctlr; in hyperbus_register_device() local
/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c143 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id() local
271 struct fcoe_ctlr *ctlr; in bnx2fc_xmit() local
429 struct fcoe_ctlr *ctlr; in bnx2fc_rcv() local
518 struct fcoe_ctlr *ctlr; in bnx2fc_recv_frame() local
797 struct fcoe_ctlr *ctlr; in bnx2fc_net_config() local
866 struct fcoe_ctlr *ctlr; in bnx2fc_indicate_netevent() local
1054 struct fcoe_ctlr *ctlr; in bnx2fc_fip_recv() local
1232 struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); in bnx2fc_interface_setup() local
1304 struct fcoe_ctlr *ctlr; in bnx2fc_interface_release() local
1436 struct fcoe_ctlr *ctlr; in bnx2fc_interface_create() local
[all …]
/linux-6.6.21/include/linux/platform_data/
Dedma.h48 #define EDMA_CTLR_CHAN(ctlr, chan) (((ctlr) << 16) | (chan)) argument
52 #define EDMA_FILTER_PARAM(ctlr, chan) ((int[]) { EDMA_CTLR_CHAN(ctlr, chan) }) argument

123