Searched refs:lastWrite (Results 1 – 2 of 2) sorted by relevance
473 cmd = (struct cmd_desc *)(ring->ringBase + ring->lastWrite); in typhoon_hello()474 typhoon_inc_cmd_index(&ring->lastWrite, 1); in typhoon_hello()478 writel(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); in typhoon_hello()543 typhoon_num_free(int lastWrite, int lastRead, int ringSize) in typhoon_num_free() argument548 lastWrite /= sizeof(struct cmd_desc); in typhoon_num_free()550 return (ringSize + lastRead - lastWrite - 1) % ringSize; in typhoon_num_free()556 int lastWrite = tp->cmdRing.lastWrite; in typhoon_num_free_cmd() local559 return typhoon_num_free(lastWrite, cmdCleared, COMMAND_ENTRIES); in typhoon_num_free_cmd()575 return typhoon_num_free(ring->lastWrite, ring->lastRead, TXLO_ENTRIES); in typhoon_num_free_tx()616 if(unlikely(ring->lastWrite + len > COMMAND_RING_SIZE)) { in typhoon_issue_command()[all …]
33 u32 lastWrite; member42 u32 lastWrite; member