Lines Matching refs:qeth_card_t

186 static qeth_card_t *firstcard=NULL;
223 static inline void qeth_schedule_recovery(qeth_card_t *card);
404 static int inline my_spin_lock_nonbusy(qeth_card_t *card,spinlock_t *lock) in my_spin_lock_nonbusy()
421 static inline int qeth_does_card_exist(qeth_card_t *card) in qeth_does_card_exist()
423 qeth_card_t *c=firstcard; in qeth_does_card_exist()
438 static inline qeth_card_t *qeth_get_card_by_irq(int irq) in qeth_get_card_by_irq()
440 qeth_card_t *card; in qeth_get_card_by_irq()
469 static qeth_card_t *qeth_get_card_by_name(char *name) in qeth_get_card_by_name()
471 qeth_card_t *card; in qeth_get_card_by_name()
611 qeth_card_t *card) in qeth_is_ipa_covered_by_ipato_entries()
653 static void qeth_set_dev_flag_running(qeth_card_t *card) in qeth_set_dev_flag_running()
663 static void qeth_set_dev_flag_norunning(qeth_card_t *card) in qeth_set_dev_flag_norunning()
673 static void qeth_restore_dev_flag_state(qeth_card_t *card) in qeth_restore_dev_flag_state()
689 static void qeth_save_dev_flag_state(qeth_card_t *card) in qeth_save_dev_flag_state()
707 qeth_card_t *card; in qeth_open()
709 card=(qeth_card_t *)dev->priv; in qeth_open()
717 if (!atomic_swap(&((qeth_card_t*)dev->priv)->is_open,1)) { in qeth_open()
725 qeth_card_t *card=(qeth_card_t*)dev->priv; in qeth_set_config()
737 qeth_card_t *card = (qeth_card_t *)skb->dev->priv; in qeth_is_multicast_skb_at_all()
776 static int qeth_get_prioqueue(qeth_card_t *card,struct sk_buff *skb, in qeth_get_prioqueue()
837 static void qeth_wakeup(qeth_card_t *card) { in qeth_wakeup()
861 static int qeth_get_cards_problem(qeth_card_t *card,unsigned char *buffer, in qeth_get_cards_problem()
992 static void qeth_issue_next_read(qeth_card_t *card) in qeth_issue_next_read()
1024 static int qeth_is_to_recover(qeth_card_t *card,int problem) in qeth_is_to_recover()
1118 static inline void qeth_put_buffer_pool_entry(qeth_card_t *card,int entry_no) in qeth_put_buffer_pool_entry()
1126 static inline int qeth_get_empty_buffer_pool_entry(qeth_card_t *card) in qeth_get_empty_buffer_pool_entry()
1138 static inline void qeth_clear_input_buffer(qeth_card_t *card,int bufno) in qeth_clear_input_buffer()
1175 static inline void qeth_queue_input_buffer(qeth_card_t *card,int bufno, in qeth_queue_input_buffer()
1327 static inline struct sk_buff *qeth_get_next_skb(qeth_card_t *card, in qeth_get_next_skb()
1513 static inline void qeth_transform_outbound_addrs(qeth_card_t *card, in qeth_transform_outbound_addrs()
1526 static inline void qeth_get_linux_addrs_for_buffer(qeth_card_t *card, in qeth_get_linux_addrs_for_buffer()
1543 static inline void qeth_read_in_buffer(qeth_card_t *card,int buffer_no) in qeth_read_in_buffer()
1797 qeth_card_t *card; in qeth_fill_header()
1807 card = (qeth_card_t *)skb->dev->priv; in qeth_fill_header()
1955 static inline void qeth_flush_packed_packets(qeth_card_t *card,int queue, in qeth_flush_packed_packets()
2134 static inline void qeth_free_buffer(qeth_card_t *card,int queue,int bufno, in qeth_free_buffer()
2244 static inline void qeth_free_all_skbs(qeth_card_t *card) in qeth_free_all_skbs()
2255 static inline void qeth_flush_buffer(qeth_card_t *card,int queue, in qeth_flush_buffer()
2310 static inline void qeth_send_packet_fast(qeth_card_t *card,struct sk_buff *skb, in qeth_send_packet_fast()
2407 static inline void qeth_send_packet_packed(qeth_card_t *card, in qeth_send_packet_packed()
2572 static inline int qeth_do_send_packet(qeth_card_t *card,struct sk_buff *skb, in qeth_do_send_packet()
2689 qeth_card_t *card; in qeth_hard_start_xmit()
2694 card=(qeth_card_t*)(dev->priv); in qeth_hard_start_xmit()
2803 qeth_card_t *card; in qeth_get_stats()
2806 card=(qeth_card_t*)(dev->priv); in qeth_get_stats()
2816 qeth_card_t *card; in qeth_change_mtu()
2819 card=(qeth_card_t*)(dev->priv); in qeth_change_mtu()
2835 static void qeth_start_softsetup_thread(qeth_card_t *card) in qeth_start_softsetup_thread()
2845 static int qeth_sleepon(qeth_card_t *card,int timeout) in qeth_sleepon()
2892 static void qeth_wakeup_ioctl(qeth_card_t *card) { in qeth_wakeup_ioctl()
2906 static int qeth_sleepon_ioctl(qeth_card_t *card,int timeout) in qeth_sleepon_ioctl()
2969 static char* qeth_send_control_data(qeth_card_t *card,unsigned char *buffer, in qeth_send_control_data()
3071 static int qeth_send_ipa_cmd(qeth_card_t *card,ipa_cmd_t *cmd,int update_cmd, in qeth_send_ipa_cmd()
3125 static void qeth_fill_ipa_cmd(qeth_card_t *card,ipa_cmd_t *cmd, in qeth_fill_ipa_cmd()
3141 static int qeth_send_startstoplan(qeth_card_t *card,__u8 ipacmd,__u16 ip_vers) in qeth_send_startstoplan()
3156 static int qeth_send_startlan(qeth_card_t *card,__u16 ip_vers) in qeth_send_startlan()
3176 static int qeth_send_stoplan(qeth_card_t *card) in qeth_send_stoplan()
3201 static int qeth_send_qipassist(qeth_card_t *card,short ip_vers) in qeth_send_qipassist()
3223 static int qeth_send_ipa_arpcmd(qeth_card_t *card,arp_cmd_t *cmd, in qeth_send_ipa_arpcmd()
3264 static int qeth_ioctl_handle_snmp_data(qeth_card_t *card,arp_cmd_t *reply) in qeth_ioctl_handle_snmp_data()
3339 static int qeth_ioctl_handle_arp_data(qeth_card_t *card, arp_cmd_t *reply) in qeth_ioctl_handle_arp_data()
3415 static int qeth_look_for_arp_data(qeth_card_t *card) in qeth_look_for_arp_data()
3445 static int qeth_queryarp(qeth_card_t *card,struct ifreq *req,int version, in qeth_queryarp()
3501 static int snmp_set_setadapterparms_command(qeth_card_t *card, in snmp_set_setadapterparms_command()
3528 static int qeth_send_snmp_control(qeth_card_t *card,struct ifreq *req, in qeth_send_snmp_control()
3575 static int qeth_send_setassparms(qeth_card_t *card,int version, in qeth_send_setassparms()
3608 static int qeth_send_setadapterparms_query(qeth_card_t *card) in qeth_send_setadapterparms_query()
3632 static int qeth_send_setadapterparms_mode(qeth_card_t *card,__u32 command, in qeth_send_setadapterparms_mode()
3650 static int qeth_send_setadapterparms_change_addr(qeth_card_t *card, in qeth_send_setadapterparms_change_addr()
3677 static int qeth_send_setassparms_simple_with_data(qeth_card_t *card, in qeth_send_setassparms_simple_with_data()
3685 static int qeth_send_setassparms_simple_without_data(qeth_card_t *card, in qeth_send_setassparms_simple_without_data()
3692 static int qeth_send_setassparms_simple_without_data6(qeth_card_t *card, in qeth_send_setassparms_simple_without_data6()
3699 static int qeth_send_setdelip(qeth_card_t *card,__u8 *ip,__u8 *netmask, in qeth_send_setdelip()
3720 static int qeth_send_setdelipm(qeth_card_t *card,__u8 *ip,__u8 *mac, in qeth_send_setdelipm()
3761 static inline int qeth_send_setip(qeth_card_t *card,__u8 *ip, in qeth_send_setip()
3822 static inline int qeth_send_delip(qeth_card_t *card,__u8 *ip, in qeth_send_delip()
3829 static inline int qeth_send_setipm(qeth_card_t *card,__u8 *ip, in qeth_send_setipm()
3879 static inline int qeth_send_delipm(qeth_card_t *card,__u8 *ip, in qeth_send_delipm()
3885 static int qeth_add_vipa_entry(qeth_card_t *card,int version,__u8 *addr, in qeth_add_vipa_entry()
3925 static int qeth_del_vipa_entry(qeth_card_t *card,int version,__u8 *addr, in qeth_del_vipa_entry()
3953 static void qeth_set_vipas(qeth_card_t *card,int set_only) in qeth_set_vipas()
4100 static void qeth_refresh_vipa_states(qeth_card_t *card) in qeth_refresh_vipa_states()
4113 static inline int qeth_send_setrtg(qeth_card_t *card,int routing_type, in qeth_send_setrtg()
4186 static int qeth_setips(qeth_card_t *card,int use_setip_retries) in qeth_setips()
4395 static int qeth_setipms(qeth_card_t *card,int use_setipm_retries) in qeth_setipms()
4608 qeth_card_t *card; in qeth_do_ioctl()
4612 card=(qeth_card_t*)dev->priv; in qeth_do_ioctl()
4756 static void qeth_takeover_ip_ipms6(qeth_card_t *card) in qeth_takeover_ip_ipms6()
5009 static void qeth_takeover_ip_ipms(qeth_card_t *card) in qeth_takeover_ip_ipms()
5234 static void qeth_get_unique_id(qeth_card_t *card) in qeth_get_unique_id()
5279 static void qeth_put_unique_id(qeth_card_t *card) in qeth_put_unique_id()
5311 static void qeth_do_setadapterparms_stuff(qeth_card_t *card) in qeth_do_setadapterparms_stuff()
5407 static int qeth_softsetup_card(qeth_card_t *card,int wait_for_lock) in qeth_softsetup_card()
5905 qeth_card_t *card=(qeth_card_t*)param; in qeth_softsetup_thread()
5944 qeth_card_t *card=(qeth_card_t *)data; in qeth_softsetup_thread_starter()
5952 static void qeth_start_reinit_thread(qeth_card_t *card) in qeth_start_reinit_thread()
5974 qeth_card_t *card; in qeth_recover()
5978 card=(qeth_card_t*)data; in qeth_recover()
6043 static inline void qeth_schedule_recovery(qeth_card_t *card) in qeth_schedule_recovery()
6065 qeth_card_t *card; in qeth_qdio_input_handler()
6073 card=(qeth_card_t *)card_ptr; in qeth_qdio_input_handler()
6146 qeth_card_t *card; in qeth_qdio_output_handler()
6158 card=(qeth_card_t *)card_ptr; in qeth_qdio_output_handler()
6310 qeth_card_t *card; in qeth_interrupt_handler_read()
6434 qeth_card_t *card; in qeth_interrupt_handler_write()
6545 qeth_card_t *card; in qeth_interrupt_handler_qdio()
6614 static int qeth_register_netdev(qeth_card_t *card) in qeth_register_netdev()
6627 static void qeth_unregister_netdev(qeth_card_t *card) in qeth_unregister_netdev()
6640 qeth_card_t *card; in qeth_stop()
6642 card=(qeth_card_t *)dev->priv; in qeth_stop()
6650 if (atomic_swap(&((qeth_card_t*)dev->priv)->is_open,0)) { in qeth_stop()
6657 static void qeth_softshutdown(qeth_card_t *card) in qeth_softshutdown()
6667 static void qeth_clear_card(qeth_card_t *card,int qdio_clean,int use_halt) in qeth_clear_card()
6768 static void qeth_free_card(qeth_card_t *card) in qeth_free_card()
6814 static void qeth_remove_card_from_list(qeth_card_t *card) in qeth_remove_card_from_list()
6816 qeth_card_t *cn; in qeth_remove_card_from_list()
6865 static void qeth_delete_all_ips(qeth_card_t *card) in qeth_delete_all_ips()
6889 static void qeth_remove_card(qeth_card_t *card,int method) in qeth_remove_card()
6971 qeth_card_t *card; in qeth_destructor()
6973 card=(qeth_card_t *)(dev->priv); in qeth_destructor()
6981 qeth_card_t *card=dev->priv; in qeth_set_multicast_list()
6993 sprintf(dbf_text,"stmc%4x",((qeth_card_t *)dev->priv)->irq0); in qeth_set_mac_address()
7002 sprintf(dbf_text,"ngst%4x",((qeth_card_t *)dev->priv)->irq0); in qeth_neigh_setup()
7007 static void qeth_generate_tokens(qeth_card_t *card) in qeth_generate_tokens()
7023 static int qeth_idx_activate_read(qeth_card_t *card) in qeth_idx_activate_read()
7172 static int qeth_idx_activate_write(qeth_card_t *card) in qeth_idx_activate_write()
7313 static int qeth_cm_enable(qeth_card_t *card) in qeth_cm_enable()
7346 static int qeth_cm_setup(qeth_card_t *card) in qeth_cm_setup()
7381 static int qeth_ulp_enable(qeth_card_t *card) in qeth_ulp_enable()
7451 static int qeth_ulp_setup(qeth_card_t *card) in qeth_ulp_setup()
7494 static int qeth_qdio_establish(qeth_card_t *card) in qeth_qdio_establish()
7579 static int qeth_qdio_activate(qeth_card_t *card) in qeth_qdio_activate()
7592 static int qeth_dm_act(qeth_card_t *card) in qeth_dm_act()
7624 qeth_card_t *tmp; in qeth_verify_dev()
7657 static int qeth_verify_card(qeth_card_t *card) in qeth_verify_card()
7659 qeth_card_t *tmp; in qeth_verify_card()
7675 static void qeth_correct_routing_status(qeth_card_t *card) in qeth_correct_routing_status()
7774 qeth_card_t *card; in qeth_hard_header()
7780 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_hard_header()
7783 card=(qeth_card_t*)dev->priv; in qeth_hard_header()
7792 qeth_card_t *card; in qeth_header_cache_update()
7794 card=(qeth_card_t*)dev->priv; in qeth_header_cache_update()
7801 qeth_card_t *card; in qeth_rebuild_header()
7807 card = (qeth_card_t *)VLAN_DEV_INFO(skb->dev)->real_dev->priv; in qeth_rebuild_header()
7810 card=(qeth_card_t*)skb->dev->priv; in qeth_rebuild_header()
7815 static void qeth_ipv6_init_card(qeth_card_t *card) in qeth_ipv6_init_card()
7830 qeth_card_t *card; in qeth_vlan_rx_register()
7831 card = (qeth_card_t *)dev->priv; in qeth_vlan_rx_register()
7839 qeth_card_t *card; in qeth_vlan_rx_kill_vid()
7840 card = (qeth_card_t *)dev->priv; in qeth_vlan_rx_kill_vid()
7853 qeth_card_t *card; in qeth_tx_timeout()
7855 card=(qeth_card_t *)dev->priv; in qeth_tx_timeout()
7865 qeth_card_t *card; in qeth_init_dev()
7868 card=(qeth_card_t *)dev->priv; in qeth_init_dev()
7961 static int qeth_get_unitaddr(qeth_card_t *card) in qeth_get_unitaddr()
8001 static int qeth_send_nops(qeth_card_t *card) in qeth_send_nops()
8049 static void qeth_clear_card_structures(qeth_card_t *card) in qeth_clear_card_structures()
8115 static void qeth_init_input_buffers(qeth_card_t *card) in qeth_init_input_buffers()
8135 static int qeth_hardsetup_card(qeth_card_t *card,int in_recovery) in qeth_hardsetup_card()
8478 qeth_card_t *card=(qeth_card_t*)param; in qeth_reinit_thread()
8594 static void qeth_fill_qeth_card_options(qeth_card_t *card) in qeth_fill_qeth_card_options()
8622 static qeth_card_t *qeth_alloc_card(void) in qeth_alloc_card()
8624 qeth_card_t *card; in qeth_alloc_card()
8627 card=(qeth_card_t *)vmalloc(sizeof(qeth_card_t)); in qeth_alloc_card()
8629 memset(card,0,sizeof(qeth_card_t)); in qeth_alloc_card()
8731 static int qeth_init_ringbuffers1(qeth_card_t *card) in qeth_init_ringbuffers1()
8759 static int qeth_init_ringbuffers2(qeth_card_t *card) in qeth_init_ringbuffers2()
8824 static void qeth_insert_card_into_list(qeth_card_t *card) in qeth_insert_card_into_list()
8837 static int qeth_determine_card_type(qeth_card_t *card) in qeth_determine_card_type()
8899 static int qeth_setvalue_if_possible(qeth_card_t *card,char *option, in qeth_setvalue_if_possible()
8952 static int qeth_parse_option(qeth_card_t *card,char *option) in qeth_parse_option()
9156 qeth_card_t *card; in qeth_detach_handler()
9185 qeth_card_t *card; in qeth_chandev_do_unregister_device()
9187 card=(qeth_card_t *)dev->priv; in qeth_chandev_do_unregister_device()
9201 static void qeth_chandev_parse_options(qeth_card_t *card,char *parmstring) in qeth_chandev_parse_options()
9248 static int qeth_get_bufcnt_from_memamnt(qeth_card_t *card,__s32 *memamnt) in qeth_get_bufcnt_from_memamnt()
9274 qeth_card_t *card; in qeth_attach_handler()
9536 qeth_card_t *card = (qeth_card_t *)device->priv; in qeth_chandev_msck_notfunc()
9546 qeth_card_t *card = (qeth_card_t *)device->priv; in qeth_chandev_msck_notfunc()
9572 qeth_card_t *card = NULL; in qeth_chandev_init_netdev()
9581 card = (qeth_card_t *)dev->priv; in qeth_chandev_init_netdev()
9586 ((qeth_card_t*)firstcard->dev->priv)-> in qeth_chandev_init_netdev()
9622 qeth_card_t *card; in qeth_probe()
9629 sizeof_priv = sizeof(qeth_card_t); in qeth_probe()
9662 qeth_card_t *card; in qeth_dev_event()
9673 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_dev_event()
9676 card=(qeth_card_t *)dev->priv; in qeth_dev_event()
9692 qeth_card_t *card; in qeth_ip_event()
9707 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_ip_event()
9710 card=(qeth_card_t *)dev->priv; in qeth_ip_event()
9724 qeth_card_t *card; in qeth_ip6_event()
9738 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_ip6_event()
9741 card=(qeth_card_t *)dev->priv; in qeth_ip6_event()
9756 qeth_card_t *card; in qeth_multicast6_event()
9766 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_multicast6_event()
9769 card=(qeth_card_t *)dev->priv; in qeth_multicast6_event()
9785 qeth_card_t *card; in qeth_multicast_event()
9795 card = (qeth_card_t *)VLAN_DEV_INFO(dev)->real_dev->priv; in qeth_multicast_event()
9798 card=(qeth_card_t *)dev->priv; in qeth_multicast_event()
9811 qeth_card_t *card; in qeth_reboot_event()
9894 qeth_card_t *card; in qeth_procfile_open()
10095 static qeth_card_t *qeth_find_card(char *buffer,int len) in qeth_find_card()
10097 qeth_card_t *card; in qeth_find_card()
10174 qeth_card_t *card; in qeth_procfile_write()
10492 qeth_card_t *card; in qeth_perf_procfile_read()
10555 qeth_card_t *card; in qeth_ipato_procfile_open()
10750 qeth_card_t *card; in qeth_ipato_procfile_write()
11027 qeth_card_t* card; in qeth_chandev_shutdown()
11029 card = (qeth_card_t *)dev->priv; in qeth_chandev_shutdown()