Lines Matching refs:pci_bar

6732 bfa_flash_set_cmd(void __iomem *pci_bar, u8 wr_cnt,  in bfa_flash_set_cmd()  argument
6743 writel(cmd.i, (pci_bar + FLI_CMD_REG)); in bfa_flash_set_cmd()
6747 bfa_flash_set_addr(void __iomem *pci_bar, u32 address) in bfa_flash_set_addr() argument
6753 writel(addr.i, (pci_bar + FLI_ADDR_REG)); in bfa_flash_set_addr()
6757 bfa_flash_cmd_act_check(void __iomem *pci_bar) in bfa_flash_cmd_act_check() argument
6761 cmd.i = readl(pci_bar + FLI_CMD_REG); in bfa_flash_cmd_act_check()
6779 bfa_flash_fifo_flush(void __iomem *pci_bar) in bfa_flash_fifo_flush() argument
6784 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6791 readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_fifo_flush()
6797 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_fifo_flush()
6817 bfa_flash_status_read(void __iomem *pci_bar) in bfa_flash_status_read() argument
6824 status = bfa_flash_fifo_flush(pci_bar); in bfa_flash_status_read()
6828 bfa_flash_set_cmd(pci_bar, 0, 4, 0, BFA_FLASH_READ_STATUS); in bfa_flash_status_read()
6831 status = bfa_flash_cmd_act_check(pci_bar); in bfa_flash_status_read()
6839 dev_status.i = readl(pci_bar + FLI_DEV_STATUS_REG); in bfa_flash_status_read()
6843 ret_status = readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_status_read()
6846 status = bfa_flash_fifo_flush(pci_bar); in bfa_flash_status_read()
6865 bfa_flash_read_start(void __iomem *pci_bar, u32 offset, u32 len, in bfa_flash_read_start() argument
6879 status = bfa_flash_status_read(pci_bar); in bfa_flash_read_start()
6881 status = bfa_flash_status_read(pci_bar); in bfa_flash_read_start()
6892 bfa_flash_set_addr(pci_bar, offset); in bfa_flash_read_start()
6894 bfa_flash_set_cmd(pci_bar, 0, (u8)len, 4, BFA_FLASH_FAST_READ); in bfa_flash_read_start()
6908 bfa_flash_read_check(void __iomem *pci_bar) in bfa_flash_read_check() argument
6910 if (bfa_flash_cmd_act_check(pci_bar)) in bfa_flash_read_check()
6926 bfa_flash_read_end(void __iomem *pci_bar, u32 len, char *buf) in bfa_flash_read_end() argument
6935 u32 w = readl(pci_bar + FLI_RDDATA_REG); in bfa_flash_read_end()
6939 bfa_flash_fifo_flush(pci_bar); in bfa_flash_read_end()
6988 bfa_flash_raw_read(void __iomem *pci_bar, u32 offset, char *buf, in bfa_flash_raw_read() argument
6998 status = bfa_flash_sem_get(pci_bar); in bfa_flash_raw_read()
7009 status = bfa_flash_read_start(pci_bar, offset + off, l, in bfa_flash_raw_read()
7012 bfa_flash_sem_put(pci_bar); in bfa_flash_raw_read()
7017 while (bfa_flash_read_check(pci_bar)) { in bfa_flash_raw_read()
7019 bfa_flash_sem_put(pci_bar); in bfa_flash_raw_read()
7024 bfa_flash_read_end(pci_bar, l, &buf[off]); in bfa_flash_raw_read()
7029 bfa_flash_sem_put(pci_bar); in bfa_flash_raw_read()