Home
last modified time | relevance | path

Searched refs:smaster (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/siox/
Dsiox-core.c41 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 …]
Dsiox.h13 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);
Dsiox-bus-gpio.c28 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-v5.4/include/trace/events/
Dsiox.h10 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-v5.4/arch/x86/platform/uv/
Dtlb_uv.c290 struct bau_control *smaster = bcp->socket_master; in bau_process_message() local
319 sp = &smaster->socket_acknowledge_count[mdp->msg_slot]; in bau_process_message()
347 static int pnode_to_first_cpu(int pnode, struct bau_control *smaster) in pnode_to_first_cpu() argument
353 hpp = &smaster->thp[cpu]; in pnode_to_first_cpu()
426 struct bau_control *smaster = bcp->socket_master; in reset_with_ipi() local
439 cpu = pnode_to_first_cpu(apnode, smaster); in reset_with_ipi()
1995 static void make_per_cpu_thp(struct bau_control *smaster) in make_per_cpu_thp() argument
2000 smaster->thp = kzalloc_node(hpsz, GFP_KERNEL, smaster->osnode); in make_per_cpu_thp()
2002 smaster->thp[cpu].pnode = uv_cpu_hub_info(cpu)->pnode; in make_per_cpu_thp()
2003 smaster->thp[cpu].uvhub = uv_cpu_hub_info(cpu)->numa_blade_id; in make_per_cpu_thp()
[all …]
/Linux-v5.4/include/linux/
Dsiox.h11 struct siox_master *smaster; member