Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/Zephyr-Core-3.7.0/include/zephyr/arch/arc/v2/
Dsys_io.h26 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-3.7.0/drivers/gpio/
Dgpio_handlers.c10 static inline int z_vrfy_gpio_pin_configure(const struct device *port, in z_vrfy_gpio_pin_configure()
22 static inline int z_vrfy_gpio_pin_get_config(const struct device *port, in z_vrfy_gpio_pin_get_config()
34 static inline int z_vrfy_gpio_port_get_raw(const struct device *port, in z_vrfy_gpio_port_get_raw()
44 static inline int z_vrfy_gpio_port_set_masked_raw(const struct device *port, in z_vrfy_gpio_port_set_masked_raw()
55 static inline int z_vrfy_gpio_port_set_bits_raw(const struct device *port, in z_vrfy_gpio_port_set_bits_raw()
64 static inline int z_vrfy_gpio_port_clear_bits_raw(const struct device *port, in z_vrfy_gpio_port_clear_bits_raw()
73 static inline int z_vrfy_gpio_port_toggle_bits(const struct device *port, in z_vrfy_gpio_port_toggle_bits()
81 static inline int z_vrfy_gpio_pin_interrupt_configure(const struct device *port, in z_vrfy_gpio_pin_interrupt_configure()
Dgpio_test.c28 static int vnd_gpio_pin_configure(const struct device *port, in vnd_gpio_pin_configure()
35 static int vnd_gpio_port_get_raw(const struct device *port, in vnd_gpio_port_get_raw()
41 static int vnd_gpio_port_set_masked_raw(const struct device *port, in vnd_gpio_port_set_masked_raw()
48 static int vnd_gpio_port_set_bits_raw(const struct device *port, in vnd_gpio_port_set_bits_raw()
54 static int vnd_gpio_port_clear_bits_raw(const struct device *port, in vnd_gpio_port_clear_bits_raw()
60 static int vnd_gpio_port_toggle_bits(const struct device *port, in vnd_gpio_port_toggle_bits()
Dgpio_cc13xx_cc26xx.c52 static int gpio_cc13xx_cc26xx_config(const struct device *port, in gpio_cc13xx_cc26xx_config()
126 static int gpio_cc13xx_cc26xx_port_get_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_get_raw()
136 static int gpio_cc13xx_cc26xx_port_set_masked_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_set_masked_raw()
146 static int gpio_cc13xx_cc26xx_port_set_bits_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_set_bits_raw()
154 static int gpio_cc13xx_cc26xx_port_clear_bits_raw(const struct device *port, in gpio_cc13xx_cc26xx_port_clear_bits_raw()
162 static int gpio_cc13xx_cc26xx_port_toggle_bits(const struct device *port, in gpio_cc13xx_cc26xx_port_toggle_bits()
170 static int gpio_cc13xx_cc26xx_pin_interrupt_configure(const struct device *port, in gpio_cc13xx_cc26xx_pin_interrupt_configure()
201 static int gpio_cc13xx_cc26xx_manage_callback(const struct device *port, in gpio_cc13xx_cc26xx_manage_callback()
267 static int gpio_cc13xx_cc26xx_port_get_direction(const struct device *port, gpio_port_pins_t map, in gpio_cc13xx_cc26xx_port_get_direction()
Dgpio_psoc6.c45 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_config() local
95 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_get_raw() local
109 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_set_masked_raw() local
120 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_set_bits_raw() local
131 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_clear_bits_raw() local
142 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_port_toggle_bits() local
155 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_pin_interrupt_configure() local
195 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_isr() local
213 static int gpio_psoc6_manage_callback(const struct device *port, in gpio_psoc6_manage_callback()
225 GPIO_PRT_Type * const port = cfg->regs; in gpio_psoc6_get_pending_int() local
Dgpio_emul.c115 get_pins_with_flags(const struct device *port, gpio_port_pins_t mask, in get_pins_with_flags()
143 static inline gpio_port_pins_t get_input_pins(const struct device *port) in get_input_pins()
157 static inline gpio_port_pins_t get_output_pins(const struct device *port) in get_output_pins()
170 static inline bool gpio_emul_config_has_caps(const struct device *port, in gpio_emul_config_has_caps()
182 static void gpio_emul_gen_interrupt_bits(const struct device *port, in gpio_emul_gen_interrupt_bits()
271 static void gpio_emul_pend_interrupt(const struct device *port, gpio_port_pins_t mask, in gpio_emul_pend_interrupt()
296 int gpio_emul_input_set_masked_int(const struct device *port, in gpio_emul_input_set_masked_int()
332 int gpio_emul_input_set_masked(const struct device *port, gpio_port_pins_t mask, in gpio_emul_input_set_masked()
355 int gpio_emul_output_get_masked(const struct device *port, gpio_port_pins_t mask, in gpio_emul_output_get_masked()
380 int gpio_emul_flags_get(const struct device *port, gpio_pin_t pin, gpio_flags_t *flags) in gpio_emul_flags_get()
[all …]
Dgpio_brcmstb.c35 static int gpio_brcmstb_pin_configure(const struct device *port, gpio_pin_t pin, gpio_flags_t flags) in gpio_brcmstb_pin_configure()
58 static int gpio_brcmstb_port_get_raw(const struct device *port, gpio_port_value_t *value) in gpio_brcmstb_port_get_raw()
67 static int gpio_brcmstb_port_set_masked_raw(const struct device *port, gpio_port_pins_t mask, in gpio_brcmstb_port_set_masked_raw()
78 static int gpio_brcmstb_port_set_bits_raw(const struct device *port, gpio_port_pins_t pins) in gpio_brcmstb_port_set_bits_raw()
87 static int gpio_brcmstb_port_clear_bits_raw(const struct device *port, gpio_port_pins_t pins) in gpio_brcmstb_port_clear_bits_raw()
96 static int gpio_brcmstb_port_toggle_bits(const struct device *port, gpio_port_pins_t pins) in gpio_brcmstb_port_toggle_bits()
117 int gpio_brcmstb_init(const struct device *port) in gpio_brcmstb_init()
Dgpio_nrfx.c26 NRF_GPIO_Type *port; member
32 static inline struct gpio_nrfx_data *get_port_data(const struct device *port) in get_port_data()
37 static inline const struct gpio_nrfx_cfg *get_port_cfg(const struct device *port) in get_port_cfg()
58 static int gpio_nrfx_pin_configure(const struct device *port, gpio_pin_t pin, in gpio_nrfx_pin_configure()
177 static int gpio_nrfx_port_get_raw(const struct device *port, in gpio_nrfx_port_get_raw()
187 static int gpio_nrfx_port_set_masked_raw(const struct device *port, in gpio_nrfx_port_set_masked_raw()
202 static int gpio_nrfx_port_set_bits_raw(const struct device *port, in gpio_nrfx_port_set_bits_raw()
212 static int gpio_nrfx_port_clear_bits_raw(const struct device *port, in gpio_nrfx_port_clear_bits_raw()
222 static int gpio_nrfx_port_toggle_bits(const struct device *port, in gpio_nrfx_port_toggle_bits()
250 static int gpio_nrfx_pin_interrupt_configure(const struct device *port, in gpio_nrfx_pin_interrupt_configure()
[all …]
Dgpio_sc18im704.c47 static int gpio_sc18im_port_set_raw(const struct device *port, in gpio_sc18im_port_set_raw()
78 static int gpio_sc18im_pin_configure(const struct device *port, gpio_pin_t pin, in gpio_sc18im_pin_configure()
161 static int gpio_sc18im_pin_get_config(const struct device *port, gpio_pin_t pin, in gpio_sc18im_pin_get_config()
194 static int gpio_sc18im_port_get_raw(const struct device *port, gpio_port_value_t *value) in gpio_sc18im_port_get_raw()
220 static int gpio_sc18im_port_set_masked_raw(const struct device *port, in gpio_sc18im_port_set_masked_raw()
227 static int gpio_sc18im_port_set_bits_raw(const struct device *port, gpio_port_pins_t pins) in gpio_sc18im_port_set_bits_raw()
232 static int gpio_sc18im_port_clear_bits_raw(const struct device *port, gpio_port_pins_t pins) in gpio_sc18im_port_clear_bits_raw()
237 static int gpio_sc18im_port_toggle_bits(const struct device *port, gpio_port_pins_t pins) in gpio_sc18im_port_toggle_bits()
Dgpio_imx.c36 static int imx_gpio_configure(const struct device *port, gpio_pin_t pin, in imx_gpio_configure()
118 static int imx_gpio_port_get_raw(const struct device *port, uint32_t *value) in imx_gpio_port_get_raw()
128 static int imx_gpio_port_set_masked_raw(const struct device *port, in imx_gpio_port_set_masked_raw()
143 static int imx_gpio_port_set_bits_raw(const struct device *port, in imx_gpio_port_set_bits_raw()
156 static int imx_gpio_port_clear_bits_raw(const struct device *port, in imx_gpio_port_clear_bits_raw()
169 static int imx_gpio_port_toggle_bits(const struct device *port, in imx_gpio_port_toggle_bits()
182 static int imx_gpio_pin_interrupt_configure(const struct device *port, in imx_gpio_pin_interrupt_configure()
235 static int imx_gpio_manage_callback(const struct device *port, in imx_gpio_manage_callback()
243 static void imx_gpio_port_isr(const struct device *port) in imx_gpio_port_isr()
/Zephyr-Core-3.7.0/drivers/misc/timeaware_gpio/
Dtimeaware_gpio_handlers.c9 static inline int z_vrfy_tgpio_port_get_time(const struct device *port, uint64_t *current_time) in z_vrfy_tgpio_port_get_time()
17 static inline int z_vrfy_tgpio_port_get_cycles_per_second(const struct device *port, in z_vrfy_tgpio_port_get_cycles_per_second()
27 static inline int z_vrfy_tgpio_pin_periodic_output(const struct device *port, uint32_t pin, in z_vrfy_tgpio_pin_periodic_output()
37 static inline int z_vrfy_tgpio_pin_disable(const struct device *port, uint32_t pin) in z_vrfy_tgpio_pin_disable()
44 static inline int z_vrfy_tgpio_pin_config_ext_timestamp(const struct device *port, uint32_t pin, in z_vrfy_tgpio_pin_config_ext_timestamp()
53 static inline int z_vrfy_tgpio_pin_read_ts_ec(const struct device *port, uint32_t pin, in z_vrfy_tgpio_pin_read_ts_ec()
/Zephyr-Core-3.7.0/drivers/xen/
Devents.c29 unsigned int port = (((evtchn_handle_t *)data) - event_channels); in empty_callback() local
95 int evtchn_close(evtchn_port_t port) in evtchn_close()
104 int evtchn_set_priority(evtchn_port_t port, uint32_t priority) in evtchn_set_priority()
114 void notify_evtchn(evtchn_port_t port) in notify_evtchn()
127 int bind_event_channel(evtchn_port_t port, evtchn_cb_t cb, void *data) in bind_event_channel()
145 int unbind_event_channel(evtchn_port_t port) in unbind_event_channel()
158 int get_missed_events(evtchn_port_t port) in get_missed_events()
172 int mask_event_channel(evtchn_port_t port) in mask_event_channel()
186 int unmask_event_channel(evtchn_port_t port) in unmask_event_channel()
199 static void clear_event_channel(evtchn_port_t port) in clear_event_channel()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_port.c14 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 …]
Dtest_pin.c12 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 ZTEST() local
104 const struct device *port; in ZTEST() local
139 const struct device *port; in ZTEST() local
176 const struct device *port; in ZTEST() local
215 const struct device *port; in ZTEST() local
265 const struct device *port; in ZTEST() local
Dtest_config.c15 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 ZTEST() local
164 const struct device *port; in ZTEST() local
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/
Dgptp_md.c117 static int gptp_set_md_sync_receive(int port, in gptp_set_md_sync_receive()
181 static void gptp_md_pdelay_reset(int port) in gptp_md_pdelay_reset()
200 static void gptp_md_pdelay_check_multiple_resp(int port) in gptp_md_pdelay_check_multiple_resp()
236 static void gptp_md_compute_pdelay_rate_ratio(int port) in gptp_md_compute_pdelay_rate_ratio()
303 static void gptp_md_compute_prop_time(int port) in gptp_md_compute_prop_time()
375 static void gptp_md_pdelay_compute(int port) in gptp_md_pdelay_compute()
460 int port; in gptp_md_pdelay_req_timeout() local
475 static void gptp_md_start_pdelay_req(int port) in gptp_md_start_pdelay_req()
495 int port; in gptp_md_follow_up_receipt_timeout() local
507 static void gptp_md_init_pdelay_req_state_machine(int port) in gptp_md_init_pdelay_req_state_machine()
[all …]
Dgptp_mi.c72 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 …]
Dgptp_messages.c83 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()
288 struct net_pkt *gptp_prepare_pdelay_req(int port) in gptp_prepare_pdelay_req()
346 struct net_pkt *gptp_prepare_pdelay_resp(int port, in gptp_prepare_pdelay_resp()
405 struct net_pkt *gptp_prepare_pdelay_follow_up(int port, in gptp_prepare_pdelay_follow_up()
468 struct net_pkt *gptp_prepare_announce(int port) in gptp_prepare_announce()
579 void gptp_handle_sync(int port, struct net_pkt *pkt) in gptp_handle_sync()
598 int gptp_handle_follow_up(int port, struct net_pkt *pkt) in gptp_handle_follow_up()
[all …]
Dgptp_private.h28 #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
/Zephyr-Core-3.7.0/include/zephyr/arch/x86/ia32/
Dsys_io.h19 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-3.7.0/subsys/net/lib/ptp/
Dport.c82 static int port_msg_send(struct ptp_port *port, struct ptp_msg *msg, enum ptp_socket idx) in port_msg_send()
117 static void port_synchronize(struct ptp_port *port, in port_synchronize()
136 static void port_ds_init(struct ptp_port *port) in port_ds_init()
157 struct ptp_port *port = ptp_clock_port_from_iface(pkt->iface); in port_delay_req_timestamp_cb() local
206 struct ptp_port *port = ptp_clock_port_from_iface(pkt->iface); in port_sync_timestamp_cb() local
248 static int port_announce_msg_transmit(struct ptp_port *port) in port_announce_msg_transmit()
289 static int port_delay_req_msg_transmit(struct ptp_port *port) in port_delay_req_msg_transmit()
324 static int port_sync_msg_transmit(struct ptp_port *port) in port_sync_msg_transmit()
368 struct ptp_port *port = (struct ptp_port *)k_timer_user_data_get(timer); in port_timer_to_handler() local
437 static void port_delay_req_cleanup(struct ptp_port *port) in port_delay_req_cleanup()
[all …]
Dtransport.c81 static int transport_join_multicast(struct ptp_port *port) in transport_join_multicast()
104 static int transport_udp_ipv4_open(struct net_if *iface, uint16_t port) in transport_udp_ipv4_open()
143 static int transport_udp_ipv6_open(struct net_if *iface, uint16_t port) in transport_udp_ipv6_open()
191 static int transport_send(int socket, int port, void *buf, int length, struct sockaddr *addr) in transport_send()
224 int ptp_transport_open(struct ptp_port *port) in ptp_transport_open()
249 int ptp_transport_close(struct ptp_port *port) in ptp_transport_close()
267 int ptp_transport_send(struct ptp_port *port, struct ptp_msg *msg, enum ptp_socket idx) in ptp_transport_send()
277 int ptp_transport_sendto(struct ptp_port *port, struct ptp_msg *msg, enum ptp_socket idx) in ptp_transport_sendto()
287 int ptp_transport_recv(struct ptp_port *port, struct ptp_msg *msg, enum ptp_socket idx) in ptp_transport_recv()
319 int ptp_transport_protocol_addr(struct ptp_port *port, uint8_t *addr) in ptp_transport_protocol_addr()
[all …]
/Zephyr-Core-3.7.0/tests/net/socket/
Dsocket_helpers.h57 static inline void prepare_sock_udp_v4(const char *addr, uint16_t port, in prepare_sock_udp_v4()
75 static inline void prepare_sock_udp_v6(const char *addr, uint16_t port, in prepare_sock_udp_v6()
94 static inline void prepare_sock_tcp_v4(const char *addr, uint16_t port, in prepare_sock_tcp_v4()
112 static inline void prepare_sock_tcp_v6(const char *addr, uint16_t port, in prepare_sock_tcp_v6()
130 static inline void prepare_sock_tls_v4(const char *addr, uint16_t port, in prepare_sock_tls_v4()
149 static inline void prepare_sock_tls_v6(const char *addr, uint16_t port, in prepare_sock_tls_v6()
168 static inline void prepare_sock_dtls_v4(const char *addr, uint16_t port, in prepare_sock_dtls_v4()
187 static inline void prepare_sock_dtls_v6(const char *addr, uint16_t port, in prepare_sock_dtls_v6()
/Zephyr-Core-3.7.0/include/zephyr/dt-bindings/pinctrl/renesas/
Dpinctrl-ra-common.h25 #define RA_PINCFG(port, pin, psel, opt) \ argument
31 #define RA_PINCFG__40(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
35 #define RA_PINCFG__48(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
39 #define RA_PINCFG__64(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
43 #define RA_PINCFG_100(port, pin, psel, opt) RA_PINCFG(port, pin, psel, opt) argument
/Zephyr-Core-3.7.0/drivers/pinctrl/renesas/ra/
Dpinctrl_renesas_ra.c21 static inline uint32_t pinctrl_ra_read_PmnFPS(size_t port, size_t pin) in pinctrl_ra_read_PmnFPS()
26 static inline void pinctrl_ra_write_PmnFPS(size_t port, size_t pin, uint32_t value) in pinctrl_ra_write_PmnFPS()
31 static inline uint8_t pinctrl_ra_read_PMISC_PWPR(size_t port, size_t pin) in pinctrl_ra_read_PMISC_PWPR()
60 int pinctrl_ra_query_config(uint32_t port, uint32_t pin, struct pinctrl_ra_pin *const pincfg) in pinctrl_ra_query_config()

12345678910>>...12