Lines Matching refs:port
151 uint32_t port = GET_GPIO_PORT(gpio_number); in gpio_get_clock() local
152 assert(port < 5U); in gpio_get_clock()
154 const struct port_info *info = &port_info[port]; in gpio_get_clock()
172 uint32_t port = GET_GPIO_PORT(gpio_number); in gpio_put_clock() local
173 const struct port_info *info = &port_info[port]; in gpio_put_clock()
180 uint32_t port = GET_GPIO_PORT(gpio); in get_pull() local
185 assert(port < 5U); in get_pull()
186 const struct port_info *info = &port_info[port]; in get_pull()
199 uint32_t port = GET_GPIO_PORT(gpio); in set_pull() local
204 assert(port < 5U); in set_pull()
205 const struct port_info *info = &port_info[port]; in set_pull()
223 uint32_t port = GET_GPIO_PORT(gpio); in set_direction() local
227 assert((port < 5) && (num < 32)); in set_direction()
239 port_info[port].port_base + SWPORTA_DDR, in set_direction()
247 uint32_t port = GET_GPIO_PORT(gpio); in get_direction() local
251 assert((port < 5U) && (num < 32U)); in get_direction()
263 port_info[port].port_base + SWPORTA_DDR in get_direction()
272 uint32_t port = GET_GPIO_PORT(gpio); in get_value() local
276 assert((port < 5) && (num < 32)); in get_value()
279 value = (mmio_read_32(port_info[port].port_base + EXT_PORTA) >> num) & in get_value()
288 uint32_t port = GET_GPIO_PORT(gpio); in set_value() local
292 assert((port < 5U) && (num < 32U)); in set_value()
296 port_info[port].port_base + SWPORTA_DR, in set_value()