Lines Matching refs:csraddr
144 u16 csraddr; member
718 static int idt_csr_write(struct idt_89hpesx_dev *pdev, u16 csraddr, in idt_csr_write() argument
736 csrseq.csraddr = cpu_to_le16(csraddr); in idt_csr_write()
741 CSR_REAL_ADDR(csraddr), data); in idt_csr_write()
751 CSR_REAL_ADDR(csraddr)); in idt_csr_write()
760 CSR_REAL_ADDR(csraddr)); in idt_csr_write()
784 static int idt_csr_read(struct idt_89hpesx_dev *pdev, u16 csraddr, u32 *data) in idt_csr_read() argument
801 csrseq.csraddr = cpu_to_le16(csraddr); in idt_csr_read()
805 CSR_REAL_ADDR(csraddr)); in idt_csr_read()
814 CSR_REAL_ADDR(csraddr)); in idt_csr_read()
909 u32 csraddr, csrval; in idt_dbgfs_csr_write() local
949 ret = kstrtou32(csraddr_str, 0, &csraddr); in idt_dbgfs_csr_write()
954 if (csraddr > CSR_MAX || !IS_ALIGNED(csraddr, SZ_4)) { in idt_dbgfs_csr_write()
960 pdev->csr = (csraddr >> 2); in idt_dbgfs_csr_write()
999 u32 csraddr, csrval; in idt_dbgfs_csr_read() local
1009 csraddr = ((u32)pdev->csr << 2); in idt_dbgfs_csr_read()
1013 (unsigned int)csraddr, (unsigned int)csrval); in idt_dbgfs_csr_read()