/linux-master/drivers/power/supply/ |
H A D | bq24190_charger.c | 268 * Return the index in 'tbl' of greatest value that is less than or equal to 270 * the values in 'tbl' are sorted from smallest to largest and 'tbl_size' 273 static u8 bq24190_find_idx(const int tbl[], int tbl_size, int v) argument 278 if (v < tbl[i]) 338 const int tbl[], int tbl_size, 349 *val = tbl[v]; 356 const int tbl[], int tbl_size, 361 idx = bq24190_find_idx(tbl, tbl_size, val); 336 bq24190_get_field_val(struct bq24190_dev_info *bdi, u8 reg, u8 mask, u8 shift, const int tbl[], int tbl_size, int *val) argument 354 bq24190_set_field_val(struct bq24190_dev_info *bdi, u8 reg, u8 mask, u8 shift, const int tbl[], int tbl_size, int val) argument
|
/linux-master/arch/loongarch/kernel/ |
H A D | efi.c | 99 struct efi_boot_memmap *tbl; local 129 tbl = early_memremap_ro(boot_memmap, sizeof(*tbl)); 130 if (tbl) { 133 data.phys_map = boot_memmap + sizeof(*tbl); 134 data.size = tbl->map_size; 135 data.desc_size = tbl->desc_size; 136 data.desc_version = tbl->desc_ver; 141 early_memunmap(tbl, sizeof(*tbl)); [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | kvm_host.h | 170 u32 tbu, tbl; member in struct:kvmppc_exit_timing::__anon69::__anon70 183 struct iommu_table *tbl; member in struct:kvmppc_spapr_tce_iommu_table
|
/linux-master/arch/parisc/kernel/ |
H A D | firmware.c | 1010 * @tbl: 1015 int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl) argument 1020 BUG_ON((unsigned long)tbl & 0x7); 1025 __pa(pdc_result), hpa, __pa(tbl)); 1197 struct pdc_memory_table *tbl, unsigned long entries) 1206 memcpy(tbl, pdc_result2, entries * sizeof(*tbl)); 1196 pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr, struct pdc_memory_table *tbl, unsigned long entries) argument
|
/linux-master/net/ipv4/ |
H A D | fib_rules.c | 113 struct fib_table *tbl; local 134 tbl = fib_get_table(rule->fr_net, tb_id); 135 if (tbl) 136 err = fib_table_lookup(tbl, &flp->u.ip4,
|
/linux-master/net/atm/ |
H A D | lec.c | 825 static void *lec_tbl_walk(struct lec_state *state, struct hlist_head *tbl, argument 831 e = tbl->first; 833 e = tbl->first;
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_acpi_sar.h | 27 DECLARE_FLEX_ARRAY(struct mt792x_asar_dyn_limit, tbl); 40 DECLARE_FLEX_ARRAY(struct mt792x_asar_dyn_limit_v2, tbl); 58 DECLARE_FLEX_ARRAY(struct mt792x_asar_geo_limit, tbl); 72 DECLARE_FLEX_ARRAY(struct mt792x_asar_geo_limit_v2, tbl);
|
/linux-master/drivers/net/phy/ |
H A D | adin.c | 237 static int adin_lookup_reg_value(const struct adin_cfg_reg_map *tbl, int cfg) argument 241 for (i = 0; tbl[i].cfg; i++) { 242 if (tbl[i].cfg == cfg) 243 return tbl[i].reg; 251 const struct adin_cfg_reg_map *tbl, 261 rc = adin_lookup_reg_value(tbl, val); 249 adin_get_reg_value(struct phy_device *phydev, const char *prop_name, const struct adin_cfg_reg_map *tbl, u32 dflt) argument
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 311 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].port && 312 (type == TNL_LAST || type == hw->tnl.tbl[i].type)) { 313 *port = hw->tnl.tbl[i].port; 399 status = ice_upd_dvm_boost_entry(hw, &hw->dvm_upd.tbl[i]); 423 if (hw->tnl.tbl[i].valid && 424 hw->tnl.tbl[i].type == type && 476 memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, 492 hw->tnl.tbl[index].port = port; 524 if (WARN_ON(!hw->tnl.tbl[inde [all...] |
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | utils.c | 272 if (neigh->tbl->family == AF_INET6) {
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.c | 225 memcpy(gid, &sgid_tbl->tbl[index].gid, sizeof(*gid)); 244 if (!memcmp(&sgid_tbl->tbl[index].gid, gid, sizeof(*gid)) && 245 vlan_id == sgid_tbl->tbl[index].vlan_id) 274 memcpy(&sgid_tbl->tbl[index].gid, &bnxt_qplib_gid_zero, 276 sgid_tbl->tbl[index].vlan_id = 0xFFFF; 305 if (!memcmp(&sgid_tbl->tbl[i], gid, sizeof(*gid)) && 306 sgid_tbl->tbl[i].vlan_id == vlan_id) { 311 } else if (!memcmp(&sgid_tbl->tbl[i], &bnxt_qplib_gid_zero, 363 memcpy(&sgid_tbl->tbl[free_idx], gid, sizeof(*gid)); 364 sgid_tbl->tbl[free_id [all...] |
H A D | qplib_res.h | 219 unsigned long *tbl; member in struct:bnxt_qplib_pd_tbl 224 struct bnxt_qplib_gid_info *tbl; member in struct:bnxt_qplib_sgid_tbl 248 unsigned long *tbl; member in struct:bnxt_qplib_dpi_tbl
|
H A D | qplib_res.c | 422 struct bnxt_qplib_hwq *tbl; local 433 tbl = &ctx->qtbl[i]; 434 if (!tbl->max_elements) 438 switch (tbl->level) { 440 pg_count = tbl->pbl[PBL_LVL_1].pg_count; 443 dma_ptr = &tbl->pbl[PBL_LVL_1].pg_map_arr[k]; 451 *ptr = cpu_to_le64(tbl->pbl[PBL_LVL_0].pg_map_arr[0] | 488 * Depending on the size of the tbl requested, either a 1 Page Buffer List 570 kfree(sgid_tbl->tbl); 574 sgid_tbl->tbl [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_lrc.c | 302 } tbl[] = { local 382 for (t = tbl; t->name; t++) {
|
/linux-master/lib/ |
H A D | test_rhashtable.c | 473 const struct bucket_table *tbl; local 481 tbl = rht_dereference(ht->tbl, ht); 482 for (i = 0; i < tbl->size; i++) { 486 pos = rht_ptr_exclusive(tbl->buckets + i);
|
/linux-master/include/linux/ |
H A D | rhashtable-types.h | 71 * @tbl: Bucket table 82 struct bucket_table __rcu *tbl; member in struct:rhashtable 104 * @tbl: The table that we were walking over 108 struct bucket_table *tbl; member in struct:rhashtable_walker
|
/linux-master/fs/nfs/ |
H A D | callback_xdr.c | 791 struct nfs4_slot_table *tbl = &session->bc_slot_table; local 793 spin_lock(&tbl->slot_tbl_lock); 798 nfs4_free_slot(tbl, slot); 799 spin_unlock(&tbl->slot_tbl_lock);
|
H A D | callback_proc.c | 406 validate_seqid(const struct nfs4_slot_table *tbl, const struct nfs4_slot *slot, argument 412 if (args->csa_slotid > tbl->server_highest_slotid) 418 if (nfs4_test_locked_slot(tbl, slot->slot_nr)) 460 struct nfs4_slot_table *tbl; local 469 tbl = &session->fc_slot_table; 481 status = nfs4_slot_wait_on_seqid(tbl, ref->rc_slotid, 499 struct nfs4_slot_table *tbl; local 514 tbl = &clp->cl_session->bc_slot_table; 522 spin_lock(&tbl->slot_tbl_lock); 524 if (test_bit(NFS4_SLOT_TBL_DRAINING, &tbl [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | pci_sun4v.c | 189 struct iommu_map_table *tbl; local 216 tbl = &iommu->tbl; 218 tbl = &iommu->atu->tbl; 220 entry = iommu_tbl_range_alloc(dev, tbl, npages, NULL, 226 *dma_addrp = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); 252 iommu_tbl_range_free(tbl, *dma_addrp, npages, IOMMU_ERROR_CODE); 329 struct iommu_map_table *tbl; local 341 tbl 362 struct iommu_map_table *tbl; local 436 struct iommu_map_table *tbl; local 481 struct iommu_map_table *tbl; local 650 struct iommu_map_table *tbl; local [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 1165 static int pnv_ioda_tce_xchg_no_kill(struct iommu_table *tbl, long index, argument 1168 return pnv_tce_xchg(tbl, index, hpa, direction); 1221 static void pnv_pci_ioda2_tce_invalidate(struct iommu_table *tbl, argument 1226 list_for_each_entry_lockless(tgl, &tbl->it_group_list, next) { 1230 unsigned int shift = tbl->it_page_shift; 1243 static int pnv_ioda2_tce_build(struct iommu_table *tbl, long index, argument 1248 int ret = pnv_tce_build(tbl, index, npages, uaddr, direction, 1252 pnv_pci_ioda2_tce_invalidate(tbl, index, npages); 1257 static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index, argument 1260 pnv_tce_free(tbl, inde 1277 pnv_pci_ioda2_set_window(struct iommu_table_group *table_group, int num, struct iommu_table *tbl) argument 1353 struct iommu_table *tbl; local 1376 struct iommu_table *tbl = NULL; local 1545 struct iommu_table *tbl = pe->table_group.tables[0]; local 2357 struct iommu_table *tbl = pe->table_group.tables[0]; local [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_vio.c | 66 iommu_tce_table_put(stit->tbl); 98 if (table_group->tables[i] != stit->tbl) 114 struct iommu_table *tbl = NULL; local 157 tbl = iommu_tce_table_get(tbltmp); 161 if (!tbl) 166 if (tbl != stit->tbl) 171 iommu_tce_table_put(tbl); 186 iommu_tce_table_put(tbl); 190 stit->tbl 415 u64 *tbl; local 436 kvmppc_clear_tce(struct mm_struct *mm, struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, unsigned long entry) argument 451 kvmppc_tce_iommu_mapped_dec(struct kvm *kvm, struct iommu_table *tbl, unsigned long entry) argument 472 kvmppc_tce_iommu_do_unmap(struct kvm *kvm, struct iommu_table *tbl, unsigned long entry) argument 493 kvmppc_tce_iommu_unmap(struct kvm *kvm, struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, unsigned long entry) argument 512 kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl, unsigned long entry, unsigned long ua, enum dma_data_direction dir) argument 550 kvmppc_tce_iommu_map(struct kvm *kvm, struct kvmppc_spapr_tce_table *stt, struct iommu_table *tbl, unsigned long entry, unsigned long ua, enum dma_data_direction dir) argument 777 u64 *tbl; local [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | sm4-neon-core.S | 105 tbl RTMP0.16b, {v16.16b-v19.16b}, RX0.16b; \ 174 tbl RTMP0.16b, {v16.16b-v19.16b}, RX0.16b; \ 175 tbl RTMP1.16b, {v16.16b-v19.16b}, RX1.16b; \
|
H A D | sm4-ce-core.S | 76 tbl v16.16b, {v7.16b}, v24.16b 77 tbl v17.16b, {v6.16b}, v24.16b 78 tbl v18.16b, {v5.16b}, v24.16b 79 tbl v19.16b, {v4.16b}, v24.16b 80 tbl v20.16b, {v3.16b}, v24.16b 81 tbl v21.16b, {v2.16b}, v24.16b 82 tbl v22.16b, {v1.16b}, v24.16b 83 tbl v23.16b, {v0.16b}, v24.16b 344 tbl v0.16b, {RIV.16b}, v3.16b 346 tbl v [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 267 memcpy(&m_neigh.dst_ip, attr.n->primary_key, attr.n->tbl->key_len); 538 memcpy(&m_neigh.dst_ip, attr.n->primary_key, attr.n->tbl->key_len);
|
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 280 struct invldt_cmd_tbl tbl[BE_INVLDT_CMD_TBL_SZ]; member in struct:beiscsi_invldt_cmd_tbl 352 inv_tbl->tbl[nents].cid = beiscsi_conn->beiscsi_conn_cid; 353 inv_tbl->tbl[nents].icd = io_task->psgl_handle->sgl_index; 371 if (beiscsi_mgmt_invalidate_icds(phba, &inv_tbl->tbl[0], nents)) {
|