Lines Matching refs:context_bytes

1140 static enum i40e_status_code i40e_get_hmc_context(u8 *context_bytes,  in i40e_get_hmc_context()  argument
1149 i40e_read_byte(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1152 i40e_read_word(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1155 i40e_read_dword(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1158 i40e_read_qword(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1176 u8 *context_bytes, in i40e_clear_hmc_context() argument
1180 i40e_memset(context_bytes, 0, (u32)hw->hmc.hmc_obj[hmc_type].size, in i40e_clear_hmc_context()
1192 static enum i40e_status_code i40e_set_hmc_context(u8 *context_bytes, in i40e_set_hmc_context() argument
1206 i40e_write_byte(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1209 i40e_write_word(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1212 i40e_write_dword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1215 i40e_write_qword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1305 u8 *context_bytes; in i40e_get_lan_tx_queue_context() local
1307 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_get_lan_tx_queue_context()
1311 return i40e_get_hmc_context(context_bytes, in i40e_get_lan_tx_queue_context()
1324 u8 *context_bytes; in i40e_clear_lan_tx_queue_context() local
1326 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_clear_lan_tx_queue_context()
1330 return i40e_clear_hmc_context(hw, context_bytes, I40E_HMC_LAN_TX); in i40e_clear_lan_tx_queue_context()
1344 u8 *context_bytes; in i40e_set_lan_tx_queue_context() local
1346 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_set_lan_tx_queue_context()
1350 return i40e_set_hmc_context(context_bytes, in i40e_set_lan_tx_queue_context()
1365 u8 *context_bytes; in i40e_get_lan_rx_queue_context() local
1367 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_get_lan_rx_queue_context()
1371 return i40e_get_hmc_context(context_bytes, in i40e_get_lan_rx_queue_context()
1384 u8 *context_bytes; in i40e_clear_lan_rx_queue_context() local
1386 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_clear_lan_rx_queue_context()
1390 return i40e_clear_hmc_context(hw, context_bytes, I40E_HMC_LAN_RX); in i40e_clear_lan_rx_queue_context()
1404 u8 *context_bytes; in i40e_set_lan_rx_queue_context() local
1406 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_set_lan_rx_queue_context()
1410 return i40e_set_hmc_context(context_bytes, in i40e_set_lan_rx_queue_context()