Lines Matching defs:buf
490 u32 buf;
494 buf = lan743x_csr_read(adapter, lan743x_set0_hw_cnt_addr[i]);
495 data[data_index++] = (u64)buf;
500 buf = lan743x_csr_read(adapter, lan743x_set2_hw_cnt_addr[i]);
501 data[data_index++] = (u64)buf;
697 u32 buf;
712 buf = lan743x_csr_read(adapter, MAC_CR);
713 if (buf & MAC_CR_EEE_EN_) {
718 buf = lan743x_csr_read(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT);
719 eee->tx_lpi_timer = buf;
735 u32 buf = 0;
760 buf = (u32)eee->tx_lpi_timer;
761 lan743x_csr_write(adapter, MAC_EEE_TX_LPI_REQ_DLY_CNT, buf);
763 buf = lan743x_csr_read(adapter, MAC_CR);
764 buf |= MAC_CR_EEE_EN_;
765 lan743x_csr_write(adapter, MAC_CR, buf);
767 buf = lan743x_csr_read(adapter, MAC_CR);
768 buf &= ~MAC_CR_EEE_EN_;
769 lan743x_csr_write(adapter, MAC_CR, buf);