Lines Matching refs:ctl

331 				u16 ctl,  in tx_write_2byte_queue()  argument
339 ctl |= B43_PIO_TXCTL_WRITELO | B43_PIO_TXCTL_WRITEHI; in tx_write_2byte_queue()
340 b43_piotx_write16(q, B43_PIO_TXCTL, ctl); in tx_write_2byte_queue()
350 ctl &= ~B43_PIO_TXCTL_WRITEHI; in tx_write_2byte_queue()
351 b43_piotx_write16(q, B43_PIO_TXCTL, ctl); in tx_write_2byte_queue()
359 return ctl; in tx_write_2byte_queue()
368 u16 ctl; in pio_tx_frame_2byte_queue() local
370 ctl = b43_piotx_read16(q, B43_PIO_TXCTL); in pio_tx_frame_2byte_queue()
371 ctl |= B43_PIO_TXCTL_FREADY; in pio_tx_frame_2byte_queue()
372 ctl &= ~B43_PIO_TXCTL_EOF; in pio_tx_frame_2byte_queue()
375 ctl = tx_write_2byte_queue(q, ctl, hdr, hdrlen); in pio_tx_frame_2byte_queue()
377 ctl = tx_write_2byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_2byte_queue()
379 ctl |= B43_PIO_TXCTL_EOF; in pio_tx_frame_2byte_queue()
380 b43_piotx_write16(q, B43_PIO_TXCTL, ctl); in pio_tx_frame_2byte_queue()
384 u32 ctl, in tx_write_4byte_queue() argument
392 ctl |= B43_PIO8_TXCTL_0_7 | B43_PIO8_TXCTL_8_15 | in tx_write_4byte_queue()
394 b43_piotx_write32(q, B43_PIO8_TXCTL, ctl); in tx_write_4byte_queue()
405 ctl &= ~(B43_PIO8_TXCTL_8_15 | B43_PIO8_TXCTL_16_23 | in tx_write_4byte_queue()
409 ctl |= B43_PIO8_TXCTL_16_23 | B43_PIO8_TXCTL_8_15; in tx_write_4byte_queue()
415 ctl |= B43_PIO8_TXCTL_8_15; in tx_write_4byte_queue()
423 b43_piotx_write32(q, B43_PIO8_TXCTL, ctl); in tx_write_4byte_queue()
429 return ctl; in tx_write_4byte_queue()
438 u32 ctl; in pio_tx_frame_4byte_queue() local
440 ctl = b43_piotx_read32(q, B43_PIO8_TXCTL); in pio_tx_frame_4byte_queue()
441 ctl |= B43_PIO8_TXCTL_FREADY; in pio_tx_frame_4byte_queue()
442 ctl &= ~B43_PIO8_TXCTL_EOF; in pio_tx_frame_4byte_queue()
445 ctl = tx_write_4byte_queue(q, ctl, hdr, hdrlen); in pio_tx_frame_4byte_queue()
447 ctl = tx_write_4byte_queue(q, ctl, frame, frame_len); in pio_tx_frame_4byte_queue()
449 ctl |= B43_PIO8_TXCTL_EOF; in pio_tx_frame_4byte_queue()
450 b43_piotx_write32(q, B43_PIO_TXCTL, ctl); in pio_tx_frame_4byte_queue()
636 u32 ctl; in pio_rx_frame() local
638 ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); in pio_rx_frame()
639 if (!(ctl & B43_PIO8_RXCTL_FRAMERDY)) in pio_rx_frame()
644 ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); in pio_rx_frame()
645 if (ctl & B43_PIO8_RXCTL_DATARDY) in pio_rx_frame()
650 u16 ctl; in pio_rx_frame() local
652 ctl = b43_piorx_read16(q, B43_PIO_RXCTL); in pio_rx_frame()
653 if (!(ctl & B43_PIO_RXCTL_FRAMERDY)) in pio_rx_frame()
658 ctl = b43_piorx_read16(q, B43_PIO_RXCTL); in pio_rx_frame()
659 if (ctl & B43_PIO_RXCTL_DATARDY) in pio_rx_frame()