Home
last modified time | relevance | path

Searched refs:stm_data (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/include/linux/
Dstm.h75 struct stm_data { struct
83 ssize_t (*packet)(struct stm_data *, unsigned int, argument
87 phys_addr_t (*mmio_addr)(struct stm_data *, unsigned int, argument
89 int (*link)(struct stm_data *, unsigned int, argument
91 void (*unlink)(struct stm_data *, unsigned int, argument
93 long (*set_options)(struct stm_data *, unsigned int, argument
98 int stm_register_device(struct device *parent, struct stm_data *stm_data,
100 void stm_unregister_device(struct stm_data *stm_data);
/Linux-v5.10/drivers/hwtracing/intel_th/
Dsth.c26 struct stm_data stm;
62 static ssize_t notrace sth_stm_packet(struct stm_data *stm_data, in sth_stm_packet() argument
70 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_packet()
142 sth_stm_mmio_addr(struct stm_data *stm_data, unsigned int master, in sth_stm_mmio_addr() argument
145 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_mmio_addr()
159 static int sth_stm_link(struct stm_data *stm_data, unsigned int master, in sth_stm_link() argument
162 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); in sth_stm_link()
/Linux-v5.10/drivers/hwtracing/stm/
Ddummy_stm.c18 dummy_stm_packet(struct stm_data *stm_data, unsigned int master, in dummy_stm_packet() argument
38 static struct stm_data dummy_stm[DUMMY_STM_MAX];
60 static int dummy_stm_link(struct stm_data *data, unsigned int master, in dummy_stm_link()
Dcore.c576 ssize_t notrace stm_data_write(struct stm_data *data, unsigned int m, in stm_data_write()
801 struct stm_data *stm_data = stmf->stm->data; in stm_char_ioctl() local
820 if (stm_data->set_options) in stm_char_ioctl()
821 err = stm_data->set_options(stm_data, in stm_char_ioctl()
852 int stm_register_device(struct device *parent, struct stm_data *stm_data, in stm_register_device() argument
862 if (!stm_data->packet || !stm_data->sw_nchannels) in stm_register_device()
865 nmasters = stm_data->sw_end - stm_data->sw_start + 1; in stm_register_device()
870 stm->major = register_chrdev(0, stm_data->name, &stm_fops); in stm_register_device()
889 stm->data = stm_data; in stm_register_device()
890 stm_data->stm = stm; in stm_register_device()
[all …]
Dstm.h36 struct stm_data *data;
97 ssize_t (*write)(struct stm_data *data,
113 ssize_t stm_data_write(struct stm_data *data, unsigned int m,
Dp_basic.c12 static ssize_t basic_write(struct stm_data *data, struct stm_output *output, in basic_write()
Dp_sys-t.c264 sys_t_clock_sync(struct stm_data *data, unsigned int m, unsigned int c) in sys_t_clock_sync()
287 static ssize_t sys_t_write(struct stm_data *data, struct stm_output *output, in sys_t_write()
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-stm.c137 struct stm_data stm;
335 static int stm_generic_link(struct stm_data *stm_data, in stm_generic_link() argument
338 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_link()
346 static void stm_generic_unlink(struct stm_data *stm_data, in stm_generic_unlink() argument
349 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_unlink()
358 stm_mmio_addr(struct stm_data *stm_data, unsigned int master, in stm_mmio_addr() argument
361 struct stm_drvdata *drvdata = container_of(stm_data, in stm_mmio_addr()
374 static long stm_generic_set_options(struct stm_data *stm_data, in stm_generic_set_options() argument
380 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_set_options()
404 static ssize_t notrace stm_generic_packet(struct stm_data *stm_data, in stm_generic_packet() argument
[all …]