Searched refs:curr_frag (Results 1 – 3 of 3) sorted by relevance
163 u32 curr_frag; in islpci_mgt_transmit() local217 curr_frag = le32_to_cpu(cb->driver_curr_frag[ISL38XX_CB_TX_MGMTQ]); in islpci_mgt_transmit()218 if (curr_frag - priv->index_mgmt_tx >= ISL38XX_CB_MGMT_QSIZE) { in islpci_mgt_transmit()225 index = curr_frag % ISL38XX_CB_MGMT_QSIZE; in islpci_mgt_transmit()236 cb->driver_curr_frag[ISL38XX_CB_TX_MGMTQ] = cpu_to_le32(curr_frag + 1); in islpci_mgt_transmit()262 u32 curr_frag; in islpci_mgt_receive() local271 curr_frag = le32_to_cpu(cb->device_curr_frag[ISL38XX_CB_RX_MGMTQ]); in islpci_mgt_receive()274 for (; priv->index_mgmt_rx < curr_frag; priv->index_mgmt_rx++) { in islpci_mgt_receive()402 u32 curr_frag; in islpci_mgt_cleanup_transmit() local412 curr_frag = le32_to_cpu(cb->device_curr_frag[ISL38XX_CB_TX_MGMTQ]); in islpci_mgt_cleanup_transmit()[all …]
78 u32 curr_frag; in islpci_eth_transmit() local88 curr_frag = le32_to_cpu(cb->driver_curr_frag[ISL38XX_CB_TX_DATA_LQ]); in islpci_eth_transmit()89 if (unlikely(curr_frag - priv->free_data_tx >= ISL38XX_CB_TX_QSIZE)) { in islpci_eth_transmit()187 index = curr_frag % ISL38XX_CB_TX_QSIZE; in islpci_eth_transmit()198 curr_frag++; in islpci_eth_transmit()203 cb->driver_curr_frag[ISL38XX_CB_TX_DATA_LQ] = cpu_to_le32(curr_frag); in islpci_eth_transmit()205 if (curr_frag - priv->free_data_tx + ISL38XX_MIN_QTHRESHOLD in islpci_eth_transmit()
669 static u32 qlcnic_sriov_get_bc_paysize(u32 real_pay_size, u8 curr_frag) in qlcnic_sriov_get_bc_paysize() argument673 pay_size = real_pay_size / ((curr_frag + 1) * QLC_BC_PAYLOAD_SZ); in qlcnic_sriov_get_bc_paysize()1153 u32 pay_size, curr_frag; in qlcnic_sriov_handle_pending_trans() local1168 curr_frag = trans->curr_req_frag; in qlcnic_sriov_handle_pending_trans()1170 curr_frag); in qlcnic_sriov_handle_pending_trans()1172 (u32 *)(trans->req_hdr + curr_frag), in qlcnic_sriov_handle_pending_trans()1173 (u32 *)(trans->req_pay + curr_frag), in qlcnic_sriov_handle_pending_trans()