Lines Matching refs:reg
615 uint32_t reg; in start_rtdma0_descriptor() local
617 reg = mmio_read_32(RCAR_PRR); in start_rtdma0_descriptor()
618 reg &= (PRR_PRODUCT_MASK | PRR_CUT_MASK); in start_rtdma0_descriptor()
619 if (reg == (PRR_PRODUCT_M3_CUT10)) { in start_rtdma0_descriptor()
671 uint32_t reg; in pfc_init_g2m() local
996 reg = mmio_read_32(PFC_DRVCTRL0); in pfc_init_g2m()
997 reg = ((reg & DRVCTRL0_MASK) | DRVCTRL0_QSPI0_SPCLK(3) in pfc_init_g2m()
1005 pfc_reg_write(PFC_DRVCTRL0, reg); in pfc_init_g2m()
1006 reg = mmio_read_32(PFC_DRVCTRL1); in pfc_init_g2m()
1007 reg = ((reg & DRVCTRL1_MASK) | DRVCTRL1_QSPI1_MISO_IO1(3) in pfc_init_g2m()
1015 pfc_reg_write(PFC_DRVCTRL1, reg); in pfc_init_g2m()
1016 reg = mmio_read_32(PFC_DRVCTRL2); in pfc_init_g2m()
1017 reg = ((reg & DRVCTRL2_MASK) | DRVCTRL2_AVB_RXC(7) in pfc_init_g2m()
1025 pfc_reg_write(PFC_DRVCTRL2, reg); in pfc_init_g2m()
1026 reg = mmio_read_32(PFC_DRVCTRL3); in pfc_init_g2m()
1027 reg = ((reg & DRVCTRL3_MASK) | DRVCTRL3_AVB_TD1(3) in pfc_init_g2m()
1035 pfc_reg_write(PFC_DRVCTRL3, reg); in pfc_init_g2m()
1036 reg = mmio_read_32(PFC_DRVCTRL4); in pfc_init_g2m()
1037 reg = ((reg & DRVCTRL4_MASK) | DRVCTRL4_AVB_LINK(7) in pfc_init_g2m()
1045 pfc_reg_write(PFC_DRVCTRL4, reg); in pfc_init_g2m()
1046 reg = mmio_read_32(PFC_DRVCTRL5); in pfc_init_g2m()
1047 reg = ((reg & DRVCTRL5_MASK) | DRVCTRL5_IRQ5(7) in pfc_init_g2m()
1055 pfc_reg_write(PFC_DRVCTRL5, reg); in pfc_init_g2m()
1056 reg = mmio_read_32(PFC_DRVCTRL6); in pfc_init_g2m()
1057 reg = ((reg & DRVCTRL6_MASK) | DRVCTRL6_A4(3) in pfc_init_g2m()
1065 pfc_reg_write(PFC_DRVCTRL6, reg); in pfc_init_g2m()
1066 reg = mmio_read_32(PFC_DRVCTRL7); in pfc_init_g2m()
1067 reg = ((reg & DRVCTRL7_MASK) | DRVCTRL7_A12(3) in pfc_init_g2m()
1075 pfc_reg_write(PFC_DRVCTRL7, reg); in pfc_init_g2m()
1076 reg = mmio_read_32(PFC_DRVCTRL8); in pfc_init_g2m()
1077 reg = ((reg & DRVCTRL8_MASK) | DRVCTRL8_CLKOUT(7) in pfc_init_g2m()
1085 pfc_reg_write(PFC_DRVCTRL8, reg); in pfc_init_g2m()
1086 reg = mmio_read_32(PFC_DRVCTRL9); in pfc_init_g2m()
1087 reg = ((reg & DRVCTRL9_MASK) | DRVCTRL9_EX_WAIT0(7) in pfc_init_g2m()
1095 pfc_reg_write(PFC_DRVCTRL9, reg); in pfc_init_g2m()
1096 reg = mmio_read_32(PFC_DRVCTRL10); in pfc_init_g2m()
1097 reg = ((reg & DRVCTRL10_MASK) | DRVCTRL10_D6(7) in pfc_init_g2m()
1105 pfc_reg_write(PFC_DRVCTRL10, reg); in pfc_init_g2m()
1106 reg = mmio_read_32(PFC_DRVCTRL11); in pfc_init_g2m()
1107 reg = ((reg & DRVCTRL11_MASK) | DRVCTRL11_D14(3) in pfc_init_g2m()
1115 pfc_reg_write(PFC_DRVCTRL11, reg); in pfc_init_g2m()
1116 reg = mmio_read_32(PFC_DRVCTRL12); in pfc_init_g2m()
1117 reg = ((reg & DRVCTRL12_MASK) | DRVCTRL12_DU_DOTCLKIN2(3) in pfc_init_g2m()
1121 pfc_reg_write(PFC_DRVCTRL12, reg); in pfc_init_g2m()
1122 reg = mmio_read_32(PFC_DRVCTRL13); in pfc_init_g2m()
1123 reg = ((reg & DRVCTRL13_MASK) | DRVCTRL13_TDO(3) in pfc_init_g2m()
1131 pfc_reg_write(PFC_DRVCTRL13, reg); in pfc_init_g2m()
1132 reg = mmio_read_32(PFC_DRVCTRL14); in pfc_init_g2m()
1133 reg = ((reg & DRVCTRL14_MASK) | DRVCTRL14_SD1_CLK(7) in pfc_init_g2m()
1141 pfc_reg_write(PFC_DRVCTRL14, reg); in pfc_init_g2m()
1142 reg = mmio_read_32(PFC_DRVCTRL15); in pfc_init_g2m()
1143 reg = ((reg & DRVCTRL15_MASK) | DRVCTRL15_SD2_DAT0(5) in pfc_init_g2m()
1151 pfc_reg_write(PFC_DRVCTRL15, reg); in pfc_init_g2m()
1152 reg = mmio_read_32(PFC_DRVCTRL16); in pfc_init_g2m()
1153 reg = ((reg & DRVCTRL16_MASK) | DRVCTRL16_SD3_DAT1(7) in pfc_init_g2m()
1161 pfc_reg_write(PFC_DRVCTRL16, reg); in pfc_init_g2m()
1162 reg = mmio_read_32(PFC_DRVCTRL17); in pfc_init_g2m()
1163 reg = ((reg & DRVCTRL17_MASK) | DRVCTRL17_SD0_CD(7) in pfc_init_g2m()
1171 pfc_reg_write(PFC_DRVCTRL17, reg); in pfc_init_g2m()
1172 reg = mmio_read_32(PFC_DRVCTRL18); in pfc_init_g2m()
1173 reg = ((reg & DRVCTRL18_MASK) | DRVCTRL18_RTS0_TANS(7) in pfc_init_g2m()
1181 pfc_reg_write(PFC_DRVCTRL18, reg); in pfc_init_g2m()
1182 reg = mmio_read_32(PFC_DRVCTRL19); in pfc_init_g2m()
1183 reg = ((reg & DRVCTRL19_MASK) | DRVCTRL19_HSCK0(7) in pfc_init_g2m()
1191 pfc_reg_write(PFC_DRVCTRL19, reg); in pfc_init_g2m()
1192 reg = mmio_read_32(PFC_DRVCTRL20); in pfc_init_g2m()
1193 reg = ((reg & DRVCTRL20_MASK) | DRVCTRL20_MSIOF0_TXD(7) in pfc_init_g2m()
1201 pfc_reg_write(PFC_DRVCTRL20, reg); in pfc_init_g2m()
1202 reg = mmio_read_32(PFC_DRVCTRL21); in pfc_init_g2m()
1203 reg = ((reg & DRVCTRL21_MASK) | DRVCTRL21_SSI_WS0129(7) in pfc_init_g2m()
1211 pfc_reg_write(PFC_DRVCTRL21, reg); in pfc_init_g2m()
1212 reg = mmio_read_32(PFC_DRVCTRL22); in pfc_init_g2m()
1213 reg = ((reg & DRVCTRL22_MASK) | DRVCTRL22_SSI_WS4(7) in pfc_init_g2m()
1221 pfc_reg_write(PFC_DRVCTRL22, reg); in pfc_init_g2m()
1222 reg = mmio_read_32(PFC_DRVCTRL23); in pfc_init_g2m()
1223 reg = ((reg & DRVCTRL23_MASK) | DRVCTRL23_SSI_SCK78(7) in pfc_init_g2m()
1231 pfc_reg_write(PFC_DRVCTRL23, reg); in pfc_init_g2m()
1232 reg = mmio_read_32(PFC_DRVCTRL24); in pfc_init_g2m()
1233 reg = ((reg & DRVCTRL24_MASK) | DRVCTRL24_USB0_OVC(7) in pfc_init_g2m()
1240 pfc_reg_write(PFC_DRVCTRL24, reg); in pfc_init_g2m()