Home
last modified time | relevance | path

Searched refs:port (Results 376 - 400 of 7988) sorted by relevance

1...<<11121314151617181920>>...320

/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_buffer.c45 * @port: tty port owning the flip buffer
56 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive() argument
58 struct tty_bufhead *buf = &port->buf; in tty_buffer_lock_exclusive()
65 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive() argument
67 struct tty_bufhead *buf = &port->buf; in tty_buffer_unlock_exclusive()
81 * @port: tty port owning the flip buffer
91 int tty_buffer_space_avail(struct tty_port *port) in tty_buffer_space_avail() argument
93 int space = port in tty_buffer_space_avail()
116 tty_buffer_free_all(struct tty_port *port) tty_buffer_free_all() argument
155 tty_buffer_alloc(struct tty_port *port, size_t size) tty_buffer_alloc() argument
195 tty_buffer_free(struct tty_port *port, struct tty_buffer *b) tty_buffer_free() argument
222 struct tty_port *port = tty->port; tty_buffer_flush() local
258 __tty_buffer_request_room(struct tty_port *port, size_t size, int flags) __tty_buffer_request_room() argument
295 tty_buffer_request_room(struct tty_port *port, size_t size) tty_buffer_request_room() argument
312 tty_insert_flip_string_fixed_flag(struct tty_port *port, const unsigned char *chars, char flag, size_t size) tty_insert_flip_string_fixed_flag() argument
348 tty_insert_flip_string_flags(struct tty_port *port, const unsigned char *chars, const char *flags, size_t size) tty_insert_flip_string_flags() argument
380 __tty_insert_flip_char(struct tty_port *port, unsigned char ch, char flag) __tty_insert_flip_char() argument
410 tty_prepare_flip_string(struct tty_port *port, unsigned char **chars, size_t size) tty_prepare_flip_string() argument
452 receive_buf(struct tty_port *port, struct tty_buffer *head, int count) receive_buf() argument
482 struct tty_port *port = container_of(work, struct tty_port, buf.work); flush_to_ldisc() local
546 tty_flip_buffer_push(struct tty_port *port) tty_flip_buffer_push() argument
569 tty_insert_flip_string_and_push_buffer(struct tty_port *port, const unsigned char *chars, size_t size) tty_insert_flip_string_and_push_buffer() argument
594 tty_buffer_init(struct tty_port *port) tty_buffer_init() argument
617 tty_buffer_set_limit(struct tty_port *port, int limit) tty_buffer_set_limit() argument
627 tty_buffer_set_lock_subclass(struct tty_port *port) tty_buffer_set_lock_subclass() argument
632 tty_buffer_restart_work(struct tty_port *port) tty_buffer_restart_work() argument
637 tty_buffer_cancel_work(struct tty_port *port) tty_buffer_cancel_work() argument
642 tty_buffer_flush_work(struct tty_port *port) tty_buffer_flush_work() argument
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpcie-apple.c6 * the driver mostly deals MSI mapping and handling of per-port
43 #define CORE_LANE_CFG(port) (0x84000 + 0x4000 * (port))
49 #define CORE_LANE_CTL(port) (0x84004 + 0x4000 * (port))
263 struct apple_pcie_port *port = irq_data_get_irq_chip_data(data); in apple_port_irq_mask() local
265 writel_relaxed(BIT(data->hwirq), port->base + PORT_INTMSKSET); in apple_port_irq_mask()
270 struct apple_pcie_port *port = irq_data_get_irq_chip_data(data); in apple_port_irq_unmask() local
272 writel_relaxed(BIT(data->hwirq), port->base + PORT_INTMSKCLR); in apple_port_irq_unmask()
282 struct apple_pcie_port *port in apple_port_irq_ack() local
314 struct apple_pcie_port *port = domain->host_data; apple_port_irq_domain_alloc() local
358 struct apple_pcie_port *port = irq_desc_get_handler_data(desc); apple_port_irq_handler() local
373 apple_pcie_port_setup_irq(struct apple_pcie_port *port) apple_pcie_port_setup_irq() argument
410 struct apple_pcie_port *port = data; apple_pcie_port_irq() local
430 apple_pcie_port_register_irqs(struct apple_pcie_port *port) apple_pcie_port_register_irqs() argument
465 apple_pcie_setup_refclk(struct apple_pcie *pcie, struct apple_pcie_port *port) apple_pcie_setup_refclk() argument
502 apple_pcie_rid2sid_write(struct apple_pcie_port *port, int idx, u32 val) apple_pcie_rid2sid_write() argument
514 struct apple_pcie_port *port; apple_pcie_setup_port() local
653 struct apple_pcie_port *port; apple_pcie_get_port() local
670 apple_pcie_add_device(struct apple_pcie_port *port, struct pci_dev *pdev) apple_pcie_add_device() argument
701 apple_pcie_release_device(struct apple_pcie_port *port, struct pci_dev *pdev) apple_pcie_release_device() argument
730 struct apple_pcie_port *port; apple_pcie_bus_notifier() local
[all...]
/kernel/linux/linux-5.10/drivers/block/mtip32xx/
H A Dmtip32xx.c214 * @port Pointer to the port structure.
220 static inline void mtip_issue_ncq_command(struct mtip_port *port, int tag) in mtip_issue_ncq_command() argument
225 spin_lock(&port->cmd_issue_lock[group]); in mtip_issue_ncq_command()
227 port->s_active[MTIP_TAG_INDEX(tag)]); in mtip_issue_ncq_command()
229 port->cmd_issue[MTIP_TAG_INDEX(tag)]); in mtip_issue_ncq_command()
230 spin_unlock(&port->cmd_issue_lock[group]); in mtip_issue_ncq_command()
236 * @port Pointer to the port data structure
242 static int mtip_enable_fis(struct mtip_port *port, in argument
268 mtip_enable_engine(struct mtip_port *port, int enable) mtip_enable_engine() argument
289 mtip_start_port(struct mtip_port *port) mtip_start_port() argument
307 mtip_deinit_port(struct mtip_port *port) mtip_deinit_port() argument
332 mtip_init_port(struct mtip_port *port) mtip_init_port() argument
376 mtip_restart_port(struct mtip_port *port) mtip_restart_port() argument
510 struct mtip_port *port; mtip_handle_tfe() local
658 mtip_workq_sdbfx(struct mtip_port *port, int group, u32 completed) mtip_workq_sdbfx() argument
697 struct mtip_port *port = dd->port; mtip_process_legacy() local
742 struct mtip_port *port = dd->port; mtip_handle_irq() local
838 mtip_issue_non_ncq_command(struct mtip_port *port, int tag) mtip_issue_non_ncq_command() argument
843 mtip_pause_ncq(struct mtip_port *port, struct host_to_dev_fis *fis) mtip_pause_ncq() argument
875 mtip_commands_active(struct mtip_port *port) mtip_commands_active() argument
901 mtip_quiesce_io(struct mtip_port *port, unsigned long timeout) mtip_quiesce_io() argument
958 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, unsigned long timeout) mtip_exec_internal_command() argument
1130 mtip_get_identify(struct mtip_port *port, void __user *user_buffer) mtip_get_identify() argument
1212 mtip_standby_immediate(struct mtip_port *port) mtip_standby_immediate() argument
1256 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) mtip_read_log_page() argument
1292 mtip_get_smart_data(struct mtip_port *port, u8 *buffer, dma_addr_t buffer_dma) mtip_get_smart_data() argument
1327 mtip_get_smart_attr(struct mtip_port *port, unsigned int id, struct smart_attr *attrib) mtip_get_smart_attr() argument
1384 struct mtip_port *port = dd->port; mtip_hw_get_capacity() local
1403 mtip_dump_identify(struct mtip_port *port) mtip_dump_identify() argument
1488 exec_drive_task(struct mtip_port *port, u8 *command) exec_drive_task() argument
1557 exec_drive_command(struct mtip_port *port, u8 *command, void __user *user_buffer) exec_drive_command() argument
2064 struct mtip_port *port = dd->port; mtip_hw_submit_io() local
2636 struct mtip_port *port = dd->port; mtip_service_thread() local
2749 struct mtip_port *port = dd->port; mtip_dma_free() local
2771 struct mtip_port *port = dd->port; mtip_dma_alloc() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c38 struct rmnet_port *port = rmnet_get_port_rtnl(real_dev); in rmnet_unregister_real_device() local
40 if (port->nr_rmnet_devs) in rmnet_unregister_real_device()
43 rmnet_map_tx_aggregate_exit(port); in rmnet_unregister_real_device()
47 kfree(port); in rmnet_unregister_real_device()
56 struct rmnet_port *port; in rmnet_register_real_device() local
62 port = rmnet_get_port_rtnl(real_dev); in rmnet_register_real_device()
63 if (port->rmnet_mode != RMNET_EPMODE_VND) { in rmnet_register_real_device()
71 port = kzalloc(sizeof(*port), GFP_KERNEL); in rmnet_register_real_device()
72 if (!port) in rmnet_register_real_device()
91 rmnet_unregister_bridge(struct rmnet_port *port) rmnet_unregister_bridge() argument
128 struct rmnet_port *port; rmnet_newlink() local
226 struct rmnet_port *port; rmnet_force_unassociate_device() local
302 struct rmnet_port *port; rmnet_changelink() local
372 struct rmnet_port *port; rmnet_fill_info() local
419 rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id) rmnet_get_endpoint() argument
437 struct rmnet_port *port, *slave_port; rmnet_add_bridge() local
488 struct rmnet_port *port = rmnet_get_port_rtnl(slave_dev); rmnet_del_bridge() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_buffer.c44 * @port: tty port owning the flip buffer
52 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive() argument
54 struct tty_bufhead *buf = &port->buf; in tty_buffer_lock_exclusive()
63 * @port: tty port owning the flip buffer
69 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive() argument
71 struct tty_bufhead *buf = &port->buf; in tty_buffer_unlock_exclusive()
85 * @port: tty port ownin
94 tty_buffer_space_avail(struct tty_port *port) tty_buffer_space_avail() argument
120 tty_buffer_free_all(struct tty_port *port) tty_buffer_free_all() argument
159 tty_buffer_alloc(struct tty_port *port, size_t size) tty_buffer_alloc() argument
198 tty_buffer_free(struct tty_port *port, struct tty_buffer *b) tty_buffer_free() argument
223 struct tty_port *port = tty->port; tty_buffer_flush() local
261 __tty_buffer_request_room(struct tty_port *port, size_t size, bool flags) __tty_buffer_request_room() argument
294 tty_buffer_request_room(struct tty_port *port, size_t size) tty_buffer_request_room() argument
300 __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars, const u8 *flags, bool mutable_flags, size_t size) __tty_insert_flip_string_flags() argument
354 tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size) tty_prepare_flip_string() argument
397 lookahead_bufs(struct tty_port *port, struct tty_buffer *head) lookahead_bufs() argument
436 receive_buf(struct tty_port *port, struct tty_buffer *head, size_t count) receive_buf() argument
464 struct tty_port *port = container_of(work, struct tty_port, buf.work); flush_to_ldisc() local
529 tty_flip_buffer_push(struct tty_port *port) tty_flip_buffer_push() argument
552 tty_insert_flip_string_and_push_buffer(struct tty_port *port, const u8 *chars, size_t size) tty_insert_flip_string_and_push_buffer() argument
576 tty_buffer_init(struct tty_port *port) tty_buffer_init() argument
600 tty_buffer_set_limit(struct tty_port *port, int limit) tty_buffer_set_limit() argument
610 tty_buffer_set_lock_subclass(struct tty_port *port) tty_buffer_set_lock_subclass() argument
615 tty_buffer_restart_work(struct tty_port *port) tty_buffer_restart_work() argument
620 tty_buffer_cancel_work(struct tty_port *port) tty_buffer_cancel_work() argument
625 tty_buffer_flush_work(struct tty_port *port) tty_buffer_flush_work() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c29 mlx5_esw_bridge_mdb_port_lookup(struct mlx5_esw_bridge_port *port, in mlx5_esw_bridge_mdb_port_lookup() argument
32 return xa_load(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_lookup()
35 static int mlx5_esw_bridge_mdb_port_insert(struct mlx5_esw_bridge_port *port, in mlx5_esw_bridge_mdb_port_insert() argument
38 int err = xa_insert(&entry->ports, mlx5_esw_bridge_port_key(port), port, GFP_KERNEL); in mlx5_esw_bridge_mdb_port_insert()
45 static void mlx5_esw_bridge_mdb_port_remove(struct mlx5_esw_bridge_port *port, in mlx5_esw_bridge_mdb_port_remove() argument
48 xa_erase(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_remove()
62 struct mlx5_esw_bridge_port *port; in mlx5_esw_bridge_mdb_flow_create() local
78 xa_for_each(&entry->ports, idx, port) { in mlx5_esw_bridge_mdb_flow_create()
80 dests[i].ft = port in mlx5_esw_bridge_mdb_flow_create()
119 mlx5_esw_bridge_port_mdb_offload(struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge_mdb_entry *entry) mlx5_esw_bridge_port_mdb_offload() argument
148 mlx5_esw_bridge_port_mdb_entry_init(struct mlx5_esw_bridge_port *port, const unsigned char *addr, u16 vid) mlx5_esw_bridge_port_mdb_entry_init() argument
187 mlx5_esw_bridge_port_mdb_attach(struct net_device *dev, struct mlx5_esw_bridge_port *port, const unsigned char *addr, u16 vid) mlx5_esw_bridge_port_mdb_attach() argument
236 mlx5_esw_bridge_port_mdb_entry_detach(struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge_mdb_entry *entry) mlx5_esw_bridge_port_mdb_entry_detach() argument
257 mlx5_esw_bridge_port_mdb_detach(struct net_device *dev, struct mlx5_esw_bridge_port *port, const unsigned char *addr, u16 vid) mlx5_esw_bridge_port_mdb_detach() argument
282 mlx5_esw_bridge_port_mdb_vlan_flush(struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge_vlan *vlan) mlx5_esw_bridge_port_mdb_vlan_flush() argument
293 mlx5_esw_bridge_port_mdb_flush(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mdb_flush() argument
310 mlx5_esw_bridge_port_mcast_fts_init(struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge *bridge) mlx5_esw_bridge_port_mcast_fts_init() argument
326 mlx5_esw_bridge_port_mcast_fts_cleanup(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_fts_cleanup() argument
447 mlx5_esw_bridge_port_mcast_fgs_init(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_fgs_init() argument
492 mlx5_esw_bridge_port_mcast_fgs_cleanup(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_fgs_cleanup() argument
509 mlx5_esw_bridge_mcast_flow_with_esw_create(struct mlx5_esw_bridge_port *port, struct mlx5_eswitch *esw) mlx5_esw_bridge_mcast_flow_with_esw_create() argument
537 mlx5_esw_bridge_mcast_filter_flow_create(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_mcast_filter_flow_create() argument
543 mlx5_esw_bridge_mcast_filter_flow_peer_create(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_mcast_filter_flow_peer_create() argument
572 mlx5_esw_bridge_mcast_vlan_flow_create(u16 vlan_proto, struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge_vlan *vlan) mlx5_esw_bridge_mcast_vlan_flow_create() argument
621 mlx5_esw_bridge_vlan_mcast_init(u16 vlan_proto, struct mlx5_esw_bridge_port *port, struct mlx5_esw_bridge_vlan *vlan) mlx5_esw_bridge_vlan_mcast_init() argument
645 mlx5_esw_bridge_mcast_fwd_flow_create(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_mcast_fwd_flow_create() argument
674 mlx5_esw_bridge_port_mcast_fhs_init(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_fhs_init() argument
720 mlx5_esw_bridge_port_mcast_fhs_cleanup(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_fhs_cleanup() argument
736 mlx5_esw_bridge_port_mcast_init(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_init() argument
764 mlx5_esw_bridge_port_mcast_cleanup(struct mlx5_esw_bridge_port *port) mlx5_esw_bridge_port_mcast_cleanup() argument
1021 struct mlx5_esw_bridge_port *port, *failed; mlx5_esw_brige_mcast_init() local
1052 struct mlx5_esw_bridge_port *port; mlx5_esw_brige_mcast_cleanup() local
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dswitch.c3 * Thunderbolt driver - switch/port utility functions
216 * During host router NVM upgrade we should not allow root port to in nvm_authenticate_start_dma_port()
218 * itself. To be on the safe side keep the root port in D0 during in nvm_authenticate_start_dma_port()
247 /* Thunderbolt 2 and 3 devices support NVM through DMA port */ in nvm_readable()
412 /* port utility functions */
414 static const char *tb_port_type(const struct tb_regs_port_header *port) in tb_port_type() argument
416 switch (port->type >> 16) { in tb_port_type()
418 switch ((u8) port->type) { in tb_port_type()
443 static void tb_dump_port(struct tb *tb, const struct tb_port *port) in tb_dump_port() argument
445 const struct tb_regs_port_header *regs = &port in tb_dump_port()
468 tb_port_state(struct tb_port *port) tb_port_state() argument
497 tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) tb_wait_for_port() argument
566 tb_port_add_nfc_credits(struct tb_port *port, int credits) tb_port_add_nfc_credits() argument
603 tb_port_clear_counter(struct tb_port *port, int counter) tb_port_clear_counter() argument
617 tb_port_unlock(struct tb_port *port) tb_port_unlock() argument
628 __tb_port_enable(struct tb_port *port, bool enable) __tb_port_enable() argument
662 tb_port_enable(struct tb_port *port) tb_port_enable() argument
673 tb_port_disable(struct tb_port *port) tb_port_disable() argument
686 tb_init_port(struct tb_port *port) tb_init_port() argument
749 tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, int max_hopid) tb_port_alloc_hopid() argument
785 tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) tb_port_alloc_in_hopid() argument
799 tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) tb_port_alloc_out_hopid() argument
809 tb_port_release_in_hopid(struct tb_port *port, int hopid) tb_port_release_in_hopid() argument
819 tb_port_release_out_hopid(struct tb_port *port, int hopid) tb_port_release_out_hopid() argument
891 tb_port_get_link_speed(struct tb_port *port) tb_port_get_link_speed() argument
924 tb_port_get_link_width(struct tb_port *port) tb_port_get_link_width() argument
942 tb_port_is_width_supported(struct tb_port *port, unsigned int width_mask) tb_port_is_width_supported() argument
962 is_gen4_link(struct tb_port *port) is_gen4_link() argument
977 tb_port_set_link_width(struct tb_port *port, enum tb_link_width width) tb_port_set_link_width() argument
1023 tb_port_set_lane_bonding(struct tb_port *port, bool bonding) tb_port_set_lane_bonding() argument
1057 tb_port_lane_bonding_enable(struct tb_port *port) tb_port_lane_bonding_enable() argument
1115 tb_port_lane_bonding_disable(struct tb_port *port) tb_port_lane_bonding_disable() argument
1136 tb_port_wait_for_link_width(struct tb_port *port, unsigned int width_mask, int timeout_msec) tb_port_wait_for_link_width() argument
1166 tb_port_do_update_credits(struct tb_port *port) tb_port_do_update_credits() argument
1199 tb_port_update_credits(struct tb_port *port) tb_port_update_credits() argument
1209 tb_port_start_lane_initialization(struct tb_port *port) tb_port_start_lane_initialization() argument
1224 tb_port_resume(struct tb_port *port) tb_port_resume() argument
1251 tb_port_is_enabled(struct tb_port *port) tb_port_is_enabled() argument
1275 tb_usb3_port_is_enabled(struct tb_port *port) tb_usb3_port_is_enabled() argument
1291 tb_usb3_port_enable(struct tb_port *port, bool enable) tb_usb3_port_enable() argument
1306 tb_pci_port_is_enabled(struct tb_port *port) tb_pci_port_is_enabled() argument
1322 tb_pci_port_enable(struct tb_port *port, bool enable) tb_pci_port_enable() argument
1337 tb_dp_port_hpd_is_active(struct tb_port *port) tb_dp_port_hpd_is_active() argument
1356 tb_dp_port_hpd_clear(struct tb_port *port) tb_dp_port_hpd_clear() argument
1382 tb_dp_port_set_hops(struct tb_port *port, unsigned int video, unsigned int aux_tx, unsigned int aux_rx) tb_dp_port_set_hops() argument
1414 tb_dp_port_is_enabled(struct tb_port *port) tb_dp_port_is_enabled() argument
1433 tb_dp_port_enable(struct tb_port *port, bool enable) tb_dp_port_enable() argument
2100 struct tb_port *port; tb_switch_release() local
2132 const struct tb_port *port; tb_switch_uevent() local
2631 struct tb_port *port = &sw->ports[i]; tb_switch_default_link_ports() local
2880 struct tb_port *port; tb_switch_port_hotplug_enable() local
3038 struct tb_port *port; tb_switch_remove() local
3078 struct tb_port *port; tb_sw_set_unplugged() local
3111 struct tb_port *port; tb_switch_resume() local
3210 struct tb_port *port; tb_switch_suspend() local
3431 struct tb_port *port; tb_switch_find_port() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dledtrig-usbport.c3 * USB port LED trigger
38 * usbport_trig_usb_dev_observed - Check if dev is connected to observed port
43 struct usbport_trig_port *port; in usbport_trig_usb_dev_observed() local
48 list_for_each_entry(port, &usbport_data->ports, list) { in usbport_trig_usb_dev_observed()
49 if (usb_dev->parent == port->hub && in usbport_trig_usb_dev_observed()
50 usb_dev->portnum == port->portnum) in usbport_trig_usb_dev_observed()
51 return port->observed; in usbport_trig_usb_dev_observed()
86 struct usbport_trig_port *port = container_of(attr, in usbport_trig_port_show() local
90 return sprintf(buf, "%d\n", port->observed) + 1; in usbport_trig_port_show()
97 struct usbport_trig_port *port in usbport_trig_port_store() local
188 struct usbport_trig_port *port; usbport_trig_add_port() local
248 usbport_trig_remove_port(struct usbport_trig_data *usbport_data, struct usbport_trig_port *port) usbport_trig_remove_port() argument
263 struct usbport_trig_port *port, *tmp; usbport_trig_remove_usb_dev_ports() local
334 struct usbport_trig_port *port, *tmp; usbport_trig_deactivate() local
[all...]
/kernel/linux/linux-5.10/net/dsa/
H A Dtag_8021q.c49 * Index of switch port. Must be between 0 and 15.
82 * instructions on egress. Encodes switch ID and port ID.
84 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid() argument
87 DSA_8021Q_PORT(port); in dsa_8021q_tx_vid()
91 /* Returns the VID that will be installed as pvid for this switch port, sent as
92 * tagged egress towards the CPU port and decoded by the rcv function.
94 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid() argument
97 DSA_8021Q_PORT(port); in dsa_8021q_rx_vid()
101 u16 dsa_8021q_rx_vid_subvlan(struct dsa_switch *ds, int port, u16 subvlan) in dsa_8021q_rx_vid_subvlan() argument
104 DSA_8021Q_PORT(port) | DSA_8021Q_SUBVLA in dsa_8021q_rx_vid_subvlan()
149 dsa_8021q_vid_apply(struct dsa_8021q_context *ctx, int port, u16 vid, u16 flags, bool enabled) dsa_8021q_vid_apply() argument
212 dsa_8021q_setup_port(struct dsa_8021q_context *ctx, int port, bool enabled) dsa_8021q_setup_port() argument
302 int rc, port; dsa_8021q_setup() local
320 dsa_8021q_crosschip_link_apply(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port, bool enabled) dsa_8021q_crosschip_link_apply() argument
334 dsa_8021q_crosschip_link_add(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_link_add() argument
390 dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_join() argument
420 dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port, struct dsa_8021q_context *other_ctx, int other_port) dsa_8021q_crosschip_bridge_leave() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Drx.c24 void ia_css_isys_rx_enable_all_interrupts(enum mipi_port_id port) in ia_css_isys_rx_enable_all_interrupts() argument
27 port, in ia_css_isys_rx_enable_all_interrupts()
49 port, in ia_css_isys_rx_enable_all_interrupts()
71 enum mipi_port_id port = MIPI_PORT0_ID; in ia_css_isys_port_to_mipi_port() local
74 port = MIPI_PORT1_ID; in ia_css_isys_port_to_mipi_port()
76 port = MIPI_PORT2_ID; in ia_css_isys_port_to_mipi_port()
78 return port; in ia_css_isys_port_to_mipi_port()
81 unsigned int ia_css_isys_rx_get_interrupt_reg(enum mipi_port_id port) in ia_css_isys_rx_get_interrupt_reg() argument
84 port, in ia_css_isys_rx_get_interrupt_reg()
96 enum mipi_port_id port in ia_css_rx_port_get_irq_info() local
101 ia_css_isys_rx_get_irq_info(enum mipi_port_id port, unsigned int *irq_infos) ia_css_isys_rx_get_irq_info() argument
160 enum mipi_port_id port = ia_css_isys_port_to_mipi_port(api_port); ia_css_rx_port_clear_irq_info() local
165 ia_css_isys_rx_clear_irq_info(enum mipi_port_id port, unsigned int irq_infos) ia_css_isys_rx_clear_irq_info() argument
483 enum mipi_port_id port; ia_css_isys_rx_configure() local
582 enum mipi_port_id port; ia_css_isys_rx_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_of.c37 struct uart_port *port = &up->port; in of_platform_serial_setup() local
41 memset(port, 0, sizeof *port); in of_platform_serial_setup()
66 port->custom_divisor = clk / (16 * spd); in of_platform_serial_setup()
74 port->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_FIXED_PORT | in of_platform_serial_setup()
76 spin_lock_init(&port->lock); in of_platform_serial_setup()
79 port->iotype = UPIO_PORT; in of_platform_serial_setup()
80 port->iobase = resource.start; in of_platform_serial_setup()
82 port in of_platform_serial_setup()
284 struct uart_port *port = &port8250->port; of_serial_suspend() local
299 struct uart_port *port = &port8250->port; of_serial_resume() local
[all...]
H A D8250_exar.c125 int (*rs485_config)(struct uart_port *port, struct ktermios *termios,
154 static void exar_pm(struct uart_port *port, unsigned int state, unsigned int old) in exar_pm() argument
162 serial_port_out(port, UART_EXAR_SLEEP, state ? 0xff : 0); in exar_pm()
190 static int xr17v35x_startup(struct uart_port *port) in xr17v35x_startup() argument
196 serial_port_out(port, UART_XR_EFR, UART_EFR_ECB); in xr17v35x_startup()
204 spin_lock_irq(&port->lock); in xr17v35x_startup()
205 serial_port_out(port, UART_IER, 0); in xr17v35x_startup()
206 spin_unlock_irq(&port->lock); in xr17v35x_startup()
208 return serial8250_do_startup(port); in xr17v35x_startup()
211 static void exar_shutdown(struct uart_port *port) in exar_shutdown() argument
231 default_setup(struct exar8250 *priv, struct pci_dev *pcidev, int idx, unsigned int offset, struct uart_8250_port *port) default_setup() argument
270 pci_fastcom335_setup(struct exar8250 *priv, struct pci_dev *pcidev, struct uart_8250_port *port, int idx) pci_fastcom335_setup() argument
318 pci_connect_tech_setup(struct exar8250 *priv, struct pci_dev *pcidev, struct uart_8250_port *port, int idx) pci_connect_tech_setup() argument
329 pci_xr17c154_setup(struct exar8250 *priv, struct pci_dev *pcidev, struct uart_8250_port *port, int idx) pci_xr17c154_setup() argument
409 xr17v35x_register_gpio(struct pci_dev *pcidev, struct uart_8250_port *port) xr17v35x_register_gpio() argument
418 xr17v35x_unregister_gpio(struct uart_8250_port *port) xr17v35x_unregister_gpio() argument
427 generic_rs485_config(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) generic_rs485_config() argument
459 iot2040_rs485_config(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) iot2040_rs485_config() argument
507 iot2040_register_gpio(struct pci_dev *pcidev, struct uart_8250_port *port) iot2040_register_gpio() argument
557 pci_xr17v35x_setup(struct exar8250 *priv, struct pci_dev *pcidev, struct uart_8250_port *port, int idx) pci_xr17v35x_setup() argument
602 struct uart_8250_port *port = serial8250_get_port(priv->line[0]); pci_xr17v35x_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dledtrig-usbport.c3 * USB port LED trigger
38 * usbport_trig_usb_dev_observed - Check if dev is connected to observed port
43 struct usbport_trig_port *port; in usbport_trig_usb_dev_observed() local
48 list_for_each_entry(port, &usbport_data->ports, list) { in usbport_trig_usb_dev_observed()
49 if (usb_dev->parent == port->hub && in usbport_trig_usb_dev_observed()
50 usb_dev->portnum == port->portnum) in usbport_trig_usb_dev_observed()
51 return port->observed; in usbport_trig_usb_dev_observed()
86 struct usbport_trig_port *port = container_of(attr, in usbport_trig_port_show() local
90 return sprintf(buf, "%d\n", port->observed) + 1; in usbport_trig_port_show()
97 struct usbport_trig_port *port in usbport_trig_port_store() local
188 struct usbport_trig_port *port; usbport_trig_add_port() local
248 usbport_trig_remove_port(struct usbport_trig_data *usbport_data, struct usbport_trig_port *port) usbport_trig_remove_port() argument
263 struct usbport_trig_port *port, *tmp; usbport_trig_remove_usb_dev_ports() local
334 struct usbport_trig_port *port, *tmp; usbport_trig_deactivate() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c300 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_drvinfo() local
301 struct prestera_switch *sw = port->sw; in prestera_ethtool_get_drvinfo()
313 static u8 prestera_port_type_get(struct prestera_port *port) in prestera_port_type_get() argument
315 if (port->caps.type < PRESTERA_PORT_TYPE_MAX) in prestera_port_type_get()
316 return port_types[port->caps.type].eth_type; in prestera_port_type_get()
322 struct prestera_port *port) in prestera_port_type_set()
328 if (port_types[type].eth_type == ecmd->base.port && in prestera_port_type_set()
335 if (type == port->caps.type) in prestera_port_type_set()
337 if (type != port->caps.type && ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_port_type_set()
344 port in prestera_port_type_set()
321 prestera_port_type_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_type_set() argument
411 prestera_port_supp_types_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_supp_types_get() argument
428 prestera_port_remote_cap_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_remote_cap_get() argument
469 prestera_port_link_mode_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_link_mode_get() argument
497 prestera_port_mdix_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_mdix_get() argument
516 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_link_ksettings() local
570 prestera_port_mdix_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_mdix_set() argument
587 prestera_port_link_mode_set(struct prestera_port *port, u32 speed, u8 duplex, u8 type) prestera_port_link_mode_set() argument
632 prestera_port_speed_duplex_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_speed_duplex_set() argument
649 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_set_link_ksettings() local
681 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_fecparam() local
710 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_set_fecparam() local
771 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_stats() local
781 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_nway_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c76 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port) in vlv_dsi_wait_for_fifo_empty() argument
86 if (intel_de_wait_for_set(dev_priv, MIPI_GEN_FIFO_STAT(port), in vlv_dsi_wait_for_fifo_empty()
127 enum port port = intel_dsi_host->port; in intel_dsi_host_transfer() local
142 data_reg = MIPI_LP_GEN_DATA(port); in intel_dsi_host_transfer()
144 ctrl_reg = MIPI_LP_GEN_CTRL(port); in intel_dsi_host_transfer()
147 data_reg = MIPI_HS_GEN_DATA(port); in intel_dsi_host_transfer()
149 ctrl_reg = MIPI_HS_GEN_CTRL(port); in intel_dsi_host_transfer()
216 dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs, enum port port) dpi_send_cmd() argument
328 enum port port; glk_dsi_enable_io() local
377 enum port port; glk_dsi_device_ready() local
451 enum port port; bxt_dsi_device_ready() local
479 enum port port; vlv_dsi_device_ready() local
534 enum port port; glk_dsi_enter_low_power_mode() local
565 enum port port; glk_dsi_disable_mipi_io() local
598 enum port port; vlv_dsi_clear_device_ready() local
644 enum port port; intel_dsi_port_enable() local
702 enum port port; intel_dsi_port_disable() local
771 enum port port; intel_dsi_pre_enable() local
892 enum port port; intel_dsi_disable() local
929 enum port port; intel_dsi_post_disable() local
1004 enum port port; intel_dsi_get_hw_state() local
1085 enum port port; bxt_dsi_get_pipe_config() local
1279 enum port port; set_dsi_timings() local
1371 enum port port; intel_dsi_prepare() local
1555 enum port port; intel_dsi_unprepare() local
1814 enum port port; vlv_dsi_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c300 struct prestera_port *port = netdev_priv(dev); in prestera_ethtool_get_drvinfo() local
301 struct prestera_switch *sw = port->sw; in prestera_ethtool_get_drvinfo()
313 static u8 prestera_port_type_get(struct prestera_port *port) in prestera_port_type_get() argument
315 if (port->caps.type < PRESTERA_PORT_TYPE_MAX) in prestera_port_type_get()
316 return port_types[port->caps.type].eth_type; in prestera_port_type_get()
322 struct prestera_port *port) in prestera_port_type_set()
329 if (port_types[type].eth_type == ecmd->base.port && in prestera_port_type_set()
336 if (type == port->caps.type) in prestera_port_type_set()
338 if (type != port->caps.type && ecmd->base.autoneg == AUTONEG_ENABLE) in prestera_port_type_set()
345 port in prestera_port_type_set()
321 prestera_port_type_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_type_set() argument
417 prestera_port_supp_types_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_supp_types_get() argument
434 prestera_port_remote_cap_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_remote_cap_get() argument
469 prestera_port_speed_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_speed_get() argument
479 prestera_port_duplex_get(struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_duplex_get() argument
499 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_link_ksettings() local
554 prestera_port_mdix_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_mdix_set() argument
566 prestera_port_link_mode_set(struct prestera_port *port, u32 speed, u8 duplex, u8 type) prestera_port_link_mode_set() argument
597 prestera_port_speed_duplex_set(const struct ethtool_link_ksettings *ecmd, struct prestera_port *port) prestera_port_speed_duplex_set() argument
630 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_set_link_ksettings() local
666 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_fecparam() local
695 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_set_fecparam() local
749 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_get_stats() local
759 struct prestera_port *port = netdev_priv(dev); prestera_ethtool_nway_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dpch_uart.c36 /* Set the max number of UART port
37 * Intel EG20T PCH: 4 port
38 * LAPIS Semiconductor ML7213 IOH: 3 port
39 * LAPIS Semiconductor ML7223 IOH: 2 port
207 struct uart_port port; member
249 * @port_type: The type of UART port
250 * @line_no: UART port line number (0, 1, 2...)
314 "PCH EG20T port[%d] regs:\n", priv->port.line); in port_show_regs()
444 dev_err(priv->port in pch_uart_hal_set_line()
574 struct uart_port *port = &priv->port; pch_uart_hal_read() local
622 struct uart_port *port = &priv->port; push_rx() local
634 struct uart_port *port = &priv->port; dma_push_rx() local
652 pch_free_dma(struct uart_port *port) pch_free_dma() argument
689 pch_request_dma(struct uart_port *port) pch_request_dma() argument
746 struct uart_port *port = &priv->port; pch_dma_rx_complete() local
761 struct uart_port *port = &priv->port; pch_dma_tx_complete() local
783 struct uart_port *port = &priv->port; pop_tx() local
833 struct uart_port *port = &priv->port; dma_handle_rx() local
867 struct uart_port *port = &priv->port; handle_tx() local
913 struct uart_port *port = &priv->port; dma_handle_tx() local
1035 struct uart_port *port = &priv->port; pch_uart_err_ir() local
1143 pch_uart_tx_empty(struct uart_port *port) pch_uart_tx_empty() argument
1155 pch_uart_get_mctrl(struct uart_port *port) pch_uart_get_mctrl() argument
1179 pch_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) pch_uart_set_mctrl() argument
1198 pch_uart_stop_tx(struct uart_port *port) pch_uart_stop_tx() argument
1206 pch_uart_start_tx(struct uart_port *port) pch_uart_start_tx() argument
1224 pch_uart_stop_rx(struct uart_port *port) pch_uart_stop_rx() argument
1234 pch_uart_enable_ms(struct uart_port *port) pch_uart_enable_ms() argument
1242 pch_uart_break_ctl(struct uart_port *port, int ctl) pch_uart_break_ctl() argument
1254 pch_uart_startup(struct uart_port *port) pch_uart_startup() argument
1330 pch_uart_shutdown(struct uart_port *port) pch_uart_shutdown() argument
1352 pch_uart_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) pch_uart_set_termios() argument
1417 pch_uart_type(struct uart_port *port) pch_uart_type() argument
1422 pch_uart_release_port(struct uart_port *port) pch_uart_release_port() argument
1431 pch_uart_request_port(struct uart_port *port) pch_uart_request_port() argument
1452 pch_uart_config_port(struct uart_port *port, int type) pch_uart_config_port() argument
1463 pch_uart_verify_port(struct uart_port *port, struct serial_struct *serinfo) pch_uart_verify_port() argument
1531 pch_uart_get_poll_char(struct uart_port *port) pch_uart_get_poll_char() argument
1544 pch_uart_put_poll_char(struct uart_port *port, unsigned char c) pch_uart_put_poll_char() argument
1598 pch_console_putchar(struct uart_port *port, int ch) pch_console_putchar() argument
1665 struct uart_port *port; pch_console_setup() local
[all...]
/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_forward.c108 struct hsr_port *port) in hsr_get_untagged_frame()
115 netdev_warn_once(port->dev, in hsr_get_untagged_frame()
126 struct hsr_port *port) in prp_get_untagged_frame()
140 __FILE__, __LINE__, port->dev->name); in prp_get_untagged_frame()
149 struct hsr_port *port) in prp_set_lan_id()
153 if (port->type == HSR_PT_SLAVE_A) in prp_set_lan_id()
159 lane_id |= port->hsr->net_id; in prp_set_lan_id()
166 struct hsr_port *port) in prp_fill_rct()
185 prp_set_lan_id(trailer, port); in prp_fill_rct()
195 struct hsr_port *port) in hsr_set_path_id()
107 hsr_get_untagged_frame(struct hsr_frame_info *frame, struct hsr_port *port) hsr_get_untagged_frame() argument
125 prp_get_untagged_frame(struct hsr_frame_info *frame, struct hsr_port *port) prp_get_untagged_frame() argument
148 prp_set_lan_id(struct prp_rct *trailer, struct hsr_port *port) prp_set_lan_id() argument
164 prp_fill_rct(struct sk_buff *skb, struct hsr_frame_info *frame, struct hsr_port *port) prp_fill_rct() argument
194 hsr_set_path_id(struct hsr_ethhdr *hsr_ethhdr, struct hsr_port *port) hsr_set_path_id() argument
207 hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, struct hsr_port *port, u8 proto_version) hsr_fill_tag() argument
238 hsr_create_tagged_frame(struct hsr_frame_info *frame, struct hsr_port *port) hsr_create_tagged_frame() argument
279 prp_create_tagged_frame(struct hsr_frame_info *frame, struct hsr_port *port) prp_create_tagged_frame() argument
323 hsr_xmit(struct sk_buff *skb, struct hsr_port *port, struct hsr_frame_info *frame) hsr_xmit() argument
337 prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port) prp_drop_frame() argument
359 struct hsr_port *port; hsr_forward_do() local
436 struct hsr_port *port = frame->port_rcv; handle_std_frame() local
456 struct hsr_port *port = frame->port_rcv; hsr_fill_frame_info() local
499 fill_frame_info(struct hsr_frame_info *frame, struct sk_buff *skb, struct hsr_port *port) fill_frame_info() argument
547 hsr_forward_skb(struct sk_buff *skb, struct hsr_port *port) hsr_forward_skb() argument
[all...]
H A Dhsr_slave.c27 struct hsr_port *port; in hsr_handle_frame() local
40 port = hsr_port_get_rcu(skb->dev); in hsr_handle_frame()
41 if (!port) in hsr_handle_frame()
43 hsr = port->hsr; in hsr_handle_frame()
45 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) { in hsr_handle_frame()
67 hsr_forward_skb(skb, port); in hsr_handle_frame()
124 struct hsr_port *port, in hsr_portdev_setup()
143 res = netdev_rx_handler_register(dev, hsr_handle_frame, port); in hsr_portdev_setup()
160 struct hsr_port *port, *master; in hsr_add_port() local
169 port in hsr_add_port()
123 hsr_portdev_setup(struct hsr_priv *hsr, struct net_device *dev, struct hsr_port *port, struct netlink_ext_ack *extack) hsr_portdev_setup() argument
201 hsr_del_port(struct hsr_port *port) hsr_del_port() argument
[all...]
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dpmic_glink_altmode.c143 struct pmic_glink_altmode_port *port, in pmic_glink_altmode_enable_dp()
157 port->state.alt = &port->dp_alt; in pmic_glink_altmode_enable_dp()
158 port->state.data = &dp_data; in pmic_glink_altmode_enable_dp()
159 port->state.mode = TYPEC_MODAL_STATE(mode); in pmic_glink_altmode_enable_dp()
161 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_dp()
165 port->retimer_state.alt = &port->dp_alt; in pmic_glink_altmode_enable_dp()
166 port in pmic_glink_altmode_enable_dp()
142 pmic_glink_altmode_enable_dp(struct pmic_glink_altmode *altmode, struct pmic_glink_altmode_port *port, u8 mode, bool hpd_state, bool hpd_irq) pmic_glink_altmode_enable_dp() argument
174 pmic_glink_altmode_enable_usb(struct pmic_glink_altmode *altmode, struct pmic_glink_altmode_port *port) pmic_glink_altmode_enable_usb() argument
196 pmic_glink_altmode_safe(struct pmic_glink_altmode *altmode, struct pmic_glink_altmode_port *port) pmic_glink_altmode_safe() argument
268 u8 port; pmic_glink_altmode_sc8180xp_notify() local
315 u8 port; pmic_glink_altmode_sc8280xp_notify() local
424 u32 port; pmic_glink_altmode_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dsymbolserial.c34 struct usb_serial_port *port = urb->context; in symbol_int_callback() local
35 struct symbol_private *priv = usb_get_serial_port_data(port); in symbol_int_callback()
50 dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n", in symbol_int_callback()
54 dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n", in symbol_int_callback()
59 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in symbol_int_callback()
70 tty_insert_flip_string(&port->port, &data[1], data_length); in symbol_int_callback()
71 tty_flip_buffer_push(&port->port); in symbol_int_callback()
73 dev_dbg(&port in symbol_int_callback()
91 symbol_open(struct tty_struct *tty, struct usb_serial_port *port) symbol_open() argument
111 symbol_close(struct usb_serial_port *port) symbol_close() argument
118 struct usb_serial_port *port = tty->driver_data; symbol_throttle() local
128 struct usb_serial_port *port = tty->driver_data; symbol_unthrottle() local
148 symbol_port_probe(struct usb_serial_port *port) symbol_port_probe() argument
163 symbol_port_remove(struct usb_serial_port *port) symbol_port_remove() argument
[all...]
H A Dwhiteheat.c81 static int whiteheat_port_probe(struct usb_serial_port *port);
82 static int whiteheat_port_remove(struct usb_serial_port *port);
84 struct usb_serial_port *port);
85 static void whiteheat_close(struct usb_serial_port *port);
89 struct usb_serial_port *port, struct ktermios *old);
157 static int firm_send_command(struct usb_serial_port *port, __u8 command,
159 static int firm_open(struct usb_serial_port *port);
160 static int firm_close(struct usb_serial_port *port);
162 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff);
163 static int firm_set_dtr(struct usb_serial_port *port, __u
335 whiteheat_port_probe(struct usb_serial_port *port) whiteheat_port_probe() argument
348 whiteheat_port_remove(struct usb_serial_port *port) whiteheat_port_remove() argument
358 whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) whiteheat_open() argument
398 whiteheat_close(struct usb_serial_port *port) whiteheat_close() argument
410 struct usb_serial_port *port = tty->driver_data; whiteheat_tiocmget() local
426 struct usb_serial_port *port = tty->driver_data; whiteheat_tiocmset() local
448 struct usb_serial_port *port = tty->driver_data; whiteheat_get_serial() local
463 whiteheat_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) whiteheat_set_termios() argument
471 struct usb_serial_port *port = tty->driver_data; whiteheat_break_ctl() local
547 firm_send_command(struct usb_serial_port *port, __u8 command, __u8 *data, __u8 datasize) firm_send_command() argument
612 firm_open(struct usb_serial_port *port) firm_open() argument
622 firm_close(struct usb_serial_port *port) firm_close() argument
634 struct usb_serial_port *port = tty->driver_data; firm_setup_port() local
715 firm_set_rts(struct usb_serial_port *port, __u8 onoff) firm_set_rts() argument
726 firm_set_dtr(struct usb_serial_port *port, __u8 onoff) firm_set_dtr() argument
737 firm_set_break(struct usb_serial_port *port, __u8 onoff) firm_set_break() argument
748 firm_purge(struct usb_serial_port *port, __u8 rxtx) firm_purge() argument
759 firm_get_dtr_rts(struct usb_serial_port *port) firm_get_dtr_rts() argument
769 firm_report_tx_done(struct usb_serial_port *port) firm_report_tx_done() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dsymbolserial.c34 struct usb_serial_port *port = urb->context; in symbol_int_callback() local
35 struct symbol_private *priv = usb_get_serial_port_data(port); in symbol_int_callback()
50 dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n", in symbol_int_callback()
54 dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n", in symbol_int_callback()
59 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in symbol_int_callback()
70 tty_insert_flip_string(&port->port, &data[1], data_length); in symbol_int_callback()
71 tty_flip_buffer_push(&port->port); in symbol_int_callback()
73 dev_dbg(&port in symbol_int_callback()
91 symbol_open(struct tty_struct *tty, struct usb_serial_port *port) symbol_open() argument
111 symbol_close(struct usb_serial_port *port) symbol_close() argument
118 struct usb_serial_port *port = tty->driver_data; symbol_throttle() local
128 struct usb_serial_port *port = tty->driver_data; symbol_unthrottle() local
148 symbol_port_probe(struct usb_serial_port *port) symbol_port_probe() argument
163 symbol_port_remove(struct usb_serial_port *port) symbol_port_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/cxl/
H A Dport.c11 * DOC: cxl port
13 * The port driver enumerates dport via PCI and scans for HDM
16 * port. All descendant ports of a CXL root port (described by platform
60 static int cxl_switch_port_probe(struct cxl_port *port) in cxl_switch_port_probe() argument
65 rc = devm_cxl_port_enumerate_dports(port); in cxl_switch_port_probe()
69 cxlhdm = devm_cxl_setup_hdm(port, NULL); in cxl_switch_port_probe()
74 dev_err(&port->dev, "Failed to map HDM decoder capability\n"); in cxl_switch_port_probe()
79 dev_dbg(&port->dev, "Fallback to passthrough decoder\n"); in cxl_switch_port_probe()
80 return devm_cxl_add_passthrough_decoder(port); in cxl_switch_port_probe()
87 cxl_endpoint_port_probe(struct cxl_port *port) cxl_endpoint_port_probe() argument
141 struct cxl_port *port = to_cxl_port(dev); cxl_port_probe() local
153 struct cxl_port *port = to_cxl_port(dev); CDAT_read() local
172 struct cxl_port *port = to_cxl_port(dev); cxl_port_bin_attr_is_visible() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
H A D8250_of.c37 struct uart_port *port = &up->port; in of_platform_serial_setup() local
41 memset(port, 0, sizeof *port); in of_platform_serial_setup()
66 port->custom_divisor = clk / (16 * spd); in of_platform_serial_setup()
74 port->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_FIXED_PORT | in of_platform_serial_setup()
76 spin_lock_init(&port->lock); in of_platform_serial_setup()
79 port->iotype = UPIO_PORT; in of_platform_serial_setup()
80 port->iobase = resource.start; in of_platform_serial_setup()
82 port in of_platform_serial_setup()
277 struct uart_port *port = &port8250->port; of_serial_suspend() local
292 struct uart_port *port = &port8250->port; of_serial_resume() local
[all...]

Completed in 25 milliseconds

1...<<11121314151617181920>>...320