Home
last modified time | relevance | path

Searched refs:stm (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/hwtracing/stm/
H A Dcore.c40 struct stm_device *stm = to_stm_device(dev); in masters_show() local
43 ret = sprintf(buf, "%u %u\n", stm->data->sw_start, stm->data->sw_end); in masters_show()
54 struct stm_device *stm = to_stm_device(dev); in channels_show() local
57 ret = sprintf(buf, "%u\n", stm->data->sw_nchannels); in channels_show()
68 struct stm_device *stm = to_stm_device(dev); in hw_override_show() local
71 ret = sprintf(buf, "%u\n", stm->data->hw_override); in hw_override_show()
85 ATTRIBUTE_GROUPS(stm);
106 struct stm_device *stm; in stm_find_device() local
116 stm = to_stm_device(dev); in stm_find_device()
117 if (!try_module_get(stm->owner)) { in stm_find_device()
[all …]
H A Dpolicy.c26 struct stm_device *stm; member
102 struct stm_device *stm; in stp_policy_node_masters_store() local
110 stm = policy_node->policy->stm; in stp_policy_node_masters_store()
111 if (!stm) in stp_policy_node_masters_store()
115 if (first > last || first < stm->data->sw_start || in stp_policy_node_masters_store()
116 last > stm->data->sw_end) { in stp_policy_node_masters_store()
149 struct stm_device *stm; in stp_policy_node_channels_store() local
157 stm = policy_node->policy->stm; in stp_policy_node_channels_store()
158 if (!stm) in stp_policy_node_channels_store()
162 last >= stm->data->sw_nchannels) { in stp_policy_node_channels_store()
[all …]
/linux/net/tls/
H A Dtls_strp.c74 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
75 strp->stm.full_len); in tls_strp_msg_make_copy()
135 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
165 offset = strp->stm.offset; in tls_strp_msg_hold()
166 len = strp->stm.full_len; in tls_strp_msg_hold()
228 if (!strp->stm.full_len) { in tls_strp_copyin_frag()
260 strp->stm.full_len = sz; in tls_strp_copyin_frag()
261 if (!strp->stm.full_len) in tls_strp_copyin_frag()
266 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag()
267 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-stm1 What: /sys/class/stm/<stm>/masters
9 What: /sys/class/stm/<stm>/channels
16 What: /sys/class/stm/<stm>/hw_override
22 this stm device will match the master numbers assigned by
23 the software or 1 if the stm hardware overrides software
H A Dsysfs-class-stm_source6 stm_source device linkage to stm device, where its tracing data
8 this stm_source is not connected to any stm device yet.
9 Write an existing (registered) stm device's name here to
H A Dconfigfs-stp-policy14 of an stm device name to which this policy applies and an
16 stm device, mkdir will fail with ENODEV; if that device already
/linux/net/strparser/
H A Dstrparser.c94 struct _strp_msg *stm; in __strp_recv() local
186 stm = _strp_msg(head); in __strp_recv()
187 memset(stm, 0, sizeof(*stm)); in __strp_recv()
188 stm->strp.offset = orig_offset + eaten; in __strp_recv()
202 stm = _strp_msg(head); in __strp_recv()
210 if (!stm->strp.full_len) { in __strp_recv()
217 if (!stm->accum_len) { in __strp_recv()
221 stm->accum_len += cand_len; in __strp_recv()
227 if (len == -ESTRPIPE && stm->accum_len) { in __strp_recv()
241 (ssize_t)skb->len - stm->strp.offset) { in __strp_recv()
[all …]
/linux/drivers/gpu/drm/stm/
H A DMakefile2 stm-drm-y := \
6 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o
10 obj-$(CONFIG_DRM_STM) += stm-drm.o
H A DKconfig17 will be called stm-drm.
/linux/Documentation/trace/
H A Dstm.rst26 To solve this mapping problem, stm class provides a policy management
57 Trace sources have to open the stm class device's node and write their
67 stm core will try to find a policy node with the name matching the
73 if all the above steps failed, the write() to an stm file descriptor
76 Previously, if no policy nodes were found for a trace source, the stm
88 stm device's channel mmio region is 64 bytes and hardware page size is
101 stm devices at runtime via a sysfs attribute called "stm_source_link"
102 by writing the name of the desired stm device there, for example::
115 node, the stm core will use the catch-all entry "default", if one
124 for kernel messages over an stm device.
[all …]
H A Dintel_th.rst41 STH registers an stm class device, through which it provides interface
43 Documentation/trace/stm.rst for more information on that.
95 # .. send data to master 33, see stm.txt for more details ..
117 software traces to the Software Trace Hub (an stm class device). The
/linux/arch/arm64/boot/dts/sprd/
H A Dsc9836.dtsi181 stm@10006000 {
182 compatible = "arm,coresight-stm", "arm,primecell";
185 reg-names = "stm-base", "stm-stimulus-base";
/linux/arch/csky/abiv2/inc/abi/
H A Dentry.h54 stm r4-r13, (sp)
57 stm r16-r30, (sp)
124 stm r4-r13, (sp)
127 stm r16-r30, (sp)
165 stm r4-r11, (sp)
/linux/include/net/
H A Dact_api.h88 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument
92 dtm->install = jiffies_to_clock_t(now - READ_ONCE(stm->install)); in tcf_tm_dump()
93 dtm->lastuse = jiffies_to_clock_t(now - READ_ONCE(stm->lastuse)); in tcf_tm_dump()
95 firstuse = READ_ONCE(stm->firstuse); in tcf_tm_dump()
99 dtm->expires = jiffies_to_clock_t(READ_ONCE(stm->expires)); in tcf_tm_dump()
/linux/net/kcm/
H A Dkcmsock.c996 struct strp_msg *stm; in kcm_recvmsg() local
1006 stm = strp_msg(skb); in kcm_recvmsg()
1008 if (len > stm->full_len) in kcm_recvmsg()
1009 len = stm->full_len; in kcm_recvmsg()
1011 err = skb_copy_datagram_msg(skb, stm->offset, msg, len); in kcm_recvmsg()
1018 if (copied < stm->full_len) { in kcm_recvmsg()
1024 stm->offset += copied; in kcm_recvmsg()
1025 stm->full_len -= copied; in kcm_recvmsg()
1045 struct strp_msg *stm; in kcm_splice_read() local
1063 stm = strp_msg(skb); in kcm_splice_read()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Ds32g2.dtsi368 compatible = "nxp,s32g2-stm";
377 compatible = "nxp,s32g2-stm";
386 compatible = "nxp,s32g2-stm";
395 compatible = "nxp,s32g2-stm";
582 compatible = "nxp,s32g2-stm";
591 compatible = "nxp,s32g2-stm";
600 compatible = "nxp,s32g2-stm";
/linux/drivers/hwtracing/
H A DKconfig4 source "drivers/hwtracing/stm/Kconfig"
/linux/arch/arm/kernel/
H A Dsmccc-call.S41 stm r12, {r0-r3}
/linux/drivers/net/can/flexcan/
H A Dflexcan.h111 struct flexcan_stop_mode stm; member
/linux/net/core/
H A Dskmsg.c699 struct strp_msg *stm = strp_msg(skb); in sk_psock_backlog() local
701 off = stm->offset; in sk_psock_backlog()
702 len = stm->full_len; in sk_psock_backlog()
1057 struct strp_msg *stm = strp_msg(skb); in sk_psock_verdict_apply() local
1059 off = stm->offset; in sk_psock_verdict_apply()
1060 len = stm->full_len; in sk_psock_verdict_apply()
/linux/sound/soc/
H A DMakefile79 obj-$(CONFIG_SND_SOC) += stm/
/linux/arch/arm64/boot/dts/arm/
H A Djuno-scmi.dtsi18 stm@20100000 {
H A Djuno-base.dtsi215 stm_sys: stm@20100000 {
216 compatible = "arm,coresight-stm", "arm,primecell";
219 reg-names = "stm-base", "stm-stimulus-base";
/linux/arch/csky/abiv1/inc/abi/
H A Dentry.h120 stm r8-r15, (sp)
/linux/drivers/hwtracing/intel_th/
H A DKconfig57 uses stm class device to interface with its sources.

12