Searched refs:irp_cfg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/powerpc/sysdev/
H A Dtsi108_pci.c250 u_int irp_cfg; tsi108_pci_int_mask() local
253 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); tsi108_pci_int_mask()
255 irp_cfg |= (1 << int_line); /* INTx_DIR = output */ tsi108_pci_int_mask()
256 irp_cfg &= ~(3 << (8 + (int_line * 2))); /* INTx_TYPE = unused */ tsi108_pci_int_mask()
257 tsi108_write_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL, irp_cfg); tsi108_pci_int_mask()
259 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); tsi108_pci_int_mask()
264 u_int irp_cfg; tsi108_pci_int_unmask() local
267 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); tsi108_pci_int_unmask()
269 irp_cfg &= ~(1 << int_line); tsi108_pci_int_unmask()
270 irp_cfg |= (3 << (8 + (int_line * 2))); tsi108_pci_int_unmask()
271 tsi108_write_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL, irp_cfg); tsi108_pci_int_unmask()

Completed in 30 milliseconds