Searched refs:port_data (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcp23sxx.c | 30 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()
|
D | gpio_mcp230xx.c | 30 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()
|
D | gpio_gecko.c | 341 struct gpio_gecko_data *port_data; in gpio_gecko_common_isr() local 347 port_data = port_dev->data; in gpio_gecko_common_isr() 348 enabled_int = int_status & port_data->int_enabled_mask; in gpio_gecko_common_isr() 356 gpio_fire_callbacks(&port_data->callbacks, port_dev, in gpio_gecko_common_isr()
|
D | gpio_fxl6408.c | 70 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()
|
D | gpio_tca6424a.c | 73 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()
|
D | gpio_pca95xx.c | 168 uint16_t port_data, value; in read_port_regs() local 171 ret = i2c_burst_read_dt(&config->bus, reg, (uint8_t *)&port_data, in read_port_regs() 172 sizeof(port_data)); in read_port_regs() 179 value = sys_le16_to_cpu(port_data); in read_port_regs()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_sam0_eic.c | 89 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()
|