| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/ |
| H A 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 …]
|
| H A D | tcm-sita.c | 162 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 168 spin_lock(&(tcm->lock)); in sita_reserve_1d() 169 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 171 area->p0.x = pos % tcm->width; in sita_reserve_1d() 172 area->p0.y = pos / tcm->width; in sita_reserve_1d() 173 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 174 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d() 176 spin_unlock(&(tcm->lock)); in sita_reserve_1d() 181 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d() argument 188 spin_lock(&(tcm->lock)); in sita_reserve_2d() [all …]
|
| H A D | omap_dmm_tiler.c | 42 static struct tcm *containers[TILFMT_NFORMATS]; 312 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() 370 pat->area.y0 += engine->tcm->y_offset; in dmm_txn_append() 371 pat->area.y1 += engine->tcm->y_offset; in dmm_txn_append() 375 .lut_id = engine->tcm->lut_id, in dmm_txn_append() 488 txn = dmm_txn_init(omap_dmm, area->tcm); in fill() 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() [all …]
|
| H A D | omap_dmm_priv.h | 130 struct tcm *tcm; member 141 struct tcm *tcm; member 187 struct tcm **tcm; member
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | tb.c | 36 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() argument 38 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 71 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources() local 81 list_add_tail(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 88 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources() local 97 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) { in tb_remove_dp_resources() 108 struct tb_cm *tcm = tb_priv(tb); in tb_discover_tunnels() local 147 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_discover_tunnels() 260 struct tb_cm *tcm = tb_priv(tb); in tb_find_tunnel() local 263 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_find_tunnel() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 1059 low_latency = mvm->tcm.result.low_latency[mvmvif->id]; in iwl_mvm_tcm_iter() 1061 if (!mvm->tcm.result.change[mvmvif->id] && in iwl_mvm_tcm_iter() 1108 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions) in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 1139 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected) in iwl_mvm_uapsd_agg_disconnect() 1142 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true; in iwl_mvm_uapsd_agg_disconnect() 1152 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes; in iwl_mvm_check_uapsd_agg_expected_tpt() 1157 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate); in iwl_mvm_check_uapsd_agg_expected_tpt() 1159 if (!rate || mvm->tcm.data[mac].opened_rx_ba_sessions || in iwl_mvm_check_uapsd_agg_expected_tpt() 1160 mvm->tcm.data[mac].uapsd_nonagg_detect.detected) in iwl_mvm_check_uapsd_agg_expected_tpt() 1207 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() [all …]
|
| H A D | rx.c | 279 if (time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD)) in iwl_mvm_rx_handle_tcm() 280 schedule_delayed_work(&mvm->tcm.work, 0); in iwl_mvm_rx_handle_tcm() 281 mdata = &mvm->tcm.data[mac]; in iwl_mvm_rx_handle_tcm() 473 if (!mvm->tcm.paused && len >= sizeof(*hdr) && in iwl_mvm_rx_rx_mpdu() 724 spin_lock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats() 726 struct iwl_mvm_tcm_mac *mdata = &mvm->tcm.data[i]; in iwl_mvm_update_tcm_from_stats() 739 spin_unlock(&mvm->tcm.lock); in iwl_mvm_update_tcm_from_stats()
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | sch_api.c | 889 struct tcmsg *tcm; in tc_fill_qdisc() local 898 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc() 901 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 902 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc() 903 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 904 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 905 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc() 906 tcm->tcm_parent = clid; in tc_fill_qdisc() 907 tcm->tcm_handle = q->handle; in tc_fill_qdisc() 908 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc() [all …]
|
| H A D | cls_api.c | 1804 struct tcmsg *tcm; in tcf_fill_node() local 1808 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node() 1811 tcm = nlmsg_data(nlh); in tcf_fill_node() 1812 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node() 1813 tcm->tcm__pad1 = 0; in tcf_fill_node() 1814 tcm->tcm__pad2 = 0; in tcf_fill_node() 1816 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node() 1817 tcm->tcm_parent = parent; in tcf_fill_node() 1819 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node() 1820 tcm->tcm_block_index = block->index; in tcf_fill_node() [all …]
|
| H A D | sch_mq.c | 185 struct tcmsg *tcm) in mq_select_queue() argument 187 return mq_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mq_select_queue() 233 struct sk_buff *skb, struct tcmsg *tcm) in mq_dump_class() argument 237 tcm->tcm_parent = TC_H_ROOT; in mq_dump_class() 238 tcm->tcm_handle |= TC_H_MIN(cl); in mq_dump_class() 239 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mq_dump_class()
|
| H A D | sch_mqprio.c | 489 struct sk_buff *skb, struct tcmsg *tcm) in mqprio_dump_class() argument 496 tcm->tcm_parent = (tc < 0) ? 0 : in mqprio_dump_class() 499 tcm->tcm_info = dev_queue->qdisc_sleeping->handle; in mqprio_dump_class() 501 tcm->tcm_parent = TC_H_ROOT; in mqprio_dump_class() 502 tcm->tcm_info = 0; in mqprio_dump_class() 504 tcm->tcm_handle |= TC_H_MIN(cl); in mqprio_dump_class() 610 struct tcmsg *tcm) in mqprio_select_queue() argument 612 return mqprio_queue_get(sch, TC_H_MIN(tcm->tcm_parent)); in mqprio_select_queue()
|
| H A 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()
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-sc-firmware/ |
| H A D | imx-sc-firmware.mk | 25 cp $(@D)/mx8qx-mek-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-mek-scfw-tcm.bin 26 cp $(@D)/mx8qx-val-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-val-scfw-tcm.bin 30 cp $(@D)/mx8qm-*-scfw-tcm.bin $(BINARIES_DIR)/
|
| /OK3568_Linux_fs/buildroot/board/freescale/imx8qmmek/ |
| H A D | readme.txt | 32 - mx8qm-mek-scfw-tcm.bin 33 - mx8qm-val-scfw-tcm.bin 34 - mx8qm-a0-ddr4-scfw-tcm.bin 35 - mx8qm-a0-mek-scfw-tcm.bin 36 - mx8qm-a0-val-scfw-tcm.bin 37 - mx8qm-ddr4-scfw-tcm.bin
|
| /OK3568_Linux_fs/kernel/arch/csky/kernel/ |
| H A D | vmlinux.lds.S | 67 *(.tcm.text) 68 *(.tcm.rodata) 70 *(.tcm.data) 89 *(.tcm.data)
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/ |
| H A D | mediatek-vpu.txt | 10 "tcm": tcm base 27 reg-names = "tcm", "cfg_reg";
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | vmlinux.lds.h | 158 *(.tcm.text) \ 159 *(.tcm.rodata) \ 168 *(.tcm.data) \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_pcie_linux.c | 109 volatile char *tcm; /* pci device memory va */ member 1174 W_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm8() 1184 data = R_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset)); in dhdpcie_os_rtcm8() 1194 W_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm16() 1204 data = R_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset)); in dhdpcie_os_rtcm16() 1214 W_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm32() 1224 data = R_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset)); in dhdpcie_os_rtcm32() 1235 W_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm64() 1245 data = R_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset)); in dhdpcie_os_rtcm64() 1797 dhdpcie_info->tcm = (volatile char *) REG_MAP(bar1_addr, dhdpcie_info->bar1_size); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_pcie_linux.c | 109 volatile char *tcm; /* pci device memory va */ member 1180 W_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm8() 1190 data = R_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset)); in dhdpcie_os_rtcm8() 1200 W_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm16() 1210 data = R_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset)); in dhdpcie_os_rtcm16() 1220 W_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm32() 1230 data = R_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset)); in dhdpcie_os_rtcm32() 1241 W_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm64() 1251 data = R_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset)); in dhdpcie_os_rtcm64() 1803 dhdpcie_info->tcm = (volatile char *) REG_MAP(bar1_addr, dhdpcie_info->bar1_size); [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_pcie_linux.c | 100 volatile char *tcm; /* pci device memory va */ member 1171 W_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm8() 1181 data = R_REG(bus->dhd->osh, (volatile uint8 *)(bus->tcm + offset)); in dhdpcie_os_rtcm8() 1191 W_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm16() 1201 data = R_REG(bus->dhd->osh, (volatile uint16 *)(bus->tcm + offset)); in dhdpcie_os_rtcm16() 1211 W_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm32() 1221 data = R_REG(bus->dhd->osh, (volatile uint32 *)(bus->tcm + offset)); in dhdpcie_os_rtcm32() 1232 W_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset), data); in dhdpcie_os_wtcm64() 1242 data = R_REG(bus->dhd->osh, (volatile uint64 *)(bus->tcm + offset)); in dhdpcie_os_rtcm64() 1792 dhdpcie_info->tcm = (volatile char *) REG_MAP(bar1_addr, dhdpcie_info->bar1_size); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pcie.c | 257 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() 425 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm32() 434 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32() 444 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32() 454 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_copy_dev_tomem() 1100 memcpy_fromio(&ringinfo, devinfo->tcm + devinfo->shared.ring_info_addr, in brcmf_pcie_init_ringbuffers() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/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>
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_pcie_linux.c | 116 volatile char *tcm; /* pci device memory va */ member 1116 dhdpcie_info->tcm = (volatile char *) REG_MAP(bar1_addr, dhdpcie_info->tcm_size); in dhdpcie_get_resource() 1118 if (!dhdpcie_info->regs || !dhdpcie_info->tcm) { in dhdpcie_get_resource() 1135 REG_UNMAP(dhdpcie_info->tcm); in dhdpcie_get_resource() 1149 __FUNCTION__, dhdpcie_info->tcm, bar1_addr)); in dhdpcie_get_resource() 1318 bus = dhdpcie_bus_attach(osh, dhdpcie_info->regs, dhdpcie_info->tcm, pdev); in dhdpcie_init() 1766 dhdpcie_info->tcm = (volatile char *) REG_MAP(bar1_addr, dhdpcie_info->tcm_size); in dhdpcie_alloc_resource() 1767 if (!dhdpcie_info->tcm) { in dhdpcie_alloc_resource() 1774 bus->tcm = dhdpcie_info->tcm; in dhdpcie_alloc_resource() 1779 __FUNCTION__, dhdpcie_info->tcm, bar1_addr)); in dhdpcie_alloc_resource() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vpu/ |
| H A D | mtk_vpu.c | 98 void __iomem *tcm; member 445 return (__force void *)(dtcm_dmem_addr + vpu->reg.tcm + in vpu_mapping_dm_addr() 522 dest = (__force void *)vpu->reg.tcm; in load_requested_vpu() 737 vpu->recv_buf = vpu->reg.tcm + VPU_DTCM_OFFSET; in vpu_ipi_init() 795 vpu->reg.tcm = devm_ioremap_resource(dev, res); in mtk_vpu_probe() 796 if (IS_ERR((__force void *)vpu->reg.tcm)) in mtk_vpu_probe() 797 return PTR_ERR((__force void *)vpu->reg.tcm); in mtk_vpu_probe()
|
| /OK3568_Linux_fs/buildroot/board/freescale/imx8qxpmek/ |
| H A D | readme.txt | 27 - mx8qx-mek-scfw-tcm.bin 28 - mx8qx-val-scfw-tcm.bin
|