Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/hwtracing/stm/
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 …]
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 …]
Dstm.h52 stp_policy_node_lookup(struct stm_device *stm, char *s);
72 struct stm_device *stm; member
77 void stm_put_device(struct stm_device *stm);
DKconfig46 This is a simple dummy device that pretends to be an stm device
47 and discards your data. Use for stm class testing.
65 also useful for testing stm class drivers and the stm class
Dftrace.c39 struct stm_ftrace *stm = container_of(export, struct stm_ftrace, ftrace); in stm_ftrace_write() local
43 stm_source_write(&stm->data, STM_FTRACE_CHAN + cpu, buf, len); in stm_ftrace_write()
/Linux-v6.6/drivers/hwtracing/intel_th/
Dsth.c26 struct stm_data stm; member
35 return &sw_map[(master - sth->stm.sw_start) * sth->stm.sw_nchannels + in sth_channel()
70 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_packet()
145 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_mmio_addr()
148 master -= sth->stm.sw_start; in sth_stm_mmio_addr()
149 addr = sth->channels_phys + (master * sth->stm.sw_nchannels + channel) * in sth_stm_mmio_addr()
162 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_link()
172 sth->stm.sw_nchannels = reg & 0xff; in intel_th_sw_init()
175 sth->stm.sw_start = reg & 0xffff; in intel_th_sw_init()
176 sth->stm.sw_end = reg >> 16; in intel_th_sw_init()
[all …]
/Linux-v6.6/net/tls/
Dtls_strp.c73 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy()
74 strp->stm.full_len); in tls_strp_msg_make_copy()
134 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
164 offset = strp->stm.offset; in tls_strp_msg_hold()
165 len = strp->stm.full_len; in tls_strp_msg_hold()
221 if (!strp->stm.full_len) { in tls_strp_copyin_frag()
253 strp->stm.full_len = sz; in tls_strp_copyin_frag()
254 if (!strp->stm.full_len) in tls_strp_copyin_frag()
259 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag()
260 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag()
[all …]
/Linux-v6.6/Documentation/ABI/testing/
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
Dsysfs-bus-coresight-devices-stm1 What: /sys/bus/coresight/devices/<memory_map>.stm/enable_source
11 What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_enable
18 What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_select
26 What: /sys/bus/coresight/devices/<memory_map>.stm/port_enable
34 What: /sys/bus/coresight/devices/<memory_map>.stm/port_select
41 What: /sys/bus/coresight/devices/<memory_map>.stm/status
48 What: /sys/bus/coresight/devices/<memory_map>.stm/traceid
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
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-v6.6/net/strparser/
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 skb->len - stm->strp.offset) { in __strp_recv()
[all …]
/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-stm.c138 struct stm_data stm; member
333 struct stm_drvdata, stm); in stm_generic_link()
344 struct stm_drvdata, stm); in stm_generic_unlink()
356 struct stm_drvdata, stm); in stm_mmio_addr()
375 struct stm_drvdata, stm); in stm_generic_set_options()
408 struct stm_drvdata, stm); in stm_generic_packet()
789 drvdata->stm.name = name; in stm_init_generic_data()
795 drvdata->stm.sw_start = 1; in stm_init_generic_data()
796 drvdata->stm.sw_end = 1; in stm_init_generic_data()
797 drvdata->stm.hw_override = true; in stm_init_generic_data()
[all …]
/Linux-v6.6/drivers/gpu/drm/stm/
DMakefile2 stm-drm-y := \
6 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o
8 obj-$(CONFIG_DRM_STM) += stm-drm.o
/Linux-v6.6/Documentation/trace/
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 …]
Dindex.rst32 stm
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-v6.6/include/net/
Dact_api.h85 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument
87 dtm->install = jiffies_to_clock_t(jiffies - stm->install); in tcf_tm_dump()
88 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump()
89 dtm->firstuse = stm->firstuse ? in tcf_tm_dump()
90 jiffies_to_clock_t(jiffies - stm->firstuse) : 0; in tcf_tm_dump()
91 dtm->expires = jiffies_to_clock_t(stm->expires); in tcf_tm_dump()
/Linux-v6.6/arch/arm64/boot/dts/sprd/
Dsc9836.dtsi182 stm@10006000 {
183 compatible = "arm,coresight-stm", "arm,primecell";
186 reg-names = "stm-base", "stm-stimulus-base";
/Linux-v6.6/arch/csky/abiv2/inc/abi/
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-v6.6/net/kcm/
Dkcmsock.c975 struct strp_msg *stm; in kcm_recvmsg() local
985 stm = strp_msg(skb); in kcm_recvmsg()
987 if (len > stm->full_len) in kcm_recvmsg()
988 len = stm->full_len; in kcm_recvmsg()
990 err = skb_copy_datagram_msg(skb, stm->offset, msg, len); in kcm_recvmsg()
997 if (copied < stm->full_len) { in kcm_recvmsg()
1003 stm->offset += copied; in kcm_recvmsg()
1004 stm->full_len -= copied; in kcm_recvmsg()
1024 struct strp_msg *stm; in kcm_splice_read() local
1037 stm = strp_msg(skb); in kcm_splice_read()
[all …]
/Linux-v6.6/drivers/hwtracing/
DKconfig4 source "drivers/hwtracing/stm/Kconfig"
/Linux-v6.6/drivers/net/can/flexcan/
Dflexcan-core.c545 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_enter_stop_mode()
546 1 << priv->stm.req_bit, 1 << priv->stm.req_bit); in flexcan_enter_stop_mode()
564 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_exit_stop_mode()
565 1 << priv->stm.req_bit, 0); in flexcan_exit_stop_mode()
1928 priv->stm.gpr = syscon_node_to_regmap(gpr_np); in flexcan_setup_stop_mode_gpr()
1929 if (IS_ERR(priv->stm.gpr)) { in flexcan_setup_stop_mode_gpr()
1931 ret = PTR_ERR(priv->stm.gpr); in flexcan_setup_stop_mode_gpr()
1935 priv->stm.req_gpr = out_val[1]; in flexcan_setup_stop_mode_gpr()
1936 priv->stm.req_bit = out_val[2]; in flexcan_setup_stop_mode_gpr()
1940 gpr_np->full_name, priv->stm.req_gpr, priv->stm.req_bit); in flexcan_setup_stop_mode_gpr()
/Linux-v6.6/include/linux/
Dstm.h77 struct stm_device *stm; member
/Linux-v6.6/arch/arm/kernel/
Dsmccc-call.S41 stm r12, {r0-r3}

123