Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 5041) sorted by relevance

12345678910>>...202

/linux-6.15/drivers/usb/typec/tcpm/
H A Dtcpm.c913 port->tcpc->apply_rc(port->tcpc, port->cc_req, port->polarity); in tcpm_apply_rc()
1112 cc = port->polarity ? port->cc2 : port->cc1; in tcpm_get_current_limit()
1399 port->prev_state = port->state; in tcpm_set_state()
3737 event->port = port; in tcpm_pd_receive()
4112 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_request()
4208 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_pps_request()
4273 ret = port->tcpc->set_vbus(port->tcpc, port->vbus_source, in tcpm_set_charge()
4892 port->ams = port->next_ams; in run_state_machine()
5235 port->ams = port->next_ams; in run_state_machine()
6881 port->tcpc->init(port->tcpc); in tcpm_init()
[all …]
/linux-6.15/drivers/mmc/core/
H A Dsdio_uart.c120 tty_port_get(&port->port); in sdio_uart_port_get()
128 tty_port_put(&port->port); in sdio_uart_port_put()
146 mutex_lock(&port->port.mutex); in sdio_uart_port_remove()
154 mutex_unlock(&port->port.mutex); in sdio_uart_port_remove()
322 sdio_out(port, UART_IER, port->ier); in sdio_uart_change_speed()
336 sdio_out(port, UART_IER, port->ier); in sdio_uart_start_tx()
352 sdio_out(port, UART_IER, port->ier); in sdio_uart_stop_rx()
404 tty_flip_buffer_push(&port->port); in sdio_uart_receive_chars()
422 tty = tty_port_tty_get(&port->port); in sdio_uart_transmit_chars()
756 tty_port_hangup(&port->port); in sdio_uart_hangup()
[all …]
/linux-6.15/drivers/net/bonding/
H A Dbond_3ad.c115 struct port *port);
696 struct port *port; in __agg_ports_are_ready() local
724 struct port *port; in __set_agg_ports_ready() local
737 struct port *port; in __agg_active_ports() local
1791 struct port *port; in ad_agg_selection_logic() local
2181 struct port *port; in bond_3ad_bind_slave() local
2459 struct port *port; in bond_3ad_state_machine_handler() local
2547 struct port *port; in bond_3ad_rx_indication() local
2659 struct port *port; in bond_3ad_adapter_speed_duplex_changed() local
2687 struct port *port; in bond_3ad_handle_link_change() local
[all …]
/linux-6.15/drivers/tty/
H A Dtty_port.c92 memset(port, 0, sizeof(*port)); in tty_port_init()
295 if (port->ops && port->ops->destruct) in tty_port_destructor()
296 port->ops->destruct(port); in tty_port_destructor()
310 if (port) in tty_port_put()
379 port->ops->shutdown(port); in tty_port_shutdown()
435 port->client_ops->write_wakeup(port); in tty_port_tty_wakeup()
451 return port->ops->carrier_raised(port); in tty_port_carrier_raised()
466 port->ops->dtr_rts(port, true); in tty_port_raise_dtr_rts()
481 port->ops->dtr_rts(port, false); in tty_port_lower_dtr_rts()
741 tty->port = port; in tty_port_install()
[all …]
H A Dvcc.c167 if (!port) { in vcc_get()
197 return port; in vcc_get()
212 if (!port) in vcc_put()
246 if (port && port->removed) { in vcc_get_ne()
371 if (!port->tty || port->removed) in vcc_rx_timer()
394 if (!port->tty || port->removed) in vcc_tx_timer()
485 if (!port) in domain_show()
519 if (!port) in break_store()
578 if (!port) in vcc_probe()
595 rv = vio_ldc_alloc(&port->vio, &vcc_ldc_cfg, port); in vcc_probe()
[all …]
/linux-6.15/drivers/tty/serial/
H A Dmpc52xx_uart.c1122 port->irqflags, "mpc52xx_psc_uart", port); in mpc52xx_uart_startup()
1156 psc_ops->set_imr(port, port->read_status_mask); in mpc52xx_uart_shutdown()
1165 free_irq(port->irq, port); in mpc52xx_uart_shutdown()
1287 port->membase = ioremap(port->mapbase, in mpc52xx_uart_request_port()
1369 struct tty_port *tport = &port->state->port; in mpc52xx_uart_int_rx_chars()
1620 (void *)port->mapbase, port->membase, in mpc52xx_console_setup()
1621 port->irq, port->uartclk); in mpc52xx_console_setup()
1756 (void *)port->mapbase, port->irq, port->uartclk); in mpc52xx_uart_of_probe()
1771 if (port) in mpc52xx_uart_of_remove()
1781 if (port) in mpc52xx_uart_of_suspend()
[all …]
H A Dbcm63xx_uart.c229 struct tty_port *tty_port = &port->state->port; in bcm_uart_do_rx()
261 port->icount.rx++; in bcm_uart_do_rx()
336 port = dev_id; in bcm_uart_interrupt()
337 uart_port_lock(port); in bcm_uart_interrupt()
441 dev_name(port->dev), port); in bcm_uart_startup()
462 free_irq(port->irq, port); in bcm_uart_shutdown()
519 baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16); in bcm_uart_set_termios()
742 if (!port->membase) in bcm_console_setup()
826 if (port->membase) in bcm_uart_probe()
828 memset(port, 0, sizeof(*port)); in bcm_uart_probe()
[all …]
H A Dtimbuart.c56 container_of(port, struct timbuart_port, port); in timbuart_start_tx()
82 struct tty_port *tport = &port->state->port; in timbuart_rx_chars()
104 dev_dbg(port->dev, in timbuart_tx_chars()
107 port->icount.tx, in timbuart_tx_chars()
116 container_of(port, struct timbuart_port, port); in timbuart_handle_tx_port()
117 struct tty_port *tport = &port->state->port; in timbuart_handle_tx_port()
122 if (port->x_char) in timbuart_handle_tx_port()
223 wake_up_interruptible(&port->state->port.delta_msr_wait); in timbuart_mctrl_check()
237 container_of(port, struct timbuart_port, port); in timbuart_startup()
254 container_of(port, struct timbuart_port, port); in timbuart_shutdown()
[all …]
H A Daltera_uart.c85 return readl(port->membase + (reg << port->regshift)); in altera_uart_readl()
90 writel(dat, port->membase + (reg << port->regshift)); in altera_uart_writel()
244 tty_flip_buffer_push(&port->state->port); in altera_uart_rx_chars()
279 struct uart_port *port = &pp->port; in altera_uart_timer() local
307 dev_name(port->dev), port); in altera_uart_startup()
310 port->line, port->irq); in altera_uart_startup()
340 free_irq(port->irq, port); in altera_uart_shutdown()
445 port = &altera_uart_ports[co->index].port; in altera_uart_console_setup()
488 struct uart_port *port = &dev->port; in altera_uart_earlycon_setup() local
546 port = &altera_uart_ports[i].port; in altera_uart_probe()
[all …]
H A Dapbuart.c81 port->icount.rx++; in apbuart_rx_chars()
118 tty_flip_buffer_push(&port->state->port); in apbuart_rx_chars()
125 uart_port_tx_limited(port, ch, port->fifosize, in apbuart_tx_chars()
136 uart_port_lock(port); in apbuart_int()
177 retval = request_irq(port->irq, apbuart_int, 0, "apbuart", port); in apbuart_startup()
183 UART_PUT_CTRL(port, in apbuart_startup()
196 UART_PUT_CTRL(port, in apbuart_shutdown()
201 free_irq(port->irq, port); in apbuart_shutdown()
212 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); in apbuart_set_termios()
540 (unsigned long long) port->mapbase, port->irq); in apbuart_probe()
[all …]
H A Dmcf.c70 struct mcf_uart *pp = container_of(port, struct mcf_uart, port); in mcf_get_mctrl()
86 struct mcf_uart *pp = container_of(port, struct mcf_uart, port); in mcf_set_mctrl()
283 struct uart_port *port = &pp->port; in mcf_rx_chars() local
322 tty_flip_buffer_push(&port->state->port); in mcf_rx_chars()
329 struct uart_port *port = &pp->port; in mcf_tx_chars() local
379 "interrupt vector=%d\n", port->line, port->irq); in mcf_config_port()
475 struct uart_port *port = &(mcf_ports + co->index)->port; in mcf_console_putc() local
512 port = &mcf_ports[co->index].port; in mcf_console_setup()
578 port = &mcf_ports[i].port; in mcf_probe()
609 port = &mcf_ports[i].port; in mcf_remove()
[all …]
H A Daltera_jtaguart.c117 port->icount.rx++; in altera_jtaguart_rx_chars()
124 tty_flip_buffer_push(&port->state->port); in altera_jtaguart_rx_chars()
148 uart_port_lock(port); in altera_jtaguart_interrupt()
155 uart_port_unlock(port); in altera_jtaguart_interrupt()
174 dev_name(port->dev), port); in altera_jtaguart_startup()
177 port->line, port->irq); in altera_jtaguart_startup()
206 free_irq(port->irq, port); in altera_jtaguart_shutdown()
404 port->irq = irq; in altera_jtaguart_probe()
410 port->membase = ioremap(port->mapbase, ALTERA_JTAGUART_SIZE); in altera_jtaguart_probe()
411 if (!port->membase) in altera_jtaguart_probe()
[all …]
H A Desp32_acm.c105 struct tty_port *tty_port = &port->state->port; in esp32s3_acm_rxint()
118 ++port->icount.rx; in esp32s3_acm_rxint()
150 esp32s3_acm_push(port); in esp32s3_acm_put_char_sync()
216 ret = request_irq(port->irq, esp32s3_acm_int, 0, DRIVER_NAME, port); in esp32s3_acm_startup()
228 free_irq(port->irq, port); in esp32s3_acm_shutdown()
295 if (port->sysrq) in esp32s3_acm_console_write()
374 port = devm_kzalloc(&pdev->dev, sizeof(*port), GFP_KERNEL); in esp32s3_acm_probe()
375 if (!port) in esp32s3_acm_probe()
389 port->line = ret; in esp32s3_acm_probe()
406 port->has_sysrq = 1; in esp32s3_acm_probe()
[all …]
H A Dst-asc.c36 struct uart_port port; member
148 return container_of(port, struct asc_port, port); in to_asc_port()
242 uart_port_tx_limited(port, ch, asc_hw_txroom(port), in asc_transmit_chars()
250 struct tty_port *tport = &port->state->port; in asc_receive_chars()
390 struct tty_port *tport = &port->state->port; in asc_start_tx()
420 asc_port_name(port), port)) { in asc_startup()
435 free_irq(port->irq, port); in asc_shutdown()
532 asc_out(port, ASC_BAUDRATE, (port->uartclk / (16 * baud))); in asc_set_termios()
690 struct uart_port *port = &ascport->port; in asc_init_port() local
846 struct uart_port *port = &asc_ports[co->index].port; in asc_console_write() local
[all …]
H A Datmel_serial.c862 struct tty_port *tport = &port->state->port; in atmel_complete_tx_dma()
924 struct tty_port *tport = &port->state->port; in atmel_tx_dma()
1015 struct tty_port *tport = &port->state->port; in atmel_prepare_tx_dma()
1103 struct tty_port *tport = &port->state->port; in atmel_rx_from_dma()
1384 wake_up_interruptible(&port->state->port.delta_msr_wait); in atmel_handle_status()
1445 struct tty_port *tport = &port->state->port; in atmel_tx_pdc()
1493 struct tty_port *tport = &port->state->port; in atmel_prepare_tx_pdc()
1565 tty_flip_buffer_push(&port->state->port); in atmel_rx_from_ring()
1587 struct tty_port *tport = &port->state->port; in atmel_rx_from_pdc()
2058 free_irq(port->irq, port); in atmel_shutdown()
[all …]
/linux-6.15/drivers/parport/
H A Dieee1284_ops.c198 port->name); in parport_ieee1284_read_nibble()
377 port->name); in ecp_reverse_to_forward()
399 port = port->physport; in parport_ieee1284_ecp_write_data()
487 port = port->physport; in parport_ieee1284_ecp_read_data()
629 port = port->physport; in parport_ieee1284_ecp_write_addr()
724 port->ops->data_forward (port); in parport_ieee1284_epp_write_data()
767 port->ops->data_reverse (port); in parport_ieee1284_epp_read_data()
791 port->ops->data_forward (port); in parport_ieee1284_epp_read_data()
812 port->ops->data_forward (port); in parport_ieee1284_epp_write_addr()
855 port->ops->data_reverse (port); in parport_ieee1284_epp_read_addr()
[all …]
H A Dieee1284.c43 struct parport *port = from_timer(port, t, timer); in timeout_waiting_on_port() local
217 port = port->physport; in parport_ieee1284_terminate()
256 port->name); in parport_ieee1284_terminate()
329 port = port->physport; in parport_negotiate()
400 port->name, parport_read_status (port)); in parport_negotiate()
423 port->name, mode, port->ops->read_status (port)); in parport_negotiate()
472 port->ops->read_status(port)); in parport_negotiate()
543 port->ops->frob_control (port, PARPORT_CONTROL_AUTOFD, 0); in parport_ieee1284_ack_data_avail()
586 return port->ops->compat_write_data (port, buffer, len, 0); in parport_write()
646 port->name, port->ieee1284.mode); in parport_write()
[all …]
/linux-6.15/drivers/usb/host/
H A Dxhci-dbgtty.c32 len = kfifo_len(&port->port.xmit_fifo); in dbc_kfifo_to_req()
80 if (do_tty_wake && port->port.tty) in dbc_start_tx()
81 tty_wakeup(port->port.tty); in dbc_start_tx()
95 if (!port->port.tty) in dbc_start_rx()
138 tty_flip_buffer_push(&port->port); in dbc_rx_push_buffer()
156 tty = port->port.tty; in dbc_read_complete()
303 port->tx_boundary = kfifo_len(&port->port.xmit_fifo); in dbc_tty_write()
399 tty = port->port.tty; in dbc_rx_push()
453 tty_port_init(&port->port); in xhci_dbc_tty_init_port()
460 port->port.ops = &dbc_port_ops; in xhci_dbc_tty_init_port()
[all …]
/linux-6.15/drivers/scsi/libsas/
H A Dsas_port.c29 struct asd_sas_port *port = phy->port; in sas_resume_port() local
75 phy->port = port; in sas_form_port_add_phy()
108 struct asd_sas_port *port = phy->port; in sas_form_port() local
171 if (!port->port) { in sas_form_port()
172 port->port = sas_port_alloc(phy->phy->dev.parent, port->id); in sas_form_port()
173 BUG_ON(!port->port); in sas_form_port()
174 sas_port_add(port->port); in sas_form_port()
228 sas_port_delete(port->port); in sas_deform_port()
229 port->port = NULL; in sas_deform_port()
328 memset(port, 0, sizeof(*port)); in sas_init_port()
[all …]
/linux-6.15/drivers/usb/gadget/function/
H A Du_serial.c299 tty_wakeup(port->port.tty); in gs_start_tx()
321 tty = port->port.tty; in gs_start_rx()
375 tty = port->port.tty; in gs_rx_push()
551 if (!port->port_usb || !port->port.tty) in gs_start_io()
641 if (port->port.count++) in gs_open()
645 port->port.tty = tty; in gs_open()
698 --port->port.count; in gs_close()
734 port->port.count = 0; in gs_close()
735 port->port.tty = NULL; in gs_close()
1375 if (port->port.count) { in gserial_connect()
[all …]
/linux-6.15/drivers/gpio/
H A Dgpio-mxc.c182 val = port->gc.get(&port->gc, gpio_idx); in gpio_set_irq_type()
227 return port->gc.direction_input(&port->gc, gpio_idx); in gpio_set_irq_type()
406 irq_set_chained_handler_and_data(port->irq, port->mx_irq_handler, port); in mxc_update_irq_chained_handler()
415 port); in mxc_update_irq_chained_handler()
430 if (!port) in mxc_gpio_probe()
495 err = devm_gpiochip_add_data(&pdev->dev, &port->gc, port); in mxc_gpio_probe()
540 port->gpio_saved_reg.icr1 = readl(port->base + GPIO_ICR1); in mxc_gpio_save_regs()
542 port->gpio_saved_reg.imr = readl(port->base + GPIO_IMR); in mxc_gpio_save_regs()
545 port->gpio_saved_reg.dr = readl(port->base + GPIO_DR); in mxc_gpio_save_regs()
555 writel(port->gpio_saved_reg.imr, port->base + GPIO_IMR); in mxc_gpio_restore_regs()
[all …]
/linux-6.15/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dextron-da-hd-4k-plus.c994 port->direction, port->port.port, la); in extron_cec_adap_log_addr()
996 port->direction, port->port.port, la); in extron_cec_adap_log_addr()
1015 port->direction, port->port.port, in extron_cec_adap_transmit()
1028 port->port.port, in extron_cec_adap_unconfigured()
1042 port->port.port, in extron_cec_configured()
1103 port->port.port, in extron_adap_status_port()
1115 port->port.port, in extron_adap_status_port()
1129 port->port.port, in extron_adap_status_port()
1136 port->port.port, in extron_adap_status_port()
1169 port->port.port, port->name); in extron_adap_status()
[all …]
/linux-6.15/drivers/tty/serial/8250/
H A D8250_core.c84 port = &up->port; in serial8250_interrupt()
86 if (port->handle_irq(port)) { in serial8250_interrupt()
211 up->port.handle_irq(&up->port); in serial8250_timeout()
264 struct uart_port *port = &up->port; in univ8250_setup_timer() local
289 struct uart_port *port = &up->port; in univ8250_setup_irq() local
299 struct uart_port *port = &up->port; in univ8250_release_irq() local
583 struct uart_port *port = &up->port; in serial8250_suspend_port() local
607 struct uart_port *port = &up->port; in serial8250_resume_port() local
755 uart->port.dev = up->port.dev; in serial8250_register_8250_port()
762 uart->port.type = up->port.type; in serial8250_register_8250_port()
[all …]
/linux-6.15/drivers/char/
H A Dvirtio_console.c236 struct port *port; in find_port_by_vtermno() local
256 struct port *port; in find_port_by_devt_in_portdev() local
276 struct port *port; in find_port_by_devt() local
293 struct port *port; in find_port_by_id() local
310 struct port *port; in find_port_by_vq() local
732 struct port *port; in port_fops_read() local
799 struct port *port; in port_fops_write() local
963 struct port *port; in port_fops_poll() local
988 struct port *port; in port_fops_release() local
1023 struct port *port; in port_fops_open() local
[all …]
/linux-6.15/drivers/usb/serial/
H A Dgeneric.c175 count = port->serial->type->prepare_write_buffer(port, in usb_serial_generic_write_start()
259 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
289 while (!port->serial->type->tx_empty(port)) { in usb_serial_generic_wait_until_sent()
360 tty_insert_flip_char(&port->port, *ch, TTY_NORMAL); in usb_serial_generic_process_read_urb()
365 tty_flip_buffer_push(&port->port); in usb_serial_generic_process_read_urb()
509 if (!tty_port_initialized(&port->port)) in usb_serial_generic_msr_changed()
539 if (!ret && !tty_port_initialized(&port->port)) in usb_serial_generic_tiocmiwait()
590 if (!port->port.console) in usb_serial_handle_break()
625 wake_up_interruptible(&port->port.open_wait); in usb_serial_handle_dcd_change()
637 port = serial->port[i]; in usb_serial_generic_resume()
[all …]

12345678910>>...202