| /linux-6.15/drivers/gpu/drm/omapdrm/ |
| H A D | tcm.h | 40 struct tcm; 51 struct tcm *tcm; /* parent */ member 71 s32 (*free)(struct tcm *tcm, struct tcm_area *area); argument 72 void (*deinit)(struct tcm *tcm); argument 104 static inline void tcm_deinit(struct tcm *tcm) in tcm_deinit() argument 106 if (tcm) in tcm_deinit() 107 tcm->deinit(tcm); in tcm_deinit() 146 area->tcm = res ? NULL : tcm; in tcm_reserve_2d() 175 res = tcm->reserve_1d(tcm, slots, area); in tcm_reserve_1d() 176 area->tcm = res ? NULL : tcm; in tcm_reserve_1d() [all …]
|
| H A D | tcm-sita.c | 154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 182 tcm->map_size, tcm->width); in sita_reserve_2d() 195 static void sita_deinit(struct tcm *tcm) in sita_deinit() argument 197 kfree(tcm); in sita_deinit() 200 static s32 sita_free(struct tcm *tcm, struct tcm_area *area) in sita_free() argument 215 free_slots(pos, w, h, tcm->bitmap, tcm->width); in sita_free() 222 struct tcm *tcm; in sita_init() local 228 tcm = kzalloc(sizeof(*tcm) + map_size, GFP_KERNEL); in sita_init() 229 if (!tcm) in sita_init() 241 tcm->bitmap = (unsigned long *)(tcm + 1); in sita_init() [all …]
|
| H A D | omap_dmm_tiler.c | 305 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument 331 engine->tcm = tcm; in dmm_txn_init() 600 if (block->area.tcm) in tiler_release() 747 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove() 748 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove() 905 omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), in omap_dmm_probe() 948 .tcm = NULL, in omap_dmm_probe() 973 area.tcm = omap_dmm->tcm[i]; in omap_dmm_probe() 1105 if (block->area.tcm == omap_dmm->tcm[lut_idx]) { in tiler_map_show() 1171 .tcm = NULL, in omap_dmm_resume() [all …]
|
| H A D | omap_dmm_priv.h | 122 struct tcm *tcm; member 133 struct tcm *tcm; member 179 struct tcm **tcm; member
|
| H A D | Makefile | 18 tcm-sita.o
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 992 mvm->tcm.ll_ts = ts; in iwl_mvm_calc_tcm_stats() 1012 mvm->tcm.result.change[mac] = load != mvm->tcm.result.load[mac]; in iwl_mvm_calc_tcm_stats() 1087 spin_lock(&mvm->tcm.lock); in iwl_mvm_recalc_tcm() 1088 if (mvm->tcm.paused || !time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm() 1102 if (!mvm->tcm.paused && time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm() 1109 mvm->tcm.ts = ts; in iwl_mvm_recalc_tcm() 1122 tcm.work); in iwl_mvm_tcm_work() 1130 mvm->tcm.paused = true; in iwl_mvm_pause_tcm() 1142 mvm->tcm.ts = jiffies; in iwl_mvm_resume_tcm() 1143 mvm->tcm.ll_ts = jiffies; in iwl_mvm_resume_tcm() [all …]
|
| /linux-6.15/drivers/thunderbolt/ |
| H A D | tb.c | 159 struct tb_cm *tcm = tb_priv(tb); in tb_discover_dp_resource() local 1347 if (!tcm->hotplug_active) { in tb_scan_port() 1570 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups() 2414 if (!tcm->hotplug_active) in tb_handle_hotplug() 2720 if (!tcm->hotplug_active) in tb_handle_dp_bandwidth_request() 3039 tcm->hotplug_active = true; in tb_start() 3144 tcm->hotplug_active = true; in tb_resume_noirq() 3184 tcm->hotplug_active = true; in tb_thaw_noirq() 3244 tcm->hotplug_active = true; in tb_runtime_resume() 3344 struct tb_cm *tcm; in tb_probe() local [all …]
|
| /linux-6.15/net/sched/ |
| H A D | sch_api.c | 917 struct tcmsg *tcm; in tc_fill_qdisc() local 931 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 932 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 1513 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in __tc_get_qdisc() 1625 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in __tc_modify_qdisc() 1741 tcm->tcm_parent, tcm->tcm_parent, in __tc_modify_qdisc() 1758 tcm->tcm_parent, tcm->tcm_handle, in __tc_modify_qdisc() 1805 struct tcmsg *tcm; in tc_modify_qdisc() local 1950 struct tcmsg *tcm; in tc_fill_tclass() local 1962 tcm->tcm__pad1 = 0; in tc_fill_tclass() [all …]
|
| H A D | sch_mq.c | 170 struct tcmsg *tcm) in mq_select_queue() argument 172 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue() 218 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument 222 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class() 223 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class() 224 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mq_dump_class()
|
| H A D | cls_api.c | 2057 struct tcmsg *tcm; in tcf_fill_node() local 2065 tcm = nlmsg_data(nlh); in tcf_fill_node() 2067 tcm->tcm__pad1 = 0; in tcf_fill_node() 2068 tcm->tcm__pad2 = 0; in tcf_fill_node() 2082 tcm->tcm_handle = 0; in tcf_fill_node() 2951 struct tcmsg *tcm; in tc_chain_fill_node() local 2960 tcm = nlmsg_data(nlh); in tc_chain_fill_node() 2962 tcm->tcm__pad1 = 0; in tc_chain_fill_node() 2963 tcm->tcm__pad2 = 0; in tc_chain_fill_node() 2964 tcm->tcm_handle = 0; in tc_chain_fill_node() [all …]
|
| H A D | sch_mqprio.c | 642 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument 649 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class() 652 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mqprio_dump_class() 654 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class() 655 tcm->tcm_info = 0; in mqprio_dump_class() 657 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class() 749 struct tcmsg *tcm) in mqprio_select_queue() argument 751 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
|
| H A D | sch_drr.c | 242 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument 247 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class() 248 tcm->tcm_handle = cl->common.classid; in drr_dump_class() 249 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
|
| H A D | sch_multiq.c | 324 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument 328 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class() 329 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
|
| H A D | sch_prio.c | 346 struct tcmsg *tcm) in prio_dump_class() argument 350 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class() 351 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
|
| /linux-6.15/arch/csky/kernel/ |
| H A D | vmlinux.lds.S | 68 *(.tcm.text) 69 *(.tcm.rodata) 71 *(.tcm.data) 90 *(.tcm.data)
|
| /linux-6.15/Documentation/devicetree/bindings/media/ |
| H A D | mediatek-vpu.txt | 10 "tcm": tcm base 27 reg-names = "tcm", "cfg_reg";
|
| /linux-6.15/Documentation/devicetree/bindings/remoteproc/ |
| H A D | xlnx,zynqmp-r5fss.yaml | 54 xlnx,tcm-mode: 159 xlnx,tcm-mode: false 202 xlnx,tcm-mode: 236 - xlnx,tcm-mode 240 xlnx,tcm-mode: 268 - xlnx,tcm-mode 284 xlnx,tcm-mode = <0>; 330 xlnx,tcm-mode = <1>;
|
| /linux-6.15/drivers/remoteproc/ |
| H A D | xlnx_r5_remoteproc.c | 1021 struct mem_bank_data *tcm; in zynqmp_r5_get_tcm_node_from_dt() local 1056 tcm = devm_kzalloc(dev, sizeof(struct mem_bank_data), in zynqmp_r5_get_tcm_node_from_dt() 1058 if (!tcm) in zynqmp_r5_get_tcm_node_from_dt() 1061 r5_core->tcm_banks[j] = tcm; in zynqmp_r5_get_tcm_node_from_dt() 1073 tcm->pm_domain_id = out_args.args[0]; in zynqmp_r5_get_tcm_node_from_dt() 1088 tcm->da = (u32)abs_addr; in zynqmp_r5_get_tcm_node_from_dt() 1089 tcm->size = (u32)size; in zynqmp_r5_get_tcm_node_from_dt() 1098 tcm->addr = (u32)res->start; in zynqmp_r5_get_tcm_node_from_dt() 1099 tcm->bank_name = (char *)res->name; in zynqmp_r5_get_tcm_node_from_dt() 1100 res = devm_request_mem_region(dev, tcm->addr, tcm->size, in zynqmp_r5_get_tcm_node_from_dt() [all …]
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | vmlinux.lds.h | 163 *(.tcm.text) \ 164 *(.tcm.rodata) \ 173 *(.tcm.data) \
|
| /linux-6.15/Documentation/arch/arm/ |
| H A D | tcm.rst | 64 in <asm/tcm.h>. Using this interface it is possible to: 80 #include <asm/tcm.h> 100 .section ".tcm.text" or .section ".tcm.data" 106 #include <asm/tcm.h>
|
| H A D | index.rst | 19 tcm
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pcie.c | 339 void __iomem *tcm; member 498 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8() 507 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16() 1703 memcpy_toio(devinfo->tcm + devinfo->ci->rambase, in brcmf_pcie_download_fw_nvram() 1734 memcpy_toio(devinfo->tcm + address, &footer, in brcmf_pcie_download_fw_nvram() 1808 devinfo->tcm = ioremap(bar1_addr, bar1_size); in brcmf_pcie_get_resource() 1810 if (!devinfo->regs || !devinfo->tcm) { in brcmf_pcie_get_resource() 1812 devinfo->tcm); in brcmf_pcie_get_resource() 1818 devinfo->tcm, (unsigned long long)bar1_addr, in brcmf_pcie_get_resource() 1827 if (devinfo->tcm) in brcmf_pcie_release_resource() [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-tcm | 1 What: /config/usb-gadget/gadget/functions/tcm.name
|
| /linux-6.15/drivers/media/platform/mediatek/vpu/ |
| H A D | mtk_vpu.c | 105 void __iomem *tcm; member 468 return (__force void *)(dtcm_dmem_addr + vpu->reg.tcm + in vpu_mapping_dm_addr() 545 dest = (__force void *)vpu->reg.tcm; in load_requested_vpu() 769 vpu->recv_buf = vpu->reg.tcm + VPU_DTCM_OFFSET; in vpu_ipi_init() 825 vpu->reg.tcm = devm_platform_ioremap_resource_byname(pdev, "tcm"); in mtk_vpu_probe() 826 if (IS_ERR((__force void *)vpu->reg.tcm)) in mtk_vpu_probe() 827 return PTR_ERR((__force void *)vpu->reg.tcm); in mtk_vpu_probe()
|
| /linux-6.15/arch/csky/mm/ |
| H A D | Makefile | 19 obj-$(CONFIG_HAVE_TCM) += tcm.o
|