Lines Matching refs:lanai_vcc
245 struct lanai_vcc { struct
262 void (*unqueue)(struct lanai_dev *, struct lanai_vcc *, int); argument
295 struct lanai_vcc **vccs;
464 const struct lanai_vcc *lvcc) in vcc_mark_backlogged()
471 const struct lanai_vcc *lvcc) in vcc_unmark_backlogged()
482 static inline int vcc_is_backlogged(/*const*/ struct lanai_vcc *lvcc) in vcc_is_backlogged()
793 static inline u32 cardvcc_read(const struct lanai_vcc *lvcc, in cardvcc_read()
804 static inline void cardvcc_write(const struct lanai_vcc *lvcc, in cardvcc_write()
849 static void host_vcc_start_rx(const struct lanai_vcc *lvcc) in host_vcc_start_rx()
873 static void host_vcc_start_tx(const struct lanai_vcc *lvcc) in host_vcc_start_tx()
893 static void lanai_shutdown_rx_vci(const struct lanai_vcc *lvcc) in lanai_shutdown_rx_vci()
919 struct lanai_vcc *lvcc) in lanai_shutdown_tx_vci()
1285 static inline int vcc_tx_space(const struct lanai_vcc *lvcc, int endptr) in vcc_tx_space()
1304 static inline void vcc_tx_add_aal5_descriptor(struct lanai_vcc *lvcc, in vcc_tx_add_aal5_descriptor()
1331 static inline void vcc_tx_add_aal5trailer(struct lanai_vcc *lvcc, in vcc_tx_add_aal5trailer()
1342 static inline void vcc_tx_memcpy(struct lanai_vcc *lvcc, in vcc_tx_memcpy()
1359 static inline void vcc_tx_memzero(struct lanai_vcc *lvcc, int n) in vcc_tx_memzero()
1379 const struct lanai_vcc *lvcc) in lanai_endtx()
1406 struct lanai_vcc *lvcc, int endptr) in vcc_tx_unqueue_aal5()
1487 static void vcc_tx_aal5(struct lanai_dev *lanai, struct lanai_vcc *lvcc, in vcc_tx_aal5()
1529 struct lanai_vcc *lvcc, int endptr) in vcc_tx_unqueue_aal0()
1535 static void vcc_tx_aal0(struct lanai_dev *lanai, struct lanai_vcc *lvcc, in vcc_tx_aal0()
1546 struct lanai_vcc *lvcc = lanai->vccs[vci]; in iter_dequeue()
1569 const struct lanai_vcc *lvcc, int n) in vcc_rx_memcpy()
1580 static void vcc_rx_aal5(struct lanai_vcc *lvcc, int endptr) in vcc_rx_aal5()
1637 APRINTK((lanai->num_vci) * sizeof(struct lanai_vcc *) <= PAGE_SIZE, in vcc_table_allocate()
1639 lanai->vccs = (struct lanai_vcc **) get_free_page(GFP_KERNEL); in vcc_table_allocate()
1642 int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *); in vcc_table_allocate()
1643 lanai->vccs = (struct lanai_vcc **) vmalloc(bytes); in vcc_table_allocate()
1661 static inline struct lanai_vcc *new_lanai_vcc(void) in new_lanai_vcc()
1663 struct lanai_vcc *lvcc; in new_lanai_vcc()
1664 lvcc = (struct lanai_vcc *) kmalloc(sizeof(*lvcc), GFP_KERNEL); in new_lanai_vcc()
1701 static inline int lanai_setup_rx_vci_aal5(int number, struct lanai_vcc *lvcc, in lanai_setup_rx_vci_aal5()
1710 static int lanai_setup_tx_vci(int number, struct lanai_vcc *lvcc, in lanai_setup_tx_vci()
1728 struct lanai_vcc *lvcc, vci_t vci) in host_vcc_bind()
1746 struct lanai_vcc *lvcc) in host_vcc_unbind()
1822 struct lanai_vcc *lvcc; in handle_service()
1903 struct lanai_vcc *lvcc = lanai->vccs[vci]; in iter_transmit()
2193 const struct lanai_vcc *lvcc = lanai->vccs[vci]; in vci_is_ok()
2209 const struct lanai_vcc *vci0 = lanai->vccs[0]; in vci_is_ok()
2480 struct lanai_vcc *lvcc = (struct lanai_vcc *) atmvcc->dev_data; in lanai_close()
2517 struct lanai_vcc *lvcc; in lanai_open()
2678 struct lanai_vcc *lvcc = (struct lanai_vcc *) atmvcc->dev_data; in lanai_send()
2730 struct lanai_vcc *lvcc; in lanai_proc_read()