Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/w1/masters/
Damd_axi_w1.c58 struct amd_axi_w1_local { struct
75 static int amd_axi_w1_wait_irq_interruptible_timeout(struct amd_axi_w1_local *amd_axi_w1_local, in amd_axi_w1_wait_irq_interruptible_timeout() argument
81 iowrite32(IRQ, amd_axi_w1_local->base_addr + AXIW1_IRQE_REG); in amd_axi_w1_wait_irq_interruptible_timeout()
82 ret = wait_event_interruptible_timeout(amd_axi_w1_local->wait_queue, in amd_axi_w1_wait_irq_interruptible_timeout()
83 atomic_read(&amd_axi_w1_local->flag) != 0, in amd_axi_w1_wait_irq_interruptible_timeout()
86 dev_err(amd_axi_w1_local->dev, "Wait IRQ Interrupted\n"); in amd_axi_w1_wait_irq_interruptible_timeout()
91 dev_err(amd_axi_w1_local->dev, "Wait IRQ Timeout\n"); in amd_axi_w1_wait_irq_interruptible_timeout()
95 atomic_set(&amd_axi_w1_local->flag, 0); in amd_axi_w1_wait_irq_interruptible_timeout()
109 struct amd_axi_w1_local *amd_axi_w1_local = data; in amd_axi_w1_touch_bit() local
114 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_touch_bit()
[all …]