Searched refs:port_num (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-3.6.0/drivers/gpio/ |
D | gpio_lpc11u6x.c | 94 uint8_t port_num; member 111 uint8_t port_num = config->port_num; in gpio_lpc11u6x_pin_configure() local 124 if (port_num == 0 && (pin == 4 || pin == 5) && in gpio_lpc11u6x_pin_configure() 134 if (port_num == 0 && (pin == 0 || (pin >= 10 && pin <= 15))) { in gpio_lpc11u6x_pin_configure() 158 if (port_num == 2 && pin > 1) { in gpio_lpc11u6x_pin_configure() 168 gpio_regs->set[port_num] |= BIT(pin); in gpio_lpc11u6x_pin_configure() 172 gpio_regs->clr[port_num] |= BIT(pin); in gpio_lpc11u6x_pin_configure() 181 WRITE_BIT(gpio_regs->dir[port_num], pin, flags & GPIO_OUTPUT); in gpio_lpc11u6x_pin_configure() 193 *value = gpio_regs->pin[config->port_num]; in gpio_lpc11u6x_port_get_raw() 205 uint8_t port_num = config->port_num; in gpio_lpc11u6x_port_set_masked_raw() local [all …]
|
D | gpio_cy8c95xx.c | 45 uint8_t port_num; member 60 rc = i2c_reg_write_byte_dt(&cfg->i2c, CY8C95XX_REG_OUTPUT_DATA0 + cfg->port_num, in write_pin_state() 66 rc = i2c_reg_write_byte_dt(&cfg->i2c, CY8C95XX_REG_PORT_SELECT, cfg->port_num); in write_pin_state() 152 rc = i2c_reg_read_byte_dt(&cfg->i2c, CY8C95XX_REG_INPUT_DATA0 + cfg->port_num, &pin_data); in port_get() 179 int rc = i2c_reg_write_byte_dt(&cfg->i2c, CY8C95XX_REG_OUTPUT_DATA0 + cfg->port_num, out); in port_write() 282 .port_num = DT_INST_REG_ADDR(idx), \
|
D | gpio_mchp_xec.c | 21 ((__IO uint32_t *)(GPIO_PARIN_BASE + (config->port_num << 2))) 24 ((__IO uint32_t *)(GPIO_PAROUT_BASE + (config->port_num << 2))) 47 uint32_t port_num; member 71 if ((valid_ctrl_masks[config->port_num] & BIT(pin)) == 0U) { in gpio_xec_configure() 173 if ((valid_ctrl_masks[config->port_num] & BIT(pin)) == 0U) { in gpio_xec_pin_interrupt_configure() 353 .port_num = MCHP_GPIO_000_036, 399 .port_num = MCHP_GPIO_040_076, 445 .port_num = MCHP_GPIO_100_136, 491 .port_num = MCHP_GPIO_140_176, 537 .port_num = MCHP_GPIO_200_236, [all …]
|
D | gpio_mchp_xec_v2.c | 45 uint8_t port_num; member 131 if (!(valid_ctrl_masks[config->port_num] & BIT(pin))) { in gpio_xec_configure() 263 if ((valid_ctrl_masks[config->port_num] & BIT(pin)) == 0U) { in gpio_xec_pin_interrupt_configure() 391 uint32_t valid_msk = valid_ctrl_masks[config->port_num]; in gpio_xec_get_direction() 427 uint32_t valid_msk = valid_ctrl_masks[config->port_num]; in gpio_xec_get_config() 533 .port_num = DT_INST_PROP(n, port_id), \
|
D | gpio_cc32xx.c | 53 uint8_t port_num; member 87 MAP_PinTypeGPIO(pinTable[gpio_config->port_num * 8 + pin], in gpio_cc32xx_config() 271 .port_num = n \
|
D | gpio_davinci.c | 61 uint32_t port_num; member 187 .port_num = n, \
|
D | gpio_nrfx.c | 28 uint8_t port_num; member 65 nrfx_gpiote_pin_t abs_pin = NRF_GPIO_PIN_MAP(cfg->port_num, pin); in gpio_nrfx_pin_configure() 256 uint32_t abs_pin = NRF_GPIO_PIN_MAP(cfg->port_num, pin); in gpio_nrfx_pin_interrupt_configure() 461 .port_num = DT_INST_PROP(id, port), \
|
D | gpio_ifx_cat1.c | 200 uint32_t port_num = CYHAL_GET_PORT((uint32_t) callback_arg); in gpio_event_callback() local 202 const struct device *dev = port_dev_obj[port_num]; in gpio_event_callback()
|
/Zephyr-Core-3.6.0/drivers/pinctrl/ |
D | pinctrl_ifx_cat1.c | 99 uint32_t port_num = CAT1_PINMUX_GET_PORT_NUM(pins[i].pinmux); in pinctrl_configure_pins() local 103 Cy_GPIO_Pin_FastInit(gpio_ports[port_num], pin_num, drv_mode, 1, hsiom); in pinctrl_configure_pins() 108 Cy_GPIO_Write(gpio_ports[port_num], pin_num, 1); in pinctrl_configure_pins() 111 Cy_GPIO_Write(gpio_ports[port_num], pin_num, 0); in pinctrl_configure_pins()
|
/Zephyr-Core-3.6.0/drivers/serial/ |
D | uart_ite_it8xxx2.c | 192 .port = DT_INST_PROP(inst, port_num), \
|
/Zephyr-Core-3.6.0/drivers/i2c/ |
D | i2c_ite_it8xxx2.c | 1298 .port = DT_INST_PROP(inst, port_num), \
|
D | i2c_ite_enhance.c | 1475 .port = DT_INST_PROP(inst, port_num), \
|