/linux-6.3-rc2/drivers/hwtracing/stm/ |
A D | core.c | 346 if (stm->pdrv && stm->pdrv->output_close) in stm_output_free() 523 struct stm_device *stm = stmf->stm; in stm_char_release() local 622 struct stm_device *stm = stmf->stm; in stm_char_write() local 672 struct stm_device *stm = stmf->stm; in stm_mmap_open() local 680 struct stm_device *stm = stmf->stm; in stm_mmap_close() local 694 struct stm_device *stm = stmf->stm; in stm_char_mmap() local 727 struct stm_device *stm = stmf->stm; in stm_char_policy_set_ioctl() local 875 stm->dev.devt = MKDEV(stm->major, 0); in stm_register_device() 890 stm_data->stm = stm; in stm_register_device() 930 struct stm_device *stm = stm_data->stm; in stm_unregister_device() local [all …]
|
A D | policy.c | 110 stm = policy_node->policy->stm; in stp_policy_node_masters_store() 111 if (!stm) in stp_policy_node_masters_store() 157 stm = policy_node->policy->stm; in stp_policy_node_channels_store() 158 if (!stm) in stp_policy_node_channels_store() 238 if (!policy->stm) in stp_policy_node_make() 328 struct stm_device *stm = policy->stm; in stp_policy_unbind() local 354 struct stm_device *stm = policy->stm; in stp_policy_release() local 357 if (!stm) in stp_policy_release() 421 if (!stm) { in stp_policy_make() 440 stm->policy = kzalloc(sizeof(*stm->policy), GFP_KERNEL); in stp_policy_make() [all …]
|
A D | stm.h | 52 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);
|
A D | Kconfig | 46 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
|
A D | ftrace.c | 39 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-6.3-rc2/drivers/hwtracing/intel_th/ |
A D | sth.c | 26 struct stm_data stm; member 35 return &sw_map[(master - sth->stm.sw_start) * sth->stm.sw_nchannels + in sth_channel() 148 master -= sth->stm.sw_start; in sth_stm_mmio_addr() 175 sth->stm.sw_start = reg & 0xffff; in intel_th_sw_init() 176 sth->stm.sw_end = reg >> 16; in intel_th_sw_init() 178 sth->sw_nmasters = sth->stm.sw_end - sth->stm.sw_start; in intel_th_sw_init() 180 sth->stm.sw_start, sth->stm.sw_end, sth->sw_nmasters, in intel_th_sw_init() 181 sth->stm.sw_nchannels); in intel_th_sw_init() 218 sth->stm.name = dev_name(dev); in intel_th_sth_probe() 219 sth->stm.packet = sth_stm_packet; in intel_th_sth_probe() [all …]
|
/linux-6.3-rc2/net/tls/ |
A D | tls_strp.c | 49 offset = strp->stm.offset; in tls_strp_msg_make_copy() 146 offset = strp->stm.offset; in tls_strp_msg_hold() 147 len = strp->stm.full_len; in tls_strp_msg_hold() 203 if (!strp->stm.full_len) { in tls_strp_copyin() 228 strp->stm.full_len = sz; in tls_strp_copyin() 229 if (!strp->stm.full_len) in tls_strp_copyin() 307 strp->stm.offset = 0; in tls_strp_read_copy() 320 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_no_dup() 408 strp->stm.full_len = sz; in tls_strp_read_sock() 410 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock() [all …]
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-stm | 1 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
|
A D | sysfs-bus-coresight-devices-stm | 1 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
|
A D | sysfs-class-stm_source | 6 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
|
A D | configfs-stp-policy | 14 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-6.3-rc2/net/strparser/ |
A D | strparser.c | 94 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() 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() 250 stm->strp.full_len = len; in __strp_recv() 254 stm->strp.full_len; in __strp_recv() 258 if (stm->strp.full_len - stm->accum_len > in __strp_recv() 267 if (!stm->accum_len) { in __strp_recv() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/ |
A D | arm,coresight-stm.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-stm.yaml# 33 const: arm,coresight-stm 43 - const: arm,coresight-stm 51 - const: stm-base 52 - const: stm-stimulus-base 88 stm@20100000 { 89 compatible = "arm,coresight-stm", "arm,primecell"; 92 reg-names = "stm-base", "stm-stimulus-base";
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-stm.c | 138 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-6.3-rc2/drivers/gpu/drm/stm/ |
A D | Makefile | 2 stm-drm-y := \ 6 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o 8 obj-$(CONFIG_DRM_STM) += stm-drm.o
|
/linux-6.3-rc2/Documentation/trace/ |
A D | stm.rst | 26 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 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. 135 linked with an stm device, and if "function" tracer is enabled, [all …]
|
A D | index.rst | 31 stm
|
A D | intel_th.rst | 41 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-6.3-rc2/include/net/ |
A D | act_api.h | 85 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-6.3-rc2/arch/arm64/boot/dts/sprd/ |
A D | sc9836.dtsi | 182 stm@10006000 { 183 compatible = "arm,coresight-stm", "arm,primecell"; 186 reg-names = "stm-base", "stm-stimulus-base";
|
/linux-6.3-rc2/arch/csky/abiv2/inc/abi/ |
A D | entry.h | 54 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-6.3-rc2/net/kcm/ |
A D | kcmsock.c | 1097 struct strp_msg *stm; in kcm_recvmsg() local 1107 stm = strp_msg(skb); in kcm_recvmsg() 1109 if (len > stm->full_len) in kcm_recvmsg() 1110 len = stm->full_len; in kcm_recvmsg() 1125 stm->offset += copied; in kcm_recvmsg() 1146 struct strp_msg *stm; in kcm_splice_read() local 1159 stm = strp_msg(skb); in kcm_splice_read() 1161 if (len > stm->full_len) in kcm_splice_read() 1162 len = stm->full_len; in kcm_splice_read() 1172 stm->offset += copied; in kcm_splice_read() [all …]
|
/linux-6.3-rc2/drivers/hwtracing/ |
A D | Kconfig | 4 source "drivers/hwtracing/stm/Kconfig"
|
/linux-6.3-rc2/drivers/net/can/flexcan/ |
A D | flexcan-core.c | 545 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() 569 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_exit_stop_mode() 570 1 << priv->stm.req_bit, 0); in flexcan_exit_stop_mode() 1939 priv->stm.gpr = syscon_node_to_regmap(gpr_np); in flexcan_setup_stop_mode_gpr() 1940 if (IS_ERR(priv->stm.gpr)) { in flexcan_setup_stop_mode_gpr() 1942 ret = PTR_ERR(priv->stm.gpr); in flexcan_setup_stop_mode_gpr() 1946 priv->stm.req_gpr = out_val[1]; in flexcan_setup_stop_mode_gpr() 1947 priv->stm.req_bit = out_val[2]; in flexcan_setup_stop_mode_gpr() 1951 gpr_np->full_name, priv->stm.req_gpr, priv->stm.req_bit); in flexcan_setup_stop_mode_gpr()
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | smccc-call.S | 41 stm r12, {r0-r3}
|