Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c85 u16 copy_size, cmd_size, tb0_size; in iwl_pcie_gen2_enqueue_hcmd() local
241 tb0_size = min_t(int, copy_size, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_enqueue_hcmd()
242 memcpy(&txq->first_tb_bufs[idx], out_cmd, tb0_size); in iwl_pcie_gen2_enqueue_hcmd()
244 tb0_size); in iwl_pcie_gen2_enqueue_hcmd()
247 if (copy_size > tb0_size) { in iwl_pcie_gen2_enqueue_hcmd()
249 (u8 *)out_cmd + tb0_size, in iwl_pcie_gen2_enqueue_hcmd()
250 copy_size - tb0_size, in iwl_pcie_gen2_enqueue_hcmd()
258 copy_size - tb0_size); in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c1175 u16 copy_size, cmd_size, tb0_size; in iwl_pcie_enqueue_hcmd() local
1356 tb0_size = min_t(int, copy_size, IWL_FIRST_TB_SIZE); in iwl_pcie_enqueue_hcmd()
1357 memcpy(&txq->first_tb_bufs[idx], &out_cmd->hdr, tb0_size); in iwl_pcie_enqueue_hcmd()
1360 tb0_size, true); in iwl_pcie_enqueue_hcmd()
1363 if (copy_size > tb0_size) { in iwl_pcie_enqueue_hcmd()
1365 ((u8 *)&out_cmd->hdr) + tb0_size, in iwl_pcie_enqueue_hcmd()
1366 copy_size - tb0_size, in iwl_pcie_enqueue_hcmd()
1376 copy_size - tb0_size, false); in iwl_pcie_enqueue_hcmd()