Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/sysdev/
Dtsi108_pci.c248 u_int irp_cfg; in tsi108_pci_int_mask() local
251 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_mask()
253 irp_cfg |= (1 << int_line); /* INTx_DIR = output */ in tsi108_pci_int_mask()
254 irp_cfg &= ~(3 << (8 + (int_line * 2))); /* INTx_TYPE = unused */ in tsi108_pci_int_mask()
255 tsi108_write_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL, irp_cfg); in tsi108_pci_int_mask()
257 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_mask()
262 u_int irp_cfg; in tsi108_pci_int_unmask() local
265 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_unmask()
267 irp_cfg &= ~(1 << int_line); in tsi108_pci_int_unmask()
268 irp_cfg |= (3 << (8 + (int_line * 2))); in tsi108_pci_int_unmask()
[all …]