Searched refs:tcm (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/omapdrm/ |
D | tcm.h | 42 struct tcm; 53 struct tcm *tcm; /* parent */ member 58 struct tcm { struct 69 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align, argument 72 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); argument 73 s32 (*free)(struct tcm *tcm, struct tcm_area *area); argument 74 void (*deinit)(struct tcm *tcm); argument 93 struct tcm *sita_init(u16 width, u16 height); 106 static inline void tcm_deinit(struct tcm *tcm) in tcm_deinit() argument 108 if (tcm) in tcm_deinit() [all …]
|
D | tcm-sita.c | 164 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 170 spin_lock(&(tcm->lock)); in sita_reserve_1d() 171 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 173 area->p0.x = pos % tcm->width; in sita_reserve_1d() 174 area->p0.y = pos / tcm->width; in sita_reserve_1d() 175 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 176 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d() 178 spin_unlock(&(tcm->lock)); in sita_reserve_1d() 183 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d() argument 190 spin_lock(&(tcm->lock)); in sita_reserve_2d() [all …]
|
D | omap_dmm_tiler.c | 42 static struct tcm *containers[TILFMT_NFORMATS]; 177 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument 203 engine->tcm = tcm; in dmm_txn_init() 235 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append() 236 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append() 240 .lut_id = engine->tcm->lut_id, in dmm_txn_append() 353 txn = dmm_txn_init(omap_dmm, area->tcm); in fill() 472 if (block->area.tcm) in tiler_release() 615 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove() 616 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove() [all …]
|
D | omap_dmm_priv.h | 130 struct tcm *tcm; member 141 struct tcm *tcm; member 186 struct tcm **tcm; member
|
D | Makefile | 21 tcm-sita.o
|
/drivers/thunderbolt/ |
D | tb.c | 93 struct tb_cm *tcm = tb_priv(tb); in tb_free_invalid_tunnels() local 97 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_free_invalid_tunnels() 182 struct tb_cm *tcm = tb_priv(tb); in tb_activate_pcie_devices() local 231 list_add(&tunnel->list, &tcm->tunnel_list); in tb_activate_pcie_devices() 254 struct tb_cm *tcm = tb_priv(tb); in tb_handle_hotplug() local 258 if (!tcm->hotplug_active) in tb_handle_hotplug() 352 struct tb_cm *tcm = tb_priv(tb); in tb_stop() local 357 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_stop() 362 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_stop() 367 struct tb_cm *tcm = tb_priv(tb); in tb_start() local [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pcie.c | 250 void __iomem *tcm; member 349 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8() 358 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16() 368 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16() 396 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm32() 406 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm32() 415 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32() 425 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32() 435 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_mem_todev() 476 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_dev_tomem() [all …]
|
/drivers/media/platform/mtk-vpu/ |
D | mtk_vpu.c | 104 void __iomem *tcm; member 450 return (__force void *)(dtcm_dmem_addr + vpu->reg.tcm + in vpu_mapping_dm_addr() 519 dest = (__force void *)vpu->reg.tcm; in load_requested_vpu() 733 vpu->recv_buf = (__force struct share_obj *)(vpu->reg.tcm + in vpu_ipi_init() 792 vpu->reg.tcm = devm_ioremap_resource(dev, res); in mtk_vpu_probe() 793 if (IS_ERR((__force void *)vpu->reg.tcm)) in mtk_vpu_probe() 794 return PTR_ERR((__force void *)vpu->reg.tcm); in mtk_vpu_probe()
|
/drivers/usb/gadget/function/ |
D | f_tcm.c | 2284 struct f_uas *tcm = to_f_uas(f); in tcm_free() local 2286 kfree(tcm); in tcm_free() 2327 DECLARE_USB_FUNCTION(tcm, tcm_alloc_inst, tcm_alloc);
|