Searched refs:BYTE_REG_BITS_ON (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/via/ |
D | via-velocity.h | 34 #define BYTE_REG_BITS_ON(x,p) do { writeb(readb((p))|(x),(p));} while (0) macro 1140 BYTE_REG_BITS_ON(MIBCR_MIBFRZ,&((regs)->MIBCR));\ 1141 BYTE_REG_BITS_ON(MIBCR_MIBCLR,&((regs)->MIBCR));\ 1182 BYTE_REG_BITS_ON(EECSR_RELOAD,&(regs->EECSR)); in mac_eeprom_reload() 1493 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs() 1497 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
|
D | via-velocity.c | 189 BYTE_REG_BITS_ON(CAMCR_CAMWR, ®s->CAMCR); in mac_set_cam() 211 BYTE_REG_BITS_ON(CAMCR_CAMWR, ®s->CAMCR); in mac_set_vlan_cam() 690 BYTE_REG_BITS_ON(MIICR_RCMD, ®s->MIICR); in velocity_mii_read() 772 BYTE_REG_BITS_ON(MIICR_WCMD, ®s->MIICR); in velocity_mii_write() 918 BYTE_REG_BITS_ON(CHIPGCR_FCMODE, ®s->CHIPGCR); in velocity_set_media_mode() 940 BYTE_REG_BITS_ON(TCR_TB2BDIS, ®s->TCR); in velocity_set_media_mode() 954 BYTE_REG_BITS_ON(TESTCFG_HBDIS, ®s->TESTCFG); in velocity_set_media_mode() 1170 BYTE_REG_BITS_ON(rx_mode, ®s->RCR); in velocity_set_multi() 1828 BYTE_REG_BITS_ON(TXESR_TDSTR, ®s->TXESR); in velocity_error() 1850 BYTE_REG_BITS_ON(TCR_TB2BDIS, ®s->TCR); in velocity_error() [all …]
|
D | via-rhine.c | 481 #define BYTE_REG_BITS_ON(x, p) do { iowrite8((ioread8((p))|(x)), (p)); } while (0) macro 1498 BYTE_REG_BITS_ON(TCR_PQEN, ioaddr + TxConfig); in rhine_init_cam_filter() 1855 BYTE_REG_BITS_ON(1 << 7, ioaddr + TQWake); in rhine_start_tx() 2166 BYTE_REG_BITS_ON(1 << 7, ioaddr + TQWake); in rhine_restart_tx() 2275 BYTE_REG_BITS_ON(BCR1_VIDFR, ioaddr + PCIBusConfig1); in rhine_set_rx_mode() 2277 BYTE_REG_BITS_ON(rx_mode, ioaddr + RxConfig); in rhine_set_rx_mode()
|