Lines Matching refs:grant

74 …|| gpio_pin.tx_line == gpio_pin.priority || gpio_pin.tx_line == gpio_pin.grant || gpio_pin.tx_line…  in is_legal_external_coex_gpio()
81 …if(!GPIO_IS_VALID_GPIO(gpio_pin.priority) || gpio_pin.priority == gpio_pin.grant || gpio_pin.prior… in is_legal_external_coex_gpio()
88 if(!GPIO_IS_VALID_GPIO(gpio_pin.grant) || gpio_pin.grant == gpio_pin.request) { in is_legal_external_coex_gpio()
107 …t_t *gpio_pin, external_coex_wire_t wire_type, uint32_t request, uint32_t priority, uint32_t grant) in esp_external_coex_set_gpio_pin() argument
114 gpio_pin->grant = grant; in esp_external_coex_set_gpio_pin()
125 gpio_pin->grant = grant; in esp_external_coex_set_gpio_pin()
144 …e_set_gpio_pin(external_coex_wire_t wire_type, uint32_t request, uint32_t priority, uint32_t grant) in esp_external_coex_leader_role_set_gpio_pin() argument
148 esp_external_coex_set_gpio_pin(&gpio_pin, wire_type, request, priority, grant); in esp_external_coex_leader_role_set_gpio_pin()
152 …e_set_gpio_pin(external_coex_wire_t wire_type, uint32_t request, uint32_t priority, uint32_t grant) in esp_external_coex_follower_role_set_gpio_pin() argument
156 esp_external_coex_set_gpio_pin(&gpio_pin, wire_type, request, priority, grant); in esp_external_coex_follower_role_set_gpio_pin()
195 gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[gpio_pin.grant], PIN_FUNC_GPIO); in esp_enable_extern_coex_gpio_pin()
196 gpio_set_direction(gpio_pin.grant, GPIO_MODE_OUTPUT); in esp_enable_extern_coex_gpio_pin()
197 REG_WRITE(GPIO_ENABLE_W1TC_REG, BIT(gpio_pin.grant)); in esp_enable_extern_coex_gpio_pin()
198 … esp_rom_gpio_connect_out_signal(gpio_pin.grant, EXTERNAL_COEX_SIGNAL_O0_IDX, false, false); in esp_enable_extern_coex_gpio_pin()
238 gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[gpio_pin.grant], PIN_FUNC_GPIO); in esp_enable_extern_coex_gpio_pin()
239 gpio_set_direction(gpio_pin.grant, GPIO_MODE_INPUT); in esp_enable_extern_coex_gpio_pin()
240 esp_rom_gpio_connect_in_signal(gpio_pin.grant, EXTERNAL_COEX_SIGNAL_I0_IDX, false); in esp_enable_extern_coex_gpio_pin()
241 REG_SET_FIELD(GPIO_PIN_REG(gpio_pin.grant), GPIO_PIN1_SYNC1_BYPASS, 2); in esp_enable_extern_coex_gpio_pin()
242 REG_SET_FIELD(GPIO_PIN_REG(gpio_pin.grant), GPIO_PIN1_SYNC2_BYPASS, 2); in esp_enable_extern_coex_gpio_pin()