/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | tcm.h | 40 struct tcm; 51 struct tcm *tcm; /* parent */ member 56 struct tcm { struct 67 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align, argument 70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); argument 71 s32 (*free)(struct tcm *tcm, struct tcm_area *area); argument 72 void (*deinit)(struct tcm *tcm); argument 91 struct tcm *sita_init(u16 width, u16 height); 104 static inline void tcm_deinit(struct tcm *tcm) in tcm_deinit() argument 106 if (tcm) in tcm_deinit() [all …]
|
D | tcm-sita.c | 154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 160 spin_lock(&(tcm->lock)); in sita_reserve_1d() 161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 163 area->p0.x = pos % tcm->width; in sita_reserve_1d() 164 area->p0.y = pos / tcm->width; in sita_reserve_1d() 165 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 166 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d() 168 spin_unlock(&(tcm->lock)); in sita_reserve_1d() 173 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d() argument 180 spin_lock(&(tcm->lock)); in sita_reserve_2d() [all …]
|
D | omap_dmm_tiler.c | 35 static struct tcm *containers[TILFMT_NFORMATS]; 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() 363 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append() 364 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append() 368 .lut_id = engine->tcm->lut_id, in dmm_txn_append() 481 txn = dmm_txn_init(omap_dmm, area->tcm); in fill() 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() [all …]
|
D | omap_dmm_priv.h | 122 struct tcm *tcm; member 133 struct tcm *tcm; member 179 struct tcm **tcm; member
|
D | Makefile | 18 tcm-sita.o
|
/linux-6.6.21/drivers/thunderbolt/ |
D | tb.c | 42 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() argument 44 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 55 static void tb_init_bandwidth_groups(struct tb_cm *tcm) in tb_init_bandwidth_groups() argument 59 for (i = 0; i < ARRAY_SIZE(tcm->groups); i++) { in tb_init_bandwidth_groups() 60 struct tb_bandwidth_group *group = &tcm->groups[i]; in tb_init_bandwidth_groups() 62 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups() 80 static struct tb_bandwidth_group *tb_find_free_bandwidth_group(struct tb_cm *tcm) in tb_find_free_bandwidth_group() argument 84 for (i = 0; i < ARRAY_SIZE(tcm->groups); i++) { in tb_find_free_bandwidth_group() 85 struct tb_bandwidth_group *group = &tcm->groups[i]; in tb_find_free_bandwidth_group() 95 tb_attach_bandwidth_group(struct tb_cm *tcm, struct tb_port *in, in tb_attach_bandwidth_group() argument [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | utils.c | 786 low_latency = mvm->tcm.result.low_latency[mvmvif->id]; in iwl_mvm_tcm_iter() 788 if (!mvm->tcm.result.change[mvmvif->id] && in iwl_mvm_tcm_iter() 828 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions) in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 859 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected) in iwl_mvm_uapsd_agg_disconnect() 862 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true; in iwl_mvm_uapsd_agg_disconnect() 873 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes; in iwl_mvm_check_uapsd_agg_expected_tpt() 878 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate); in iwl_mvm_check_uapsd_agg_expected_tpt() 880 if (!rate || mvm->tcm.data[mac].opened_rx_ba_sessions || in iwl_mvm_check_uapsd_agg_expected_tpt() 881 mvm->tcm.data[mac].uapsd_nonagg_detect.detected) in iwl_mvm_check_uapsd_agg_expected_tpt() 928 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() [all …]
|
D | rx.c | 226 if (time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD)) in iwl_mvm_rx_handle_tcm() 227 schedule_delayed_work(&mvm->tcm.work, 0); in iwl_mvm_rx_handle_tcm() 228 mdata = &mvm->tcm.data[mac]; in iwl_mvm_rx_handle_tcm() 451 if (!mvm->tcm.paused && len >= sizeof(*hdr) && in iwl_mvm_rx_rx_mpdu() 737 spin_lock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats() 739 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats() 752 spin_unlock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
|
D | coex.c | 362 data->primary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_per_link() 364 data->secondary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_per_link() 380 data->primary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_per_link() 382 data->secondary_load = mvm->tcm.result.load[mvmvif->id]; in iwl_mvm_bt_notif_per_link()
|
/linux-6.6.21/net/sched/ |
D | sch_api.c | 918 struct tcmsg *tcm; in tc_fill_qdisc() local 927 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc() 930 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 931 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc() 932 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 933 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 934 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc() 935 tcm->tcm_parent = clid; in tc_fill_qdisc() 936 tcm->tcm_handle = q->handle; in tc_fill_qdisc() 937 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc() [all …]
|
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()
|
D | cls_api.c | 1977 struct tcmsg *tcm; in tcf_fill_node() local 1981 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node() 1984 tcm = nlmsg_data(nlh); in tcf_fill_node() 1985 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node() 1986 tcm->tcm__pad1 = 0; in tcf_fill_node() 1987 tcm->tcm__pad2 = 0; in tcf_fill_node() 1989 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node() 1990 tcm->tcm_parent = parent; in tcf_fill_node() 1992 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node() 1993 tcm->tcm_block_index = block->index; in tcf_fill_node() [all …]
|
D | sch_mqprio.c | 644 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument 651 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class() 654 tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle; in mqprio_dump_class() 656 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class() 657 tcm->tcm_info = 0; in mqprio_dump_class() 659 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class() 751 struct tcmsg *tcm) in mqprio_select_queue() argument 753 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
|
D | sch_drr.c | 236 struct sk_buff *skb, struct tcmsg *tcm) in drr_dump_class() argument 241 tcm->tcm_parent = TC_H_ROOT; in drr_dump_class() 242 tcm->tcm_handle = cl->common.classid; in drr_dump_class() 243 tcm->tcm_info = cl->qdisc->handle; in drr_dump_class()
|
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()
|
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.6.21/arch/csky/kernel/ |
D | vmlinux.lds.S | 68 *(.tcm.text) 69 *(.tcm.rodata) 71 *(.tcm.data) 90 *(.tcm.data)
|
/linux-6.6.21/Documentation/devicetree/bindings/media/ |
D | mediatek-vpu.txt | 10 "tcm": tcm base 27 reg-names = "tcm", "cfg_reg";
|
/linux-6.6.21/arch/arm/include/asm/ |
D | vmlinux.lds.h | 157 *(.tcm.text) \ 158 *(.tcm.rodata) \ 167 *(.tcm.data) \
|
/linux-6.6.21/Documentation/arch/arm/ |
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>
|
D | index.rst | 19 tcm
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pcie.c | 342 void __iomem *tcm; member 500 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8() 509 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16() 519 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16() 547 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm32() 557 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm32() 566 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32() 576 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32() 586 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_dev_tomem() 1235 memcpy_fromio(&ringinfo, devinfo->tcm + devinfo->shared.ring_info_addr, in brcmf_pcie_init_ringbuffers() [all …]
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | configfs-usb-gadget-tcm | 1 What: /config/usb-gadget/gadget/functions/tcm.name
|
/linux-6.6.21/drivers/media/platform/mediatek/vpu/ |
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.6.21/arch/csky/mm/ |
D | Makefile | 19 obj-$(CONFIG_HAVE_TCM) += tcm.o
|