Lines Matching refs:curr_frag
177 u32 curr_frag; in islpci_mgt_transmit() local
233 curr_frag = le32_to_cpu(cb->driver_curr_frag[ISL38XX_CB_TX_MGMTQ]); in islpci_mgt_transmit()
234 if (curr_frag - priv->index_mgmt_tx >= ISL38XX_CB_MGMT_QSIZE) { in islpci_mgt_transmit()
241 index = curr_frag % ISL38XX_CB_MGMT_QSIZE; in islpci_mgt_transmit()
252 cb->driver_curr_frag[ISL38XX_CB_TX_MGMTQ] = cpu_to_le32(curr_frag + 1); in islpci_mgt_transmit()
278 u32 curr_frag; in islpci_mgt_receive() local
287 curr_frag = le32_to_cpu(cb->device_curr_frag[ISL38XX_CB_RX_MGMTQ]); in islpci_mgt_receive()
290 for (; priv->index_mgmt_rx < curr_frag; priv->index_mgmt_rx++) { in islpci_mgt_receive()
421 u32 curr_frag; in islpci_mgt_cleanup_transmit() local
431 curr_frag = le32_to_cpu(cb->device_curr_frag[ISL38XX_CB_TX_MGMTQ]); in islpci_mgt_cleanup_transmit()
434 for (; priv->index_mgmt_tx < curr_frag; priv->index_mgmt_tx++) { in islpci_mgt_cleanup_transmit()