Lines Matching refs:rc
84 int rc; in am33xx_spl_board_init() local
117 rc = gpio_request(64 + 29, "GPMC_WAIT1"); in am33xx_spl_board_init()
118 if (rc != 0) in am33xx_spl_board_init()
120 rc = gpio_direction_output(64 + 29, 1); in am33xx_spl_board_init()
121 if (rc != 0) in am33xx_spl_board_init()
124 rc = gpio_request(64 + 28, "GPMC_WAIT0"); in am33xx_spl_board_init()
125 if (rc != 0) in am33xx_spl_board_init()
127 rc = gpio_direction_output(64 + 28, 1); in am33xx_spl_board_init()
128 if (rc != 0) in am33xx_spl_board_init()
172 int rc; in board_late_init() local
176 rc = gpio_request(REPSWITCH, "REPSWITCH"); in board_late_init()
178 if (rc != 0 || gpio_get_value(REPSWITCH) == 0 || bootcount == 12) in board_late_init()