/Linux-v6.6/include/linux/ |
D | stm.h | 75 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-v6.6/drivers/hwtracing/intel_th/ |
D | sth.c | 26 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-v6.6/drivers/hwtracing/stm/ |
D | dummy_stm.c | 18 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()
|
D | core.c | 576 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 …]
|
D | stm.h | 36 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,
|
D | p_basic.c | 12 static ssize_t basic_write(struct stm_data *data, struct stm_output *output, in basic_write()
|
D | p_sys-t.c | 264 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-v6.6/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 138 struct stm_data stm; 329 static int stm_generic_link(struct stm_data *stm_data, in stm_generic_link() argument 332 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_link() 340 static void stm_generic_unlink(struct stm_data *stm_data, in stm_generic_unlink() argument 343 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_unlink() 352 stm_mmio_addr(struct stm_data *stm_data, unsigned int master, in stm_mmio_addr() argument 355 struct stm_drvdata *drvdata = container_of(stm_data, in stm_mmio_addr() 368 static long stm_generic_set_options(struct stm_data *stm_data, in stm_generic_set_options() argument 374 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_set_options() 398 static ssize_t notrace stm_generic_packet(struct stm_data *stm_data, in stm_generic_packet() argument [all …]
|