Lines Matching refs:reg

62 	uint32_t reg;
66 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPOUTR);
67 reg &= ~(1U << GPIO_PCI_RESET);
68 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOUTR, reg);
71 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPCLKR);
72 reg &= ~GPCLKR_MUX14;
73 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPCLKR, reg);
80 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPOER);
81 reg &= ~(1U << GPIO_PCI_CLK);
82 reg &= ~(1U << GPIO_PCI_RESET);
83 reg |= ((1U << GPIO_PCI_INTA) | (1U << GPIO_PCI_INTB) |
85 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOER, reg);
91 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTA));
92 reg &= ~GPIO_TYPE(GPIO_PCI_INTA, GPIO_TYPE_MASK);
93 reg |= GPIO_TYPE(GPIO_PCI_INTA, GPIO_TYPE_ACT_LOW);
94 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTA), reg);
96 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTB));
97 reg &= ~GPIO_TYPE(GPIO_PCI_INTB, GPIO_TYPE_MASK);
98 reg |= GPIO_TYPE(GPIO_PCI_INTB, GPIO_TYPE_ACT_LOW);
99 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTB), reg);
101 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTC));
102 reg &= ~GPIO_TYPE(GPIO_PCI_INTC, GPIO_TYPE_MASK);
103 reg |= GPIO_TYPE(GPIO_PCI_INTC, GPIO_TYPE_ACT_LOW);
104 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTC), reg);
106 reg = GPIO_CONF_READ_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTD));
107 reg &= ~GPIO_TYPE(GPIO_PCI_INTD, GPIO_TYPE_MASK);
108 reg |= GPIO_TYPE(GPIO_PCI_INTD, GPIO_TYPE_ACT_LOW);
109 GPIO_CONF_WRITE_4(sc, GPIO_TYPE_REG(GPIO_PCI_INTD), reg);
118 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPCLKR);
119 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPCLKR, reg |
123 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPCLKR);
124 reg |= GPCLKR_MUX14;
125 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPCLKR, reg | GPCLKR_MUX14);
133 reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPOUTR);
134 reg |= 1U << GPIO_PCI_RESET;
135 GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOUTR, reg | (1U << GPIO_PCI_RESET));