Home
last modified time | relevance | path

Searched refs:curr_frag (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Dislpci_mgt.c163 u32 curr_frag; in islpci_mgt_transmit() local
217 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() local
271 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() local
412 curr_frag = le32_to_cpu(cb->device_curr_frag[ISL38XX_CB_TX_MGMTQ]); in islpci_mgt_cleanup_transmit()
[all …]
Dislpci_eth.c78 u32 curr_frag; in islpci_eth_transmit() local
88 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c669 static u32 qlcnic_sriov_get_bc_paysize(u32 real_pay_size, u8 curr_frag) in qlcnic_sriov_get_bc_paysize() argument
673 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() local
1168 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()