Home
last modified time | relevance | path

Searched refs:leptr (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amd/
H A D7990.c119 int leptr; in load_csrs() local
121 leptr = LANCE_ADDR(aib); in load_csrs()
124 WRITERDP(lp, leptr & 0xFFFF); in load_csrs()
126 WRITERDP(lp, leptr >> 16); in load_csrs()
142 int leptr; in lance_init_ring() local
181 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
196 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
211 ib->rx_ptr = leptr; in lance_init_ring()
213 printk("RX ptr: %8.8x\n", leptr); in lance_init_ring()
218 ib->tx_ptr = leptr; in lance_init_ring()
[all …]
H A Da2065.c132 int leptr = LANCE_ADDR(aib); in load_csrs() local
135 ll->rdp = (leptr & 0xFFFF); in load_csrs()
137 ll->rdp = leptr >> 16; in load_csrs()
152 int leptr; in lance_init_ring() local
175 leptr = LANCE_ADDR(&aib->tx_buf[i][0]); in lance_init_ring()
176 ib->btx_ring[i].tmd0 = leptr; in lance_init_ring()
190 ib->brx_ring[i].rmd0 = leptr; in lance_init_ring()
202 leptr = LANCE_ADDR(&aib->brx_ring); in lance_init_ring()
204 ib->rx_ptr = leptr; in lance_init_ring()
208 leptr = LANCE_ADDR(&aib->btx_ring); in lance_init_ring()
[all …]
H A Dsunlance.c297 u32 leptr; in load_csrs() local
300 leptr = 0; in load_csrs()
321 __u32 leptr; in lance_init_ring_dvma() local
342 ib->btx_ring [i].tmd0 = leptr; in lance_init_ring_dvma()
365 ib->rx_ptr = leptr; in lance_init_ring_dvma()
370 ib->tx_ptr = leptr; in lance_init_ring_dvma()
377 u32 leptr; in lance_init_ring_pio() local
397 leptr = libbuff_offset(tx_buf, i); in lance_init_ring_pio()
409 leptr = libbuff_offset(rx_buf, i); in lance_init_ring_pio()
425 sbus_writew(leptr, &ib->rx_ptr); in lance_init_ring_pio()
[all …]
H A Ddeclance.c306 uint leptr; in load_csrs() local
311 leptr = 0; in load_csrs()
314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs()
316 writereg(&ll->rdp, leptr >> 16); in load_csrs()
454 uint leptr; in lance_init_ring() local
476 (leptr >> 16); in lance_init_ring()
477 *lib_ptr(ib, rx_ptr, lp->type) = leptr; in lance_init_ring()
485 (leptr >> 16); in lance_init_ring()
486 *lib_ptr(ib, tx_ptr, lp->type) = leptr; in lance_init_ring()
496 leptr = lp->tx_buf_ptr_lnc[i]; in lance_init_ring()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-mlink.c57 u32 leptr; member
135 h2link->leptr = readl(ml_addr + AZX_REG_ML_LEPTR); in hdaml_lnk_enum()
137 h2link->elid = FIELD_GET(AZX_REG_ML_LEPTR_ID, h2link->leptr); in hdaml_lnk_enum()
139 base_offset = FIELD_GET(AZX_REG_ML_LEPTR_PTR, h2link->leptr); in hdaml_lnk_enum()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_struct.h135 u64 leptr : 8; member