Home
last modified time | relevance | path

Searched refs:kw (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c75 pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK; in npc_mcam_verify_pf_func()
270 *cam1 = entry->kw[0]; in npc_get_keyword()
275 *cam1 = entry->kw[1] & CAM_MASK(48); in npc_get_keyword()
282 *cam1 = (entry->kw[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
283 *cam1 |= ((entry->kw[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
291 *cam1 = (entry->kw[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
292 *cam1 |= ((entry->kw[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
300 *cam1 = (entry->kw[3] >> 32) & CAM_MASK(32); in npc_get_keyword()
301 *cam1 |= ((entry->kw[4] & CAM_MASK(32)) << 32); in npc_get_keyword()
309 *cam1 = (entry->kw[4] >> 32) & CAM_MASK(32); in npc_get_keyword()
[all …]
Drvu_npc_fs.c747 dummy.kw[i] = kw1; in npc_update_entry()
760 dummy.kw[i + 1] = kw2; in npc_update_entry()
776 dummy.kw[i + 1] = kw2; in npc_update_entry()
777 dummy.kw[i + 2] = kw3; in npc_update_entry()
795 entry->kw[i] &= ~field->kw_mask[i]; in npc_update_entry()
798 entry->kw[i] |= dummy.kw[i]; in npc_update_entry()
1240 rule->chan = write_req.entry_data.kw[0] & NPC_KEX_CHAN_MASK; in npc_install_flow()
Dmbox.h1344 u64 kw[NPC_MAX_KWS_IN_KEY]; member
/drivers/pci/
Dvpd.c401 unsigned int len, const char *kw) in pci_vpd_find_info_keyword() argument
406 if (buf[i + 0] == kw[0] && in pci_vpd_find_info_keyword()
407 buf[i + 1] == kw[1]) in pci_vpd_find_info_keyword()
494 const char *kw, unsigned int *size) in pci_vpd_find_ro_info_keyword() argument
503 infokw_start = pci_vpd_find_info_keyword(buf, ro_start, ro_len, kw); in pci_vpd_find_ro_info_keyword()
/drivers/net/ethernet/sfc/
Dmae.c1880 static int efx_mae_populate_ct_key(struct efx_nic *efx, __le32 *key, size_t kw, in efx_mae_populate_ct_key() argument
1917 size_t inlen, kw, rw; in efx_mae_insert_ct() local
1926 kw = DIV_ROUND_UP(efx->tc->meta_ct.desc.key_width, 32); in efx_mae_insert_ct()
1929 inlen = MC_CMD_TABLE_INSERT_IN_LEN(kw + rw); in efx_mae_insert_ct()
1936 key = kcalloc(kw, sizeof(__le32), GFP_KERNEL); in efx_mae_insert_ct()
1943 rc = efx_mae_populate_ct_key(efx, key, kw, conn); in efx_mae_insert_ct()
1971 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA), key, kw * sizeof(__le32)); in efx_mae_insert_ct()
1972 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA) + kw * sizeof(__le32), in efx_mae_insert_ct()
1990 size_t inlen, kw; in efx_mae_remove_ct() local
1998 kw = DIV_ROUND_UP(efx->tc->meta_ct.desc.key_width, 32); in efx_mae_remove_ct()
[all …]
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c366 trans_pcie->kw.dma >> 4); in iwl_trans_pcie_tx_reset()
466 iwl_pcie_free_dma_ptr(trans, &trans_pcie->kw); in iwl_pcie_tx_free()
502 ret = iwl_pcie_alloc_dma_ptr(trans, &trans_pcie->kw, IWL_KW_SIZE); in iwl_pcie_tx_alloc()
567 trans_pcie->kw.dma >> 4); in iwl_pcie_tx_init()
Dinternal.h383 struct iwl_dma_ptr kw; member
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c1953 il4965_free_dma_ptr(il, &il->kw); in il4965_hw_txq_ctx_free()
1982 ret = il4965_alloc_dma_ptr(il, &il->kw, IL_KW_SIZE); in il4965_txq_ctx_alloc()
1999 il_wr(il, FH49_KW_MEM_ADDR_REG, il->kw.dma >> 4); in il4965_txq_ctx_alloc()
2016 il4965_free_dma_ptr(il, &il->kw); in il4965_txq_ctx_alloc()
2034 il_wr(il, FH49_KW_MEM_ADDR_REG, il->kw.dma >> 4); in il4965_txq_ctx_reset()
Dcommon.h1256 struct il_dma_ptr kw; /* keep warm address */ member
/drivers/scsi/csiostor/
Dcsio_hw.c261 csio_hw_get_vpd_keyword_val(const struct t4_vpd_hdr *v, const char *kw) in csio_hw_get_vpd_keyword_val() argument
274 if (memcmp(buf + i , kw, 2) == 0) { in csio_hw_get_vpd_keyword_val()