| /linux/drivers/hwtracing/stm/ |
| H A D | core.c | 3 * System Trace Module (STM) infrastructure 6 * STM class implements generic infrastructure for System Trace Module devices 19 #include <linux/stm.h> 23 #include "stm.h" 25 #include <uapi/linux/stm.h> 30 * The SRCU here makes sure that STM device doesn't disappear from under a 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 in channels_show() local 68 struct stm_device *stm = to_stm_device(dev); hw_override_show() local 106 struct stm_device *stm; stm_find_device() local 133 stm_put_device(struct stm_device * stm) stm_put_device() argument 151 stm_master(struct stm_device * stm,unsigned int idx) stm_master() argument 159 stp_master_alloc(struct stm_device * stm,unsigned int idx) stp_master_alloc() argument 175 stp_master_free(struct stm_device * stm,unsigned int idx) stp_master_free() argument 186 stm_output_claim(struct stm_device * stm,struct stm_output * output) stm_output_claim() argument 203 stm_output_disclaim(struct stm_device * stm,struct stm_output * output) stm_output_disclaim() argument 248 stm_find_master_chan(struct stm_device * stm,unsigned int width,unsigned int * mstart,unsigned int mend,unsigned int * cstart,unsigned int cend) stm_find_master_chan() argument 281 stm_output_assign(struct stm_device * stm,unsigned int width,struct stp_policy_node * policy_node,struct stm_output * output) stm_output_assign() argument 340 stm_output_free(struct stm_device * stm,struct stm_output * output) stm_output_free() argument 523 struct stm_device *stm = stmf->stm; stm_char_release() local 542 stm_assign_first_policy(struct stm_device * stm,struct stm_output * output,char ** ids,unsigned int width) stm_assign_first_policy() argument 602 stm_write(struct stm_device * stm,struct stm_output * output,unsigned int chan,const char * buf,size_t count,struct stm_source_data * source) stm_write() argument 622 struct stm_device *stm = stmf->stm; stm_char_write() local 672 struct stm_device *stm = stmf->stm; stm_mmap_open() local 680 struct stm_device *stm = stmf->stm; stm_mmap_close() local 694 struct stm_device *stm = stmf->stm; stm_char_mmap() local 727 struct stm_device *stm = stmf->stm; stm_char_policy_set_ioctl() local 846 struct stm_device *stm = to_stm_device(dev); stm_device_release() local 854 struct stm_device *stm; stm_register_device() local 930 struct stm_device *stm = stm_data->stm; stm_unregister_device() local 990 stm_source_link_add(struct stm_source_device * src,struct stm_device * stm) stm_source_link_add() argument 1061 __stm_source_link_drop(struct stm_source_device * src,struct stm_device * stm) __stm_source_link_drop() argument 1123 struct stm_device *stm; stm_source_link_drop() local 1154 struct stm_device *stm; stm_source_link_show() local 1288 struct stm_device *stm; stm_source_write() local [all...] |
| H A D | policy.c | 3 * System Trace Module (STM) master/channel allocation policy management 17 #include <linux/stm.h> 18 #include "stm.h" 26 struct stm_device *stm; member 102 struct stm_device *stm; in stp_policy_node_masters_store() local 110 stm = policy_node->policy->stm; in stp_policy_node_masters_store() 111 if (!stm) in stp_policy_node_masters_store() 115 if (first > last || first < stm->data->sw_start || in stp_policy_node_masters_store() 116 last > stm->data->sw_end) { in stp_policy_node_masters_store() 149 struct stm_device *stm; in stp_policy_node_channels_store() local [all …]
|
| H A D | dummy_stm.c | 3 * A dummy STM device for stm/stm_source class testing. 6 * STM class implements generic infrastructure for System Trace Module devices 14 #include <linux/stm.h> 15 #include <uapi/linux/stm.h>
|
| /linux/net/tls/ |
| H A D | tls_strp.c | 74 skb = tls_strp_skb_copy(strp, strp->anchor, strp->stm.offset, in tls_strp_msg_make_copy() 75 strp->stm.full_len); in tls_strp_msg_make_copy() 135 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow() 165 offset = strp->stm.offset; in tls_strp_msg_hold() 166 len = strp->stm.full_len; in tls_strp_msg_hold() 228 if (!strp->stm.full_len) { in tls_strp_copyin_frag() 260 strp->stm.full_len = sz; in tls_strp_copyin_frag() 261 if (!strp->stm.full_len) in tls_strp_copyin_frag() 266 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag() 267 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-stm | 1 What: /sys/class/stm/<stm>/masters 7 this STM device. 9 What: /sys/class/stm/<stm>/channels 14 Shows the number of channels per master on this STM device. 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 D | configfs-stp-policy | 6 for software sources wishing to send trace data over an STM 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 23 STM device to which this policy applies, read only. Same as the
|
| H 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
|
| /linux/Documentation/trace/ |
| H A D | stm.rst | 7 System Trace Module (STM) is a device described in MIPI STP specs as 26 To solve this mapping problem, stm class provides a policy management 36 the STM device name to which this policy applies and an arbitrary 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 83 Some STM devices may allow direct mapping of the channel mmio regions 88 stm device's channel mmio region is 64 bytes and hardware page size is 93 Examples of STM devices are Intel(R) Trace Hub [1] and Coresight STM [all …]
|
| H A D | sys-t.rst | 7 The MIPI SyS-T protocol driver can be used with STM class devices to 11 In order to use the MIPI SyS-T protocol driver with your STM device, 15 a policy for your STM device, by specifying it in the policy name: 25 If the protocol name is omitted, the STM class will chose whichever
|
| H A D | intel_th.rst | 24 Module (STM) device, 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/Documentation/devicetree/bindings/arm/ |
| H A D | arm,coresight-stm.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-stm.yaml# 23 The STM is a trace source that is integrated into a CoreSight system, designed 25 This instrumentation is made up of memory-mapped writes to the STM Advanced 33 const: arm,coresight-stm 43 - const: arm,coresight-stm 51 - const: stm-base 52 - const: stm-stimulus-base 91 stm@20100000 { 92 compatible = "arm,coresight-stm", "arm,primecell"; 95 reg-names = "stm [all...] |
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | nxp,s32g2-stm.yaml | 4 $id: http://devicetree.org/schemas/timer/nxp,s32g2-stm.yaml# 7 title: NXP System Timer Module (STM) 14 software timing functions. STM includes a 32-bit count-up timer and four 16 The timer is driven by the STM module clock divided by an 8-bit prescale 22 - const: nxp,s32g2-stm 24 - const: nxp,s32g3-stm 25 - const: nxp,s32g2-stm 59 compatible = "nxp,s32g2-stm";
|
| /linux/net/strparser/ |
| H A D | strparser.c | 102 struct _strp_msg *stm; in __strp_recv() 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 in __strp_recv() 94 struct _strp_msg *stm; __strp_recv() local [all...] |
| /linux/drivers/scsi/ |
| H A D | st.c | 897 static int set_mode_densblk(struct scsi_tape * STp, struct st_modedef * STm) in set_mode_densblk() argument 903 STm->default_density >= 0 && in set_mode_densblk() 904 STm->default_density != STp->density) { in set_mode_densblk() 905 arg = STm->default_density; in set_mode_densblk() 911 STm->default_blksize >= 0 && in set_mode_densblk() 912 STm->default_blksize != STp->block_size) { in set_mode_densblk() 913 arg |= STm->default_blksize; in set_mode_densblk() 922 STm->default_blksize, STm->default_density); in set_mode_densblk() 1075 struct st_modedef *STm; in check_tape() local 1088 STm = &(STp->modes[STp->current_mode]); in check_tape() [all …]
|
| /linux/drivers/gpu/drm/stm/ |
| H A D | Makefile | 2 stm-drm-y := \ 6 obj-$(CONFIG_DRM_STM_DSI) += dw_mipi_dsi-stm.o 10 obj-$(CONFIG_DRM_STM) += stm-drm.o
|
| H A D | Kconfig | 17 will be called stm-drm. 31 The STM LVDS is a bridge which serialize pixel stream onto
|
| /linux/include/uapi/linux/ |
| H A D | coresight-stm.h | 12 * The CoreSight STM supports guaranteed and invariant timing 15 * ensure the transaction is accepted by the STM. While invariant 18 * state of the STM.
|
| H A D | stm.h | 3 * System Trace Module (STM) userspace interfaces 6 * STM class implements generic infrastructure for System Trace Module devices
|
| /linux/arch/csky/abiv2/inc/abi/ |
| H 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/ |
| H A D | sc9836.dtsi | 181 stm@10006000 { 182 compatible = "arm,coresight-stm", "arm,primecell"; 185 reg-names = "stm-base", "stm-stimulus-base";
|
| /linux/include/net/ |
| H A D | act_api.h | 88 static inline void tcf_tm_dump(struct tcf_t *dtm, const struct tcf_t *stm) in tcf_tm_dump() argument 92 dtm->install = jiffies_to_clock_t(now - READ_ONCE(stm->install)); in tcf_tm_dump() 93 dtm->lastuse = jiffies_to_clock_t(now - READ_ONCE(stm->lastuse)); in tcf_tm_dump() 95 firstuse = READ_ONCE(stm->firstuse); in tcf_tm_dump() 99 dtm->expires = jiffies_to_clock_t(READ_ONCE(stm->expires)); in tcf_tm_dump()
|
| /linux/arch/arm64/kernel/ |
| H A D | compat_alignment.c | 102 * LDM/STM alignment handler. 151 * Since Thumb does not permit STM instructions in do_alignment_ldmstm() 220 * Convert Thumb-2 32 bit LDM, STM, LDRD, STRD to equivalent instruction 242 case 0xe880: /* STM/STMIA/STMEA,LDM/LDMIA, PUSH/POP T2 */ in do_alignment_t32_to_handler() 357 case 0x08000000: /* ldm or stm, or thumb-2 32bit instruction */ in do_compat_alignment_fixup()
|
| /linux/net/kcm/ |
| H A D | kcmsock.c | 996 struct strp_msg *stm; in kcm_recvmsg() local 1006 stm = strp_msg(skb); in kcm_recvmsg() 1008 if (len > stm->full_len) in kcm_recvmsg() 1009 len = stm->full_len; in kcm_recvmsg() 1011 err = skb_copy_datagram_msg(skb, stm->offset, msg, len); in kcm_recvmsg() 1018 if (copied < stm->full_len) { in kcm_recvmsg() 1024 stm->offset += copied; in kcm_recvmsg() 1025 stm->full_len -= copied; in kcm_recvmsg() 1045 struct strp_msg *stm; in kcm_splice_read() local 1063 stm = strp_msg(skb); in kcm_splice_read() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | s32g2.dtsi | 368 compatible = "nxp,s32g2-stm"; 377 compatible = "nxp,s32g2-stm"; 386 compatible = "nxp,s32g2-stm"; 395 compatible = "nxp,s32g2-stm"; 582 compatible = "nxp,s32g2-stm"; 591 compatible = "nxp,s32g2-stm"; 600 compatible = "nxp,s32g2-stm";
|
| /linux/drivers/media/platform/st/stm32/dma2d/ |
| H A D | dma2d.h | 21 #define DMA2D_NAME "stm-dma2d" 22 #define BUS_INFO "platform:stm-dma2d"
|