Lines Matching refs:reg_data
161 u32 reg_data; in xemaclite_enable_interrupts() local
164 reg_data = xemaclite_readl(drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_enable_interrupts()
165 xemaclite_writel(reg_data | XEL_TSR_XMIT_IE_MASK, in xemaclite_enable_interrupts()
184 u32 reg_data; in xemaclite_disable_interrupts() local
190 reg_data = xemaclite_readl(drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_disable_interrupts()
191 xemaclite_writel(reg_data & (~XEL_TSR_XMIT_IE_MASK), in xemaclite_disable_interrupts()
195 reg_data = xemaclite_readl(drvdata->base_addr + XEL_RSR_OFFSET); in xemaclite_disable_interrupts()
196 xemaclite_writel(reg_data & (~XEL_RSR_RECV_IE_MASK), in xemaclite_disable_interrupts()
319 u32 reg_data; in xemaclite_send_data() local
330 reg_data = xemaclite_readl(addr + XEL_TSR_OFFSET); in xemaclite_send_data()
331 if ((reg_data & (XEL_TSR_XMIT_BUSY_MASK | in xemaclite_send_data()
344 reg_data = xemaclite_readl(addr + XEL_TSR_OFFSET); in xemaclite_send_data()
346 if ((reg_data & (XEL_TSR_XMIT_BUSY_MASK | in xemaclite_send_data()
363 reg_data = xemaclite_readl(addr + XEL_TSR_OFFSET); in xemaclite_send_data()
364 reg_data |= (XEL_TSR_XMIT_BUSY_MASK | XEL_TSR_XMIT_ACTIVE_MASK); in xemaclite_send_data()
365 xemaclite_writel(reg_data, addr + XEL_TSR_OFFSET); in xemaclite_send_data()
385 u32 reg_data; in xemaclite_recv_data() local
391 reg_data = xemaclite_readl(addr + XEL_RSR_OFFSET); in xemaclite_recv_data()
393 if ((reg_data & XEL_RSR_RECV_DONE_MASK) == XEL_RSR_RECV_DONE_MASK) { in xemaclite_recv_data()
410 reg_data = xemaclite_readl(addr + XEL_RSR_OFFSET); in xemaclite_recv_data()
411 if ((reg_data & XEL_RSR_RECV_DONE_MASK) != in xemaclite_recv_data()
455 reg_data = xemaclite_readl(addr + XEL_RSR_OFFSET); in xemaclite_recv_data()
456 reg_data &= ~XEL_RSR_RECV_DONE_MASK; in xemaclite_recv_data()
457 xemaclite_writel(reg_data, addr + XEL_RSR_OFFSET); in xemaclite_recv_data()
477 u32 reg_data; in xemaclite_update_address() local
487 reg_data = xemaclite_readl(addr + XEL_TSR_OFFSET); in xemaclite_update_address()
488 xemaclite_writel(reg_data | XEL_TSR_PROG_MAC_ADDR, addr + XEL_TSR_OFFSET); in xemaclite_update_address()