Home
last modified time | relevance | path

Searched refs:ctodev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c56 dev_info(ctodev(card), in gelic_card_set_irq_mask()
137 dev_err(ctodev(card), in gelic_card_disable_txdmac()
166 dev_info(ctodev(card), in gelic_card_enable_rxdmac()
184 dev_err(ctodev(card), in gelic_card_disable_rxdmac()
293 dma_unmap_single(ctodev(card), descr->link.cpu_addr, in gelic_card_free_chain()
327 descr->link.cpu_addr = dma_map_single(ctodev(card), descr, in gelic_card_init_chain()
330 if (dma_mapping_error(ctodev(card), descr->link.cpu_addr)) { in gelic_card_init_chain()
332 dma_unmap_single(ctodev(card), in gelic_card_init_chain()
385 dev_info(ctodev(card), "%s: ERROR status\n", __func__); in gelic_descr_prepare_rx()
405 cpu_addr = dma_map_single(ctodev(card), descr->skb->data, in gelic_descr_prepare_rx()
[all …]
H A Dps3_gelic_net.h337 static inline struct device *ctodev(struct gelic_card *card) in ctodev() function