Home
last modified time | relevance | path

Searched refs:tcm (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.3-rc2/drivers/gpu/drm/omapdrm/
A Dtcm.h40 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 …]
A Dtcm-sita.c154 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 …]
A Domap_dmm_tiler.c305 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()
907 omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), in omap_dmm_probe()
950 .tcm = NULL, in omap_dmm_probe()
975 area.tcm = omap_dmm->tcm[i]; in omap_dmm_probe()
1108 if (block->area.tcm == omap_dmm->tcm[lut_idx]) { in tiler_map_show()
1174 .tcm = NULL, in omap_dmm_resume()
[all …]
A Domap_dmm_priv.h122 struct tcm *tcm; member
133 struct tcm *tcm; member
179 struct tcm **tcm; member
A DMakefile18 tcm-sita.o
/linux-6.3-rc2/drivers/thunderbolt/
A Dtb.c62 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups()
807 if (!tcm->hotplug_active) in tb_scan_port()
1508 if (!tcm->hotplug_active) in tb_handle_hotplug()
1736 if (!tcm->hotplug_active) in tb_handle_dp_bandwidth_request()
1973 tcm->hotplug_active = true; in tb_start()
2086 tcm->hotplug_active = true; in tb_resume_noirq()
2118 tcm->hotplug_active = false; in tb_freeze_noirq()
2126 tcm->hotplug_active = true; in tb_thaw_noirq()
2179 tcm->hotplug_active = true; in tb_runtime_resume()
2273 struct tb_cm *tcm; in tb_probe() local
[all …]
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dutils.c908 mvm->tcm.ll_ts = ts; in iwl_mvm_calc_tcm_stats()
928 mvm->tcm.result.change[mac] = load != mvm->tcm.result.load[mac]; in iwl_mvm_calc_tcm_stats()
1003 spin_lock(&mvm->tcm.lock); in iwl_mvm_recalc_tcm()
1004 if (mvm->tcm.paused || !time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm()
1019 if (!mvm->tcm.paused && time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm()
1026 mvm->tcm.ts = ts; in iwl_mvm_recalc_tcm()
1039 tcm.work); in iwl_mvm_tcm_work()
1047 mvm->tcm.paused = true; in iwl_mvm_pause_tcm()
1059 mvm->tcm.ts = jiffies; in iwl_mvm_resume_tcm()
1060 mvm->tcm.ll_ts = jiffies; in iwl_mvm_resume_tcm()
[all …]
A Dcoex.c357 data->primary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_iterator()
359 data->secondary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_iterator()
374 data->primary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_iterator()
376 data->secondary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_iterator()
A Drx.c222 if (time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD)) in iwl_mvm_rx_handle_tcm()
223 schedule_delayed_work(&mvm->tcm.work, 0); in iwl_mvm_rx_handle_tcm()
224 mdata = &mvm->tcm.data[mac]; in iwl_mvm_rx_handle_tcm()
447 if (!mvm->tcm.paused && len >= sizeof(*hdr) && in iwl_mvm_rx_rx_mpdu()
734 spin_lock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
736 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats()
749 spin_unlock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
/linux-6.3-rc2/net/sched/
A Dsch_api.c910 struct tcmsg *tcm; in tc_fill_qdisc() local
924 tcm->tcm__pad1 = 0; in tc_fill_qdisc()
925 tcm->tcm__pad2 = 0; in tc_fill_qdisc()
1484 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1527 struct tcmsg *tcm; in tc_modify_qdisc() local
1570 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1664 tcm->tcm_parent, tcm->tcm_parent, in tc_modify_qdisc()
1681 tcm->tcm_parent, tcm->tcm_handle, in tc_modify_qdisc()
1818 struct tcmsg *tcm; in tc_fill_tclass() local
1830 tcm->tcm__pad1 = 0; in tc_fill_tclass()
[all …]
A Dsch_mq.c170 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 = dev_queue->qdisc_sleeping->handle; in mq_dump_class()
A Dcls_api.c1970 struct tcmsg *tcm; in tcf_fill_node() local
1977 tcm = nlmsg_data(nlh); in tcf_fill_node()
1979 tcm->tcm__pad1 = 0; in tcf_fill_node()
1980 tcm->tcm__pad2 = 0; in tcf_fill_node()
1994 tcm->tcm_handle = 0; in tcf_fill_node()
2831 struct tcmsg *tcm; in tc_chain_fill_node() local
2840 tcm = nlmsg_data(nlh); in tc_chain_fill_node()
2842 tcm->tcm__pad1 = 0; in tc_chain_fill_node()
2843 tcm->tcm__pad2 = 0; in tc_chain_fill_node()
2844 tcm->tcm_handle = 0; in tc_chain_fill_node()
[all …]
A Dsch_mqprio.c488 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument
495 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class()
498 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class()
500 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class()
501 tcm->tcm_info = 0; in mqprio_dump_class()
503 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
595 struct tcmsg *tcm) in mqprio_select_queue() argument
597 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
A Dsch_drr.c235 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument
240 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class()
241 tcm->tcm_handle = cl->common.classid; in drr_dump_class()
242 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
A Dsch_multiq.c324 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()
A Dsch_prio.c346 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.3-rc2/arch/csky/kernel/
A Dvmlinux.lds.S68 *(.tcm.text)
69 *(.tcm.rodata)
71 *(.tcm.data)
90 *(.tcm.data)
/linux-6.3-rc2/Documentation/devicetree/bindings/media/
A Dmediatek-vpu.txt10 "tcm": tcm base
27 reg-names = "tcm", "cfg_reg";
/linux-6.3-rc2/arch/arm/include/asm/
A Dvmlinux.lds.h157 *(.tcm.text) \
158 *(.tcm.rodata) \
167 *(.tcm.data) \
/linux-6.3-rc2/Documentation/arm/
A Dtcm.rst64 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>
A Dindex.rst19 tcm
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dpcie.c332 void __iomem *tcm; member
490 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8()
499 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16()
509 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16()
1675 memcpy_toio(devinfo->tcm + devinfo->ci->rambase, in brcmf_pcie_download_fw_nvram()
1760 devinfo->tcm = ioremap(bar1_addr, bar1_size); in brcmf_pcie_get_resource()
1762 if (!devinfo->regs || !devinfo->tcm) { in brcmf_pcie_get_resource()
1764 devinfo->tcm); in brcmf_pcie_get_resource()
1770 devinfo->tcm, (unsigned long long)bar1_addr, in brcmf_pcie_get_resource()
1779 if (devinfo->tcm) in brcmf_pcie_release_resource()
[all …]
/linux-6.3-rc2/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-tcm1 What: /config/usb-gadget/gadget/functions/tcm.name
/linux-6.3-rc2/drivers/media/platform/mediatek/vpu/
A Dmtk_vpu.c105 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()
767 vpu->recv_buf = vpu->reg.tcm + VPU_DTCM_OFFSET; in vpu_ipi_init()
823 vpu->reg.tcm = devm_platform_ioremap_resource_byname(pdev, "tcm"); in mtk_vpu_probe()
824 if (IS_ERR((__force void *)vpu->reg.tcm)) in mtk_vpu_probe()
825 return PTR_ERR((__force void *)vpu->reg.tcm); in mtk_vpu_probe()
/linux-6.3-rc2/arch/csky/mm/
A DMakefile19 obj-$(CONFIG_HAVE_TCM) += tcm.o

Completed in 61 milliseconds

123