/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_dma.c | 74 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac1000_dma_operation_mode() local 79 csr6 |= DMA_CONTROL_TSF; in dwmac1000_dma_operation_mode() 82 csr6 |= DMA_CONTROL_OSF; in dwmac1000_dma_operation_mode() 86 csr6 &= ~DMA_CONTROL_TSF; in dwmac1000_dma_operation_mode() 87 csr6 &= DMA_CONTROL_TC_TX_MASK; in dwmac1000_dma_operation_mode() 90 csr6 |= DMA_CONTROL_TTC_32; in dwmac1000_dma_operation_mode() 92 csr6 |= DMA_CONTROL_TTC_64; in dwmac1000_dma_operation_mode() 94 csr6 |= DMA_CONTROL_TTC_128; in dwmac1000_dma_operation_mode() 96 csr6 |= DMA_CONTROL_TTC_192; in dwmac1000_dma_operation_mode() 98 csr6 |= DMA_CONTROL_TTC_256; in dwmac1000_dma_operation_mode() [all …]
|
D | dwmac100_dma.c | 74 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac100_dma_operation_mode() local 77 csr6 |= DMA_CONTROL_TTC_32; in dwmac100_dma_operation_mode() 79 csr6 |= DMA_CONTROL_TTC_64; in dwmac100_dma_operation_mode() 81 csr6 |= DMA_CONTROL_TTC_128; in dwmac100_dma_operation_mode() 83 writel(csr6, ioaddr + DMA_CONTROL); in dwmac100_dma_operation_mode()
|
D | dwmac_lib.c | 224 u32 csr6 = readl(ioaddr + DMA_CONTROL); in dwmac_dma_flush_tx_fifo() local 225 writel((csr6 | DMA_CONTROL_FTF), ioaddr + DMA_CONTROL); in dwmac_dma_flush_tx_fifo()
|
/linux-3.4.99/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 | 24 u32 new_csr6 = tp->csr6 & ~0x40C40200; in pnic_do_nway() 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 525 iowrite32(tp->csr6 | RxTx, ioaddr + CSR6); in tulip_start_rxtx() 533 u32 csr6 = ioread32(ioaddr + CSR6); in tulip_stop_rxtx() local 535 if (csr6 & RxTx) { in tulip_stop_rxtx() 537 iowrite32(csr6 & ~RxTx, ioaddr + CSR6); in tulip_stop_rxtx()
|
D | winbond-840.c | 310 int csr6; member 685 return np->csr6; in update_link() 696 return np->csr6; in update_link() 728 result = np->csr6 & ~0x20000200; in update_link() 733 if (result != np->csr6 && debug) in update_link() 750 if (new==np->csr6) in update_csr6() 753 iowrite32(np->csr6 & ~0x2002, ioaddr + NetworkConfig); in update_csr6() 775 np->csr6 = new; in update_csr6() 777 iowrite32(np->csr6, ioaddr + NetworkConfig); in update_csr6() 919 np->csr6 = 0; in init_registers() [all …]
|
D | tulip_core.c | 414 tp->csr6 = 0; in tulip_up() 436 tp->csr6 = csr6_mask_hdcap; in tulip_up() 452 tp->csr6 = 0x814C0000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 459 tp->csr6 = 0x00420000; in tulip_up() 467 tp->csr6 = 0x01880000 | (tp->full_duplex ? 0x0200 : 0); in tulip_up() 472 tp->csr6 = 0x01a80200; in tulip_up() 479 tp->csr6 = 0x00040000; in tulip_up() 481 tp->csr6 = tp->mii_cnt ? 0x00040100 : 0x00000100; in tulip_up() 489 iowrite32(tp->csr6 | TxOn, ioaddr + CSR6); in tulip_up() 1073 int csr6; in set_rx_mode() local [all …]
|
D | media.c | 392 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); in tulip_select_media() 428 new_csr6 = tp->csr6; in tulip_check_duplex() 435 if (new_csr6 != tp->csr6) { in tulip_check_duplex() 436 tp->csr6 = new_csr6; in tulip_check_duplex()
|
D | interrupt.c | 655 tp->csr6); in tulip_interrupt() 668 if ((tp->csr6 & 0xC000) != 0xC000) in tulip_interrupt() 669 tp->csr6 += 0x4000; /* Bump up the Tx threshold */ in tulip_interrupt() 671 tp->csr6 |= 0x00200000; /* Store-n-forward. */ in tulip_interrupt()
|
D | de4x5.c | 828 s32 csr6; /* Saved Operating Mode Reg. */ member 3734 lp->cache.csr6 = (inl(DE4X5_OMR) & ~(OMR_ST | OMR_SR)); in de4x5_cache_state() 3740 outl(lp->cache.csr6, DE4X5_OMR); in de4x5_cache_state() 4544 u_char flags, csr6; in compact_infoblock() local 4561 csr6 = *p++; in compact_infoblock() 4566 lp->asBit = 1 << ((csr6 >> 1) & 0x07); in compact_infoblock() 4567 lp->asPolarity = ((csr6 & 0x80) ? -1 : 0) & lp->asBit; in compact_infoblock() 4568 lp->infoblock_csr6 = OMR_DEF | ((csr6 & 0x71) << 18); in compact_infoblock() 4584 u_char flags, csr6, len = (*p & BLOCK_LEN)+1; in type0_infoblock() local 4602 csr6 = *p++; in type0_infoblock() [all …]
|
/linux-3.4.99/drivers/net/wan/lmc/ |
D | lmc_main.c | 1178 u32 csr6; in lmc_ifdown() local 1193 csr6 = LMC_CSR_READ (sc, csr_command); in lmc_ifdown() 1194 csr6 &= ~LMC_DEC_ST; /* Turn off the Transmission bit */ in lmc_ifdown() 1195 csr6 &= ~LMC_DEC_SR; /* Turn off the Receive bit */ in lmc_ifdown() 1196 LMC_CSR_WRITE (sc, csr_command, csr6); in lmc_ifdown() 2093 u32 csr6; in lmc_driver_timeout() local 2125 csr6 = LMC_CSR_READ (sc, csr_command); in lmc_driver_timeout() 2126 LMC_CSR_WRITE (sc, csr_command, csr6 | 0x0002); in lmc_driver_timeout() 2127 LMC_CSR_WRITE (sc, csr_command, csr6 | 0x2002); in lmc_driver_timeout()
|
/linux-3.4.99/drivers/net/wireless/rt2x00/ |
D | rt2500usb.c | 531 u16 csr6; in rt2500usb_config_ant() local 543 rt2500usb_register_read(rt2x00dev, PHY_CSR6, &csr6); in rt2500usb_config_ant() 552 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 1); in rt2500usb_config_ant() 557 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 0); in rt2500usb_config_ant() 563 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM, 2); in rt2500usb_config_ant() 589 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM_FLIP, 1); in rt2500usb_config_ant() 598 rt2x00_set_field16(&csr6, PHY_CSR6_OFDM_FLIP, 0); in rt2500usb_config_ant() 604 rt2500usb_register_write(rt2x00dev, PHY_CSR6, csr6); in rt2500usb_config_ant()
|