| /linux/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 | 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 …]
|
| 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/drivers/thunderbolt/ |
| H A D | tb.c | 72 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() argument 74 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 113 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources() local 130 list_add(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 132 list_add_tail(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 140 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources() local 149 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) { in tb_remove_dp_resources() 159 struct tb_cm *tcm = tb_priv(tb); in tb_discover_dp_resource() local 162 list_for_each_entry(p, &tcm->dp_resources, list) { in tb_discover_dp_resource() 169 list_add_tail(&port->list, &tcm->dp_resources); in tb_discover_dp_resource() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 830 low_latency = mvm->tcm.result.low_latency[mvmvif->id]; in iwl_mvm_tcm_iter() 832 if (!mvm->tcm.result.change[mvmvif->id] && in iwl_mvm_tcm_iter() 870 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions) in iwl_mvm_tcm_uapsd_nonagg_detected_wk() 901 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected) in iwl_mvm_uapsd_agg_disconnect() 904 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true; in iwl_mvm_uapsd_agg_disconnect() 915 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes; in iwl_mvm_check_uapsd_agg_expected_tpt() 920 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate); in iwl_mvm_check_uapsd_agg_expected_tpt() 922 if (!rate || mvm->tcm.data[mac].opened_rx_ba_sessions || in iwl_mvm_check_uapsd_agg_expected_tpt() 923 mvm->tcm.data[mac].uapsd_nonagg_detect.detected) in iwl_mvm_check_uapsd_agg_expected_tpt() 970 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() [all …]
|
| /linux/net/sched/ |
| H A D | sch_api.c | 904 struct tcmsg *tcm; in tc_fill_qdisc() local 913 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc() 916 tcm = nlmsg_data(nlh); in tc_fill_qdisc() 917 tcm->tcm_family = AF_UNSPEC; in tc_fill_qdisc() 918 tcm->tcm__pad1 = 0; in tc_fill_qdisc() 919 tcm->tcm__pad2 = 0; in tc_fill_qdisc() 920 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tc_fill_qdisc() 921 tcm->tcm_parent = clid; in tc_fill_qdisc() 922 tcm->tcm_handle = q->handle; in tc_fill_qdisc() 923 tcm->tcm_info = refcount_read(&q->refcnt); in tc_fill_qdisc() [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 2062 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node() 2065 tcm = nlmsg_data(nlh); in tcf_fill_node() 2066 tcm->tcm_family = AF_UNSPEC; in tcf_fill_node() 2067 tcm->tcm__pad1 = 0; in tcf_fill_node() 2068 tcm->tcm__pad2 = 0; in tcf_fill_node() 2070 tcm->tcm_ifindex = qdisc_dev(q)->ifindex; in tcf_fill_node() 2071 tcm->tcm_parent = parent; in tcf_fill_node() 2073 tcm->tcm_ifindex = TCM_IFINDEX_MAGIC_BLOCK; in tcf_fill_node() 2074 tcm in tcf_fill_node() 2776 struct tcmsg *tcm = nlmsg_data(cb->nlh); tcf_chain_dump() local 2844 struct tcmsg *tcm = nlmsg_data(cb->nlh); tc_dump_tfilter() local 2951 struct tcmsg *tcm; tc_chain_fill_node() local 3243 struct tcmsg *tcm = nlmsg_data(cb->nlh); tc_dump_chain() local [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()
|
| H A D | sch_skbprio.c | 243 struct sk_buff *skb, struct tcmsg *tcm) in skbprio_dump_class() argument 245 tcm->tcm_handle |= TC_H_MIN(cl); in skbprio_dump_class()
|
| H A D | sch_tbf.c | 553 struct sk_buff *skb, struct tcmsg *tcm) in tbf_dump_class() 557 tcm->tcm_handle |= TC_H_MIN(1); in tbf_dump_class() 558 tcm->tcm_info = q->qdisc->handle; in tbf_dump_class() 552 tbf_dump_class(struct Qdisc * sch,unsigned long cl,struct sk_buff * skb,struct tcmsg * tcm) tbf_dump_class() argument
|
| H A D | sch_ets.c | 305 struct sk_buff *skb, struct tcmsg *tcm) in ets_class_dump() argument 311 tcm->tcm_parent = TC_H_ROOT; in ets_class_dump() 312 tcm->tcm_handle = ets_class_id(sch, cl); in ets_class_dump() 313 tcm->tcm_info = cl->qdisc->handle; in ets_class_dump()
|
| H A D | sch_red.c | 474 struct sk_buff *skb, struct tcmsg *tcm) in red_dump_class() argument 478 tcm->tcm_handle |= TC_H_MIN(1); in red_dump_class() 479 tcm->tcm_info = q->qdisc->handle; in red_dump_class()
|
| /linux/arch/csky/kernel/ |
| H A D | vmlinux.lds.S | 68 *(.tcm.text) 69 *(.tcm.rodata) 71 *(.tcm.data) 90 *(.tcm.data)
|
| /linux/drivers/remoteproc/ |
| H A D | xlnx_r5_remoteproc.c | 1040 struct mem_bank_data *tcm; in zynqmp_r5_get_tcm_node_from_dt() local 1075 tcm = devm_kzalloc(dev, sizeof(struct mem_bank_data), in zynqmp_r5_get_tcm_node_from_dt() 1077 if (!tcm) in zynqmp_r5_get_tcm_node_from_dt() 1080 r5_core->tcm_banks[j] = tcm; in zynqmp_r5_get_tcm_node_from_dt() 1092 tcm->pm_domain_id = out_args.args[0]; in zynqmp_r5_get_tcm_node_from_dt() 1107 tcm->da = (u32)abs_addr; in zynqmp_r5_get_tcm_node_from_dt() 1108 tcm->size = (u32)size; in zynqmp_r5_get_tcm_node_from_dt() 1117 tcm->addr = (u32)res->start; in zynqmp_r5_get_tcm_node_from_dt() 1118 tcm->bank_name = (char *)res->name; in zynqmp_r5_get_tcm_node_from_dt() 1119 res = devm_request_mem_region(dev, tcm->addr, tcm->size, in zynqmp_r5_get_tcm_node_from_dt() [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | vmlinux.lds.h | 163 *(.tcm.text) \ 164 *(.tcm.rodata) \ 173 *(.tcm.data) \
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pcie.c | 341 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() 1237 memcpy_fromio(&ringinfo, devinfo->tcm + devinfo->shared.ring_info_addr, in brcmf_pcie_init_ringbuffers() [all …]
|
| /linux/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/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-tcm | 1 What: /config/usb-gadget/gadget/functions/tcm.name
|
| /linux/arch/csky/mm/ |
| H A D | Makefile | 19 obj-$(CONFIG_HAVE_TCM) += tcm.o
|