Searched refs:new_csr6 (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dpnic.c24 u32 new_csr6 = tp->csr6 & ~0x40C40200; pnic_do_nway() local
32 new_csr6 = (dev->if_port & 1) ? 0x01860000 : 0x00420000; pnic_do_nway()
38 new_csr6 |= 0x00000200; pnic_do_nway()
43 if (tp->csr6 != new_csr6) { pnic_do_nway()
44 tp->csr6 = new_csr6; pnic_do_nway()
110 int new_csr6 = tp->csr6 & ~0x40C40200; pnic_timer() local
138 new_csr6 = 0x01860000; pnic_timer()
143 new_csr6 = 0x00420000; pnic_timer()
146 if (tp->csr6 != new_csr6) { pnic_timer()
147 tp->csr6 = new_csr6; pnic_timer()
156 new_csr6); pnic_timer()
H A Dmedia.c172 u32 new_csr6; tulip_select_media() local
187 new_csr6 = 0x02000000 | ((p[2] & 0x71) << 18); tulip_select_media()
240 new_csr6 = 0x82020000 | ((setup[2] & 0x71) << 18); tulip_select_media()
242 new_csr6 = 0x82420000; tulip_select_media()
251 new_csr6 = 0x020E0000; tulip_select_media()
324 new_csr6 = 0; /* FIXME */ tulip_select_media()
343 new_csr6 = 0x020E0000; tulip_select_media()
357 new_csr6 = 0x810C0000; tulip_select_media()
363 new_csr6 = 0x00420000; tulip_select_media()
368 new_csr6 = 0x01860000; tulip_select_media()
373 new_csr6 = 0x00420000; tulip_select_media()
380 new_csr6 = 0x020E0000; tulip_select_media()
382 new_csr6 = 0x02860000; tulip_select_media()
384 new_csr6 = 0x03860000; tulip_select_media()
391 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); tulip_select_media()
405 unsigned int bmsr, lpa, negotiated, new_csr6; tulip_check_duplex() local
427 new_csr6 = tp->csr6; tulip_check_duplex()
429 if (negotiated & LPA_100) new_csr6 &= ~TxThreshold; tulip_check_duplex()
430 else new_csr6 |= TxThreshold; tulip_check_duplex()
431 if (tp->full_duplex) new_csr6 |= FullDuplex; tulip_check_duplex()
432 else new_csr6 &= ~FullDuplex; tulip_check_duplex()
434 if (new_csr6 != tp->csr6) { tulip_check_duplex()
435 tp->csr6 = new_csr6; tulip_check_duplex()
H A D21142.c36 int new_csr6 = 0; t21142_media_task() local
77 new_csr6 = 0x82420000; t21142_media_task()
85 new_csr6 = 0x83860000; t21142_media_task()
95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { t21142_media_task()
97 tp->csr6 |= new_csr6; t21142_media_task()

Completed in 213 milliseconds