Home
last modified time | relevance | path

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

/linux/arch/powerpc/sysdev/
H A Dtsi108_pci.c235 u_int irp_cfg; in tsi108_pci_int_mask() local
238 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_mask()
240 irp_cfg |= (1 << int_line); /* INTx_DIR = output */ in tsi108_pci_int_mask()
241 irp_cfg &= ~(3 << (8 + (int_line * 2))); /* INTx_TYPE = unused */ in tsi108_pci_int_mask()
242 tsi108_write_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL, irp_cfg); in tsi108_pci_int_mask()
244 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_mask()
249 u_int irp_cfg; in tsi108_pci_int_unmask() local
252 irp_cfg = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_CFG_CTL); in tsi108_pci_int_unmask()
254 irp_cfg &= ~(1 << int_line); in tsi108_pci_int_unmask()
255 irp_cfg |= (3 << (8 + (int_line * 2))); in tsi108_pci_int_unmask()
[all …]