/Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
D | intc_mchp_xec_ecia.h | 29 int mchp_xec_ecia_enable(int girq_id, int src); 45 int mchp_xec_ecia_disable(int girq_id, int src); 57 typedef void (*mchp_xec_ecia_callback_t) (int girq_id, int src, void *user); 67 int mchp_xec_ecia_set_callback(int girq_id, int src, 97 int mchp_ecia_unset_callback(int girq_id, int src); 113 void mchp_xec_ecia_girq_aggr_en(uint8_t girq_id, uint8_t enable); 120 void mchp_xec_ecia_girq_src_clr(uint8_t girq_id, uint8_t src_bit); 127 void mchp_xec_ecia_girq_src_en(uint8_t girq_id, uint8_t src_bit); 134 void mchp_xec_ecia_girq_src_dis(uint8_t girq_id, uint8_t src_bit); 141 void mchp_xec_ecia_girq_src_clr_bitmap(uint8_t girq_id, uint32_t bitmap); [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mchp_xec.c | 46 uint8_t girq_id; member 184 MCHP_GIRQ_ENCLR(config->girq_id) = BIT(pin); in gpio_xec_pin_interrupt_configure() 236 MCHP_GIRQ_SRC_CLR(config->girq_id, pin); in gpio_xec_pin_interrupt_configure() 237 MCHP_GIRQ_ENSET(config->girq_id) = BIT(pin); in gpio_xec_pin_interrupt_configure() 325 girq_result = MCHP_GIRQ_RESULT(config->girq_id); in gpio_gpio_xec_port_isr() 328 REG32(MCHP_GIRQ_SRC_ADDR(config->girq_id)) = girq_result; in gpio_gpio_xec_port_isr() 355 .girq_id = MCHP_GIRQ11_ID, 377 MCHP_GIRQ_BLK_SETEN(config->girq_id); in gpio_xec_port000_036_init() 401 .girq_id = MCHP_GIRQ10_ID, 423 MCHP_GIRQ_BLK_SETEN(config->girq_id); in gpio_xec_port040_076_init() [all …]
|
D | gpio_mchp_xec_v2.c | 47 uint8_t girq_id; member 253 uint8_t girq_id) in gpio_xec_intr_en() argument 257 mchp_soc_ecia_girq_src_en(girq_id, pin); in gpio_xec_intr_en() 288 mchp_soc_ecia_girq_src_dis(config->girq_id, pin); in gpio_xec_pin_interrupt_configure() 296 gpio_xec_intr_en(pin, mode, config->girq_id); in gpio_xec_pin_interrupt_configure() 326 mchp_soc_ecia_girq_src_clr(config->girq_id, pin); in gpio_xec_pin_interrupt_configure() 328 gpio_xec_intr_en(pin, mode, config->girq_id); in gpio_xec_pin_interrupt_configure() 482 girq_result = mchp_soc_ecia_girq_result(config->girq_id); in gpio_gpio_xec_port_isr() 485 mchp_soc_ecia_girq_src_clr_bitmap(config->girq_id, girq_result); in gpio_gpio_xec_port_isr() 520 mchp_soc_ecia_girq_aggr_en(config->girq_id, 1); \ [all …]
|
/Zephyr-latest/drivers/ps2/ |
D | ps2_mchp_xec.c | 36 uint8_t girq_id; member 130 ps2_xec_girq_clr(config->girq_id, config->girq_bit); in ps2_xec_configure() 138 ps2_xec_girq_en(config->girq_id, config->girq_bit); in ps2_xec_configure() 209 ps2_xec_girq_clr(config->girq_id, config->girq_bit); in ps2_xec_inhibit_interface() 223 ps2_xec_girq_clr(config->girq_id, config->girq_bit); in ps2_xec_enable_interface() 306 ps2_xec_girq_clr(config->girq_id, config->girq_bit); in ps2_xec_isr() 387 .girq_id = (uint8_t)(DT_INST_PROP_BY_IDX(inst, girqs, 0)), \
|
/Zephyr-latest/drivers/counter/ |
D | counter_mchp_xec.c | 39 uint8_t girq_id; member 256 mchp_soc_ecia_girq_src_clr(counter_cfg->girq_id, counter_cfg->girq_bit); in counter_xec_isr() 258 MCHP_GIRQ_SRC(counter_cfg->girq_id) = BIT(counter_cfg->girq_bit); in counter_xec_isr() 304 mchp_soc_ecia_girq_src_en(counter_cfg->girq_id, counter_cfg->girq_bit); in counter_xec_init() 306 MCHP_GIRQ_ENSET(counter_cfg->girq_id) = BIT(counter_cfg->girq_bit); in counter_xec_init() 331 .girq_id = DT_INST_PROP_BY_IDX(0, girqs, 0), \
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_mchp_ecia_xec.c | 55 uint8_t girq_id; member 472 int girq_id = GIRQ_ID_TO_BITPOS(cfg->girq_id); in xec_girq_isr() local 489 data[idx].cb(girq_id, bitpos, data[idx].data); in xec_girq_isr() 570 .girq_id = DT_PROP(n, girq_id), \ 583 GIRQ_ID_TO_BITPOS(DT_PROP(n, girq_id)), 1); \ 603 .girq_node_handles[DT_PROP(n, girq_id)] = (DEVICE_DT_GET(n)),
|
/Zephyr-latest/drivers/espi/ |
D | espi_mchp_xec_v2.h | 18 uint8_t girq_id; member 25 uint8_t girq_id; member
|
D | espi_mchp_xec_v2.c | 1093 static void vw_slp3_handler(int girq_id, int src, void *user) in vw_slp3_handler() argument 1100 static void vw_slp4_handler(int girq_id, int src, void *user) in vw_slp4_handler() argument 1107 static void vw_slp5_handler(int girq_id, int src, void *user) in vw_slp5_handler() argument 1114 static void vw_host_rst_warn_handler(int girq_id, int src, void *user) in vw_host_rst_warn_handler() argument 1121 static void vw_sus_warn_handler(int girq_id, int src, void *user) in vw_sus_warn_handler() argument 1128 static void vw_oob_rst_handler(int girq_id, int src, void *user) in vw_oob_rst_handler() argument 1135 static void vw_sus_pwrdn_ack_handler(int girq_id, int src, void *user) in vw_sus_pwrdn_ack_handler() argument 1142 static void vw_sus_slp_a_handler(int girq_id, int src, void *user) in vw_sus_slp_a_handler() argument 1149 static void vw_sus_dnx_warn_handler(int girq_id, int src, void *user) in vw_sus_dnx_warn_handler() argument 1156 static void vw_pltrst_handler(int girq_id, int src, void *user) in vw_pltrst_handler() argument [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_xec.c | 51 uint8_t girq_id; member 766 MCHP_GIRQ_SRC(config->girq_id) = BIT(config->girq_bit); in i2c_xec_bus_isr() 808 MCHP_GIRQ_SRC(cfg->girq_id) = BIT(cfg->girq_bit); in i2c_xec_target_register() 809 MCHP_GIRQ_ENSET(cfg->girq_id) = BIT(cfg->girq_bit); in i2c_xec_target_register() 826 MCHP_GIRQ_ENCLR(cfg->girq_id) = BIT(cfg->girq_bit); in i2c_xec_target_unregister() 899 .girq_id = DT_INST_PROP(n, girq), \
|
/Zephyr-latest/drivers/serial/ |
D | uart_mchp_xec.c | 185 uint8_t girq_id; member 251 mchp_soc_ecia_girq_src_clr(dev_cfg->girq_id, dev_cfg->girq_pos); in uart_xec_girq_clr() 278 MCHP_GIRQ_SRC(dev_cfg->girq_id) = BIT(dev_cfg->girq_pos); in uart_xec_girq_clr() 1089 .girq_id = DT_INST_PROP_BY_IDX(n, girqs, 0), \
|