Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_mgt.c177 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()
[all …]
Dislpci_eth.c90 u32 curr_frag; in islpci_eth_transmit() local
107 curr_frag = le32_to_cpu(cb->driver_curr_frag[ISL38XX_CB_TX_DATA_LQ]); in islpci_eth_transmit()
108 if (unlikely(curr_frag - priv->free_data_tx >= ISL38XX_CB_TX_QSIZE)) { in islpci_eth_transmit()
209 index = curr_frag % ISL38XX_CB_TX_QSIZE; in islpci_eth_transmit()
219 curr_frag++; in islpci_eth_transmit()
224 cb->driver_curr_frag[ISL38XX_CB_TX_DATA_LQ] = cpu_to_le32(curr_frag); in islpci_eth_transmit()
226 if (curr_frag - priv->free_data_tx + ISL38XX_MIN_QTHRESHOLD in islpci_eth_transmit()