Home
last modified time | relevance | path

Searched refs:port_data (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_mcp23sxx.c30 uint16_t port_data = 0; in mcp23sxx_read_port_regs() local
62 port_data = ((uint16_t)buffer_rx[3] << 8 | buffer_rx[2]); in mcp23sxx_read_port_regs()
64 *buf = sys_le16_to_cpu(port_data); in mcp23sxx_read_port_regs()
75 uint16_t port_data = sys_cpu_to_le16(value); in mcp23sxx_write_port_regs() local
76 uint8_t port_a_data = port_data & 0xFF; in mcp23sxx_write_port_regs()
77 uint8_t port_b_data = (port_data >> 8) & 0xFF; in mcp23sxx_write_port_regs()
79 port_data = sys_cpu_to_le16(value); in mcp23sxx_write_port_regs()
Dgpio_mcp230xx.c30 uint16_t port_data = 0; in mcp230xx_read_port_regs() local
35 ret = i2c_burst_read_dt(&config->bus.i2c, reg, (uint8_t *)&port_data, nread); in mcp230xx_read_port_regs()
41 *buf = sys_le16_to_cpu(port_data); in mcp230xx_read_port_regs()
Dgpio_mcp23s17.c84 uint16_t port_data; in read_port_regs() local
103 .buf = (uint8_t *)&port_data, in read_port_regs()
118 *buf = sys_le16_to_cpu(port_data); in read_port_regs()
131 uint16_t port_data; in write_port_regs() local
136 port_data = sys_cpu_to_le16(value); in write_port_regs()
147 .buf = (uint8_t *)&port_data, in write_port_regs()
Dgpio_gecko.c340 struct gpio_gecko_data *port_data; in gpio_gecko_common_isr() local
346 port_data = port_dev->data; in gpio_gecko_common_isr()
347 enabled_int = int_status & port_data->int_enabled_mask; in gpio_gecko_common_isr()
355 gpio_fire_callbacks(&port_data->callbacks, port_dev, in gpio_gecko_common_isr()
Dgpio_fxl6408.c70 uint8_t port_data; in read_port_regs() local
73 ret = i2c_reg_read_byte_dt(&config->i2c, reg, &port_data); in read_port_regs()
78 *cache = port_data; in read_port_regs()
Dgpio_tca6424a.c73 uint32_t port_data, value; in read_port_regs() local
76 ret = i2c_burst_read_dt(&config->i2c_spec, reg, (uint8_t *)&port_data, 3); in read_port_regs()
83 value = sys_le24_to_cpu(port_data); in read_port_regs()
Dgpio_pca95xx.c167 uint16_t port_data, value; in read_port_regs() local
170 ret = i2c_burst_read_dt(&config->bus, reg, (uint8_t *)&port_data, in read_port_regs()
171 sizeof(port_data)); in read_port_regs()
178 value = sys_le16_to_cpu(port_data); in read_port_regs()
/Zephyr-Core-3.7.0/drivers/interrupt_controller/
Dintc_sam0_eic.c89 struct sam0_eic_port_data *port_data = in sam0_eic_isr() local
92 port_data->cb(BIT(line_assignment->pin), port_data->data); in sam0_eic_isr()
101 struct sam0_eic_port_data *port_data; in sam0_eic_acquire() local
135 port_data = &dev_data->ports[port]; in sam0_eic_acquire()
136 port_data->cb = cb; in sam0_eic_acquire()
137 port_data->data = data; in sam0_eic_acquire()