Lines Matching refs:index
43 u32 index;
49 /* read the index of the first fragment to be freed */
50 index = priv->free_data_tx % ISL38XX_CB_TX_QSIZE;
54 if (priv->pci_map_tx_address[index]) {
57 skb = priv->data_low_tx[index];
66 priv->pci_map_tx_address[index],
81 u32 index;
200 index = curr_frag % ISL38XX_CB_TX_QSIZE;
201 fragment = &cb->tx_data_low[index];
203 priv->pci_map_tx_address[index] = pci_map_address;
205 priv->data_low_tx[index] = skb;
316 u32 index, offset;
326 index = priv->free_data_rx % ISL38XX_CB_RX_QSIZE;
327 size = le16_to_cpu(control_block->rx_data_low[index].size);
328 skb = priv->data_low_rx[index];
330 le32_to_cpu(control_block->rx_data_low[index].address) -
342 priv->pci_map_rx_address[index],
420 /* increment the read index for the rx data low queue */
424 while (index =
427 index - priv->free_data_rx < ISL38XX_CB_RX_QSIZE) {
438 index = index % ISL38XX_CB_RX_QSIZE;
439 priv->data_low_rx[index] = skb;
443 "new alloc skb %p skb->data %p skb->len %u index %u truesize %u\n ",
444 skb, skb->data, skb->len, index, skb->truesize);
448 priv->pci_map_rx_address[index] =
452 if (unlikely(!priv->pci_map_rx_address[index])) {
463 control_block->rx_data_low[index].address =
464 cpu_to_le32((u32)priv->pci_map_rx_address[index]);