Lines Matching refs:lcs_card
56 static int lcs_send_delipm(struct lcs_card *, struct lcs_ipm_list *);
153 lcs_free_card(struct lcs_card *card) in lcs_free_card()
163 static struct lcs_card *
166 struct lcs_card *card; in lcs_alloc_card()
171 card = kzalloc(sizeof(struct lcs_card), GFP_KERNEL | GFP_DMA); in lcs_alloc_card()
204 lcs_setup_read_ccws(struct lcs_card *card) in lcs_setup_read_ccws()
243 lcs_setup_read(struct lcs_card *card) in lcs_setup_read()
259 lcs_setup_write_ccws(struct lcs_card *card) in lcs_setup_write_ccws()
290 lcs_setup_write(struct lcs_card *card) in lcs_setup_write()
303 lcs_set_allowed_threads(struct lcs_card *card, unsigned long threads) in lcs_set_allowed_threads()
312 static int lcs_threads_running(struct lcs_card *card, unsigned long threads) in lcs_threads_running()
324 lcs_wait_for_threads(struct lcs_card *card, unsigned long threads) in lcs_wait_for_threads()
330 static int lcs_set_thread_start_bit(struct lcs_card *card, unsigned long thread) in lcs_set_thread_start_bit()
346 lcs_clear_thread_running_bit(struct lcs_card *card, unsigned long thread) in lcs_clear_thread_running_bit()
356 static int __lcs_do_run_thread(struct lcs_card *card, unsigned long thread) in __lcs_do_run_thread()
376 lcs_do_run_thread(struct lcs_card *card, unsigned long thread) in lcs_do_run_thread()
385 lcs_do_start_thread(struct lcs_card *card, unsigned long thread) in lcs_do_start_thread()
404 lcs_setup_card(struct lcs_card *card) in lcs_setup_card()
426 static void lcs_clear_multicast_list(struct lcs_card *card) in lcs_clear_multicast_list()
454 lcs_cleanup_card(struct lcs_card *card) in lcs_cleanup_card()
548 lcs_start_channels(struct lcs_card *card) in lcs_start_channels()
568 lcs_stop_channels(struct lcs_card *card) in lcs_stop_channels()
731 lcs_get_lancmd(struct lcs_card *card, int count) in lcs_get_lancmd()
788 lcs_notify_lancmd_waiters(struct lcs_card *card, struct lcs_cmd *cmd) in lcs_notify_lancmd_waiters()
841 lcs_send_lancmd(struct lcs_card *card, struct lcs_buffer *buffer, in lcs_send_lancmd()
842 void (*reply_callback)(struct lcs_card *, struct lcs_cmd *)) in lcs_send_lancmd() argument
880 lcs_send_startup(struct lcs_card *card, __u8 initiator) in lcs_send_startup()
898 lcs_send_shutdown(struct lcs_card *card) in lcs_send_shutdown()
915 __lcs_lanstat_cb(struct lcs_card *card, struct lcs_cmd *cmd) in __lcs_lanstat_cb()
922 lcs_send_lanstat(struct lcs_card *card) in lcs_send_lanstat()
942 lcs_send_stoplan(struct lcs_card *card, __u8 initiator) in lcs_send_stoplan()
961 __lcs_send_startlan_cb(struct lcs_card *card, struct lcs_cmd *cmd) in __lcs_send_startlan_cb()
969 lcs_send_startlan(struct lcs_card *card, __u8 initiator) in lcs_send_startlan()
989 lcs_send_setipm(struct lcs_card *card,struct lcs_ipm_list *ipm_list) in lcs_send_setipm()
1013 lcs_send_delipm(struct lcs_card *card,struct lcs_ipm_list *ipm_list) in lcs_send_delipm()
1037 __lcs_check_multicast_cb(struct lcs_card *card, struct lcs_cmd *cmd) in __lcs_check_multicast_cb()
1047 lcs_check_multicast_support(struct lcs_card *card) in lcs_check_multicast_support()
1077 lcs_fix_multicast_list(struct lcs_card *card) in lcs_fix_multicast_list()
1141 static void lcs_remove_mc_addresses(struct lcs_card *card, in lcs_remove_mc_addresses()
1168 static struct lcs_ipm_list *lcs_check_addr_entry(struct lcs_card *card, in lcs_check_addr_entry()
1191 static void lcs_set_mc_addresses(struct lcs_card *card, in lcs_set_mc_addresses()
1226 struct lcs_card *card; in lcs_register_mc_addresses()
1229 card = (struct lcs_card *) data; in lcs_register_mc_addresses()
1267 struct lcs_card *card; in lcs_set_multicast_list()
1270 card = (struct lcs_card *) dev->ml_priv; in lcs_set_multicast_list()
1347 lcs_schedule_recovery(struct lcs_card *card) in lcs_schedule_recovery()
1360 struct lcs_card *card; in lcs_irq()
1479 __lcs_emit_txbuffer(struct lcs_card *card) in __lcs_emit_txbuffer()
1495 struct lcs_card *card; in lcs_txbuffer_cb()
1500 card = container_of(channel, struct lcs_card, write); in lcs_txbuffer_cb()
1517 static netdev_tx_t __lcs_start_xmit(struct lcs_card *card, struct sk_buff *skb, in __lcs_start_xmit()
1581 struct lcs_card *card; in lcs_start_xmit()
1585 card = (struct lcs_card *) dev->ml_priv; in lcs_start_xmit()
1594 lcs_startlan_auto(struct lcs_card *card) in lcs_startlan_auto()
1608 lcs_startlan(struct lcs_card *card) in lcs_startlan()
1642 lcs_detect(struct lcs_card *card) in lcs_detect()
1673 lcs_stopcard(struct lcs_card *card) in lcs_stopcard()
1700 struct lcs_card *card = container_of(work, struct lcs_card, kernel_thread_starter); in lcs_start_kernel_thread()
1714 lcs_get_control(struct lcs_card *card, struct lcs_cmd *cmd) in lcs_get_control()
1742 lcs_get_skb(struct lcs_card *card, char *skb_data, unsigned int skb_len) in lcs_get_skb()
1775 struct lcs_card *card; in lcs_get_frames_cb()
1785 card = container_of(channel, struct lcs_card, read); in lcs_get_frames_cb()
1820 struct lcs_card *card; in lcs_getstats()
1823 card = (struct lcs_card *) dev->ml_priv; in lcs_getstats()
1834 struct lcs_card *card; in lcs_stop_device()
1838 card = (struct lcs_card *) dev->ml_priv; in lcs_stop_device()
1858 struct lcs_card *card; in lcs_open_device()
1862 card = (struct lcs_card *) dev->ml_priv; in lcs_open_device()
1883 struct lcs_card *card; in lcs_portno_show()
1899 struct lcs_card *card; in lcs_portno_store()
1949 struct lcs_card *card; in lcs_timeout_show()
1959 struct lcs_card *card; in lcs_timeout_store()
1984 struct lcs_card *card = dev_get_drvdata(dev); in lcs_dev_recover_store()
2025 struct lcs_card *card; in lcs_probe_device()
2053 struct lcs_card *card; in lcs_register_netdev()
2084 struct lcs_card *card; in lcs_new_device()
2183 struct lcs_card *card; in __lcs_shutdown_device()
2224 struct lcs_card *card; in lcs_recovery()
2228 card = (struct lcs_card *) ptr; in lcs_recovery()
2255 struct lcs_card *card; in lcs_remove_device()