Lines Matching defs:void
49 static void *ral_soft_state_p = NULL;
160 (void *)&ral_modldrv,
164 static int rt2560_m_stat(void *, uint_t, uint64_t *);
165 static int rt2560_m_start(void *);
166 static void rt2560_m_stop(void *);
167 static int rt2560_m_promisc(void *, boolean_t);
168 static int rt2560_m_multicst(void *, boolean_t, const uint8_t *);
169 static int rt2560_m_unicst(void *, const uint8_t *);
170 static mblk_t *rt2560_m_tx(void *, mblk_t *);
171 static void rt2560_m_ioctl(void *, queue_t *, mblk_t *);
172 static int rt2560_m_setprop(void *, const char *, mac_prop_id_t,
173 uint_t, const void *);
174 static int rt2560_m_getprop(void *, const char *, mac_prop_id_t,
175 uint_t, void *);
176 static void rt2560_m_propinfo(void *, const char *, mac_prop_id_t,
200 void
212 static void
230 static void
240 static void
255 static void
297 static void
323 static void
418 (void) RAL_READ(sc, RT2560_CNT0);
426 static void
458 static void
486 void
551 (void) ddi_dma_unbind_handle(dr->dr_hnd);
561 void
564 (void) ddi_dma_unbind_handle(dr->dr_hnd);
622 void
641 (void) ddi_dma_sync(ring->dr_desc.dr_hnd, 0,
649 void
671 void
753 static void
763 (void) ddi_dma_sync(ring->dr_desc.dr_hnd, 0,
771 static void
795 static void
810 static void
811 rt2560_next_scan(void *arg)
817 (void) ieee80211_next_scan(ic);
824 static void
825 rt2560_iter_func(void *arg, struct ieee80211_node *ni)
836 static void
837 rt2560_update_rssadapt(void *arg)
843 sc->sc_rssadapt_id = timeout(rt2560_update_rssadapt, (void *)sc,
847 static void
848 rt2560_statedog(void *arg)
880 (void) untimeout(sc->sc_scan_id);
885 (void) untimeout(sc->sc_rssadapt_id);
890 (void) untimeout(sc->sc_state_id);
906 sc->sc_scan_id = timeout(rt2560_next_scan, (void *)sc,
918 sc->sc_state_id = timeout(rt2560_statedog, (void *)sc,
937 (void *)sc, drv_usectohz(100 * 1000));
1013 static void
1027 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_TX_DESC_SIZE,
1094 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_TX_DESC_SIZE,
1101 static void
1113 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_TX_DESC_SIZE,
1161 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_TX_DESC_SIZE,
1172 void
1194 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_RX_DESC_SIZE,
1246 (void) ddi_dma_sync(dr_bf->dr_hnd, 0, dr_bf->dr_size,
1260 (void) ieee80211_input(ic, m, ni, desc->rssi, 0);
1272 (void) ddi_dma_sync(dr->dr_hnd, 0, count * RT2560_TX_DESC_SIZE,
1382 void
1469 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
1527 (void) ddi_dma_sync(dr->dr_hnd, 0, RAL_TXBUF_SIZE, DDI_DMA_SYNC_FORDEV);
1530 (void) ddi_dma_sync(dr->dr_hnd, idx * RT2560_TX_DESC_SIZE,
1599 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
1613 (void) ieee80211_encap(ic, m, ni);
1681 (void) ddi_dma_sync(dr->dr_hnd, 0, RAL_TXBUF_SIZE, DDI_DMA_SYNC_FORDEV);
1684 (void) ddi_dma_sync(dr->dr_hnd, idx * RT2560_TX_DESC_SIZE,
1711 rt2560_m_tx(void *arg, mblk_t *mp)
1746 static void
1761 static void
1777 static void
1807 static void
1862 static void
1889 static void
1909 static void
1995 (void) RAL_READ(sc, RT2560_CNT0);
1996 (void) RAL_READ(sc, RT2560_CNT4);
2008 void
2009 rt2560_watchdog(void *arg)
2027 (void) rt2560_init(sc);
2028 (void) ieee80211_new_state(ic, IEEE80211_S_SCAN, -1);
2045 rt2560_m_start(void *arg)
2066 static void
2067 rt2560_m_stop(void *arg)
2071 (void) rt2560_stop(sc);
2076 rt2560_m_unicst(void *arg, const uint8_t *macaddr)
2085 (void) rt2560_set_macaddr(sc, (uint8_t *)macaddr);
2086 (void) rt2560_init(sc);
2093 rt2560_m_multicst(void *arg, boolean_t add, const uint8_t *mca)
2099 rt2560_m_promisc(void *arg, boolean_t on)
2119 rt2560_m_setprop(void *arg, const char *pr_name, mac_prop_id_t wldp_pr_num,
2120 uint_t wldp_length, const void *wldp_buf)
2132 (void) rt2560_init(sc);
2133 (void) ieee80211_new_state(ic, IEEE80211_S_SCAN, -1);
2144 rt2560_m_getprop(void *arg, const char *pr_name, mac_prop_id_t wldp_pr_num,
2145 uint_t wldp_length, void *wldp_buf)
2156 static void
2157 rt2560_m_propinfo(void *arg, const char *pr_name, mac_prop_id_t wldp_pr_num,
2165 static void
2166 rt2560_m_ioctl(void* arg, queue_t *wq, mblk_t *mp)
2177 (void) rt2560_init(sc);
2178 (void) ieee80211_new_state(ic, IEEE80211_S_SCAN, -1);
2186 rt2560_m_stat(void *arg, uint_t stat, uint64_t *val)
2367 (void) rt2560_init(sc);
2603 (void) snprintf(strbuf, sizeof (strbuf), "%s%d",
2653 (void) rt2560_stop(sc);
2668 (void) mac_unregister(sc->sc_ic.ic_mach);
2702 _init(void)
2721 _fini(void)