Lines Matching refs:amb_dev
311 static inline void wr_plain (const amb_dev * dev, size_t addr, u32 data) { in wr_plain()
320 static inline u32 rd_plain (const amb_dev * dev, size_t addr) { in rd_plain()
330 static inline void wr_mem (const amb_dev * dev, size_t addr, u32 data) { in wr_mem()
340 static inline u32 rd_mem (const amb_dev * dev, size_t addr) { in rd_mem()
353 static inline void dump_registers (const amb_dev * dev) { in dump_registers()
450 static void tx_complete (amb_dev * dev, tx_out * tx) { in tx_complete()
471 static void rx_complete (amb_dev * dev, rx_out * rx) { in rx_complete()
556 static int command_do (amb_dev * dev, command * cmd) { in command_do()
627 static int tx_give (amb_dev * dev, tx_in * tx) { in tx_give()
659 static int tx_take (amb_dev * dev) { in tx_take()
687 static int rx_give (amb_dev * dev, rx_in * rx, unsigned char pool) { in rx_give()
712 static int rx_take (amb_dev * dev, unsigned char pool) { in rx_take()
745 static void drain_rx_pool (amb_dev * dev, unsigned char pool) { in drain_rx_pool()
771 static void drain_rx_pools (amb_dev * dev) { in drain_rx_pools()
780 static void fill_rx_pool (amb_dev * dev, unsigned char pool, in fill_rx_pool()
817 static void fill_rx_pools (amb_dev * dev) { in fill_rx_pools()
830 static void interrupts_on (amb_dev * dev) { in interrupts_on()
838 static void interrupts_off (amb_dev * dev) { in interrupts_off()
847 amb_dev * dev = dev_id; in interrupt_handler()
1024 amb_dev * dev = AMB_DEV(atm_vcc->dev); in amb_open()
1229 amb_dev * dev = AMB_DEV (atm_vcc->dev); in amb_close()
1309 amb_dev * dev = AMB_DEV(atm_vcc->dev); in amb_send()
1389 amb_dev * dev = AMB_DEV (atm_vcc->dev);
1425 amb_dev * dev = AMB_DEV (atm_dev); in amb_proc_read()
1497 amb_dev * dev = from_timer(dev, t, housekeeping); in do_housekeeping()
1510 static int create_queues(amb_dev *dev, unsigned int cmds, unsigned int txs, in create_queues()
1626 static void destroy_queues (amb_dev * dev) { in destroy_queues()
1740 static int do_loader_command(volatile loader_block *lb, const amb_dev *dev, in do_loader_command()
1797 static int get_loader_version(loader_block *lb, const amb_dev *dev, in get_loader_version()
1814 static int loader_write(loader_block *lb, const amb_dev *dev, in loader_write()
1829 static int loader_verify(loader_block *lb, const amb_dev *dev, in loader_verify()
1847 static int loader_start(loader_block *lb, const amb_dev *dev, u32 address) in loader_start()
1862 static int amb_reset (amb_dev * dev, int diags) { in amb_reset()
1923 static int ucode_init(loader_block *lb, amb_dev *dev) in ucode_init()
1986 static int amb_talk(amb_dev *dev) in amb_talk()
2034 static void amb_ucode_version(amb_dev *dev) in amb_ucode_version()
2050 static void amb_esi(amb_dev *dev, u8 *esi) in amb_esi()
2083 static void fixup_plx_window (amb_dev *dev, loader_block *lb) in fixup_plx_window()
2097 static int amb_init(amb_dev *dev) in amb_init()
2139 static void setup_dev(amb_dev *dev, struct pci_dev *pci_dev) in setup_dev()
2196 amb_dev * dev; in amb_probe()
2227 dev = kzalloc(sizeof(amb_dev), GFP_KERNEL); in amb_probe()
2295 struct amb_dev *dev; in amb_remove_one()