• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/rt2x00/

Lines Matching refs:rt2x00dev

526 	int (*probe_hw) (struct rt2x00_dev *rt2x00dev);
527 char *(*get_firmware_name) (struct rt2x00_dev *rt2x00dev);
528 int (*check_firmware) (struct rt2x00_dev *rt2x00dev,
530 int (*load_firmware) (struct rt2x00_dev *rt2x00dev,
536 int (*initialize) (struct rt2x00_dev *rt2x00dev);
537 void (*uninitialize) (struct rt2x00_dev *rt2x00dev);
548 int (*set_device_state) (struct rt2x00_dev *rt2x00dev,
550 int (*rfkill_poll) (struct rt2x00_dev *rt2x00dev);
551 void (*link_stats) (struct rt2x00_dev *rt2x00dev,
553 void (*reset_tuner) (struct rt2x00_dev *rt2x00dev,
555 void (*link_tuner) (struct rt2x00_dev *rt2x00dev,
557 void (*watchdog) (struct rt2x00_dev *rt2x00dev);
562 void (*write_tx_desc) (struct rt2x00_dev *rt2x00dev,
570 void (*kick_tx_queue) (struct rt2x00_dev *rt2x00dev,
572 void (*kill_tx_queue) (struct rt2x00_dev *rt2x00dev,
584 int (*config_shared_key) (struct rt2x00_dev *rt2x00dev,
587 int (*config_pairwise_key) (struct rt2x00_dev *rt2x00dev,
590 void (*config_filter) (struct rt2x00_dev *rt2x00dev,
592 void (*config_intf) (struct rt2x00_dev *rt2x00dev,
600 void (*config_erp) (struct rt2x00_dev *rt2x00dev,
602 void (*config_ant) (struct rt2x00_dev *rt2x00dev,
604 void (*config) (struct rt2x00_dev *rt2x00dev,
901 static inline void rt2x00_rf_read(struct rt2x00_dev *rt2x00dev,
904 BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
905 *data = rt2x00dev->rf[word - 1];
908 static inline void rt2x00_rf_write(struct rt2x00_dev *rt2x00dev,
911 BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
912 rt2x00dev->rf[word - 1] = data;
919 static inline void *rt2x00_eeprom_addr(struct rt2x00_dev *rt2x00dev,
922 return (void *)&rt2x00dev->eeprom[word];
925 static inline void rt2x00_eeprom_read(struct rt2x00_dev *rt2x00dev,
928 *data = le16_to_cpu(rt2x00dev->eeprom[word]);
931 static inline void rt2x00_eeprom_write(struct rt2x00_dev *rt2x00dev,
934 rt2x00dev->eeprom[word] = cpu_to_le16(data);
940 static inline void rt2x00_set_chip(struct rt2x00_dev *rt2x00dev,
943 rt2x00dev->chip.rt = rt;
944 rt2x00dev->chip.rf = rf;
945 rt2x00dev->chip.rev = rev;
947 INFO(rt2x00dev,
949 rt2x00dev->chip.rt, rt2x00dev->chip.rf, rt2x00dev->chip.rev);
952 static inline bool rt2x00_rt(struct rt2x00_dev *rt2x00dev, const u16 rt)
954 return (rt2x00dev->chip.rt == rt);
957 static inline bool rt2x00_rf(struct rt2x00_dev *rt2x00dev, const u16 rf)
959 return (rt2x00dev->chip.rf == rf);
962 static inline u16 rt2x00_rev(struct rt2x00_dev *rt2x00dev)
964 return rt2x00dev->chip.rev;
967 static inline bool rt2x00_rt_rev(struct rt2x00_dev *rt2x00dev,
970 return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) == rev);
973 static inline bool rt2x00_rt_rev_lt(struct rt2x00_dev *rt2x00dev,
976 return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) < rev);
979 static inline bool rt2x00_rt_rev_gte(struct rt2x00_dev *rt2x00dev,
982 return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) >= rev);
985 static inline void rt2x00_set_chip_intf(struct rt2x00_dev *rt2x00dev,
988 rt2x00dev->chip.intf = intf;
991 static inline bool rt2x00_intf(struct rt2x00_dev *rt2x00dev,
994 return (rt2x00dev->chip.intf == intf);
997 static inline bool rt2x00_is_pci(struct rt2x00_dev *rt2x00dev)
999 return rt2x00_intf(rt2x00dev, RT2X00_CHIP_INTF_PCI) ||
1000 rt2x00_intf(rt2x00dev, RT2X00_CHIP_INTF_PCIE);
1003 static inline bool rt2x00_is_pcie(struct rt2x00_dev *rt2x00dev)
1005 return rt2x00_intf(rt2x00dev, RT2X00_CHIP_INTF_PCIE);
1008 static inline bool rt2x00_is_usb(struct rt2x00_dev *rt2x00dev)
1010 return rt2x00_intf(rt2x00dev, RT2X00_CHIP_INTF_USB);
1013 static inline bool rt2x00_is_soc(struct rt2x00_dev *rt2x00dev)
1015 return rt2x00_intf(rt2x00dev, RT2X00_CHIP_INTF_SOC);
1020 * @rt2x00dev: Pointer to &struct rt2x00_dev.
1023 void rt2x00queue_map_txskb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb);
1027 * @rt2x00dev: Pointer to &struct rt2x00_dev.
1030 void rt2x00queue_unmap_skb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb);
1034 * @rt2x00dev: Pointer to &struct rt2x00_dev.
1037 struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev,
1053 * @rt2x00dev: Pointer to &struct rt2x00_dev.
1058 void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
1061 static inline void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
1071 void rt2x00lib_beacondone(struct rt2x00_dev *rt2x00dev);
1072 void rt2x00lib_pretbtt(struct rt2x00_dev *rt2x00dev);
1075 void rt2x00lib_rxdone(struct rt2x00_dev *rt2x00dev,
1117 int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev);
1118 void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev);
1120 int rt2x00lib_suspend(struct rt2x00_dev *rt2x00dev, pm_message_t state);
1121 int rt2x00lib_resume(struct rt2x00_dev *rt2x00dev);