Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 25 of 29) sorted by relevance

12

/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
A Dnv04.c75 int leaf; in nv04_mc_intr_rearm() local
77 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_rearm()
78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001); in nv04_mc_intr_rearm()
85 int leaf; in nv04_mc_intr_unarm() local
87 for (leaf = 0; leaf < intr->leaves; leaf++) in nv04_mc_intr_unarm()
88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000); in nv04_mc_intr_unarm()
98 int leaf; in nv04_mc_intr_pending() local
100 for (leaf = 0; leaf < intr->leaves; leaf++) { in nv04_mc_intr_pending()
101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, 0x000100 + (leaf * 4)); in nv04_mc_intr_pending()
102 if (intr->stat[leaf]) in nv04_mc_intr_pending()
A Dgt215.c57 gt215_mc_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in gt215_mc_intr_allow() argument
61 nvkm_mask(mc->subdev.device, 0x000640 + (leaf * 4), mask, mask); in gt215_mc_intr_allow()
65 gt215_mc_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in gt215_mc_intr_block() argument
69 nvkm_mask(mc->subdev.device, 0x000640 + (leaf * 4), mask, 0); in gt215_mc_intr_block()
A Dgp100.c48 gp100_mc_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in gp100_mc_intr_allow() argument
52 nvkm_wr32(mc->subdev.device, 0x000160 + (leaf * 4), mask); in gp100_mc_intr_allow()
56 gp100_mc_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in gp100_mc_intr_block() argument
60 nvkm_wr32(mc->subdev.device, 0x000180 + (leaf * 4), mask); in gp100_mc_intr_block()
/drivers/gpu/drm/nouveau/nvkm/core/
A Dintr.c46 *leaf = data->leaf; in nvkm_intr_xlat()
54 *leaf = data->leaf; in nvkm_intr_xlat()
66 *leaf = type / 32; in nvkm_intr_xlat()
93 intr->mask[leaf] |= mask; in nvkm_intr_allow_locked()
107 int leaf; in nvkm_intr_allow() local
122 intr->mask[leaf] &= ~mask; in nvkm_intr_block_locked()
133 int leaf; in nvkm_intr_block() local
171 int prio, leaf; in nvkm_intr() local
213 for (leaf = 0; leaf < intr->leaves; leaf++) { in nvkm_intr()
216 leaf, intr->stat[leaf]); in nvkm_intr()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
A Dtu102.c29 tu102_vfn_intr_reset(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_reset() argument
33 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1000 + (leaf * 4), mask); in tu102_vfn_intr_reset()
37 tu102_vfn_intr_allow(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_allow() argument
41 nvkm_wr32(vfn->subdev.device, vfn->addr.priv + 0x1200 + (leaf * 4), mask); in tu102_vfn_intr_allow()
45 tu102_vfn_intr_block(struct nvkm_intr *intr, int leaf, u32 mask) in tu102_vfn_intr_block() argument
74 int pending = 0, leaf; in tu102_vfn_intr_pending() local
76 for (leaf = 0; leaf < 8; leaf++) { in tu102_vfn_intr_pending()
77 if (intr_top & BIT(leaf / 2)) { in tu102_vfn_intr_pending()
78 intr->stat[leaf] = nvkm_rd32(device, vfn->addr.priv + 0x1000 + (leaf * 4)); in tu102_vfn_intr_pending()
79 if (intr->stat[leaf]) in tu102_vfn_intr_pending()
[all …]
/drivers/net/ethernet/dec/tulip/
A Deeprom.c246 leaf->type = 0; in tulip_parse_eeprom()
248 leaf->leafdata = p; in tulip_parse_eeprom()
253 leaf->type = p[1]; in tulip_parse_eeprom()
262 leaf->leafdata = p + 2; in tulip_parse_eeprom()
269 leaf->media = 11; in tulip_parse_eeprom()
278 leaf->media = 3; in tulip_parse_eeprom()
279 switch (leaf->media) { in tulip_parse_eeprom()
299 leaf->leafdata = p + 2; in tulip_parse_eeprom()
312 i, medianame[leaf->media & 15], leaf->media, in tulip_parse_eeprom()
313 leaf->type < ARRAY_SIZE(block_name) ? block_name[leaf->type] : "<unknown>", in tulip_parse_eeprom()
[all …]
/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_leaf.c202 } __packed leaf; member
395 } __packed leaf; member
466 } leaf; member
1203 leaf = priv->sub_priv; in kvaser_usb_leaf_rx_error()
1384 es.leaf.error_factor = cmd->u.leaf.can_error_event.error_factor; in kvaser_usb_leaf_leaf_rx_error()
1391 es.leaf.error_factor = cmd->u.leaf.log_message.data[1]; in kvaser_usb_leaf_leaf_rx_error()
1855 leaf = devm_kzalloc(&priv->dev->intf->dev, sizeof(*leaf), GFP_KERNEL); in kvaser_usb_leaf_init_channel()
1856 if (!leaf) in kvaser_usb_leaf_init_channel()
1859 leaf->net = priv; in kvaser_usb_leaf_init_channel()
1863 priv->sub_priv = leaf; in kvaser_usb_leaf_init_channel()
[all …]
/drivers/infiniband/hw/irdma/
A Dpble.c312 struct irdma_pble_info *leaf = lvl2->leaf; in free_lvl2() local
315 if (leaf->addr) in free_lvl2()
317 &leaf->chunkinfo); in free_lvl2()
326 lvl2->leaf = NULL; in free_lvl2()
342 struct irdma_pble_info *leaf; in get_lvl2_pble() local
357 lvl2->leaf = lvl2->leafmem.va; in get_lvl2_pble()
358 leaf = lvl2->leaf; in get_lvl2_pble()
363 lvl2->leaf = NULL; in get_lvl2_pble()
375 &leaf->addr, &fpm_addr); in get_lvl2_pble()
381 leaf->cnt = pblcnt; in get_lvl2_pble()
[all …]
A Dpble.h41 struct irdma_pble_info *leaf; member
/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dintr.h24 void (*block)(struct nvkm_intr *, int leaf, u32 mask);
25 void (*allow)(struct nvkm_intr *, int leaf, u32 mask);
26 void (*reset)(struct nvkm_intr *, int leaf, u32 mask);
31 int leaf; member
60 int leaf; member
/drivers/gpu/drm/i915/selftests/
A Di915_syncmap.c148 if (leaf->height) { in check_seqno()
150 __func__, leaf->height); in check_seqno()
154 if (__sync_seqno(leaf)[idx] != seqno) { in check_seqno() local
156 __func__, idx, __sync_seqno(leaf)[idx], seqno); in check_seqno()
508 struct i915_syncmap *leaf = __sync_child(sync)[idx]; in igt_syncmap_compact() local
510 if (leaf->height) { in igt_syncmap_compact()
516 if (leaf->parent != sync) { in igt_syncmap_compact()
523 if (!is_power_of_2(leaf->bitmap)) { in igt_syncmap_compact()
525 idx, leaf->bitmap, hweight32(leaf->bitmap)); in igt_syncmap_compact()
530 if (leaf->bitmap != BIT(idx)) { in igt_syncmap_compact()
[all …]
/drivers/base/
A Darch_topology.c497 bool leaf = true; in parse_core() local
509 leaf = false; in parse_core()
527 if (!leaf) { in parse_core()
536 } else if (leaf && cpu != -ENODEV) { in parse_core()
548 bool leaf = true; in parse_cluster() local
567 leaf = false; in parse_cluster()
593 if (leaf) { in parse_cluster()
606 if (leaf && !has_cores) in parse_cluster()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dcn10k.h38 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf);
41 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf);
A Dcn10k.c203 int cn10k_alloc_leaf_profile(struct otx2_nic *pfvf, u16 *leaf) in cn10k_alloc_leaf_profile() argument
231 *leaf = rsp->prof_idx[BAND_PROF_LEAF_LAYER][0]; in cn10k_alloc_leaf_profile()
348 int cn10k_free_leaf_profile(struct otx2_nic *pfvf, u16 leaf) in cn10k_free_leaf_profile() argument
357 req->prof_idx[BAND_PROF_LEAF_LAYER][0] = leaf; in cn10k_free_leaf_profile()
/drivers/md/persistent-data/
A Ddm-array.h181 int (*fn)(void *context, uint64_t key, void *leaf),
A Ddm-array.c861 int (*fn)(void *context, uint64_t key, void *leaf);
865 static int walk_ablock(void *context, uint64_t *keys, void *leaf) in walk_ablock() argument
876 memcpy(&block_le, leaf, sizeof(block_le)); in walk_ablock()
896 int (*fn)(void *, uint64_t key, void *leaf), in dm_array_walk() argument
A Ddm-btree-internal.h160 dm_block_t *new_root, struct dm_block **leaf);
A Ddm-btree.h177 int (*fn)(void *context, uint64_t *keys, void *leaf),
A Ddm-btree.c1204 dm_block_t *new_root, struct dm_block **leaf) in btree_get_overwrite_leaf() argument
1214 *leaf = shadow_current(&spine); in btree_get_overwrite_leaf()
1422 int (*fn)(void *context, uint64_t *keys, void *leaf), in walk_node() argument
1457 int (*fn)(void *context, uint64_t *keys, void *leaf), in dm_btree_walk() argument
/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.h537 bool leaf; member
557 bool leaf; member
972 size_t granule, bool leaf,
A Darm-smmu-v3.c286 cmd[1] |= FIELD_PREP(CMDQ_CFGI_1_LEAF, ent->cfgi.leaf); in arm_smmu_cmdq_build_cmd()
302 cmd[1] |= FIELD_PREP(CMDQ_TLBI_1_LEAF, ent->tlbi.leaf); in arm_smmu_cmdq_build_cmd()
311 cmd[1] |= FIELD_PREP(CMDQ_TLBI_1_LEAF, ent->tlbi.leaf); in arm_smmu_cmdq_build_cmd()
1221 int ssid, bool leaf) in arm_smmu_sync_cd() argument
1230 .leaf = leaf, in arm_smmu_sync_cd()
1536 .leaf = true, in arm_smmu_ste_writer_sync_entry()
2299 if (cmd->tlbi.leaf) in __arm_smmu_tlb_inv_range()
2341 size_t granule, bool leaf, in arm_smmu_tlb_inv_range_domain() argument
2346 .leaf = leaf, in arm_smmu_tlb_inv_range_domain()
2377 size_t granule, bool leaf, in arm_smmu_tlb_inv_range_asid() argument
[all …]
/drivers/crypto/intel/qat/qat_common/
A Dadf_rl.h116 struct rl_sla *leaf[RL_LEAF_MAX]; member
/drivers/firewire/
A Dsbp2.c999 const u32 *leaf) in sbp2_get_unit_unique_id() argument
1001 if ((leaf[0] & 0xffff0000) == 0x00020000) in sbp2_get_unit_unique_id()
1002 tgt->guid = (u64)leaf[1] << 32 | leaf[2]; in sbp2_get_unit_unique_id()
A Dcore-device.c128 const u32 *leaf = search_leaf(directory, key); in fw_csr_string() local
129 if (!leaf) in fw_csr_string()
132 return textual_leaf_to_string(leaf, buf, size); in fw_csr_string()
/drivers/infiniband/hw/hns/
A Dhns_roce_hem.c933 struct list_head leaf; member
1296 &head->branch[i], &head->leaf); in setup_root_hem()
1307 list_splice(&head->leaf, &hem_list->btm_bt); in setup_root_hem()
1338 INIT_LIST_HEAD(&head.leaf); in hem_list_alloc_root_bt()

Completed in 64 milliseconds

12