/Linux-v4.19/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); 113 struct stm_device *stm; in stm_find_device() local 123 stm = to_stm_device(dev); in stm_find_device() 124 if (!try_module_get(stm->owner)) { in stm_find_device() [all …]
|
D | policy.c | 26 struct stm_device *stm; member 89 struct stm_device *stm; in stp_policy_node_masters_store() local 97 stm = policy_node->policy->stm; in stp_policy_node_masters_store() 98 if (!stm) in stp_policy_node_masters_store() 102 if (first > last || first < stm->data->sw_start || in stp_policy_node_masters_store() 103 last > stm->data->sw_end) { in stp_policy_node_masters_store() 136 struct stm_device *stm; in stp_policy_node_channels_store() local 144 stm = policy_node->policy->stm; in stp_policy_node_channels_store() 145 if (!stm) in stp_policy_node_channels_store() 149 last >= stm->data->sw_nchannels) { in stp_policy_node_channels_store() [all …]
|
D | stm.h | 17 stp_policy_node_lookup(struct stm_device *stm, char *s); 59 struct stm_device *stm; member 65 void stm_put_device(struct stm_device *stm);
|
D | Kconfig | 17 This is a simple dummy device that pretends to be an stm device 18 and discards your data. Use for stm class testing. 36 also useful for testing stm class drivers and the stm class
|
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()
|
/Linux-v4.19/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() 141 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_mmio_addr() 144 master -= sth->stm.sw_start; in sth_stm_mmio_addr() 145 addr = sth->channels_phys + (master * sth->stm.sw_nchannels + channel) * in sth_stm_mmio_addr() 158 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_link() 170 sth->stm.sw_nchannels = reg & 0xff; in intel_th_sw_init() 173 sth->stm.sw_start = reg & 0xffff; in intel_th_sw_init() 174 sth->stm.sw_end = reg >> 16; in intel_th_sw_init() [all …]
|
/Linux-v4.19/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-v4.19/net/strparser/ |
D | strparser.c | 104 struct _strp_msg *stm; in __strp_recv() local 202 stm = _strp_msg(head); in __strp_recv() 203 memset(stm, 0, sizeof(*stm)); in __strp_recv() 204 stm->strp.offset = orig_offset + eaten; in __strp_recv() 218 stm = _strp_msg(head); in __strp_recv() 226 if (!stm->strp.full_len) { in __strp_recv() 233 if (!stm->accum_len) { in __strp_recv() 237 stm->accum_len += cand_len; in __strp_recv() 243 if (len == -ESTRPIPE && stm->accum_len) { in __strp_recv() 257 skb->len - stm->strp.offset) { in __strp_recv() [all …]
|
/Linux-v4.19/drivers/gpu/drm/stm/ |
D | Makefile | 1 stm-drm-y := \ 5 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o 7 obj-$(CONFIG_DRM_STM) += stm-drm.o
|
/Linux-v4.19/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 136 struct stm_data stm; member 338 struct stm_drvdata, stm); in stm_generic_link() 349 struct stm_drvdata, stm); in stm_generic_unlink() 361 struct stm_drvdata, stm); in stm_mmio_addr() 380 struct stm_drvdata, stm); in stm_generic_set_options() 413 struct stm_drvdata, stm); in stm_generic_packet() 768 drvdata->stm.name = dev_name(drvdata->dev); in stm_init_generic_data() 774 drvdata->stm.sw_start = 1; in stm_init_generic_data() 775 drvdata->stm.sw_end = 1; in stm_init_generic_data() 776 drvdata->stm.hw_override = true; in stm_init_generic_data() [all …]
|
/Linux-v4.19/Documentation/trace/ |
D | stm.rst | 24 To solve this mapping problem, stm class provides a policy management 55 Trace sources have to open the stm class device's node and write their 68 stm device's channel mmio region is 64 bytes and hardware page size is 81 stm devices at runtime via a sysfs attribute called "stm_source_link" 82 by writing the name of the desired stm device there, for example:: 95 node, the stm core will pick the first contiguous chunk of channels 97 before the stm_source device is connected to its stm device. 104 for kernel messages over an stm device. 115 linked with an stm device, and if "function" tracer is enabled, 117 would store into ring buffer will be exported via the stm device at
|
/Linux-v4.19/arch/unicore32/lib/ |
D | backtrace.S | 33 stm.w (v4 - v8, lr), [sp-] @ Save an extra register 38 1: stm.w (pc), [sp-] @ calculate offset of PC stored 119 .Ldumpstm: stm.w (instr, reg, stack, v7, lr), [sp-] 160 .Ldsi: .word 0x92eec000 >> 14 @ stm.w sp, (... fp, ip, lr, pc) 161 .word 0x92e10000 >> 14 @ stm.w sp, ()
|
D | copy_page.S | 27 stm.w (r17 - r19, lr), [sp-] 34 stm.w (r0 - r15), [r17]+
|
D | clear_user.S | 24 stm.w (lr), [sp-] 25 stm.w (r1), [sp-]
|
D | copy_to_user.S | 58 100: stm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 71 stm.w (r0, r2, r3), [sp-]
|
D | copy_from_user.S | 65 stm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 79 stm.w (r0, r2, r3), [sp-]
|
/Linux-v4.19/arch/arm/kvm/hyp/ |
D | entry.S | 34 stm r1!, {r4-r12} 55 stm r2!, {r3-r12} 59 stm r2, {r3-r5}
|
/Linux-v4.19/include/net/ |
D | act_api.h | 65 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument 67 dtm->install = jiffies_to_clock_t(jiffies - stm->install); in tcf_tm_dump() 68 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump() 69 dtm->firstuse = jiffies_to_clock_t(jiffies - stm->firstuse); in tcf_tm_dump() 70 dtm->expires = jiffies_to_clock_t(stm->expires); in tcf_tm_dump()
|
/Linux-v4.19/arch/unicore32/kernel/ |
D | entry.S | 107 stm (r0-r3), [\temp]+ 161 stm (r1 - r15), [sp]+ 163 stm (r16 - r28), [r5]+ 183 stm (r0 - r4), [r5]+ 192 stm (r1 - r15), [sp+] 194 stm (r16 - r28), [r4]+ 212 stm (r2 - r4), [r0]+ 234 stm (r1 - r15), [sp+] 236 stm (r16 - r28, sp, lr), [r1]+ 244 stm (r5 - r7), [r0]+ @ lr_<exception>, [all …]
|
D | hibernate_asm.S | 51 stm.w (r8 - r15), [r7]+ 102 stm.w (r4 - r15), [ip]+ 103 stm.w (r16 - r27, sp, lr), [ip]+
|
D | sleep.S | 31 stm.w (r3 - r6), [sp-] 53 stm.w (r16 - r27, lr), [sp-] @ save registers on stack 54 stm.w (r4 - r15), [sp-] @ save registers on stack 62 stm.w (r4), [sp-]
|
/Linux-v4.19/arch/arm64/boot/dts/sprd/ |
D | sc9836.dtsi | 178 stm@10006000 { 179 compatible = "arm,coresight-stm", "arm,primecell"; 182 reg-names = "stm-base", "stm-stimulus-base";
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/ |
D | coresight.txt | 41 "arm,coresight-stm", "arm,primecell"; [1] 66 * reg-names: the only acceptable values are "stm-base" and 67 "stm-stimulus-base", each corresponding to the areas defined in "reg". 273 stm@20100000 { 274 compatible = "arm,coresight-stm", "arm,primecell"; 277 reg-names = "stm-base", "stm-stimulus-base";
|