Searched refs:amd_axi_w1_local (Results 1 – 1 of 1) sorted by relevance
58 struct amd_axi_w1_local { struct75 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() argument81 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() local114 while ((ioread32(amd_axi_w1_local->base_addr + AXIW1_STAT_REG) & AXIW1_READY) == 0) { in amd_axi_w1_touch_bit()[all …]