Lines Matching refs:context_bytes
1135 static enum i40e_status_code i40e_get_hmc_context(u8 *context_bytes, in i40e_get_hmc_context() argument
1144 i40e_read_byte(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1147 i40e_read_word(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1150 i40e_read_dword(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1153 i40e_read_qword(context_bytes, &ce_info[f], dest); in i40e_get_hmc_context()
1171 u8 *context_bytes, in i40e_clear_hmc_context() argument
1175 i40e_memset(context_bytes, 0, (u32)hw->hmc.hmc_obj[hmc_type].size, in i40e_clear_hmc_context()
1187 static enum i40e_status_code i40e_set_hmc_context(u8 *context_bytes, in i40e_set_hmc_context() argument
1201 i40e_write_byte(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1204 i40e_write_word(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1207 i40e_write_dword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1210 i40e_write_qword(context_bytes, &ce_info[f], dest); in i40e_set_hmc_context()
1300 u8 *context_bytes; in i40e_get_lan_tx_queue_context() local
1302 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_get_lan_tx_queue_context()
1306 return i40e_get_hmc_context(context_bytes, in i40e_get_lan_tx_queue_context()
1319 u8 *context_bytes; in i40e_clear_lan_tx_queue_context() local
1321 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_clear_lan_tx_queue_context()
1325 return i40e_clear_hmc_context(hw, context_bytes, I40E_HMC_LAN_TX); in i40e_clear_lan_tx_queue_context()
1339 u8 *context_bytes; in i40e_set_lan_tx_queue_context() local
1341 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_TX, queue); in i40e_set_lan_tx_queue_context()
1345 return i40e_set_hmc_context(context_bytes, in i40e_set_lan_tx_queue_context()
1360 u8 *context_bytes; in i40e_get_lan_rx_queue_context() local
1362 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_get_lan_rx_queue_context()
1366 return i40e_get_hmc_context(context_bytes, in i40e_get_lan_rx_queue_context()
1379 u8 *context_bytes; in i40e_clear_lan_rx_queue_context() local
1381 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_clear_lan_rx_queue_context()
1385 return i40e_clear_hmc_context(hw, context_bytes, I40E_HMC_LAN_RX); in i40e_clear_lan_rx_queue_context()
1399 u8 *context_bytes; in i40e_set_lan_rx_queue_context() local
1401 err = i40e_hmc_get_object_va(hw, &context_bytes, I40E_HMC_LAN_RX, queue); in i40e_set_lan_rx_queue_context()
1405 return i40e_set_hmc_context(context_bytes, in i40e_set_lan_rx_queue_context()