Searched refs:rx_pos (Results 1 – 8 of 8) sorted by relevance
26 u32 rx_pos, pkg_len; in spl2sw_rx_poll() local36 rx_pos = comm->rx_pos[queue]; in spl2sw_rx_poll()40 sinfo = comm->rx_skb_info[queue] + rx_pos; in spl2sw_rx_poll()41 desc = comm->rx_desc[queue] + rx_pos; in spl2sw_rx_poll()76 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()89 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()101 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()110 rx_pos = ((rx_pos + 1) == comm->rx_desc_num[queue]) ? 0 : rx_pos + 1; in spl2sw_rx_poll()121 comm->rx_pos[queue] = rx_pos; in spl2sw_rx_poll()125 h_desc = comm->rx_desc[queue] + rx_pos; in spl2sw_rx_poll()
251 comm->rx_pos[i] = 0; in spl2sw_mac_init()269 comm->rx_pos[i] = 0; in spl2sw_mac_soft_reset()
234 u32 rx_pos[RX_DESC_QUEUE_NUM]; member
208 comm->rx_pos[i] = 0; in spl2sw_descs_init()
70 unsigned int rx_pos; member111 if ((data->rx_pos + cnt) > dma->rx_size) in mtk8250_dma_rx_complete()112 cnt = dma->rx_size - data->rx_pos; in mtk8250_dma_rx_complete()114 ptr = (unsigned char *)(data->rx_pos + dma->rx_buf); in mtk8250_dma_rx_complete()116 data->rx_pos += cnt; in mtk8250_dma_rx_complete()122 data->rx_pos = cnt; in mtk8250_dma_rx_complete()185 data->rx_pos = 0; in mtk8250_dma_enable()
65 size_t rx_pos; member246 if (midev->rx_pos < MCTP_I2C_BUFSZ) { in mctp_i2c_slave_cb()247 midev->rx_buffer[midev->rx_pos] = *val; in mctp_i2c_slave_cb()248 midev->rx_pos++; in mctp_i2c_slave_cb()257 midev->rx_pos = 1; in mctp_i2c_slave_cb()283 if (midev->rx_pos < MCTP_I2C_MINLEN + 1) { in mctp_i2c_recv()288 recvlen = midev->rx_pos - 1; in mctp_i2c_recv()301 pec = midev->rx_buffer[midev->rx_pos - 1]; in mctp_i2c_recv()
58 unsigned long rx_pos; /* current RX descriptor pos */ member
325 "0x%x\n",eni_vcc->descr,eni_vcc->rx_pos, in rx_ident_err()497 else eni_vcc->rx_pos = (eni_vcc->rx_pos+size+1) & (eni_vcc->words-1); in discard()748 if (!EEPMOK(eni_vcc->rx_pos,ENI_PRV_SIZE(skb), in dequeue_rx()756 eni_vcc->rx_pos = ENI_PRV_POS(skb) & (eni_vcc->words-1); in dequeue_rx()796 eni_vcc->rx_pos = 0; in open_rx_first()881 at_end = eni_vcc->rx_pos == tmp >> MID_VCI_READ_SHIFT; in close_rx()885 eni_vcc->rx_pos,tmp); in close_rx()887 eni_vcc->rx_pos,tmp); in close_rx()