Searched refs:key_index (Results 1 – 5 of 5) sorted by relevance
22 uint8_t key_index; member110 key_state = &cfg->key_state[code_cfg->key_index]; in adc_keys_process()185 cfg->code_cfg[i].key_index, cfg->code_cfg[i].press_mv, in adc_keys_init()186 cfg->key_code[cfg->code_cfg[i].key_index]); in adc_keys_init()197 .key_index = DT_NODE_CHILD_IDX(node_id) /* include disabled nodes */, \
58 static void gpio_keys_poll_pin(const struct device *dev, int key_index) in gpio_keys_poll_pin() argument61 const struct gpio_keys_pin_config *pin_cfg = &cfg->pin_cfg[key_index]; in gpio_keys_poll_pin()62 struct gpio_keys_pin_data *pin_data = &cfg->pin_data[key_index]; in gpio_keys_poll_pin()68 pin_data->cb_data.pin_state, new_pressed, key_index); in gpio_keys_poll_pin()107 int key_index = pin_data - (struct gpio_keys_pin_data *)cfg->pin_data; in gpio_keys_change_deferred() local117 gpio_keys_poll_pin(dev, key_index); in gpio_keys_change_deferred()
180 int key_index = channel_data - &dev_cfg->channel_data[0]; local182 *channel_cfg = &dev_cfg->channel_cfg[key_index];
187 uint8_t key_index; member192 uint8_t key_index; member197 uint8_t key_index; member
161 if (!ash->kif.mode_1.key_index) { in ieee802154_validate_aux_security_hdr()172 if (!ash->kif.mode_2.key_index) { in ieee802154_validate_aux_security_hdr()183 if (!ash->kif.mode_3.key_index) { in ieee802154_validate_aux_security_hdr()