Lines Matching refs:i2400m

566 struct i2400m {  struct
584 int (*bus_setup)(struct i2400m *); argument
585 int (*bus_dev_start)(struct i2400m *); argument
586 void (*bus_dev_stop)(struct i2400m *); argument
587 void (*bus_release)(struct i2400m *); argument
588 void (*bus_tx_kick)(struct i2400m *); argument
589 int (*bus_reset)(struct i2400m *, enum i2400m_reset_type); argument
590 ssize_t (*bus_bm_cmd_send)(struct i2400m *, argument
593 ssize_t (*bus_bm_wait_for_ack)(struct i2400m *, argument
666 struct i2400m *wimax_dev_to_i2400m(struct wimax_dev *wimax_dev) in wimax_dev_to_i2400m() argument
668 return container_of(wimax_dev, struct i2400m, wimax_dev); in wimax_dev_to_i2400m()
672 struct i2400m *net_dev_to_i2400m(struct net_device *net_dev) in net_dev_to_i2400m()
714 int i2400m_dev_bootstrap(struct i2400m *, enum i2400m_bri);
715 int i2400m_read_mac_addr(struct i2400m *);
716 int i2400m_bootrom_init(struct i2400m *, enum i2400m_bri);
717 int i2400m_is_boot_barker(struct i2400m *, const void *, size_t);
724 void i2400m_unknown_barker(struct i2400m *, const void *, size_t);
792 void i2400m_init(struct i2400m *);
793 int i2400m_reset(struct i2400m *, enum i2400m_reset_type);
797 int i2400m_tx_setup(struct i2400m *);
799 void i2400m_tx_release(struct i2400m *);
801 int i2400m_rx_setup(struct i2400m *);
802 void i2400m_rx_release(struct i2400m *);
804 void i2400m_fw_cache(struct i2400m *);
805 void i2400m_fw_uncache(struct i2400m *);
807 void i2400m_net_rx(struct i2400m *, struct sk_buff *, unsigned, const void *,
809 void i2400m_net_erx(struct i2400m *, struct sk_buff *, enum i2400m_cs);
810 void i2400m_net_wake_stop(struct i2400m *);
812 int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt);
815 void i2400m_debugfs_add(struct i2400m *);
816 void i2400m_debugfs_rm(struct i2400m *);
818 static inline void i2400m_debugfs_add(struct i2400m *i2400m) {} in i2400m_debugfs_add() argument
819 static inline void i2400m_debugfs_rm(struct i2400m *i2400m) {} in i2400m_debugfs_rm() argument
823 int i2400m_dev_initialize(struct i2400m *);
824 void i2400m_dev_shutdown(struct i2400m *);
860 struct i2400m *i2400m_get(struct i2400m *i2400m) in i2400m_get() argument
862 dev_hold(i2400m->wimax_dev.net_dev); in i2400m_get()
863 return i2400m; in i2400m_get()
867 void i2400m_put(struct i2400m *i2400m) in i2400m_put() argument
869 dev_put(i2400m->wimax_dev.net_dev); in i2400m_put()
872 int i2400m_dev_reset_handle(struct i2400m *, const char *);
873 int i2400m_pre_reset(struct i2400m *);
874 int i2400m_post_reset(struct i2400m *);
875 void i2400m_error_recovery(struct i2400m *);
881 int i2400m_setup(struct i2400m *, enum i2400m_bri bm_flags);
882 void i2400m_release(struct i2400m *);
884 int i2400m_rx(struct i2400m *, struct sk_buff *);
885 struct i2400m_msg_hdr *i2400m_tx_msg_get(struct i2400m *, size_t *);
886 void i2400m_tx_msg_sent(struct i2400m *);
894 struct device *i2400m_dev(struct i2400m *i2400m) in i2400m_dev() argument
896 return i2400m->wimax_dev.net_dev->dev.parent; in i2400m_dev()
900 int i2400m_msg_size_check(struct i2400m *, const struct i2400m_l3l4_hdr *,
902 struct sk_buff *i2400m_msg_to_dev(struct i2400m *, const void *, size_t);
903 void i2400m_msg_to_dev_cancel_wait(struct i2400m *, int);
904 void i2400m_report_hook(struct i2400m *, const struct i2400m_l3l4_hdr *,
907 int i2400m_cmd_enter_powersave(struct i2400m *);
908 int i2400m_cmd_exit_idle(struct i2400m *);
909 struct sk_buff *i2400m_get_device_info(struct i2400m *);
910 int i2400m_firmware_check(struct i2400m *);
911 int i2400m_set_idle_timeout(struct i2400m *, unsigned);
920 void i2400m_report_tlv_rf_switches_status(struct i2400m *,
936 unsigned i2400m_le_v1_3(struct i2400m *i2400m) in i2400m_le_v1_3() argument
939 return i2400m->fw_version <= 0x00090001; in i2400m_le_v1_3()
943 unsigned i2400m_ge_v1_4(struct i2400m *i2400m) in i2400m_ge_v1_4() argument
946 return i2400m->fw_version >= 0x00090002; in i2400m_ge_v1_4()