Home | History | Annotate | Download | only in pci

Lines Matching refs:iwi_softc

88 static int	iwi_alloc_cmd_ring(struct iwi_softc *, struct iwi_cmd_ring *,
90 static void iwi_reset_cmd_ring(struct iwi_softc *, struct iwi_cmd_ring *);
91 static void iwi_free_cmd_ring(struct iwi_softc *, struct iwi_cmd_ring *);
92 static int iwi_alloc_tx_ring(struct iwi_softc *, struct iwi_tx_ring *,
94 static void iwi_reset_tx_ring(struct iwi_softc *, struct iwi_tx_ring *);
95 static void iwi_free_tx_ring(struct iwi_softc *, struct iwi_tx_ring *);
97 iwi_alloc_rx_buf(struct iwi_softc *sc);
98 static int iwi_alloc_rx_ring(struct iwi_softc *, struct iwi_rx_ring *,
100 static void iwi_reset_rx_ring(struct iwi_softc *, struct iwi_rx_ring *);
101 static void iwi_free_rx_ring(struct iwi_softc *, struct iwi_rx_ring *);
110 static uint16_t iwi_read_prom_word(struct iwi_softc *, uint8_t);
113 static void iwi_frame_intr(struct iwi_softc *, struct iwi_rx_data *, int,
115 static void iwi_notification_intr(struct iwi_softc *, struct iwi_notif *);
116 static void iwi_cmd_intr(struct iwi_softc *);
117 static void iwi_rx_intr(struct iwi_softc *);
118 static void iwi_tx_intr(struct iwi_softc *, struct iwi_tx_ring *);
121 static int iwi_cmd(struct iwi_softc *, uint8_t, void *, uint8_t, int);
122 static void iwi_write_ibssnode(struct iwi_softc *, const struct iwi_node *);
128 static int iwi_alloc_unr(struct iwi_softc *);
129 static void iwi_free_unr(struct iwi_softc *, int);
131 static int iwi_get_table0(struct iwi_softc *, uint32_t *);
134 static void iwi_stop_master(struct iwi_softc *);
135 static int iwi_reset(struct iwi_softc *);
136 static int iwi_load_ucode(struct iwi_softc *, void *, int);
137 static int iwi_load_firmware(struct iwi_softc *, void *, int);
138 static int iwi_cache_firmware(struct iwi_softc *);
139 static void iwi_free_firmware(struct iwi_softc *);
140 static int iwi_config(struct iwi_softc *);
141 static int iwi_set_chan(struct iwi_softc *, struct ieee80211_channel *);
142 static int iwi_scan(struct iwi_softc *);
143 static int iwi_auth_and_assoc(struct iwi_softc *);
146 static int iwi_getrfkill(struct iwi_softc *);
147 static void iwi_led_set(struct iwi_softc *, uint32_t, int);
148 static void iwi_sysctlattach(struct iwi_softc *);
151 MEM_READ_1(struct iwi_softc *sc, uint32_t addr)
158 MEM_READ_4(struct iwi_softc *sc, uint32_t addr)
164 CFATTACH_DECL_NEW(iwi, sizeof (struct iwi_softc), iwi_match, iwi_attach,
198 struct iwi_softc *sc = device_private(self);
455 struct iwi_softc *sc = device_private(self);
489 iwi_alloc_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring,
548 iwi_reset_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring)
566 iwi_free_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring)
580 iwi_alloc_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring,
657 iwi_reset_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring)
685 iwi_free_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring)
713 iwi_alloc_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring, int count)
761 iwi_reset_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring)
767 iwi_free_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring)
799 iwi_alloc_unr(struct iwi_softc *sc)
813 iwi_free_unr(struct iwi_softc *sc, int r)
823 struct iwi_softc *sc = ic->ic_ifp->if_softc;
877 struct iwi_softc *sc = ifp->if_softc;
912 struct iwi_softc *sc = ic->ic_ifp->if_softc;
981 struct iwi_softc *sc = ic->ic_ifp->if_softc;
1029 iwi_read_prom_word(struct iwi_softc *sc, uint8_t addr)
1119 iwi_alloc_rx_buf(struct iwi_softc *sc)
1142 iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, int i,
1241 iwi_notification_intr(struct iwi_softc *sc, struct iwi_notif *notif)
1367 iwi_cmd_intr(struct iwi_softc *sc)
1387 iwi_rx_intr(struct iwi_softc *sc)
1433 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq)
1478 struct iwi_softc *sc = arg;
1494 struct iwi_softc *sc = arg;
1554 iwi_cmd(struct iwi_softc *sc, uint8_t type, void *data, uint8_t len,
1583 iwi_write_ibssnode(struct iwi_softc *sc, const struct iwi_node *in)
1600 struct iwi_softc *sc = ifp->if_softc;
1767 struct iwi_softc *sc = ifp->if_softc;
1839 struct iwi_softc *sc = ifp->if_softc;
1858 iwi_get_table0(struct iwi_softc *sc, uint32_t *tbl)
1880 struct iwi_softc *sc = ifp->if_softc;
1949 iwi_stop_master(struct iwi_softc *sc)
1972 iwi_reset(struct iwi_softc *sc)
2014 iwi_load_ucode(struct iwi_softc *sc, void *uc, int size)
2077 iwi_load_firmware(struct iwi_softc *sc, void *fw, int size)
2216 iwi_cache_firmware(struct iwi_softc *sc)
2311 iwi_free_firmware(struct iwi_softc *sc)
2323 iwi_config(struct iwi_softc *sc)
2486 iwi_set_chan(struct iwi_softc *sc, struct ieee80211_channel *chan)
2504 iwi_scan(struct iwi_softc *sc)
2568 iwi_softc *sc)
2717 struct iwi_softc *sc = ifp->if_softc;
2813 iwi_getrfkill(struct iwi_softc *sc)
2822 struct iwi_softc *sc;
2826 sc = (struct iwi_softc *)node.sysctl_data;
2870 iwi_sysctlattach(struct iwi_softc *sc)
2919 struct iwi_softc *sc = ifp->if_softc;
2942 iwi_led_set(struct iwi_softc *sc, uint32_t state, int toggle)