sys/dev/ti/if_ti.c
2451
sc->ti_membuf = malloc(sizeof(uint8_t) * TI_WINLEN, M_DEVBUF, M_NOWAIT);
sys/dev/ti/if_ti.c
2452
sc->ti_membuf2 = malloc(sizeof(uint8_t) * TI_WINLEN, M_DEVBUF,
sys/dev/ti/if_ti.c
430
if (cnt < TI_WINLEN)
sys/dev/ti/if_ti.c
433
segsize = TI_WINLEN - (segptr % TI_WINLEN);
sys/dev/ti/if_ti.c
434
CSR_WRITE_4(sc, TI_WINBASE, rounddown2(segptr, TI_WINLEN));
sys/dev/ti/if_ti.c
436
TI_WINDOW + (segptr & (TI_WINLEN - 1)), (uint32_t *)ptr,
sys/dev/ti/if_ti.c
459
if (cnt < TI_WINLEN)
sys/dev/ti/if_ti.c
462
segsize = TI_WINLEN - (segptr % TI_WINLEN);
sys/dev/ti/if_ti.c
463
CSR_WRITE_4(sc, TI_WINBASE, rounddown2(segptr, TI_WINLEN));
sys/dev/ti/if_ti.c
465
TI_WINDOW + (segptr & (TI_WINLEN - 1)), (uint32_t *)ptr,
sys/dev/ti/if_ti.c
486
if (cnt < TI_WINLEN)
sys/dev/ti/if_ti.c
489
segsize = TI_WINLEN - (segptr % TI_WINLEN);
sys/dev/ti/if_ti.c
490
CSR_WRITE_4(sc, TI_WINBASE, rounddown2(segptr, TI_WINLEN));
sys/dev/ti/if_ti.c
492
TI_WINDOW + (segptr & (TI_WINLEN - 1)), 0, segsize / 4);
sys/dev/ti/if_ti.c
556
if (cnt < TI_WINLEN)
sys/dev/ti/if_ti.c
559
segsize = TI_WINLEN - (segptr % TI_WINLEN);
sys/dev/ti/if_ti.c
560
CSR_WRITE_4(sc, TI_WINBASE, rounddown2(segptr, TI_WINLEN));
sys/dev/ti/if_ti.c
562
ti_offset = TI_WINDOW + (segptr & (TI_WINLEN -1));
sys/dev/ti/if_ti.c
633
CSR_WRITE_4(sc, TI_WINBASE, rounddown2(segptr, TI_WINLEN));
sys/dev/ti/if_ti.c
635
ti_offset = TI_WINDOW + (segptr & (TI_WINLEN - 1));