/linux/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 | 47 This is a simple dummy device that pretends to be an stm device 48 and discards your data. Use for stm class testing. 66 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/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/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/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/drivers/hwtracing/coresight/ |
A D | coresight-stm.c | 137 struct stm_data stm; member 340 struct stm_drvdata, stm); in stm_generic_link() 351 struct stm_drvdata, stm); in stm_generic_unlink() 363 struct stm_drvdata, stm); in stm_mmio_addr() 382 struct stm_drvdata, stm); in stm_generic_set_options() 415 struct stm_drvdata, stm); in stm_generic_packet() 837 drvdata->stm.name = name; in stm_init_generic_data() 843 drvdata->stm.sw_start = 1; in stm_init_generic_data() 844 drvdata->stm.sw_end = 1; in stm_init_generic_data() 845 drvdata->stm.hw_override = true; in stm_init_generic_data() [all …]
|
/linux/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/sound/soc/stm/ |
A D | .built-in.a.cmd | 1 …stm/built-in.a := echo >/dev/null; rm -f sound/soc/stm/built-in.a; /usr/bin/ccache /home/test/work…
|
/linux/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 | 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
|
A D | index.rst | 30 stm
|
/linux/include/net/ |
A D | act_api.h | 82 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument 84 dtm->install = jiffies_to_clock_t(jiffies - stm->install); in tcf_tm_dump() 85 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump() 86 dtm->firstuse = stm->firstuse ? in tcf_tm_dump() 87 jiffies_to_clock_t(jiffies - stm->firstuse) : 0; in tcf_tm_dump() 88 dtm->expires = jiffies_to_clock_t(stm->expires); in tcf_tm_dump()
|
/linux/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/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/net/kcm/ |
A D | kcmsock.c | 1120 struct strp_msg *stm; in kcm_recvmsg() local 1134 stm = strp_msg(skb); in kcm_recvmsg() 1136 if (len > stm->full_len) in kcm_recvmsg() 1137 len = stm->full_len; in kcm_recvmsg() 1152 stm->offset += copied; in kcm_recvmsg() 1177 struct strp_msg *stm; in kcm_splice_read() local 1194 stm = strp_msg(skb); in kcm_splice_read() 1196 if (len > stm->full_len) in kcm_splice_read() 1197 len = stm->full_len; in kcm_splice_read() 1207 stm->offset += copied; in kcm_splice_read() [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
A D | coresight.txt | 47 "arm,coresight-stm", "arm,primecell"; [1] 79 * reg-names: the only acceptable values are "stm-base" and 80 "stm-stimulus-base", each corresponding to the areas defined in "reg". 365 stm@20100000 { 366 compatible = "arm,coresight-stm", "arm,primecell"; 369 reg-names = "stm-base", "stm-stimulus-base";
|
/linux/drivers/net/can/ |
A D | flexcan.c | 374 struct flexcan_stop_mode stm; member 608 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_enter_stop_mode() 609 1 << priv->stm.req_bit, 1 << priv->stm.req_bit); in flexcan_enter_stop_mode() 627 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_exit_stop_mode() 628 1 << priv->stm.req_bit, 0); in flexcan_exit_stop_mode() 2000 priv->stm.gpr = syscon_node_to_regmap(gpr_np); in flexcan_setup_stop_mode_gpr() 2001 if (IS_ERR(priv->stm.gpr)) { in flexcan_setup_stop_mode_gpr() 2003 ret = PTR_ERR(priv->stm.gpr); in flexcan_setup_stop_mode_gpr() 2007 priv->stm.req_gpr = out_val[1]; in flexcan_setup_stop_mode_gpr() 2008 priv->stm.req_bit = out_val[2]; in flexcan_setup_stop_mode_gpr() [all …]
|
/linux/drivers/hwtracing/ |
A D | Kconfig | 4 source "drivers/hwtracing/stm/Kconfig"
|
/linux/arch/arm/kernel/ |
A D | smccc-call.S | 41 stm r12, {r0-r3}
|