Searched refs:smaster (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/siox/ ! |
D | siox-core.c | 41 static void siox_master_lock(struct siox_master *smaster) in siox_master_lock() argument 43 mutex_lock(&smaster->lock); in siox_master_lock() 46 static void siox_master_unlock(struct siox_master *smaster) in siox_master_unlock() argument 48 mutex_unlock(&smaster->lock); in siox_master_unlock() 128 static void siox_poll(struct siox_master *smaster) in siox_poll() argument 131 size_t i = smaster->setbuf_len; in siox_poll() 135 smaster->last_poll = jiffies; in siox_poll() 147 if (++smaster->status > 0x0d) in siox_poll() 148 smaster->status = 0; in siox_poll() 150 memset(smaster->buf, 0, smaster->setbuf_len); in siox_poll() [all …]
|
D | siox.h | 13 int (*pushpull)(struct siox_master *smaster, 37 static inline void *siox_master_get_devdata(struct siox_master *smaster) in siox_master_get_devdata() argument 39 return dev_get_drvdata(&smaster->dev); in siox_master_get_devdata() 43 static inline void siox_master_put(struct siox_master *smaster) in siox_master_put() argument 45 put_device(&smaster->dev); in siox_master_put() 48 int siox_master_register(struct siox_master *smaster); 49 void siox_master_unregister(struct siox_master *smaster);
|
D | siox-bus-gpio.c | 28 static int siox_gpio_pushpull(struct siox_master *smaster, in siox_gpio_pushpull() argument 32 struct siox_gpio_ddata *ddata = siox_master_get_devdata(smaster); in siox_gpio_pushpull() 92 struct siox_master *smaster; in siox_gpio_probe() local 94 smaster = siox_master_alloc(&pdev->dev, sizeof(*ddata)); in siox_gpio_probe() 95 if (!smaster) { in siox_gpio_probe() 100 platform_set_drvdata(pdev, smaster); in siox_gpio_probe() 101 ddata = siox_master_get_devdata(smaster); in siox_gpio_probe() 131 smaster->pushpull = siox_gpio_pushpull; in siox_gpio_probe() 133 smaster->busno = 0; in siox_gpio_probe() 135 ret = siox_master_register(smaster); in siox_gpio_probe() [all …]
|
/linux-6.1.9/include/trace/events/ ! |
D | siox.h | 10 TP_PROTO(const struct siox_master *smaster, 13 TP_ARGS(smaster, sdevice, devno, bufoffset), 21 __entry->busno = smaster->busno; 25 smaster->buf + bufoffset, sdevice->inbytes); 35 TP_PROTO(const struct siox_master *smaster, 39 TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset), 48 __entry->busno = smaster->busno; 53 smaster->buf + bufoffset, sdevice->outbytes);
|
/linux-6.1.9/include/linux/ ! |
D | siox.h | 11 struct siox_master *smaster; member
|