Searched refs:stm_data (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/include/linux/ |
H A D | stm.h | 46 * struct stm_data - STM device description and callbacks 71 struct stm_data { struct 78 ssize_t (*packet)(struct stm_data *, unsigned int, 82 phys_addr_t (*mmio_addr)(struct stm_data *, unsigned int, 84 int (*link)(struct stm_data *, unsigned int, 86 void (*unlink)(struct stm_data *, unsigned int, 88 long (*set_options)(struct stm_data *, unsigned int, 93 int stm_register_device(struct device *parent, struct stm_data *stm_data, 95 void stm_unregister_device(struct stm_data *stm_data);
|
/linux-4.4.14/drivers/hwtracing/stm/ |
H A D | dummy_stm.c | 25 dummy_stm_packet(struct stm_data *stm_data, unsigned int master, dummy_stm_packet() argument 43 static struct stm_data dummy_stm = {
|
H A D | core.c | 138 * ones in the range [stm_data->sw_start..stm_data..sw_end], however we need 141 * $master - stm_data->sw_start to reference master descriptors and such. 383 static void stm_write(struct stm_data *data, unsigned int master, stm_write() 547 struct stm_data *stm_data = stmf->stm->data; stm_char_ioctl() local 566 if (stm_data->set_options) stm_char_ioctl() 567 err = stm_data->set_options(stm_data, stm_char_ioctl() 608 int stm_register_device(struct device *parent, struct stm_data *stm_data, stm_register_device() argument 618 if (!stm_data->packet || !stm_data->sw_nchannels) stm_register_device() 621 nmasters = stm_data->sw_end - stm_data->sw_start; stm_register_device() 626 stm->major = register_chrdev(0, stm_data->name, &stm_fops); stm_register_device() 636 err = kobject_set_name(&stm->dev.kobj, "%s", stm_data->name); stm_register_device() 651 stm->data = stm_data; stm_register_device() 652 stm_data->stm = stm; stm_register_device() 668 void stm_unregister_device(struct stm_data *stm_data) stm_unregister_device() argument 670 struct stm_device *stm = stm_data->stm; stm_unregister_device() 682 unregister_chrdev(stm->major, stm_data->name); stm_unregister_device() 693 stm_data->stm = NULL; stm_unregister_device()
|
H A D | stm.h | 47 struct stm_data *data;
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
H A D | sth.c | 34 struct stm_data stm; 70 static ssize_t sth_stm_packet(struct stm_data *stm_data, unsigned int master, sth_stm_packet() argument 75 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); sth_stm_packet() 138 sth_stm_mmio_addr(struct stm_data *stm_data, unsigned int master, sth_stm_mmio_addr() argument 141 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); sth_stm_mmio_addr() 155 static int sth_stm_link(struct stm_data *stm_data, unsigned int master, sth_stm_link() argument 158 struct sth_device *sth = container_of(stm_data, struct sth_device, stm); sth_stm_link()
|
Completed in 179 milliseconds