Lines Matching full:rx_ctl

227 		netdev_err(dev->net, "Error reading RX_CTL register:%02x\n",  in sr_read_rx_ctl()
245 "Failed to write RX_CTL mode to 0x%04x:%02x\n", in sr_write_rx_ctl()
294 /* SR9800 have a 16-bit RX_CTL value */
299 u16 rx_ctl = SR_DEFAULT_RX_CTL; in sr_set_multicast() local
302 rx_ctl |= SR_RX_CTL_PRO; in sr_set_multicast()
305 rx_ctl |= SR_RX_CTL_AMALL; in sr_set_multicast()
329 rx_ctl |= SR_RX_CTL_AM; in sr_set_multicast()
332 sr_write_cmd_async(dev, SR_CMD_WRITE_RX_CTL, rx_ctl, 0, 0, NULL); in sr_set_multicast()
560 u16 rx_ctl; in sr9800_set_default_mode() local
580 /* Set RX_CTL to default values with 2k buffer, and enable cactus */ in sr9800_set_default_mode()
585 rx_ctl = sr_read_rx_ctl(dev); in sr9800_set_default_mode()
586 netdev_dbg(dev->net, "RX_CTL is 0x%04x after all initializations\n", in sr9800_set_default_mode()
587 rx_ctl); in sr9800_set_default_mode()
589 rx_ctl = sr_read_medium_status(dev); in sr9800_set_default_mode()
591 rx_ctl); in sr9800_set_default_mode()
602 u16 rx_ctl; in sr9800_reset() local
640 rx_ctl = sr_read_rx_ctl(dev); in sr9800_reset()
641 netdev_dbg(dev->net, "RX_CTL is 0x%04x after software reset\n", rx_ctl); in sr9800_reset()
646 rx_ctl = sr_read_rx_ctl(dev); in sr9800_reset()
647 netdev_dbg(dev->net, "RX_CTL is 0x%04x setting to 0x0000\n", rx_ctl); in sr9800_reset()
736 u16 rx_ctl; in sr9800_bind() local
792 rx_ctl = sr_read_rx_ctl(dev); in sr9800_bind()
793 netdev_dbg(dev->net, "RX_CTL is 0x%04x after software reset\n", rx_ctl); in sr9800_bind()
798 rx_ctl = sr_read_rx_ctl(dev); in sr9800_bind()
799 netdev_dbg(dev->net, "RX_CTL is 0x%04x setting to 0x0000\n", rx_ctl); in sr9800_bind()
816 netdev_err(dev->net, "Reset RX_CTL failed: %d\n", ret); in sr9800_bind()
827 netdev_err(dev->net, "Reset RX_CTL failed: %d\n", ret); in sr9800_bind()