Home
last modified time | relevance | path

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

123

/linux/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.c162 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument
190 tcm->map_size, tcm->width); in sita_reserve_2d()
203 static void sita_deinit(struct tcm *tcm) in sita_deinit() argument
205 kfree(tcm); in sita_deinit()
208 static s32 sita_free(struct tcm *tcm, struct tcm_area *area) in sita_free() argument
223 free_slots(pos, w, h, tcm->bitmap, tcm->width); in sita_free()
230 struct tcm *tcm; in sita_init() local
236 tcm = kzalloc(sizeof(*tcm) + map_size, GFP_KERNEL); in sita_init()
237 if (!tcm) in sita_init()
249 tcm->bitmap = (unsigned long *)(tcm + 1); in sita_init()
[all …]
A Domap_dmm_tiler.c312 static struct dmm_txn *dmm_txn_init(struct dmm *dmm, struct tcm *tcm) in dmm_txn_init() argument
338 engine->tcm = tcm; in dmm_txn_init()
607 if (block->area.tcm) in tiler_release()
754 if (omap_dmm->tcm && omap_dmm->tcm[i]) in omap_dmm_remove()
755 omap_dmm->tcm[i]->deinit(omap_dmm->tcm[i]); in omap_dmm_remove()
916 omap_dmm->tcm = kcalloc(omap_dmm->num_lut, sizeof(*omap_dmm->tcm), in omap_dmm_probe()
959 .tcm = NULL, in omap_dmm_probe()
984 area.tcm = omap_dmm->tcm[i]; in omap_dmm_probe()
1117 if (block->area.tcm == omap_dmm->tcm[lut_idx]) { in tiler_map_show()
1183 .tcm = NULL, in omap_dmm_resume()
[all …]
A Domap_dmm_priv.h130 struct tcm *tcm; member
141 struct tcm *tcm; member
187 struct tcm **tcm; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dutils.c903 mvm->tcm.ll_ts = ts; in iwl_mvm_calc_tcm_stats()
923 mvm->tcm.result.change[mac] = load != mvm->tcm.result.load[mac]; in iwl_mvm_calc_tcm_stats()
998 spin_lock(&mvm->tcm.lock); in iwl_mvm_recalc_tcm()
999 if (mvm->tcm.paused || !time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm()
1014 if (!mvm->tcm.paused && time_after(ts, mvm->tcm.ts + MVM_TCM_PERIOD)) { in iwl_mvm_recalc_tcm()
1021 mvm->tcm.ts = ts; in iwl_mvm_recalc_tcm()
1034 tcm.work); in iwl_mvm_tcm_work()
1042 mvm->tcm.paused = true; in iwl_mvm_pause_tcm()
1054 mvm->tcm.ts = jiffies; in iwl_mvm_resume_tcm()
1055 mvm->tcm.ll_ts = jiffies; in iwl_mvm_resume_tcm()
[all …]
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()
427 if (!mvm->tcm.paused && len >= sizeof(*hdr) && in iwl_mvm_rx_rx_mpdu()
668 spin_lock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
670 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats()
683 spin_unlock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
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()
/linux/drivers/thunderbolt/
A Dtb.c111 struct tb_cm *tcm = tb_priv(tb); in tb_discover_tunnels() local
634 if (!tcm->hotplug_active) in tb_scan_port()
1175 if (!tcm->hotplug_active) in tb_handle_hotplug()
1385 tcm->hotplug_active = true; in tb_start()
1453 tcm->hotplug_active = true; in tb_resume_noirq()
1485 tcm->hotplug_active = false; in tb_freeze_noirq()
1493 tcm->hotplug_active = true; in tb_thaw_noirq()
1516 tcm->hotplug_active = false; in tb_runtime_suspend()
1546 tcm->hotplug_active = true; in tb_runtime_resume()
1640 struct tb_cm *tcm; in tb_probe() local
[all …]
/linux/net/sched/
A Dsch_api.c890 struct tcmsg *tcm; in tc_fill_qdisc() local
904 tcm->tcm__pad1 = 0; in tc_fill_qdisc()
905 tcm->tcm__pad2 = 0; in tc_fill_qdisc()
1461 if (tcm->tcm_handle && q->handle != tcm->tcm_handle) { in tc_get_qdisc()
1504 struct tcmsg *tcm; in tc_modify_qdisc() local
1550 if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) { in tc_modify_qdisc()
1644 tcm->tcm_parent, tcm->tcm_parent, in tc_modify_qdisc()
1661 tcm->tcm_parent, tcm->tcm_handle, in tc_modify_qdisc()
1797 struct tcmsg *tcm; in tc_fill_tclass() local
1809 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.c1799 struct tcmsg *tcm; in tcf_fill_node() local
1806 tcm = nlmsg_data(nlh); in tcf_fill_node()
1808 tcm->tcm__pad1 = 0; in tcf_fill_node()
1809 tcm->tcm__pad2 = 0; in tcf_fill_node()
1823 tcm->tcm_handle = 0; in tcf_fill_node()
2648 struct tcmsg *tcm; in tc_chain_fill_node() local
2657 tcm = nlmsg_data(nlh); in tc_chain_fill_node()
2659 tcm->tcm__pad1 = 0; in tc_chain_fill_node()
2660 tcm->tcm__pad2 = 0; in tc_chain_fill_node()
2661 tcm->tcm_handle = 0; in tc_chain_fill_node()
[all …]
A Dsch_mqprio.c475 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument
482 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class()
485 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class()
487 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class()
488 tcm->tcm_info = 0; in mqprio_dump_class()
490 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class()
585 struct tcmsg *tcm) in mqprio_select_queue() argument
587 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.c325 struct sk_buff *skb, struct tcmsg *tcm) in multiq_dump_class() argument
329 tcm->tcm_handle |= TC_H_MIN(cl); in multiq_dump_class()
330 tcm->tcm_info = q->queues[cl - 1]->handle; in multiq_dump_class()
A Dsch_prio.c348 struct tcmsg *tcm) in prio_dump_class() argument
352 tcm->tcm_handle |= TC_H_MIN(cl); in prio_dump_class()
353 tcm->tcm_info = q->queues[cl-1]->handle; in prio_dump_class()
A Dsch_atm.c603 struct sk_buff *skb, struct tcmsg *tcm) in atm_tc_dump_class() argument
610 sch, p, flow, skb, tcm); in atm_tc_dump_class()
613 tcm->tcm_handle = flow->common.classid; in atm_tc_dump_class()
614 tcm->tcm_info = flow->q->handle; in atm_tc_dump_class()
A Dsch_skbprio.c247 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class() argument
249 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
/linux/arch/csky/kernel/
A Dvmlinux.lds.S68 *(.tcm.text)
69 *(.tcm.rodata)
71 *(.tcm.data)
90 *(.tcm.data)
/linux/Documentation/devicetree/bindings/media/
A Dmediatek-vpu.txt10 "tcm": tcm base
27 reg-names = "tcm", "cfg_reg";
/linux/arch/arm/include/asm/
A Dvmlinux.lds.h133 *(.tcm.text) \
134 *(.tcm.rodata) \
143 *(.tcm.data) \
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dpcie.c257 void __iomem *tcm; member
368 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8()
377 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16()
387 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16()
415 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm32()
1651 devinfo->tcm = ioremap(bar1_addr, bar1_size); in brcmf_pcie_get_resource()
1653 if (!devinfo->regs || !devinfo->tcm) { in brcmf_pcie_get_resource()
1655 devinfo->tcm); in brcmf_pcie_get_resource()
1661 devinfo->tcm, (unsigned long long)bar1_addr, in brcmf_pcie_get_resource()
1670 if (devinfo->tcm) in brcmf_pcie_release_resource()
[all …]
/linux/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>
/linux/drivers/media/platform/mtk-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()
824 vpu->reg.tcm = devm_platform_ioremap_resource_byname(pdev, "tcm"); in mtk_vpu_probe()
825 if (IS_ERR((__force void *)vpu->reg.tcm)) in mtk_vpu_probe()
826 return PTR_ERR((__force void *)vpu->reg.tcm); in mtk_vpu_probe()
/linux/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-tcm1 What: /config/usb-gadget/gadget/functions/tcm.name
/linux/arch/csky/mm/
A DMakefile19 obj-$(CONFIG_HAVE_TCM) += tcm.o

Completed in 69 milliseconds

123