Lines Matching refs:lanai_dev
216 struct lanai_dev; /* Forward declaration */
240 void (*unqueue)(struct lanai_dev *, struct lanai_vcc *, int);
267 struct lanai_dev { struct
302 static void vci_bitfield_iterate(struct lanai_dev *lanai, in vci_bitfield_iterate() argument
304 void (*func)(struct lanai_dev *,vci_t vci)) in vci_bitfield_iterate() argument
468 static inline bus_addr_t reg_addr(const struct lanai_dev *lanai, in reg_addr()
474 static inline u32 reg_read(const struct lanai_dev *lanai, in reg_read()
484 static inline void reg_write(const struct lanai_dev *lanai, u32 val, in reg_write()
492 static inline void conf1_write(const struct lanai_dev *lanai) in conf1_write()
497 static inline void conf2_write(const struct lanai_dev *lanai) in conf2_write()
503 static inline void conf2_write_if_powerup(const struct lanai_dev *lanai) in conf2_write_if_powerup()
512 static inline void reset_board(const struct lanai_dev *lanai) in reset_board()
535 static inline bus_addr_t sram_addr(const struct lanai_dev *lanai, int offset) in sram_addr()
540 static inline u32 sram_read(const struct lanai_dev *lanai, int offset) in sram_read()
545 static inline void sram_write(const struct lanai_dev *lanai, in sram_write()
551 static int sram_test_word(const struct lanai_dev *lanai, int offset, in sram_test_word()
566 static int sram_test_pass(const struct lanai_dev *lanai, u32 pattern) in sram_test_pass()
574 static int sram_test_and_clear(const struct lanai_dev *lanai) in sram_test_and_clear()
640 static inline bus_addr_t cardvcc_addr(const struct lanai_dev *lanai, in cardvcc_addr()
762 static void lanai_shutdown_tx_vci(struct lanai_dev *lanai, in lanai_shutdown_tx_vci()
817 static inline int aal0_buffer_allocate(struct lanai_dev *lanai) in aal0_buffer_allocate()
825 static inline void aal0_buffer_free(struct lanai_dev *lanai) in aal0_buffer_free()
850 static int eeprom_read(struct lanai_dev *lanai) in eeprom_read()
858 static int eeprom_validate(struct lanai_dev *lanai) in eeprom_validate()
867 static int eeprom_read(struct lanai_dev *lanai) in eeprom_read()
937 static inline u32 eeprom_be4(const struct lanai_dev *lanai, int address) in eeprom_be4()
943 static int eeprom_validate(struct lanai_dev *lanai) in eeprom_validate()
1019 static inline const u8 *eeprom_mac(const struct lanai_dev *lanai) in eeprom_mac()
1051 static inline u32 intr_pending(const struct lanai_dev *lanai) in intr_pending()
1056 static inline void intr_enable(const struct lanai_dev *lanai, u32 i) in intr_enable()
1061 static inline void intr_disable(const struct lanai_dev *lanai, u32 i) in intr_disable()
1075 static void lanai_check_status(struct lanai_dev *lanai) in lanai_check_status()
1095 static void pcistatus_check(struct lanai_dev *lanai, int clearonly) in pcistatus_check()
1232 static inline void lanai_endtx(struct lanai_dev *lanai, in lanai_endtx()
1277 static void lanai_send_one_aal5(struct lanai_dev *lanai, in lanai_send_one_aal5()
1297 static void vcc_tx_unqueue_aal5(struct lanai_dev *lanai, in vcc_tx_unqueue_aal5()
1326 static void vcc_tx_aal5(struct lanai_dev *lanai, struct lanai_vcc *lvcc, in vcc_tx_aal5()
1345 static void vcc_tx_unqueue_aal0(struct lanai_dev *lanai, in vcc_tx_unqueue_aal0()
1352 static void vcc_tx_aal0(struct lanai_dev *lanai, struct lanai_vcc *lvcc, in vcc_tx_aal0()
1422 static void vcc_rx_aal0(struct lanai_dev *lanai) in vcc_rx_aal0()
1438 static int vcc_table_allocate(struct lanai_dev *lanai) in vcc_table_allocate()
1454 static inline void vcc_table_deallocate(const struct lanai_dev *lanai) in vcc_table_deallocate()
1477 static int lanai_get_sized_buffer(struct lanai_dev *lanai, in lanai_get_sized_buffer()
1498 static inline int lanai_setup_rx_vci_aal5(struct lanai_dev *lanai, in lanai_setup_rx_vci_aal5()
1506 static int lanai_setup_tx_vci(struct lanai_dev *lanai, struct lanai_vcc *lvcc, in lanai_setup_tx_vci()
1523 static inline void host_vcc_bind(struct lanai_dev *lanai, in host_vcc_bind()
1541 static inline void host_vcc_unbind(struct lanai_dev *lanai, in host_vcc_unbind()
1560 static void lanai_reset(struct lanai_dev *lanai) in lanai_reset()
1578 static int service_buffer_allocate(struct lanai_dev *lanai) in service_buffer_allocate()
1598 static inline void service_buffer_deallocate(struct lanai_dev *lanai) in service_buffer_deallocate()
1616 static int handle_service(struct lanai_dev *lanai, u32 s) in handle_service()
1698 static void iter_transmit(struct lanai_dev *lanai, vci_t vci) in iter_transmit()
1709 static void run_service(struct lanai_dev *lanai) in run_service()
1732 static void get_statistics(struct lanai_dev *lanai) in get_statistics()
1745 static void iter_dequeue(struct lanai_dev *lanai, vci_t vci) in iter_dequeue()
1761 struct lanai_dev *lanai = from_timer(lanai, t, timer); in lanai_timed_poll()
1786 static inline void lanai_timed_poll_start(struct lanai_dev *lanai) in lanai_timed_poll_start()
1793 static inline void lanai_timed_poll_stop(struct lanai_dev *lanai) in lanai_timed_poll_stop()
1800 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1()
1875 struct lanai_dev *lanai = devid; in lanai_int()
1930 static int lanai_pci_start(struct lanai_dev *lanai) in lanai_pci_start()
1969 static inline int vci0_is_ok(struct lanai_dev *lanai, in vci0_is_ok()
1986 static int vci_is_ok(struct lanai_dev *lanai, vci_t vci, in vci_is_ok()
2015 static int lanai_normalize_ci(struct lanai_dev *lanai, in lanai_normalize_ci()
2089 static inline void lanai_cbr_setup(struct lanai_dev *lanai) in lanai_cbr_setup()
2097 static inline void lanai_cbr_shutdown(struct lanai_dev *lanai) in lanai_cbr_shutdown()
2108 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; in lanai_dev_open()
2248 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; in lanai_dev_close()
2276 struct lanai_dev *lanai = (struct lanai_dev *) atmvcc->dev->dev_data; in lanai_close()
2311 struct lanai_dev *lanai; in lanai_open()
2320 lanai = (struct lanai_dev *) atmvcc->dev->dev_data; in lanai_open()
2394 struct lanai_dev *lanai = (struct lanai_dev *) atmvcc->dev->dev_data; in lanai_send()
2444 struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data; in lanai_proc_read()
2554 struct lanai_dev *lanai; in lanai_init_one()