Lines Matching refs:sc_dev

241 	sc->sc_dev = dev;  in rt2860_attach()
262 device_printf(sc->sc_dev, in rt2860_attach()
277 device_printf(sc->sc_dev, "MAC/BBP RT%X (rev 0x%04X), " in rt2860_attach()
282 device_printf(sc->sc_dev, "MAC/BBP RT%X (rev 0x%04X), " in rt2860_attach()
293 device_printf(sc->sc_dev, in rt2860_attach()
300 device_printf(sc->sc_dev, "could not allocate Rx ring\n"); in rt2860_attach()
305 device_printf(sc->sc_dev, "could not allocate Tx pool\n"); in rt2860_attach()
458 device_printf(sc->sc_dev, "only 1 vap supported\n"); in rt2860_vap_create()
467 device_printf(sc->sc_dev, in rt2860_vap_create()
479 device_printf(sc->sc_dev, "unknown opmode %d\n", opmode); in rt2860_vap_create()
535 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 16, 0, in rt2860_alloc_tx_ring()
539 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 16, 0, in rt2860_alloc_tx_ring()
544 device_printf(sc->sc_dev, "could not create desc DMA tag\n"); in rt2860_alloc_tx_ring()
551 device_printf(sc->sc_dev, "could not allocate DMA memory\n"); in rt2860_alloc_tx_ring()
558 device_printf(sc->sc_dev, "could not load desc DMA map\n"); in rt2860_alloc_tx_ring()
648 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 4, 0, in rt2860_alloc_tx_pool()
652 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 1, 0, in rt2860_alloc_tx_pool()
657 device_printf(sc->sc_dev, "could not create txwi DMA tag\n"); in rt2860_alloc_tx_pool()
664 device_printf(sc->sc_dev, "could not allocate DMA memory\n"); in rt2860_alloc_tx_pool()
671 device_printf(sc->sc_dev, "could not load txwi DMA map\n"); in rt2860_alloc_tx_pool()
683 device_printf(sc->sc_dev, "could not create DMA map\n"); in rt2860_alloc_tx_pool()
729 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 16, 0, in rt2860_alloc_rx_ring()
733 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 16, 0, in rt2860_alloc_rx_ring()
738 device_printf(sc->sc_dev, "could not create desc DMA tag\n"); in rt2860_alloc_rx_ring()
745 device_printf(sc->sc_dev, "could not allocate DMA memory\n"); in rt2860_alloc_rx_ring()
752 device_printf(sc->sc_dev, "could not load desc DMA map\n"); in rt2860_alloc_rx_ring()
757 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 4, 0, in rt2860_alloc_rx_ring()
761 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 1, 0, in rt2860_alloc_rx_ring()
766 device_printf(sc->sc_dev, "could not create data DMA tag\n"); in rt2860_alloc_rx_ring()
776 device_printf(sc->sc_dev, "could not create DMA map\n"); in rt2860_alloc_rx_ring()
782 device_printf(sc->sc_dev, in rt2860_alloc_rx_ring()
792 device_printf(sc->sc_dev, in rt2860_alloc_rx_ring()
1301 device_get_name(sc->sc_dev)); in rt2860_rx_intr()
1662 device_printf(sc->sc_dev, "can't map mbuf (error %d)\n", in rt2860_tx()
1680 device_printf(sc->sc_dev, in rt2860_tx()
1695 device_printf(sc->sc_dev, "can't map mbuf (error %d)\n", in rt2860_tx()
1920 device_printf(sc->sc_dev, "can't map mbuf (error %d)\n", in rt2860_tx_raw()
1938 device_printf(sc->sc_dev, in rt2860_tx_raw()
1953 device_printf(sc->sc_dev, "can't map mbuf (error %d)\n", in rt2860_tx_raw()
2084 device_printf(sc->sc_dev, "device timeout\n"); in rt2860_watchdog()
2133 device_printf(sc->sc_dev, in rt2860_mcu_bbp_write()
2158 device_printf(sc->sc_dev, in rt2860_mcu_bbp_read()
2176 device_printf(sc->sc_dev, "could not read from BBP through MCU\n"); in rt2860_mcu_bbp_read()
2196 device_printf(sc->sc_dev, "could not write to RF\n"); in rt2860_rf_write()
2218 device_printf(sc->sc_dev, "could not read RF register\n"); in rt3090_rf_read()
2231 device_printf(sc->sc_dev, "could not read RF register\n"); in rt3090_rf_read()
2249 device_printf(sc->sc_dev, "could not write to RF\n"); in rt3090_rf_write()
3741 device_printf(sc->sc_dev, in rt2860_bbp_init()
3827 device_printf(sc->sc_dev, "timeout waiting for DMA engine\n"); in rt2860_txrx_enable()
3883 device_printf(sc->sc_dev, in rt2860_init_locked()
3904 device_printf(sc->sc_dev, "could not load 8051 microcode\n"); in rt2860_init_locked()
3925 device_printf(sc->sc_dev, "timeout waiting for DMA engine\n"); in rt2860_init_locked()
3972 device_printf(sc->sc_dev, "timeout waiting for MAC\n"); in rt2860_init_locked()
4025 device_printf(sc->sc_dev, "timeout waiting for DMA engine\n"); in rt2860_init_locked()
4188 device_printf(sc->sc_dev, in rt2860_load_microcode()
4213 device_printf(sc->sc_dev, in rt2860_load_microcode()