/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_dma.c | 129 static u32 dwmac1000_configure_fc(u32 csr6, int rxfifosz) in dwmac1000_configure_fc() argument 131 csr6 &= ~DMA_CONTROL_RFA_MASK; in dwmac1000_configure_fc() 132 csr6 &= ~DMA_CONTROL_RFD_MASK; in dwmac1000_configure_fc() 139 csr6 &= ~DMA_CONTROL_EFC; in dwmac1000_configure_fc() 143 csr6 |= DMA_CONTROL_EFC; in dwmac1000_configure_fc() 144 csr6 |= RFA_FULL_MINUS_1K; in dwmac1000_configure_fc() 145 csr6 |= RFD_FULL_MINUS_2K; in dwmac1000_configure_fc() 147 return csr6; in dwmac1000_configure_fc() 153 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac1000_dma_operation_mode_rx() local 157 csr6 |= DMA_CONTROL_RSF; in dwmac1000_dma_operation_mode_rx() [all …]
|
D | dwmac100_dma.c | 56 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac100_dma_operation_mode_tx() local 59 csr6 |= DMA_CONTROL_TTC_32; in dwmac100_dma_operation_mode_tx() 61 csr6 |= DMA_CONTROL_TTC_64; in dwmac100_dma_operation_mode_tx() 63 csr6 |= DMA_CONTROL_TTC_128; in dwmac100_dma_operation_mode_tx() 65 writel(csr6, ioaddr + DMA_CONTROL); in dwmac100_dma_operation_mode_tx()
|
D | dwmac_lib.c | 236 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac_dma_flush_tx_fifo() local 237 writel((csr6 | DMA_CONTROL_FTF), ioaddr + DMA_CONTROL); in dwmac_dma_flush_tx_fifo()
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | pnic2.c | 135 tp->csr6 = ioread32(ioaddr + CSR6); in pnic2_start_nway() 137 netdev_dbg(dev, "On Entry to Nway, csr6=%08x\n", tp->csr6); in pnic2_start_nway() 142 tp->csr6 = tp->csr6 & 0xfe3bd1fd; in pnic2_start_nway() 146 if (tp->sym_advertise & 0x0040) tp->csr6 |= 0x00000200; in pnic2_start_nway() 152 tp->csr6 |= 0x01000000; in pnic2_start_nway() 154 iowrite32(tp->csr6, ioaddr + CSR6); in pnic2_start_nway() 253 tp->csr6 = (ioread32(ioaddr + CSR6) & 0xfe3bd1fd); in pnic2_lnk_change() 261 if (dev->if_port & 1) tp->csr6 |= 0x01840000; in pnic2_lnk_change() 262 else tp->csr6 |= 0x00400000; in pnic2_lnk_change() 265 if (tp->full_duplex) tp->csr6 |= 0x00000200; in pnic2_lnk_change() [all …]
|
D | 21142.c | 95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { in t21142_media_task() 96 tp->csr6 &= 0x00D5; in t21142_media_task() 97 tp->csr6 |= new_csr6; in t21142_media_task() 127 tp->csr6 = 0x82420000 | (tp->sym_advertise & 0x0040 ? FullDuplex : 0); in t21142_start_nway() 128 iowrite32(tp->csr6, ioaddr + CSR6); in t21142_start_nway() 198 tp->csr6 = (dev->if_port & 1 ? 0x838E0000 : 0x82420000) | (tp->csr6 & 0x20ff); in t21142_lnk_change() 200 tp->csr6 |= 0x0200; in t21142_lnk_change() 204 iowrite32(tp->csr6 | RxOn, ioaddr + CSR6); in t21142_lnk_change() 212 tp->csr6, ioread32(ioaddr + CSR6), in t21142_lnk_change() 245 medianame[dev->if_port], tp->csr6); in t21142_lnk_change() [all …]
|
D | pnic.c | 43 if (tp->csr6 != new_csr6) { in pnic_do_nway() 44 tp->csr6 = new_csr6; in pnic_do_nway() 69 tp->csr6 = 0x00420000 | (tp->csr6 & 0x0000fdff); in pnic_lnk_change() 70 iowrite32(tp->csr6, ioaddr + CSR6); in pnic_lnk_change() 110 int new_csr6 = tp->csr6 & ~0x40C40200; in pnic_timer() 146 if (tp->csr6 != new_csr6) { in pnic_timer() 147 tp->csr6 = new_csr6; in pnic_timer()
|
D | tulip.h | 438 unsigned int csr6; /* Current CSR6 control settings. */ member 524 iowrite32(tp->csr6 | RxTx, ioaddr + CSR6); in tulip_start_rxtx() 532 u32 csr6 = ioread32(ioaddr + CSR6); in tulip_stop_rxtx() local 534 if (csr6 & RxTx) { in tulip_stop_rxtx() 536 iowrite32(csr6 & ~RxTx, ioaddr + CSR6); in tulip_stop_rxtx()
|
D | tulip_core.c | 402 tp->csr6 = 0; in tulip_up() 424 tp->csr6 = csr6_mask_hdcap; in tulip_up() 440 tp->csr6 = 0x814C0000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 447 tp->csr6 = 0x00420000; in tulip_up() 455 tp->csr6 = 0x01880000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 460 tp->csr6 = 0x01a80200; in tulip_up() 467 tp->csr6 = 0x00040000; in tulip_up() 469 tp->csr6 = tp->mii_cnt ? 0x00040100 : 0x00000100; in tulip_up() 477 iowrite32(tp->csr6 | TxOn, ioaddr + CSR6); in tulip_up() 1058 int csr6; in set_rx_mode() local [all …]
|
D | winbond-840.c | 300 int csr6; member 667 return np->csr6; in update_link() 678 return np->csr6; in update_link() 710 result = np->csr6 & ~0x20000200; in update_link() 715 if (result != np->csr6 && debug) in update_link() 732 if (new==np->csr6) in update_csr6() 735 iowrite32(np->csr6 & ~0x2002, ioaddr + NetworkConfig); in update_csr6() 757 np->csr6 = new; in update_csr6() 759 iowrite32(np->csr6, ioaddr + NetworkConfig); in update_csr6() 899 np->csr6 = 0; in init_registers() [all …]
|
D | media.c | 386 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); in tulip_select_media() 422 new_csr6 = tp->csr6; in tulip_check_duplex() 429 if (new_csr6 != tp->csr6) { in tulip_check_duplex() 430 tp->csr6 = new_csr6; in tulip_check_duplex()
|
D | interrupt.c | 669 tp->csr6); in tulip_interrupt() 682 if ((tp->csr6 & 0xC000) != 0xC000) in tulip_interrupt() 683 tp->csr6 += 0x4000; /* Bump up the Tx threshold */ in tulip_interrupt() 685 tp->csr6 |= 0x00200000; /* Store-n-forward. */ in tulip_interrupt()
|
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ |
D | rt2500usb.c | 506 u16 csr6; in rt2500usb_config_ant() local 518 csr6 = rt2500usb_register_read(rt2x00dev, PHY_CSR6); in rt2500usb_config_ant() 527 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 1); in rt2500usb_config_ant() 532 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 0); in rt2500usb_config_ant() 538 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 2); in rt2500usb_config_ant() 564 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM_FLIP, 1); in rt2500usb_config_ant() 573 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM_FLIP, 0); in rt2500usb_config_ant() 579 rt2500usb_register_write(rt2x00dev, PHY_CSR6, csr6); in rt2500usb_config_ant()
|