Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.c346 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
878 stm->dev.devt = MKDEV(stm->major, 0); in stm_register_device()
893 stm_data->stm = stm; in stm_register_device()
931 struct stm_device *stm = stm_data->stm; in stm_unregister_device() local
[all …]
H A Dpolicy.c110 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 …]
H A 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);
H A 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()
H A 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
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dsth.c26 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 …]
/openbmc/linux/net/tls/
H A Dtls_strp.c74 strp->stm.full_len); in tls_strp_msg_make_copy()
165 len = strp->stm.full_len; in tls_strp_msg_hold()
253 strp->stm.full_len = sz; in tls_strp_copyin_frag()
254 if (!strp->stm.full_len) in tls_strp_copyin_frag()
288 if (strp->stm.full_len) in tls_strp_copyin_skb()
329 strp->stm.full_len = sz; in tls_strp_copyin_skb()
360 if (strp->stm.full_len && strp->stm.full_len == skb->len) { in tls_strp_copyin()
415 strp->stm.offset = 0; in tls_strp_read_copy()
428 unsigned int len = strp->stm.offset + strp->stm.full_len; in tls_strp_check_queue_ok()
524 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A 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
H A 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
H A 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
H A 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
/openbmc/linux/net/strparser/
H A 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()
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 …]
/openbmc/linux/Documentation/devicetree/bindings/arm/
H A Darm,coresight-stm.yaml4 $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";
/openbmc/linux/drivers/gpu/drm/stm/
H A DMakefile2 stm-drm-y := \
6 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o
8 obj-$(CONFIG_DRM_STM) += stm-drm.o
/openbmc/linux/drivers/hwtracing/coresight/
H A 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 …]
/openbmc/pldm/libpldmresponder/
H A Dbios.cpp48 struct std::tm stm; in timeToEpoch() local
50 stm.tm_year = year - 1900; in timeToEpoch()
51 stm.tm_mon = month - 1; in timeToEpoch()
52 stm.tm_mday = day; in timeToEpoch()
53 stm.tm_hour = hours; in timeToEpoch()
54 stm.tm_min = minutes; in timeToEpoch()
55 stm.tm_sec = seconds; in timeToEpoch()
56 stm.tm_isdst = -1; in timeToEpoch()
60 return timegm(&stm); in timeToEpoch()
/openbmc/linux/Documentation/trace/
H A 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
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 …]
H A Dindex.rst32 stm
/openbmc/linux/include/net/
H A 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()
/openbmc/linux/arch/arm64/boot/dts/sprd/
H A Dsc9836.dtsi182 stm@10006000 {
183 compatible = "arm,coresight-stm", "arm,primecell";
186 reg-names = "stm-base", "stm-stimulus-base";
/openbmc/linux/arch/csky/abiv2/inc/abi/
H A 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)
/openbmc/qemu/hw/rtc/
H A Dexynos4210_rtc.c158 struct tm stm = s->current_tm; in check_alarm_raise() local
161 (to_bcd((uint8_t)stm.tm_sec) == (uint8_t)s->reg_almsec)) { in check_alarm_raise()
165 (to_bcd((uint8_t)stm.tm_min) == (uint8_t)s->reg_almmin)) { in check_alarm_raise()
169 (to_bcd((uint8_t)stm.tm_hour) == (uint8_t)s->reg_almhour)) { in check_alarm_raise()
173 (to_bcd((uint8_t)stm.tm_mday) == (uint8_t)s->reg_almday)) { in check_alarm_raise()
177 (to_bcd((uint8_t)stm.tm_mon) == (uint8_t)s->reg_almmon)) { in check_alarm_raise()
181 (BCD3DIGITS(stm.tm_year) == s->reg_almyear)) { in check_alarm_raise()
/openbmc/linux/net/kcm/
H A 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()
1003 stm->offset += copied; in kcm_recvmsg()
1024 struct strp_msg *stm; in kcm_splice_read() local
1037 stm = strp_msg(skb); in kcm_splice_read()
1039 if (len > stm->full_len) in kcm_splice_read()
1040 len = stm->full_len; in kcm_splice_read()
1050 stm->offset += copied; in kcm_splice_read()
[all …]
/openbmc/linux/drivers/hwtracing/
H A DKconfig4 source "drivers/hwtracing/stm/Kconfig"
/openbmc/u-boot/arch/arm/lib/
H A Dsetjmp.S18 stm a1, {v1-v8, ip, lr}

1234