| /Linux-v5.4/drivers/hwtracing/stm/ |
| D | core.c | 40 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 …]
|
| D | policy.c | 26 struct stm_device *stm; member 107 struct stm_device *stm; in stp_policy_node_masters_store() local 115 stm = policy_node->policy->stm; in stp_policy_node_masters_store() 116 if (!stm) in stp_policy_node_masters_store() 120 if (first > last || first < stm->data->sw_start || in stp_policy_node_masters_store() 121 last > stm->data->sw_end) { in stp_policy_node_masters_store() 154 struct stm_device *stm; in stp_policy_node_channels_store() local 162 stm = policy_node->policy->stm; in stp_policy_node_channels_store() 163 if (!stm) in stp_policy_node_channels_store() 167 last >= stm->data->sw_nchannels) { in stp_policy_node_channels_store() [all …]
|
| 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);
|
| D | ftrace.c | 39 struct stm_ftrace *stm = container_of(export, struct stm_ftrace, ftrace); in stm_ftrace_write() local 41 stm_source_write(&stm->data, STM_FTRACE_CHAN, buf, len); in stm_ftrace_write()
|
| 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
|
| /Linux-v5.4/drivers/hwtracing/intel_th/ |
| 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() 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() 174 sth->stm.sw_nchannels = reg & 0xff; in intel_th_sw_init() 177 sth->stm.sw_start = reg & 0xffff; in intel_th_sw_init() 178 sth->stm.sw_end = reg >> 16; in intel_th_sw_init() [all …]
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| 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
|
| 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
|
| 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
|
| /Linux-v5.4/net/strparser/ |
| D | strparser.c | 102 struct _strp_msg *stm; in __strp_recv() local 194 stm = _strp_msg(head); in __strp_recv() 195 memset(stm, 0, sizeof(*stm)); in __strp_recv() 196 stm->strp.offset = orig_offset + eaten; in __strp_recv() 210 stm = _strp_msg(head); in __strp_recv() 218 if (!stm->strp.full_len) { in __strp_recv() 225 if (!stm->accum_len) { in __strp_recv() 229 stm->accum_len += cand_len; in __strp_recv() 235 if (len == -ESTRPIPE && stm->accum_len) { in __strp_recv() 249 skb->len - stm->strp.offset) { in __strp_recv() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/stm/ |
| 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-v5.4/drivers/hwtracing/coresight/ |
| D | coresight-stm.c | 137 struct stm_data stm; member 339 struct stm_drvdata, stm); in stm_generic_link() 350 struct stm_drvdata, stm); in stm_generic_unlink() 362 struct stm_drvdata, stm); in stm_mmio_addr() 381 struct stm_drvdata, stm); in stm_generic_set_options() 414 struct stm_drvdata, stm); in stm_generic_packet() 835 drvdata->stm.name = name; in stm_init_generic_data() 841 drvdata->stm.sw_start = 1; in stm_init_generic_data() 842 drvdata->stm.sw_end = 1; in stm_init_generic_data() 843 drvdata->stm.hw_override = true; in stm_init_generic_data() [all …]
|
| /Linux-v5.4/Documentation/trace/ |
| 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 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 …]
|
| /Linux-v5.4/drivers/net/can/ |
| D | flexcan.c | 288 struct flexcan_stop_mode stm; member 418 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_enter_stop_mode() 419 1 << priv->stm.req_bit, 1 << priv->stm.req_bit); in flexcan_enter_stop_mode() 422 if (regmap_read_poll_timeout(priv->stm.gpr, priv->stm.ack_gpr, in flexcan_enter_stop_mode() 423 ackval, ackval & (1 << priv->stm.ack_bit), in flexcan_enter_stop_mode() 437 regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, in flexcan_exit_stop_mode() 438 1 << priv->stm.req_bit, 0); in flexcan_exit_stop_mode() 441 if (regmap_read_poll_timeout(priv->stm.gpr, priv->stm.ack_gpr, in flexcan_exit_stop_mode() 442 ackval, !(ackval & (1 << priv->stm.ack_bit)), in flexcan_exit_stop_mode() 1482 priv->stm.gpr = syscon_node_to_regmap(gpr_np); in flexcan_setup_stop_mode() [all …]
|
| /Linux-v5.4/arch/unicore32/lib/ |
| D | backtrace.S | 30 stm.w (v4 - v8, lr), [sp-] @ Save an extra register 35 1: stm.w (pc), [sp-] @ calculate offset of PC stored 116 .Ldumpstm: stm.w (instr, reg, stack, v7, lr), [sp-] 157 .Ldsi: .word 0x92eec000 >> 14 @ stm.w sp, (... fp, ip, lr, pc) 158 .word 0x92e10000 >> 14 @ stm.w sp, ()
|
| D | copy_page.S | 24 stm.w (r17 - r19, lr), [sp-] 31 stm.w (r0 - r15), [r17]+
|
| D | clear_user.S | 21 stm.w (lr), [sp-] 22 stm.w (r1), [sp-]
|
| D | copy_to_user.S | 55 100: stm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 68 stm.w (r0, r2, r3), [sp-]
|
| /Linux-v5.4/arch/arm/kvm/hyp/ |
| D | entry.S | 23 stm r1!, {r4-r12} 44 stm r2!, {r3-r12} 48 stm r2, {r3-r5}
|
| /Linux-v5.4/include/net/ |
| D | act_api.h | 68 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument 70 dtm->install = jiffies_to_clock_t(jiffies - stm->install); in tcf_tm_dump() 71 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump() 72 dtm->firstuse = jiffies_to_clock_t(jiffies - stm->firstuse); in tcf_tm_dump() 73 dtm->expires = jiffies_to_clock_t(stm->expires); in tcf_tm_dump()
|
| /Linux-v5.4/arch/unicore32/kernel/ |
| D | entry.S | 104 stm (r0-r3), [\temp]+ 158 stm (r1 - r15), [sp]+ 160 stm (r16 - r28), [r5]+ 180 stm (r0 - r4), [r5]+ 189 stm (r1 - r15), [sp+] 191 stm (r16 - r28), [r4]+ 209 stm (r2 - r4), [r0]+ 231 stm (r1 - r15), [sp+] 233 stm (r16 - r28, sp, lr), [r1]+ 241 stm (r5 - r7), [r0]+ @ lr_<exception>, [all …]
|
| D | hibernate_asm.S | 48 stm.w (r8 - r15), [r7]+ 99 stm.w (r4 - r15), [ip]+ 100 stm.w (r16 - r27, sp, lr), [ip]+
|
| D | sleep.S | 28 stm.w (r3 - r6), [sp-] 50 stm.w (r16 - r27, lr), [sp-] @ save registers on stack 51 stm.w (r4 - r15), [sp-] @ save registers on stack 59 stm.w (r4), [sp-]
|
| /Linux-v5.4/arch/arm64/boot/dts/sprd/ |
| D | sc9836.dtsi | 182 stm@10006000 { 183 compatible = "arm,coresight-stm", "arm,primecell"; 186 reg-names = "stm-base", "stm-stimulus-base";
|
| /Linux-v5.4/Documentation/devicetree/bindings/arm/ |
| D | coresight.txt | 44 "arm,coresight-stm", "arm,primecell"; [1] 72 * reg-names: the only acceptable values are "stm-base" and 73 "stm-stimulus-base", each corresponding to the areas defined in "reg". 328 stm@20100000 { 329 compatible = "arm,coresight-stm", "arm,primecell"; 332 reg-names = "stm-base", "stm-stimulus-base";
|