/Zephyr-Core-2.7.6/include/arch/arc/v2/ |
D | sys_io.h | 26 void sys_out8(uint8_t data, io_port_t port) in sys_out8() 32 uint8_t sys_in8(io_port_t port) in sys_in8() 38 void sys_out16(uint16_t data, io_port_t port) in sys_out16() 44 uint16_t sys_in16(io_port_t port) in sys_in16() 50 void sys_out32(uint32_t data, io_port_t port) in sys_out32() 56 uint32_t sys_in32(io_port_t port) in sys_in32() 62 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() 76 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() 90 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() 108 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() [all …]
|
/Zephyr-Core-2.7.6/drivers/gpio/ |
D | gpio_handlers.c | 10 static inline int z_vrfy_gpio_pin_configure(const struct device *port, in z_vrfy_gpio_pin_configure() 21 static inline int z_vrfy_gpio_port_get_raw(const struct device *port, in z_vrfy_gpio_port_get_raw() 31 static inline int z_vrfy_gpio_port_set_masked_raw(const struct device *port, in z_vrfy_gpio_port_set_masked_raw() 42 static inline int z_vrfy_gpio_port_set_bits_raw(const struct device *port, in z_vrfy_gpio_port_set_bits_raw() 51 static inline int z_vrfy_gpio_port_clear_bits_raw(const struct device *port, in z_vrfy_gpio_port_clear_bits_raw() 60 static inline int z_vrfy_gpio_port_toggle_bits(const struct device *port, in z_vrfy_gpio_port_toggle_bits() 68 static inline int z_vrfy_gpio_pin_interrupt_configure(const struct device *port, in z_vrfy_gpio_pin_interrupt_configure()
|
D | gpio_cc13xx_cc26xx.c | 50 static int gpio_cc13xx_cc26xx_config(const struct device *port, in gpio_cc13xx_cc26xx_config() 131 static int gpio_cc13xx_cc26xx_port_get_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_get_raw() 141 static int gpio_cc13xx_cc26xx_port_set_masked_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_set_masked_raw() 151 static int gpio_cc13xx_cc26xx_port_set_bits_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_set_bits_raw() 159 static int gpio_cc13xx_cc26xx_port_clear_bits_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_clear_bits_raw() 167 static int gpio_cc13xx_cc26xx_port_toggle_bits(const struct device *port, in gpio_cc13xx_cc26xx_port_toggle_bits() 175 static int gpio_cc13xx_cc26xx_pin_interrupt_configure(const struct device *port, in gpio_cc13xx_cc26xx_pin_interrupt_configure() 206 static int gpio_cc13xx_cc26xx_manage_callback(const struct device *port, in gpio_cc13xx_cc26xx_manage_callback()
|
D | gpio_emul.c | 113 get_pins_with_flags(const struct device *port, gpio_port_pins_t mask, in get_pins_with_flags() 141 static inline gpio_port_pins_t get_input_pins(const struct device *port) in get_input_pins() 155 static inline gpio_port_pins_t get_output_pins(const struct device *port) in get_output_pins() 168 static inline bool gpio_emul_config_has_caps(const struct device *port, in gpio_emul_config_has_caps() 180 static void gpio_emul_gen_interrupt_bits(const struct device *port, in gpio_emul_gen_interrupt_bits() 264 static void gpio_emul_pend_interrupt(const struct device *port, gpio_port_pins_t mask, in gpio_emul_pend_interrupt() 281 int gpio_emul_input_set_masked_pend(const struct device *port, gpio_port_pins_t mask, in gpio_emul_input_set_masked_pend() 329 int gpio_emul_input_set_masked(const struct device *port, gpio_port_pins_t mask, in gpio_emul_input_set_masked() 336 int gpio_emul_output_get_masked(const struct device *port, gpio_port_pins_t mask, in gpio_emul_output_get_masked() 360 int gpio_emul_flags_get(const struct device *port, gpio_pin_t pin, gpio_flags_t *flags) in gpio_emul_flags_get() [all …]
|
D | gpio_imx.c | 31 static int imx_gpio_configure(const struct device *port, gpio_pin_t pin, in imx_gpio_configure() 69 static int imx_gpio_port_get_raw(const struct device *port, uint32_t *value) in imx_gpio_port_get_raw() 79 static int imx_gpio_port_set_masked_raw(const struct device *port, in imx_gpio_port_set_masked_raw() 92 static int imx_gpio_port_set_bits_raw(const struct device *port, in imx_gpio_port_set_bits_raw() 103 static int imx_gpio_port_clear_bits_raw(const struct device *port, in imx_gpio_port_clear_bits_raw() 114 static int imx_gpio_port_toggle_bits(const struct device *port, in imx_gpio_port_toggle_bits() 125 static int imx_gpio_pin_interrupt_configure(const struct device *port, in imx_gpio_pin_interrupt_configure() 178 static int imx_gpio_manage_callback(const struct device *port, in imx_gpio_manage_callback() 186 static void imx_gpio_port_isr(const struct device *port) in imx_gpio_port_isr()
|
D | gpio_nrfx.c | 40 NRF_GPIO_Type *port; member 44 static inline struct gpio_nrfx_data *get_port_data(const struct device *port) in get_port_data() 49 static inline const struct gpio_nrfx_cfg *get_port_cfg(const struct device *port) in get_port_cfg() 101 static int gpiote_pin_int_cfg(const struct device *port, uint32_t pin) in gpiote_pin_int_cfg() 156 static int gpio_nrfx_config(const struct device *port, in gpio_nrfx_config() 228 static int gpio_nrfx_port_get_raw(const struct device *port, uint32_t *value) in gpio_nrfx_port_get_raw() 237 static int gpio_nrfx_port_set_masked_raw(const struct device *port, in gpio_nrfx_port_set_masked_raw() 250 static int gpio_nrfx_port_set_bits_raw(const struct device *port, in gpio_nrfx_port_set_bits_raw() 260 static int gpio_nrfx_port_clear_bits_raw(const struct device *port, in gpio_nrfx_port_clear_bits_raw() 270 static int gpio_nrfx_port_toggle_bits(const struct device *port, in gpio_nrfx_port_toggle_bits() [all …]
|
D | gpio_psoc6.c | 50 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_config() local 100 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_get_raw() local 114 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_set_masked_raw() local 125 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_set_bits_raw() local 136 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_clear_bits_raw() local 147 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_toggle_bits() local 160 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_pin_interrupt_configure() local 198 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_isr() local 216 static int gpio_psoc6_manage_callback(const struct device *port, in gpio_psoc6_manage_callback() 228 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_get_pending_int() local
|
D | gpio_dw.c | 88 static inline void gpio_dw_clock_config(const struct device *port) in gpio_dw_clock_config() 101 static inline void gpio_dw_clock_on(const struct device *port) in gpio_dw_clock_on() 109 static inline void gpio_dw_clock_off(const struct device *port) in gpio_dw_clock_off() 129 uint32_t port = (base_addr & 0x3f) / 12U; in dw_derive_port_from_base() local 210 static int gpio_dw_pin_interrupt_configure(const struct device *port, in gpio_dw_pin_interrupt_configure() 276 static inline void dw_pin_config(const struct device *port, in dw_pin_config() 308 static inline int gpio_dw_config(const struct device *port, in gpio_dw_config() 344 static int gpio_dw_port_get_raw(const struct device *port, uint32_t *value) in gpio_dw_port_get_raw() 356 static int gpio_dw_port_set_masked_raw(const struct device *port, in gpio_dw_port_set_masked_raw() 372 static int gpio_dw_port_set_bits_raw(const struct device *port, uint32_t mask) in gpio_dw_port_set_bits_raw() [all …]
|
D | gpio_cc32xx.c | 72 static inline int gpio_cc32xx_config(const struct device *port, in gpio_cc32xx_config() 107 static int gpio_cc32xx_port_get_raw(const struct device *port, in gpio_cc32xx_port_get_raw() 119 static int gpio_cc32xx_port_set_masked_raw(const struct device *port, in gpio_cc32xx_port_set_masked_raw() 131 static int gpio_cc32xx_port_set_bits_raw(const struct device *port, in gpio_cc32xx_port_set_bits_raw() 142 static int gpio_cc32xx_port_clear_bits_raw(const struct device *port, in gpio_cc32xx_port_clear_bits_raw() 153 static int gpio_cc32xx_port_toggle_bits(const struct device *port, in gpio_cc32xx_port_toggle_bits() 168 static int gpio_cc32xx_pin_interrupt_configure(const struct device *port, in gpio_cc32xx_pin_interrupt_configure()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/gptp/ |
D | gptp_md.c | 94 static int gptp_set_md_sync_receive(int port, in gptp_set_md_sync_receive() 158 static void gptp_md_pdelay_reset(int port) in gptp_md_pdelay_reset() 177 static void gptp_md_pdelay_check_multiple_resp(int port) in gptp_md_pdelay_check_multiple_resp() 213 static void gptp_md_compute_pdelay_rate_ratio(int port) in gptp_md_compute_pdelay_rate_ratio() 280 static void gptp_md_compute_prop_time(int port) in gptp_md_compute_prop_time() 352 static void gptp_md_pdelay_compute(int port) in gptp_md_pdelay_compute() 437 int port; in gptp_md_pdelay_req_timeout() local 452 static void gptp_md_start_pdelay_req(int port) in gptp_md_start_pdelay_req() 472 int port; in gptp_md_follow_up_receipt_timeout() local 484 static void gptp_md_init_pdelay_req_state_machine(int port) in gptp_md_init_pdelay_req_state_machine() [all …]
|
D | gptp_mi.c | 72 void gptp_change_port_state_debug(int port, enum gptp_port_state state, in gptp_change_port_state_debug() 96 int port, in gptp_change_pa_info_state_debug() 124 int port; in gptp_mi_half_sync_itv_timeout() local 144 int port; in gptp_mi_rcv_sync_receipt_timeout() local 159 int port; in gptp_mi_send_sync_receipt_timeout() local 171 static void gptp_mi_init_port_sync_sync_rcv_sm(int port) in gptp_mi_init_port_sync_sync_rcv_sm() 184 static void gptp_mi_init_port_sync_sync_send_sm(int port) in gptp_mi_init_port_sync_sync_send_sm() 217 static void gptp_mi_init_port_announce_rcv_sm(int port) in gptp_mi_init_port_announce_rcv_sm() 238 int port; in announce_timer_handler() local 251 static void gptp_mi_init_port_announce_info_sm(int port) in gptp_mi_init_port_announce_info_sm() [all …]
|
D | gptp_messages.c | 83 int port = 0; in gptp_sync_timestamp_callback() local 111 int port = 0; in gptp_pdelay_response_timestamp_callback() local 183 struct net_pkt *gptp_prepare_sync(int port) in gptp_prepare_sync() 238 struct net_pkt *gptp_prepare_follow_up(int port, struct net_pkt *sync) in gptp_prepare_follow_up() 290 struct net_pkt *gptp_prepare_pdelay_req(int port) in gptp_prepare_pdelay_req() 348 struct net_pkt *gptp_prepare_pdelay_resp(int port, in gptp_prepare_pdelay_resp() 409 struct net_pkt *gptp_prepare_pdelay_follow_up(int port, in gptp_prepare_pdelay_follow_up() 472 struct net_pkt *gptp_prepare_announce(int port) in gptp_prepare_announce() 593 void gptp_handle_sync(int port, struct net_pkt *pkt) in gptp_handle_sync() 614 int gptp_handle_follow_up(int port, struct net_pkt *pkt) in gptp_handle_follow_up() [all …]
|
D | gptp_private.h | 28 #define GPTP_STATS_INC(port, var) (GPTP_PORT_PARAM_DS(port)->var++) argument 129 #define gptp_change_port_state(port, state) \ argument 142 #define gptp_change_pa_info_state(port, pa_info_state, state) \ argument
|
D | gptp.c | 43 int port = net_eth_get_ptp_port(iface) + 1; in gptp_get_port_number() local 58 bool gptp_is_slave_port(int port) in gptp_is_slave_port() 68 static void gptp_compute_clock_identity(int port) in gptp_compute_clock_identity() 100 int port; in gptp_handle_critical_msg() local 143 int port; in gptp_handle_msg() local 447 static void gptp_init_port_ds(int port) in gptp_init_port_ds() 518 int port; in gptp_state_machine() local 546 int port; in gptp_thread() local 724 void gptp_update_pdelay_req_interval(int port, int8_t log_val) in gptp_update_pdelay_req_interval() 750 void gptp_update_sync_interval(int port, int8_t log_val) in gptp_update_sync_interval() [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_port.c | 14 static void port_get_raw_and_verify(const struct device *port, in port_get_raw_and_verify() 26 static void port_get_and_verify(const struct device *port, in port_get_and_verify() 38 static void port_set_masked_raw_and_verify(const struct device *port, in port_set_masked_raw_and_verify() 47 static void port_set_masked_and_verify(const struct device *port, in port_set_masked_and_verify() 56 static void port_set_bits_raw_and_verify(const struct device *port, in port_set_bits_raw_and_verify() 64 static void port_set_bits_and_verify(const struct device *port, in port_set_bits_and_verify() 72 static void port_clear_bits_raw_and_verify(const struct device *port, in port_clear_bits_raw_and_verify() 80 static void port_clear_bits_and_verify(const struct device *port, in port_clear_bits_and_verify() 88 static void port_set_clr_bits_raw(const struct device *port, in port_set_clr_bits_raw() 97 static void port_set_clr_bits(const struct device *port, in port_set_clr_bits() [all …]
|
D | test_pin.c | 12 static void pin_get_raw_and_verify(const struct device *port, in pin_get_raw_and_verify() 25 static void pin_get_and_verify(const struct device *port, unsigned int pin, in pin_get_and_verify() 37 static void pin_set_raw_and_verify(const struct device *port, in pin_set_raw_and_verify() 46 static void pin_set_and_verify(const struct device *port, unsigned int pin, in pin_set_and_verify() 62 const struct device *port; in test_gpio_pin_toggle() local 104 const struct device *port; in test_gpio_pin_toggle_visual() local 139 const struct device *port; in test_gpio_pin_set_get_raw() local 176 const struct device *port; in test_gpio_pin_set_get() local 215 const struct device *port; in test_gpio_pin_set_get_active_high() local 265 const struct device *port; in test_gpio_pin_set_get_active_low() local
|
D | test_config.c | 15 static void pin_get_raw_and_verify(const struct device *port, in pin_get_raw_and_verify() 28 static void pin_set_raw_and_verify(const struct device *port, in pin_set_raw_and_verify() 50 const struct device *port; in test_gpio_pin_configure_push_pull() local 164 const struct device *port; in test_gpio_pin_configure_single_ended() local
|
D | test_pin_interrupt.c | 15 static void callback_edge(const struct device *port, struct gpio_callback *cb, in callback_edge() 23 static void callback_level(const struct device *port, in callback_level() 39 static void pin_set_and_verify(const struct device *port, unsigned int pin, in pin_set_and_verify() 51 const struct device *port; in test_gpio_pin_interrupt_edge() local 124 const struct device *port; in test_gpio_pin_interrupt_level() local
|
/Zephyr-Core-2.7.6/include/arch/x86/ia32/ |
D | sys_io.h | 19 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() 31 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() 43 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() 56 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() 67 int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) in sys_io_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/tests/net/socket/ |
D | socket_helpers.h | 51 static inline void prepare_sock_udp_v4(const char *addr, uint16_t port, in prepare_sock_udp_v4() 69 static inline void prepare_sock_udp_v6(const char *addr, uint16_t port, in prepare_sock_udp_v6() 88 static inline void prepare_sock_tcp_v4(const char *addr, uint16_t port, in prepare_sock_tcp_v4() 106 static inline void prepare_sock_tcp_v6(const char *addr, uint16_t port, in prepare_sock_tcp_v6() 124 static inline void prepare_sock_tls_v4(const char *addr, uint16_t port, in prepare_sock_tls_v4() 143 static inline void prepare_sock_tls_v6(const char *addr, uint16_t port, in prepare_sock_tls_v6() 162 static inline void prepare_sock_dtls_v4(const char *addr, uint16_t port, in prepare_sock_dtls_v4() 181 static inline void prepare_sock_dtls_v6(const char *addr, uint16_t port, in prepare_sock_dtls_v6()
|
/Zephyr-Core-2.7.6/drivers/display/ |
D | grove_lcd_rgb.c | 105 void glcd_print(const struct device *port, char *data, uint32_t size) in glcd_print() 120 void glcd_cursor_pos_set(const struct device *port, uint8_t col, uint8_t row) in glcd_cursor_pos_set() 141 void glcd_clear(const struct device *port) in glcd_clear() 154 void glcd_display_state_set(const struct device *port, uint8_t opt) in glcd_display_state_set() 171 uint8_t glcd_display_state_get(const struct device *port) in glcd_display_state_get() 179 void glcd_input_state_set(const struct device *port, uint8_t opt) in glcd_input_state_set() 194 uint8_t glcd_input_state_get(const struct device *port) in glcd_input_state_get() 202 void glcd_color_select(const struct device *port, uint8_t color) in glcd_color_select() 214 void glcd_color_set(const struct device *port, uint8_t r, uint8_t g, in glcd_color_set() 225 void glcd_function_set(const struct device *port, uint8_t opt) in glcd_function_set() [all …]
|
/Zephyr-Core-2.7.6/include/drivers/gpio/ |
D | gpio_emul.h | 69 static inline int gpio_emul_input_set(const struct device *port, gpio_pin_t pin, in gpio_emul_input_set() 97 static inline int gpio_emul_output_get(const struct device *port, gpio_pin_t pin) in gpio_emul_output_get()
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | gpio.h | 322 const struct device *port; member 621 static inline int z_impl_gpio_pin_interrupt_configure(const struct device *port, in z_impl_gpio_pin_interrupt_configure() 710 static inline int z_impl_gpio_pin_configure(const struct device *port, in z_impl_gpio_pin_configure() 803 static inline int z_impl_gpio_port_get_raw(const struct device *port, in z_impl_gpio_port_get_raw() 830 static inline int gpio_port_get(const struct device *port, in gpio_port_get() 866 static inline int z_impl_gpio_port_set_masked_raw(const struct device *port, in z_impl_gpio_port_set_masked_raw() 896 static inline int gpio_port_set_masked(const struct device *port, in gpio_port_set_masked() 921 static inline int z_impl_gpio_port_set_bits_raw(const struct device *port, in z_impl_gpio_port_set_bits_raw() 940 static inline int gpio_port_set_bits(const struct device *port, in gpio_port_set_bits() 959 static inline int z_impl_gpio_port_clear_bits_raw(const struct device *port, in z_impl_gpio_port_clear_bits_raw() [all …]
|
/Zephyr-Core-2.7.6/boards/arm/stm32g0316_disco/ |
D | pinmux.c | 12 static int pinmux_stm32_init(const struct device *port) in pinmux_stm32_init()
|
/Zephyr-Core-2.7.6/drivers/interrupt_controller/ |
D | intc_sam0_eic.c | 16 uint8_t port : 2; member 98 int sam0_eic_acquire(int port, int pin, enum sam0_eic_trigger trigger, in sam0_eic_acquire() 189 static bool sam0_eic_check_ownership(int port, int pin, int line_index) in sam0_eic_check_ownership() 208 int sam0_eic_release(int port, int pin) in sam0_eic_release() 257 int sam0_eic_enable_interrupt(int port, int pin) in sam0_eic_enable_interrupt() 278 int sam0_eic_disable_interrupt(int port, int pin) in sam0_eic_disable_interrupt() 299 uint32_t sam0_eic_interrupt_pending(int port) in sam0_eic_interrupt_pending()
|