/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 74 static int cros_typec_get_switch_handles(struct cros_typec_port *port, in cros_typec_get_switch_handles() argument 80 port->mux = fwnode_typec_mux_get(fwnode); in cros_typec_get_switch_handles() 81 if (IS_ERR(port->mux)) { in cros_typec_get_switch_handles() 82 ret = PTR_ERR(port->mux); in cros_typec_get_switch_handles() 87 port->retimer = fwnode_typec_retimer_get(fwnode); in cros_typec_get_switch_handles() 88 if (IS_ERR(port->retimer)) { in cros_typec_get_switch_handles() 89 ret = PTR_ERR(port->retimer); in cros_typec_get_switch_handles() 94 port->ori_sw = fwnode_typec_switch_get(fwnode); in cros_typec_get_switch_handles() 95 if (IS_ERR(port->ori_sw)) { in cros_typec_get_switch_handles() 96 ret = PTR_ERR(port in cros_typec_get_switch_handles() 126 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_add_partner() local 150 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_unregister_altmodes() local 177 cros_typec_usb_disconnect_state(struct cros_typec_port *port) cros_typec_usb_disconnect_state() argument 193 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_remove_partner() local 220 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_remove_cable() local 235 cros_typec_unregister_port_altmodes(struct cros_typec_port *port) cros_typec_unregister_port_altmodes() argument 269 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_register_port_altmodes() local 397 cros_typec_usb_safe_state(struct cros_typec_port *port) cros_typec_usb_safe_state() argument 416 cros_typec_get_cable_vdo(struct cros_typec_port *port, u16 svid) cros_typec_get_cable_vdo() argument 438 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_enable_tbt() local 493 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_enable_dp() local 538 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_enable_usb4() local 567 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_configure_mux() local 651 struct typec_port *port = typec->ports[port_num]->port; cros_typec_set_port_params_v0() local 668 struct typec_port *port = typec->ports[port_num]->port; cros_typec_set_port_params_v1() local 710 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_register_altmodes() local 796 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_handle_sop_prime_disc() local 872 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_handle_sop_disc() local 935 struct cros_typec_port *port = typec->ports[port_num]; cros_typec_register_partner_pdos() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | men_z135_uart.c | 120 struct uart_port port; member 128 #define to_men_z135(port) container_of((port), struct men_z135_port, port) 132 * @uart: The UART port 139 struct uart_port *port = &uart->port; in men_z135_reg_set() local 145 reg = ioread32(port->membase + addr); in men_z135_reg_set() 147 iowrite32(reg, port->membase + addr); in men_z135_reg_set() 154 * @uart: The UART port 161 struct uart_port *port = &uart->port; men_z135_reg_clr() local 197 struct uart_port *port = &uart->port; men_z135_handle_lsr() local 222 struct uart_port *port = &uart->port; get_rx_fifo_content() local 245 struct uart_port *port = &uart->port; men_z135_handle_rx() local 295 struct uart_port *port = &uart->port; men_z135_handle_tx() local 388 struct uart_port *port = &uart->port; men_z135_intr() local 439 struct uart_port *port = &uart->port; men_z135_request_irq() local 457 men_z135_tx_empty(struct uart_port *port) men_z135_tx_empty() argument 479 men_z135_set_mctrl(struct uart_port *port, unsigned int mctrl) men_z135_set_mctrl() argument 520 men_z135_get_mctrl(struct uart_port *port) men_z135_get_mctrl() argument 547 men_z135_stop_tx(struct uart_port *port) men_z135_stop_tx() argument 560 men_z135_disable_ms(struct uart_port *port) men_z135_disable_ms() argument 574 men_z135_start_tx(struct uart_port *port) men_z135_start_tx() argument 590 men_z135_stop_rx(struct uart_port *port) men_z135_stop_rx() argument 603 men_z135_enable_ms(struct uart_port *port) men_z135_enable_ms() argument 610 men_z135_startup(struct uart_port *port) men_z135_startup() argument 636 men_z135_shutdown(struct uart_port *port) men_z135_shutdown() argument 648 men_z135_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) men_z135_set_termios() argument 725 men_z135_type(struct uart_port *port) men_z135_type() argument 730 men_z135_release_port(struct uart_port *port) men_z135_release_port() argument 740 men_z135_request_port(struct uart_port *port) men_z135_request_port() argument 762 men_z135_config_port(struct uart_port *port, int type) men_z135_config_port() argument 768 men_z135_verify_port(struct uart_port *port, struct serial_struct *serinfo) men_z135_verify_port() argument [all...] |
H A D | stm32-usart.c | 37 static void stm32_usart_stop_tx(struct uart_port *port); 38 static void stm32_usart_transmit_chars(struct uart_port *port); 40 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port() argument 42 return container_of(port, struct stm32_port, port); in to_stm32_port() 45 static void stm32_usart_set_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_usart_set_bits() argument 49 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits() 51 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits() 54 static void stm32_usart_clr_bits(struct uart_port *port, u32 reg, u32 bits) in stm32_usart_clr_bits() argument 58 val = readl_relaxed(port in stm32_usart_clr_bits() 100 stm32_usart_config_rs485(struct uart_port *port, struct serial_rs485 *rs485conf) stm32_usart_config_rs485() argument 154 stm32_usart_init_rs485(struct uart_port *port, struct platform_device *pdev) stm32_usart_init_rs485() argument 169 stm32_usart_pending_rx(struct uart_port *port, u32 *sr, int *last_res, bool threaded) stm32_usart_pending_rx() argument 193 stm32_usart_get_char(struct uart_port *port, u32 *sr, int *last_res) stm32_usart_get_char() argument 213 stm32_usart_receive_chars(struct uart_port *port, bool threaded) stm32_usart_receive_chars() argument 286 struct uart_port *port = arg; stm32_usart_tx_dma_complete() local 301 stm32_usart_tx_interrupt_enable(struct uart_port *port) stm32_usart_tx_interrupt_enable() argument 316 stm32_usart_tx_interrupt_disable(struct uart_port *port) stm32_usart_tx_interrupt_disable() argument 327 stm32_usart_transmit_chars_pio(struct uart_port *port) stm32_usart_transmit_chars_pio() argument 354 stm32_usart_transmit_chars_dma(struct uart_port *port) stm32_usart_transmit_chars_dma() argument 420 stm32_usart_transmit_chars(struct uart_port *port) stm32_usart_transmit_chars() argument 473 struct uart_port *port = ptr; stm32_usart_interrupt() local 511 struct uart_port *port = ptr; stm32_usart_threaded_interrupt() local 520 stm32_usart_tx_empty(struct uart_port *port) stm32_usart_tx_empty() argument 531 stm32_usart_set_mctrl(struct uart_port *port, unsigned int mctrl) stm32_usart_set_mctrl() argument 544 stm32_usart_get_mctrl(struct uart_port *port) stm32_usart_get_mctrl() argument 555 stm32_usart_enable_ms(struct uart_port *port) stm32_usart_enable_ms() argument 560 stm32_usart_disable_ms(struct uart_port *port) stm32_usart_disable_ms() argument 566 stm32_usart_stop_tx(struct uart_port *port) stm32_usart_stop_tx() argument 585 stm32_usart_start_tx(struct uart_port *port) stm32_usart_start_tx() argument 608 stm32_usart_throttle(struct uart_port *port) stm32_usart_throttle() argument 623 stm32_usart_unthrottle(struct uart_port *port) stm32_usart_unthrottle() argument 638 stm32_usart_stop_rx(struct uart_port *port) stm32_usart_stop_rx() argument 649 stm32_usart_break_ctl(struct uart_port *port, int break_state) stm32_usart_break_ctl() argument 653 stm32_usart_startup(struct uart_port *port) stm32_usart_startup() argument 680 stm32_usart_shutdown(struct uart_port *port) stm32_usart_shutdown() argument 744 stm32_usart_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) stm32_usart_set_termios() argument 949 stm32_usart_type(struct uart_port *port) stm32_usart_type() argument 954 stm32_usart_release_port(struct uart_port *port) stm32_usart_release_port() argument 958 stm32_usart_request_port(struct uart_port *port) stm32_usart_request_port() argument 963 stm32_usart_config_port(struct uart_port *port, int flags) stm32_usart_config_port() argument 970 stm32_usart_verify_port(struct uart_port *port, struct serial_struct *ser) stm32_usart_verify_port() argument 976 stm32_usart_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) stm32_usart_pm() argument 1023 struct uart_port *port = &stm32port->port; stm32_usart_init_port() local 1141 struct uart_port *port = &stm32port->port; stm32_usart_of_dma_rx_probe() local 1223 struct uart_port *port = &stm32port->port; stm32_usart_of_dma_tx_probe() local 1362 struct uart_port *port = platform_get_drvdata(pdev); stm32_usart_serial_remove() local 1411 stm32_usart_console_putchar(struct uart_port *port, int ch) stm32_usart_console_putchar() argument 1425 struct uart_port *port = &stm32_ports[co->index].port; stm32_usart_console_write() local 1510 stm32_usart_serial_en_wakeup(struct uart_port *port, bool enable) stm32_usart_serial_en_wakeup() argument 1534 struct uart_port *port = dev_get_drvdata(dev); stm32_usart_serial_suspend() local 1561 struct uart_port *port = dev_get_drvdata(dev); stm32_usart_serial_resume() local 1573 struct uart_port *port = dev_get_drvdata(dev); stm32_usart_runtime_suspend() local 1584 struct uart_port *port = dev_get_drvdata(dev); stm32_usart_runtime_resume() local [all...] |
H A D | max310x.c | 261 struct uart_port port; member 271 container_of(_port, struct max310x_one, port) 294 static u8 max310x_port_read(struct uart_port *port, u8 reg) in max310x_port_read() argument 296 struct max310x_port *s = dev_get_drvdata(port->dev); in max310x_port_read() 299 regmap_read(s->regmap, port->iobase + reg, &val); in max310x_port_read() 304 static void max310x_port_write(struct uart_port *port, u8 reg, u8 val) in max310x_port_write() argument 306 struct max310x_port *s = dev_get_drvdata(port->dev); in max310x_port_write() 308 regmap_write(s->regmap, port->iobase + reg, val); in max310x_port_write() 311 static void max310x_port_update(struct uart_port *port, u8 reg, u8 mask, u8 val) in max310x_port_update() argument 313 struct max310x_port *s = dev_get_drvdata(port in max310x_port_update() 380 max310x_power(struct uart_port *port, int on) max310x_power() argument 411 max14830_power(struct uart_port *port, int on) max14830_power() argument 506 max310x_set_baud(struct uart_port *port, int baud) max310x_set_baud() argument 635 max310x_batch_write(struct uart_port *port, u8 *txbuf, unsigned int len) max310x_batch_write() argument 650 max310x_batch_read(struct uart_port *port, u8 *rxbuf, unsigned int len) max310x_batch_read() argument 665 max310x_handle_rx(struct uart_port *port, unsigned int rxlen) max310x_handle_rx() argument 759 max310x_handle_tx(struct uart_port *port) max310x_handle_tx() argument 801 max310x_start_tx(struct uart_port *port) max310x_start_tx() argument 810 struct uart_port *port = &s->p[portno].port; max310x_port_irq() local 869 max310x_tx_empty(struct uart_port *port) max310x_tx_empty() argument 876 max310x_get_mctrl(struct uart_port *port) max310x_get_mctrl() argument 894 max310x_set_mctrl(struct uart_port *port, unsigned int mctrl) max310x_set_mctrl() argument 901 max310x_break_ctl(struct uart_port *port, int break_state) max310x_break_ctl() argument 908 max310x_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) max310x_set_termios() argument 1040 max310x_rs485_config(struct uart_port *port, struct serial_rs485 *rs485) max310x_rs485_config() argument 1059 max310x_startup(struct uart_port *port) max310x_startup() argument 1107 max310x_shutdown(struct uart_port *port) max310x_shutdown() argument 1117 max310x_type(struct uart_port *port) max310x_type() argument 1124 max310x_request_port(struct uart_port *port) max310x_request_port() argument 1130 max310x_config_port(struct uart_port *port, int flags) max310x_config_port() argument 1136 max310x_verify_port(struct uart_port *port, struct serial_struct *s) max310x_verify_port() argument 1146 max310x_null_void(struct uart_port *port) max310x_null_void() argument 1202 struct uart_port *port = &s->p[offset / 4].port; max310x_gpio_get() local 1212 struct uart_port *port = &s->p[offset / 4].port; max310x_gpio_set() local 1221 struct uart_port *port = &s->p[offset / 4].port; max310x_gpio_direction_input() local 1232 struct uart_port *port = &s->p[offset / 4].port; max310x_gpio_direction_output() local 1246 struct uart_port *port = &s->p[offset / 4].port; max310x_gpio_set_config() local [all...] |
H A D | pic32_uart.c | 63 static unsigned int pic32_uart_tx_empty(struct uart_port *port) in pic32_uart_tx_empty() argument 65 struct pic32_sport *sport = to_pic32_sport(port); in pic32_uart_tx_empty() 72 static void pic32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in pic32_uart_set_mctrl() argument 74 struct pic32_sport *sport = to_pic32_sport(port); in pic32_uart_set_mctrl() 85 /* get the state of CTS input pin for this port */ 96 static unsigned int pic32_uart_get_mctrl(struct uart_port *port) in pic32_uart_get_mctrl() argument 98 struct pic32_sport *sport = to_pic32_sport(port); in pic32_uart_get_mctrl() 134 static void pic32_uart_stop_tx(struct uart_port *port) in pic32_uart_stop_tx() argument 136 struct pic32_sport *sport = to_pic32_sport(port); in pic32_uart_stop_tx() 153 static void pic32_uart_start_tx(struct uart_port *port) in pic32_uart_start_tx() argument 163 pic32_uart_stop_rx(struct uart_port *port) pic32_uart_stop_rx() argument 176 pic32_uart_break_ctl(struct uart_port *port, int ctl) pic32_uart_break_ctl() argument 194 pic32_uart_type(struct uart_port *port) pic32_uart_type() argument 200 pic32_uart_do_rx(struct uart_port *port) pic32_uart_do_rx() argument 277 pic32_uart_do_tx(struct uart_port *port) pic32_uart_do_tx() argument 336 struct uart_port *port = dev_id; pic32_uart_rx_interrupt() local 346 struct uart_port *port = dev_id; pic32_uart_tx_interrupt() local 364 pic32_uart_en_and_unmask(struct uart_port *port) pic32_uart_en_and_unmask() argument 375 pic32_uart_dsbl_and_mask(struct uart_port *port) pic32_uart_dsbl_and_mask() argument 389 pic32_uart_startup(struct uart_port *port) pic32_uart_startup() argument 509 pic32_uart_shutdown(struct uart_port *port) pic32_uart_shutdown() argument 527 pic32_uart_set_termios(struct uart_port *port, struct ktermios *new, struct ktermios *old) pic32_uart_set_termios() argument 608 pic32_uart_request_port(struct uart_port *port) pic32_uart_request_port() argument 633 pic32_uart_release_port(struct uart_port *port) pic32_uart_release_port() argument 648 pic32_uart_config_port(struct uart_port *port, int flags) pic32_uart_config_port() argument 658 pic32_uart_verify_port(struct uart_port *port, struct serial_struct *serinfo) pic32_uart_verify_port() argument 694 pic32_console_putchar(struct uart_port *port, int ch) pic32_console_putchar() argument 715 struct uart_port *port = pic32_get_port(sport); pic32_console_write() local 727 struct uart_port *port = NULL; pic32_console_setup() local 802 struct uart_port *port; pic32_uart_probe() local 892 struct uart_port *port = platform_get_drvdata(pdev); pic32_uart_remove() local [all...] |
H A D | pxa.c | 17 * hope for a better port registration and dynamic device allocation scheme 42 struct uart_port port; member 54 return readl(up->port.membase + offset); in serial_in() 60 writel(value, up->port.membase + offset); in serial_out() 63 static void serial_pxa_enable_ms(struct uart_port *port) in serial_pxa_enable_ms() argument 65 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() 71 static void serial_pxa_stop_tx(struct uart_port *port) in serial_pxa_stop_tx() argument 73 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_tx() 81 static void serial_pxa_stop_rx(struct uart_port *port) in serial_pxa_stop_rx() argument 83 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_rx() 207 serial_pxa_start_tx(struct uart_port *port) serial_pxa_start_tx() argument 261 serial_pxa_tx_empty(struct uart_port *port) serial_pxa_tx_empty() argument 274 serial_pxa_get_mctrl(struct uart_port *port) serial_pxa_get_mctrl() argument 294 serial_pxa_set_mctrl(struct uart_port *port, unsigned int mctrl) serial_pxa_set_mctrl() argument 315 serial_pxa_break_ctl(struct uart_port *port, int break_state) serial_pxa_break_ctl() argument 329 serial_pxa_startup(struct uart_port *port) serial_pxa_startup() argument 395 serial_pxa_shutdown(struct uart_port *port) serial_pxa_shutdown() argument 424 serial_pxa_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) serial_pxa_set_termios() argument 547 serial_pxa_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) serial_pxa_pm() argument 558 serial_pxa_release_port(struct uart_port *port) serial_pxa_release_port() argument 562 serial_pxa_request_port(struct uart_port *port) serial_pxa_request_port() argument 567 serial_pxa_config_port(struct uart_port *port, int flags) serial_pxa_config_port() argument 574 serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) serial_pxa_verify_port() argument 581 serial_pxa_type(struct uart_port *port) serial_pxa_type() argument 622 serial_pxa_console_putchar(struct uart_port *port, int ch) serial_pxa_console_putchar() argument 681 serial_pxa_get_poll_char(struct uart_port *port) serial_pxa_get_poll_char() argument 693 serial_pxa_put_poll_char(struct uart_port *port, unsigned char c) serial_pxa_put_poll_char() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | console.c | 25 struct usb_serial_port *port; member 40 * Things that are different from the way the serial port code 65 struct usb_serial_port *port; in usb_console_setup() local 112 port = usb_serial_port_get_by_minor(co->index); in usb_console_setup() 113 if (port == NULL) { in usb_console_setup() 118 serial = port->serial; in usb_console_setup() 124 tty_port_tty_set(&port->port, NULL); in usb_console_setup() 126 info->port = port; in usb_console_setup() 201 struct usb_serial_port *port = info->port; usb_console_write() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | console.c | 25 struct usb_serial_port *port; member 40 * Things that are different from the way the serial port code 65 struct usb_serial_port *port; in usb_console_setup() local 112 port = usb_serial_port_get_by_minor(co->index); in usb_console_setup() 113 if (port == NULL) { in usb_console_setup() 118 serial = port->serial; in usb_console_setup() 124 tty_port_tty_set(&port->port, NULL); in usb_console_setup() 126 info->port = port; in usb_console_setup() 201 struct usb_serial_port *port = info->port; usb_console_write() local [all...] |
/drivers/peripheral/usb/gadget/function/ecm/ |
H A D | cdcecm.c | 52 static int32_t UsbEcmStartTx(struct UsbEcm *port) in UsbEcmStartTx() argument 54 struct DListHead *pool = &port->writePool; in UsbEcmStartTx() 55 if (port->ecm == NULL) { in UsbEcmStartTx() 59 while (!port->writeBusy && !DListIsEmpty(pool)) { in UsbEcmStartTx() 62 if (port->writeStarted >= QUEUE_SIZE) { in UsbEcmStartTx() 66 OsalMutexLock(&port->lockWriteFifo); in UsbEcmStartTx() 67 len = DataFifoRead(&port->writeFifo, req->buf, port->ecm->dataInPipe.maxPacketSize); in UsbEcmStartTx() 68 OsalMutexUnlock(&port->lockWriteFifo); in UsbEcmStartTx() 74 port in UsbEcmStartTx() 91 UsbEcmStartRx(struct UsbEcm *port) UsbEcmStartRx() argument 122 UsbEcmRxPush(struct UsbEcm *port) UsbEcmRxPush() argument 180 struct UsbEcm *port = (struct UsbEcm *)req->context; UsbEcmReadComplete() local 189 struct UsbEcm *port = (struct UsbEcm *)req->context; UsbEcmWriteComplete() local 208 UsbEcmAllocReadRequests(struct UsbEcm *port, int32_t num) UsbEcmAllocReadRequests() argument 229 UsbEcmAllocWriteRequests(struct UsbEcm *port, int32_t num) UsbEcmAllocWriteRequests() argument 250 UsbEcmStartIo(struct UsbEcm *port) UsbEcmStartIo() argument 297 UsbEcmOpen(struct UsbEcm *port) UsbEcmOpen() argument 338 UsbEcmClose(struct UsbEcm *port) UsbEcmClose() argument 361 UsbEcmRead(struct UsbEcm *port, struct HdfSBuf *reply) UsbEcmRead() argument 407 UsbEcmWrite(struct UsbEcm *port, struct HdfSBuf *data) UsbEcmWrite() argument 549 struct UsbEcm *port = NULL; EcmDeviceDispatch() local 828 struct UsbEcm *port = NULL; UsbEcmAlloc() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-mt7621.c | 67 * struct mt7621_pcie_port - PCIe port information 69 * @list: port list 71 * @clk: pointer to the port clock gate 73 * @pcie_rst: pointer to port reset control 75 * @slot: port slot 76 * @enabled: indicates if port is enabled 94 * @ports: pointer to PCIe port information 115 static inline u32 pcie_port_read(struct mt7621_pcie_port *port, u32 reg) in pcie_port_read() argument 117 return readl_relaxed(port->base + reg); in pcie_port_read() 120 static inline void pcie_port_write(struct mt7621_pcie_port *port, in pcie_port_write() argument 161 mt7621_rst_gpio_pcie_assert(struct mt7621_pcie_port *port) mt7621_rst_gpio_pcie_assert() argument 167 mt7621_rst_gpio_pcie_deassert(struct mt7621_pcie_port *port) mt7621_rst_gpio_pcie_deassert() argument 173 mt7621_pcie_port_is_linkup(struct mt7621_pcie_port *port) mt7621_pcie_port_is_linkup() argument 178 mt7621_control_assert(struct mt7621_pcie_port *port) mt7621_control_assert() argument 188 mt7621_control_deassert(struct mt7621_pcie_port *port) mt7621_control_deassert() argument 202 struct mt7621_pcie_port *port; mt7621_pcie_parse_port() local 290 mt7621_pcie_init_port(struct mt7621_pcie_port *port) mt7621_pcie_init_port() argument 317 struct mt7621_pcie_port *port; mt7621_pcie_reset_assert() local 332 struct mt7621_pcie_port *port; mt7621_pcie_reset_rc_deassert() local 340 struct mt7621_pcie_port *port; mt7621_pcie_reset_ep_deassert() local 351 struct mt7621_pcie_port *port, *tmp; mt7621_pcie_init_ports() local 400 mt7621_pcie_enable_port(struct mt7621_pcie_port *port) mt7621_pcie_enable_port() argument 430 struct mt7621_pcie_port *port; mt7621_pcie_enable_ports() local 479 struct mt7621_pcie_port *port; mt7621_pcie_probe() local 530 struct mt7621_pcie_port *port; mt7621_pcie_remove() local [all...] |
H A D | pci-xgene.c | 72 static u32 xgene_pcie_readl(struct xgene_pcie *port, u32 reg) in xgene_pcie_readl() argument 74 return readl(port->csr_base + reg); in xgene_pcie_readl() 77 static void xgene_pcie_writel(struct xgene_pcie *port, u32 reg, u32 val) in xgene_pcie_writel() argument 79 writel(val, port->csr_base + reg); in xgene_pcie_writel() 104 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_get_cfg_base() local 107 return port->cfg_base + AXI_EP_CFG_ACCESS; in xgene_pcie_get_cfg_base() 109 return port->cfg_base; in xgene_pcie_get_cfg_base() 118 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_set_rtdid_reg() local 129 xgene_pcie_writel(port, RTDID, rtdid_val); in xgene_pcie_set_rtdid_reg() 131 xgene_pcie_readl(port, RTDI in xgene_pcie_set_rtdid_reg() 165 struct xgene_pcie *port = pcie_bus_to_port(bus); xgene_pcie_config_read32() local 228 struct xgene_pcie *port; xgene_pcie_ecam_init() local 282 xgene_pcie_set_ib_mask(struct xgene_pcie *port, u32 addr, u32 flags, u64 size) xgene_pcie_set_ib_mask() argument 308 xgene_pcie_linkup(struct xgene_pcie *port, u32 *lanes, u32 *speed) xgene_pcie_linkup() argument 323 xgene_pcie_init_port(struct xgene_pcie *port) xgene_pcie_init_port() argument 343 xgene_pcie_map_reg(struct xgene_pcie *port, struct platform_device *pdev) xgene_pcie_map_reg() argument 363 xgene_pcie_setup_ob_reg(struct xgene_pcie *port, struct resource *res, u32 offset, u64 cpu_addr, u64 pci_addr) xgene_pcie_setup_ob_reg() argument 395 xgene_pcie_setup_cfg_reg(struct xgene_pcie *port) xgene_pcie_setup_cfg_reg() argument 404 xgene_pcie_map_ranges(struct xgene_pcie *port) xgene_pcie_map_ranges() argument 445 xgene_pcie_setup_pims(struct xgene_pcie *port, u32 pim_reg, u64 pim, u64 size) xgene_pcie_setup_pims() argument 479 xgene_pcie_setup_ib_reg(struct xgene_pcie *port, struct of_pci_range *range, u8 *ib_reg_mask) xgene_pcie_setup_ib_reg() argument 529 xgene_pcie_parse_map_dma_ranges(struct xgene_pcie *port) xgene_pcie_parse_map_dma_ranges() argument 554 xgene_pcie_clear_config(struct xgene_pcie *port) xgene_pcie_clear_config() argument 562 xgene_pcie_setup(struct xgene_pcie *port) xgene_pcie_setup() argument 600 struct xgene_pcie *port; xgene_pcie_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | men_z135_uart.c | 120 struct uart_port port; member 128 #define to_men_z135(port) container_of((port), struct men_z135_port, port) 132 * @uart: The UART port 139 struct uart_port *port = &uart->port; in men_z135_reg_set() local 145 reg = ioread32(port->membase + addr); in men_z135_reg_set() 147 iowrite32(reg, port->membase + addr); in men_z135_reg_set() 154 * @uart: The UART port 161 struct uart_port *port = &uart->port; men_z135_reg_clr() local 197 struct uart_port *port = &uart->port; men_z135_handle_lsr() local 222 struct uart_port *port = &uart->port; get_rx_fifo_content() local 245 struct uart_port *port = &uart->port; men_z135_handle_rx() local 295 struct uart_port *port = &uart->port; men_z135_handle_tx() local 385 struct uart_port *port = &uart->port; men_z135_intr() local 436 struct uart_port *port = &uart->port; men_z135_request_irq() local 454 men_z135_tx_empty(struct uart_port *port) men_z135_tx_empty() argument 476 men_z135_set_mctrl(struct uart_port *port, unsigned int mctrl) men_z135_set_mctrl() argument 517 men_z135_get_mctrl(struct uart_port *port) men_z135_get_mctrl() argument 544 men_z135_stop_tx(struct uart_port *port) men_z135_stop_tx() argument 557 men_z135_disable_ms(struct uart_port *port) men_z135_disable_ms() argument 571 men_z135_start_tx(struct uart_port *port) men_z135_start_tx() argument 587 men_z135_stop_rx(struct uart_port *port) men_z135_stop_rx() argument 600 men_z135_enable_ms(struct uart_port *port) men_z135_enable_ms() argument 607 men_z135_startup(struct uart_port *port) men_z135_startup() argument 633 men_z135_shutdown(struct uart_port *port) men_z135_shutdown() argument 645 men_z135_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) men_z135_set_termios() argument 722 men_z135_type(struct uart_port *port) men_z135_type() argument 727 men_z135_release_port(struct uart_port *port) men_z135_release_port() argument 737 men_z135_request_port(struct uart_port *port) men_z135_request_port() argument 759 men_z135_config_port(struct uart_port *port, int type) men_z135_config_port() argument 765 men_z135_verify_port(struct uart_port *port, struct serial_struct *serinfo) men_z135_verify_port() argument [all...] |
H A D | serial_core.c | 43 * lockdep: port->lock is initialized in two places, but we 58 static void uart_port_shutdown(struct tty_port *port); 97 lockdep_assert_held(&state->port.mutex); in uart_port_check() 103 * @port: port to be processed 110 * Locking: @port->lock should be held 112 void uart_write_wakeup(struct uart_port *port) in uart_write_wakeup() argument 114 struct uart_state *state = port->state; in uart_write_wakeup() 116 * This means you called this function _after_ the port was in uart_write_wakeup() 120 tty_port_tty_wakeup(&state->port); in uart_write_wakeup() 127 struct uart_port *port; uart_stop() local 138 struct uart_port *port = state->uart_port; __uart_start() local 168 struct uart_port *port; uart_start() local 177 uart_update_mctrl(struct uart_port *port, unsigned int set, unsigned int clear) uart_update_mctrl() argument 325 struct tty_port *port = &state->port; uart_startup() local 348 struct tty_port *port = &state->port; uart_shutdown() local 410 uart_update_timeout(struct uart_port *port, unsigned int cflag, unsigned int baud) uart_update_timeout() argument 443 uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, const struct ktermios *old, unsigned int min, unsigned int max) uart_get_baud_rate() argument 538 uart_get_divisor(struct uart_port *port, unsigned int baud) uart_get_divisor() argument 557 struct uart_port *port; uart_put_char() local 586 struct uart_port *port; uart_write() local 626 struct uart_port *port; uart_write_room() local 639 struct uart_port *port; uart_chars_in_buffer() local 652 struct uart_port *port; uart_flush_buffer() local 695 struct uart_port *port; uart_send_xchar() local 718 struct uart_port *port; uart_throttle() local 747 struct uart_port *port; uart_unthrottle() local 772 uart_get_info(struct tty_port *port, struct serial_struct *retinfo) uart_get_info() argument 816 struct tty_port *port = &state->port; uart_get_info_user() local 821 uart_set_info(struct tty_struct *tty, struct tty_port *port, struct uart_state *state, struct serial_struct *new_info) uart_set_info() argument 1028 struct tty_port *port = &state->port; uart_set_info_user() local 1077 struct tty_port *port = &state->port; uart_tiocmget() local 1101 struct tty_port *port = &state->port; uart_tiocmset() local 1122 struct tty_port *port = &state->port; uart_break_ctl() local 1141 struct tty_port *port = &state->port; uart_do_autoconfig() local 1215 struct tty_port *port = &state->port; uart_wait_modem_status() local 1304 uart_check_rs485_flags(struct uart_port *port, struct serial_rs485 *rs485) uart_check_rs485_flags() argument 1332 uart_sanitize_serial_rs485_delays(struct uart_port *port, struct serial_rs485 *rs485) uart_sanitize_serial_rs485_delays() argument 1364 uart_sanitize_serial_rs485(struct uart_port *port, struct serial_rs485 *rs485) uart_sanitize_serial_rs485() argument 1402 uart_set_rs485_termination(struct uart_port *port, const struct serial_rs485 *rs485) uart_set_rs485_termination() argument 1412 uart_set_rs485_rx_during_tx(struct uart_port *port, const struct serial_rs485 *rs485) uart_set_rs485_rx_during_tx() argument 1422 uart_rs485_config(struct uart_port *port) uart_rs485_config() argument 1448 uart_get_rs485_config(struct uart_port *port, struct serial_rs485 __user *rs485) uart_get_rs485_config() argument 1464 uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port, struct serial_rs485 __user *rs485_user) uart_set_rs485_config() argument 1509 uart_get_iso7816_config(struct uart_port *port, struct serial_iso7816 __user *iso7816) uart_get_iso7816_config() argument 1528 uart_set_iso7816_config(struct uart_port *port, struct serial_iso7816 __user *iso7816_user) uart_set_iso7816_config() argument 1568 struct tty_port *port = &state->port; uart_ioctl() local 1659 struct tty_port *port = &state->port; uart_set_ldisc() local 1740 struct tty_port *port; uart_close() local 1755 uart_tty_port_shutdown(struct tty_port *port) uart_tty_port_shutdown() argument 1797 struct uart_port *port; uart_wait_until_sent() local 1865 struct tty_port *port = &state->port; uart_hangup() local 1892 uart_port_shutdown(struct tty_port *port) uart_port_shutdown() argument 1915 uart_carrier_raised(struct tty_port *port) uart_carrier_raised() argument 1939 uart_dtr_rts(struct tty_port *port, bool active) uart_dtr_rts() argument 1983 uart_port_activate(struct tty_port *port, struct tty_struct *tty) uart_port_activate() argument 2003 uart_type(struct uart_port *port) uart_type() argument 2021 struct tty_port *port = &state->port; uart_line_info() local 2111 uart_port_spin_lock_init(struct uart_port *port) uart_port_spin_lock_init() argument 2125 uart_console_write(struct uart_port *port, const char *s, unsigned int count, void (*putchar)(struct uart_port *, unsigned char)) uart_console_write() argument 2270 uart_set_options(struct uart_port *port, struct console *co, int baud, int parity, int bits, int flow) uart_set_options() argument 2341 struct uart_port *port = uart_port_check(state); uart_change_pm() local 2351 struct uart_port *port; global() member 2368 struct tty_port *port = &state->port; uart_suspend_port() local 2448 struct tty_port *port = &state->port; uart_resume_port() local 2540 uart_report_port(struct uart_driver *drv, struct uart_port *port) uart_report_port() argument 2582 uart_configure_port(struct uart_driver *drv, struct uart_state *state, struct uart_port *port) uart_configure_port() argument 2666 struct uart_port *port; uart_poll_init() local 2711 struct uart_port *port; uart_poll_get_char() local 2727 struct uart_port *port; uart_poll_put_char() local 2839 struct tty_port *port = &state->port; uart_register_driver() local 2896 struct tty_port *port = dev_get_drvdata(dev); uartclk_show() local 2906 struct tty_port *port = dev_get_drvdata(dev); type_show() local 2916 struct tty_port *port = dev_get_drvdata(dev); line_show() local 2926 struct tty_port *port = dev_get_drvdata(dev); port_show() local 2940 struct tty_port *port = dev_get_drvdata(dev); irq_show() local 2950 struct tty_port *port = dev_get_drvdata(dev); flags_show() local 2960 struct tty_port *port = dev_get_drvdata(dev); xmit_fifo_size_show() local 2970 struct tty_port *port = dev_get_drvdata(dev); close_delay_show() local 2980 struct tty_port *port = dev_get_drvdata(dev); closing_wait_show() local 2990 struct tty_port *port = dev_get_drvdata(dev); custom_divisor_show() local 3000 struct tty_port *port = dev_get_drvdata(dev); io_type_show() local 3010 struct tty_port *port = dev_get_drvdata(dev); iomem_base_show() local 3020 struct tty_port *port = dev_get_drvdata(dev); iomem_reg_shift_show() local 3029 struct tty_port *port = dev_get_drvdata(dev); console_show() local 3046 struct tty_port *port = dev_get_drvdata(dev); console_store() local 3130 struct tty_port *port; serial_core_add_one_port() local 3226 struct tty_port *port = &state->port; serial_core_remove_one_port() local 3347 serial_core_ctrl_device_add(struct uart_port *port) serial_core_ctrl_device_add() argument 3352 serial_core_port_device_add(struct serial_ctrl_device *ctrl_dev, struct uart_port *port) serial_core_port_device_add() argument 3369 serial_core_register_port(struct uart_driver *drv, struct uart_port *port) serial_core_register_port() argument 3428 serial_core_unregister_port(struct uart_driver *drv, struct uart_port *port) serial_core_unregister_port() argument 3460 struct tty_port *port = &uport->state->port; uart_handle_dcd_change() local 3529 uart_insert_char(struct uart_port *port, unsigned int status, unsigned int overrun, u8 ch, u8 flag) uart_insert_char() argument 3572 uart_try_toggle_sysrq(struct uart_port *port, u8 ch) uart_try_toggle_sysrq() argument 3605 uart_get_rs485_mode(struct uart_port *port) uart_get_rs485_mode() argument [all...] |
H A D | vt8500_serial.c | 111 static inline void vt8500_write(struct uart_port *port, unsigned int val, in vt8500_write() argument 114 writel(val, port->membase + off); in vt8500_write() 117 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off) in vt8500_read() argument 119 return readl(port->membase + off); in vt8500_read() 122 static void vt8500_stop_tx(struct uart_port *port) in vt8500_stop_tx() argument 124 struct vt8500_port *vt8500_port = container_of(port, in vt8500_stop_tx() 129 vt8500_write(port, vt8500_port->ier, VT8500_URIER); in vt8500_stop_tx() 132 static void vt8500_stop_rx(struct uart_port *port) in vt8500_stop_rx() argument 134 struct vt8500_port *vt8500_port = container_of(port, in vt8500_stop_rx() 139 vt8500_write(port, vt8500_por in vt8500_stop_rx() 142 vt8500_enable_ms(struct uart_port *port) vt8500_enable_ms() argument 152 handle_rx(struct uart_port *port) handle_rx() argument 190 vt8500_tx_empty(struct uart_port *port) vt8500_tx_empty() argument 197 handle_tx(struct uart_port *port) handle_tx() argument 206 vt8500_start_tx(struct uart_port *port) vt8500_start_tx() argument 219 handle_delta_cts(struct uart_port *port) handle_delta_cts() argument 227 struct uart_port *port = dev_id; vt8500_irq() local 248 vt8500_get_mctrl(struct uart_port *port) vt8500_get_mctrl() argument 259 vt8500_set_mctrl(struct uart_port *port, unsigned int mctrl) vt8500_set_mctrl() argument 271 vt8500_break_ctl(struct uart_port *port, int break_ctl) vt8500_break_ctl() argument 279 vt8500_set_baud_rate(struct uart_port *port, unsigned int baud) vt8500_set_baud_rate() argument 303 vt8500_startup(struct uart_port *port) vt8500_startup() argument 322 vt8500_shutdown(struct uart_port *port) vt8500_shutdown() argument 335 vt8500_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) vt8500_set_termios() argument 416 vt8500_type(struct uart_port *port) vt8500_type() argument 423 vt8500_release_port(struct uart_port *port) vt8500_release_port() argument 427 vt8500_request_port(struct uart_port *port) vt8500_request_port() argument 432 vt8500_config_port(struct uart_port *port, int flags) vt8500_config_port() argument 437 vt8500_verify_port(struct uart_port *port, struct serial_struct *ser) vt8500_verify_port() argument 452 wait_for_xmitr(struct uart_port *port) wait_for_xmitr() argument 466 vt8500_console_putchar(struct uart_port *port, unsigned char c) vt8500_console_putchar() argument 534 vt8500_get_poll_char(struct uart_port *port) vt8500_get_poll_char() argument 544 vt8500_put_poll_char(struct uart_port *port, unsigned char c) vt8500_put_poll_char() argument 607 int port; vt8500_serial_probe() local [all...] |
H A D | pic32_uart.c | 43 /* struct pic32_sport - pic32 serial port descriptor 44 * @port: uart port descriptor 45 * @idx: port index 56 struct uart_port port; member 74 static inline struct pic32_sport *to_pic32_sport(struct uart_port *port) in to_pic32_sport() argument 76 return container_of(port, struct pic32_sport, port); in to_pic32_sport() 82 __raw_writel(val, sport->port.membase + reg); in pic32_uart_writel() 87 return __raw_readl(sport->port in pic32_uart_readl() 137 pic32_uart_tx_empty(struct uart_port *port) pic32_uart_tx_empty() argument 146 pic32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) pic32_uart_set_mctrl() argument 160 pic32_uart_get_mctrl(struct uart_port *port) pic32_uart_get_mctrl() argument 199 pic32_uart_stop_tx(struct uart_port *port) pic32_uart_stop_tx() argument 218 pic32_uart_start_tx(struct uart_port *port) pic32_uart_start_tx() argument 228 pic32_uart_stop_rx(struct uart_port *port) pic32_uart_stop_rx() argument 241 pic32_uart_break_ctl(struct uart_port *port, int ctl) pic32_uart_break_ctl() argument 259 pic32_uart_type(struct uart_port *port) pic32_uart_type() argument 265 pic32_uart_do_rx(struct uart_port *port) pic32_uart_do_rx() argument 342 pic32_uart_do_tx(struct uart_port *port) pic32_uart_do_tx() argument 400 struct uart_port *port = dev_id; pic32_uart_rx_interrupt() local 410 struct uart_port *port = dev_id; pic32_uart_tx_interrupt() local 428 pic32_uart_en_and_unmask(struct uart_port *port) pic32_uart_en_and_unmask() argument 439 pic32_uart_dsbl_and_mask(struct uart_port *port) pic32_uart_dsbl_and_mask() argument 453 pic32_uart_startup(struct uart_port *port) pic32_uart_startup() argument 577 pic32_uart_shutdown(struct uart_port *port) pic32_uart_shutdown() argument 598 pic32_uart_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) pic32_uart_set_termios() argument 679 pic32_uart_request_port(struct uart_port *port) pic32_uart_request_port() argument 704 pic32_uart_release_port(struct uart_port *port) pic32_uart_release_port() argument 719 pic32_uart_config_port(struct uart_port *port, int flags) pic32_uart_config_port() argument 729 pic32_uart_verify_port(struct uart_port *port, struct serial_struct *serinfo) pic32_uart_verify_port() argument 765 pic32_console_putchar(struct uart_port *port, unsigned char ch) pic32_console_putchar() argument 871 struct uart_port *port; pic32_uart_probe() local 943 struct uart_port *port = platform_get_drvdata(pdev); pic32_uart_remove() local [all...] |
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_ports.c | 24 NOTE: the current implementation of the port structure as a linked list is 26 subscribers of a port we first need to find the address of the port 36 dynamicly kmalloced. When a port is added or deleted we can simply allocate 43 /* return pointer to port structure - port is locked if found */ 47 struct snd_seq_client_port *port; in snd_seq_port_use_ptr() local 52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() 53 if (port->addr.port in snd_seq_port_use_ptr() 71 struct snd_seq_client_port *port, *found; snd_seq_port_query_nearest() local 113 snd_seq_create_port(struct snd_seq_client *client, int port) snd_seq_create_port() argument 207 clear_subscriber_list(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_port_subs_info *grp, int is_src) clear_subscriber_list() argument 245 port_delete(struct snd_seq_client *client, struct snd_seq_client_port *port) port_delete() argument 268 snd_seq_delete_port(struct snd_seq_client *client, int port) snd_seq_delete_port() argument 295 struct snd_seq_client_port *port, *tmp; snd_seq_delete_all_ports() local 322 snd_seq_set_port_info(struct snd_seq_client_port * port, struct snd_seq_port_info * info) snd_seq_set_port_info() argument 352 snd_seq_get_port_info(struct snd_seq_client_port * port, struct snd_seq_port_info * info) snd_seq_get_port_info() argument 400 subscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_port_subs_info *grp, struct snd_seq_port_subscribe *info, int send_ack) subscribe_port() argument 425 unsubscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_port_subs_info *grp, struct snd_seq_port_subscribe *info, int send_ack) unsubscribe_port() argument 468 check_and_subscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool exclusive, bool ack) check_and_subscribe_port() argument 518 __delete_and_unsubscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool ack) __delete_and_unsubscribe_port() argument 540 delete_and_unsubscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool ack) delete_and_unsubscribe_port() argument 697 snd_seq_event_port_detach(int client, int port) snd_seq_event_port_detach() argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-xgene.c | 75 static u32 xgene_pcie_readl(struct xgene_pcie_port *port, u32 reg) in xgene_pcie_readl() argument 77 return readl(port->csr_base + reg); in xgene_pcie_readl() 80 static void xgene_pcie_writel(struct xgene_pcie_port *port, u32 reg, u32 val) in xgene_pcie_writel() argument 82 writel(val, port->csr_base + reg); in xgene_pcie_writel() 107 struct xgene_pcie_port *port = pcie_bus_to_port(bus); in xgene_pcie_get_cfg_base() local 110 return port->cfg_base + AXI_EP_CFG_ACCESS; in xgene_pcie_get_cfg_base() 112 return port->cfg_base; in xgene_pcie_get_cfg_base() 121 struct xgene_pcie_port *port = pcie_bus_to_port(bus); in xgene_pcie_set_rtdid_reg() local 132 xgene_pcie_writel(port, RTDID, rtdid_val); in xgene_pcie_set_rtdid_reg() 134 xgene_pcie_readl(port, RTDI in xgene_pcie_set_rtdid_reg() 168 struct xgene_pcie_port *port = pcie_bus_to_port(bus); xgene_pcie_config_read32() local 230 struct xgene_pcie_port *port; xgene_pcie_ecam_init() local 286 xgene_pcie_set_ib_mask(struct xgene_pcie_port *port, u32 addr, u32 flags, u64 size) xgene_pcie_set_ib_mask() argument 312 xgene_pcie_linkup(struct xgene_pcie_port *port, u32 *lanes, u32 *speed) xgene_pcie_linkup() argument 327 xgene_pcie_init_port(struct xgene_pcie_port *port) xgene_pcie_init_port() argument 347 xgene_pcie_map_reg(struct xgene_pcie_port *port, struct platform_device *pdev) xgene_pcie_map_reg() argument 367 xgene_pcie_setup_ob_reg(struct xgene_pcie_port *port, struct resource *res, u32 offset, u64 cpu_addr, u64 pci_addr) xgene_pcie_setup_ob_reg() argument 399 xgene_pcie_setup_cfg_reg(struct xgene_pcie_port *port) xgene_pcie_setup_cfg_reg() argument 408 xgene_pcie_map_ranges(struct xgene_pcie_port *port) xgene_pcie_map_ranges() argument 449 xgene_pcie_setup_pims(struct xgene_pcie_port *port, u32 pim_reg, u64 pim, u64 size) xgene_pcie_setup_pims() argument 483 xgene_pcie_setup_ib_reg(struct xgene_pcie_port *port, struct of_pci_range *range, u8 *ib_reg_mask) xgene_pcie_setup_ib_reg() argument 533 xgene_pcie_parse_map_dma_ranges(struct xgene_pcie_port *port) xgene_pcie_parse_map_dma_ranges() argument 558 xgene_pcie_clear_config(struct xgene_pcie_port *port) xgene_pcie_clear_config() argument 566 xgene_pcie_setup(struct xgene_pcie_port *port) xgene_pcie_setup() argument 604 struct xgene_pcie_port *port; xgene_pcie_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-mxs.c | 58 static inline int is_imx23_gpio(struct mxs_gpio_port *port) in is_imx23_gpio() argument 60 return port->devid == IMX23_GPIO; in is_imx23_gpio() 63 static inline int is_imx28_gpio(struct mxs_gpio_port *port) in is_imx28_gpio() argument 65 return port->devid == IMX28_GPIO; in is_imx28_gpio() 76 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_irq_type() local 84 port->both_edges &= ~pin_mask; in mxs_gpio_set_irq_type() 87 val = readl(port->base + PINCTRL_DIN(port)) & pin_mask; in mxs_gpio_set_irq_type() 92 port->both_edges |= pin_mask; in mxs_gpio_set_irq_type() 111 pin_addr = port in mxs_gpio_set_irq_type() 132 mxs_flip_edge(struct mxs_gpio_port *port, u32 gpio) mxs_flip_edge() argument 153 struct mxs_gpio_port *port = irq_desc_get_handler_data(desc); mxs_gpio_irq_handler() local 182 struct mxs_gpio_port *port = gc->private; mxs_gpio_set_wake_irq() local 192 mxs_gpio_init_gc(struct mxs_gpio_port *port, int irq_base) mxs_gpio_init_gc() argument 239 struct mxs_gpio_port *port = gpiochip_get_data(gc); mxs_gpio_to_irq() local 246 struct mxs_gpio_port *port = gpiochip_get_data(gc); mxs_gpio_get_direction() local 282 struct mxs_gpio_port *port; mxs_gpio_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_discover.c | 41 * sas_get_port_device - Discover devices which caused port creation 42 * @port: pointer to struct sas_port of interest 44 * Devices directly attached to a HA port, have no parent. This is 49 static int sas_get_port_device(struct asd_sas_port *port) in sas_get_port_device() argument 60 spin_lock_irq(&port->phy_list_lock); in sas_get_port_device() 61 if (list_empty(&port->phy_list)) { in sas_get_port_device() 62 spin_unlock_irq(&port->phy_list_lock); in sas_get_port_device() 66 phy = container_of(port->phy_list.next, struct asd_sas_phy, port_phy_el); in sas_get_port_device() 71 spin_unlock_irq(&port->phy_list_lock); in sas_get_port_device() 73 if (dev->frame_rcvd[0] == 0x34 && port in sas_get_port_device() 207 sas_probe_devices(struct asd_sas_port *port) sas_probe_devices() argument 236 struct asd_sas_port *port = ev->port; sas_suspend_devices() local 265 struct asd_sas_port *port = ev->port; sas_resume_devices() local 313 sas_unregister_common_dev(struct asd_sas_port *port, struct domain_device *dev) sas_unregister_common_dev() argument 340 sas_destruct_devices(struct asd_sas_port *port) sas_destruct_devices() argument 353 sas_destruct_ports(struct asd_sas_port *port) sas_destruct_ports() argument 390 sas_unregister_dev(struct asd_sas_port *port, struct domain_device *dev) sas_unregister_dev() argument 409 sas_unregister_domain_devices(struct asd_sas_port *port, int gone) sas_unregister_domain_devices() argument 426 sas_device_set_phy(struct domain_device *dev, struct sas_port *port) sas_device_set_phy() argument 462 struct asd_sas_port *port = ev->port; sas_discover_domain() local 516 struct asd_sas_port *port = ev->port; sas_revalidate_domain() local 571 sas_discover_event(struct asd_sas_port *port, enum discover_event ev) sas_discover_event() argument 591 sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port) sas_init_disc() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/ |
H A D | io.c | 16 * peripherals address bus, thereby accessing the odd IO port. Meanwhile, the 210 u8 __inb8(unsigned int port) in __inb8() argument 217 if (SUPERIO_PORT(port)) in __inb8() 218 ret = __raw_readb((void __iomem *)ISAIO_BASE + (port << 2)); in __inb8() 220 void __iomem *a = (void __iomem *)ISAIO_BASE + ((port & ~1) << 1); in __inb8() 225 if (port & 1) in __inb8() 237 u8 __inb16(unsigned int port) in __inb16() argument 244 if (SUPERIO_PORT(port)) in __inb16() 245 offset = port << 2; in __inb16() 247 offset = (port in __inb16() 252 __inw(unsigned int port) __inw() argument 271 __inl(unsigned int port) __inl() argument 288 __outb8(u8 val, unsigned int port) __outb8() argument 308 __outb16(u8 val, unsigned int port) __outb16() argument 323 __outw(u16 val, unsigned int port) __outw() argument 339 __outl(u32 val, unsigned int port) __outl() argument 349 outsb(unsigned int port, const void *from, int len) outsb() argument 364 insb(unsigned int port, void *from, int len) insb() argument 382 outsw(unsigned int port, const void *from, int len) outsw() argument 397 insw(unsigned int port, void *from, int len) insw() argument 419 outsl(unsigned int port, const void *from, int len) outsl() argument 429 insl(unsigned int port, void *from, int len) insl() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-mxs.c | 57 static inline int is_imx23_gpio(struct mxs_gpio_port *port) in is_imx23_gpio() argument 59 return port->devid == IMX23_GPIO; in is_imx23_gpio() 70 struct mxs_gpio_port *port = gc->private; in mxs_gpio_set_irq_type() local 78 port->both_edges &= ~pin_mask; in mxs_gpio_set_irq_type() 81 val = readl(port->base + PINCTRL_DIN(port)) & pin_mask; in mxs_gpio_set_irq_type() 86 port->both_edges |= pin_mask; in mxs_gpio_set_irq_type() 105 pin_addr = port->base + PINCTRL_IRQLEV(port); in mxs_gpio_set_irq_type() 108 writel(pin_mask, port in mxs_gpio_set_irq_type() 126 mxs_flip_edge(struct mxs_gpio_port *port, u32 gpio) mxs_flip_edge() argument 147 struct mxs_gpio_port *port = irq_desc_get_handler_data(desc); mxs_gpio_irq_handler() local 176 struct mxs_gpio_port *port = gc->private; mxs_gpio_set_wake_irq() local 186 mxs_gpio_init_gc(struct mxs_gpio_port *port, int irq_base) mxs_gpio_init_gc() argument 233 struct mxs_gpio_port *port = gpiochip_get_data(gc); mxs_gpio_to_irq() local 240 struct mxs_gpio_port *port = gpiochip_get_data(gc); mxs_gpio_get_direction() local 263 struct mxs_gpio_port *port; mxs_gpio_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_proxy.c | 106 struct t7xx_port *port; in t7xx_proxy_get_port_by_ch() local 109 for_each_proxy_port(i, port, port_prox) { in t7xx_proxy_get_port_by_ch() 110 port_conf = port->port_conf; in t7xx_proxy_get_port_by_ch() 112 return port; in t7xx_proxy_get_port_by_ch() 118 static u16 t7xx_port_next_rx_seq_num(struct t7xx_port *port, struct ccci_header *ccci_h) in t7xx_port_next_rx_seq_num() argument 127 if (!assert_bit || port->seq_nums[MTK_RX] == INVALID_SEQ_NUM) in t7xx_port_next_rx_seq_num() 130 if (seq_num != port->seq_nums[MTK_RX]) in t7xx_port_next_rx_seq_num() 131 dev_warn_ratelimited(port->dev, in t7xx_port_next_rx_seq_num() 133 seq_num, port->seq_nums[MTK_RX], in t7xx_port_next_rx_seq_num() 142 struct t7xx_port *port; in t7xx_port_proxy_reset() local 151 t7xx_port_get_queue_no(struct t7xx_port *port) t7xx_port_get_queue_no() argument 160 t7xx_port_struct_init(struct t7xx_port *port) t7xx_port_struct_init() argument 200 t7xx_port_enqueue_skb(struct t7xx_port *port, struct sk_buff *skb) t7xx_port_enqueue_skb() argument 217 t7xx_port_send_raw_skb(struct t7xx_port *port, struct sk_buff *skb) t7xx_port_send_raw_skb() argument 232 t7xx_port_send_ccci_skb(struct t7xx_port *port, struct sk_buff *skb, unsigned int pkt_header, unsigned int ex_msg) t7xx_port_send_ccci_skb() argument 256 t7xx_port_send_ctl_skb(struct t7xx_port *port, struct sk_buff *skb, unsigned int msg, unsigned int ex_msg) t7xx_port_send_ctl_skb() argument 274 t7xx_port_send_skb(struct t7xx_port *port, struct sk_buff *skb, unsigned int pkt_header, unsigned int ex_msg) t7xx_port_send_skb() argument 308 struct t7xx_port *port; t7xx_proxy_setup_ch_mapping() local 337 struct t7xx_port *port; t7xx_port_proxy_find_port() local 369 struct t7xx_port *port; t7xx_port_proxy_recv_skb() local 414 struct t7xx_port *port; t7xx_port_proxy_md_status_notify() local 428 struct t7xx_port *port; t7xx_proxy_init_all_ports() local 502 struct t7xx_port *port; t7xx_port_proxy_uninit() local 516 struct t7xx_port *port = t7xx_proxy_get_port_by_ch(port_prox, ch_id); t7xx_port_proxy_chl_enable_disable() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 40 struct uart_8250_port *port; member 61 * at what IO port and interrupt number the host side will appear 68 return readb(vuart->port->port.membase + reg); in aspeed_vuart_readb() 73 writeb(val, vuart->port->port.membase + reg); in aspeed_vuart_writeb() 251 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_startup() 266 struct aspeed_vuart *vuart = uart_8250_port->port.private_data; in aspeed_vuart_shutdown() 279 lockdep_assert_held_once(&up->port.lock); in __aspeed_vuart_set_throttle() 286 static void aspeed_vuart_set_throttle(struct uart_port *port, boo in __aspeed_vuart_set_throttle() argument 296 aspeed_vuart_throttle(struct uart_port *port) aspeed_vuart_throttle() argument 301 aspeed_vuart_unthrottle(struct uart_port *port) aspeed_vuart_unthrottle() argument 331 aspeed_vuart_handle_irq(struct uart_port *port) aspeed_vuart_handle_irq() argument 418 struct uart_8250_port port; aspeed_vuart_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | cros_usbpd-charger.c | 90 static bool cros_usbpd_charger_port_is_dedicated(struct port_data *port) in cros_usbpd_charger_port_is_dedicated() argument 92 return port->port_number >= port->charger->num_usbpd_ports; in cros_usbpd_charger_port_is_dedicated() 154 static int cros_usbpd_charger_get_discovery_info(struct port_data *port) in cros_usbpd_charger_get_discovery_info() argument 156 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info() 161 req.port = port->port_number; in cros_usbpd_charger_get_discovery_info() 174 port->port_number, resp.vid, resp.pid, resp.ptype); in cros_usbpd_charger_get_discovery_info() 176 snprintf(port->manufacturer, sizeof(port in cros_usbpd_charger_get_discovery_info() 183 cros_usbpd_charger_get_power_info(struct port_data *port) cros_usbpd_charger_get_power_info() argument 307 cros_usbpd_charger_get_port_status(struct port_data *port, bool ratelimit) cros_usbpd_charger_get_port_status() argument 350 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_power_changed() local 362 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_get_prop() local 449 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_set_prop() local 546 struct port_data *port; cros_usbpd_charger_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | cros_usbpd-charger.c | 90 static bool cros_usbpd_charger_port_is_dedicated(struct port_data *port) in cros_usbpd_charger_port_is_dedicated() argument 92 return port->port_number >= port->charger->num_usbpd_ports; in cros_usbpd_charger_port_is_dedicated() 154 static int cros_usbpd_charger_get_discovery_info(struct port_data *port) in cros_usbpd_charger_get_discovery_info() argument 156 struct charger_data *charger = port->charger; in cros_usbpd_charger_get_discovery_info() 161 req.port = port->port_number; in cros_usbpd_charger_get_discovery_info() 174 port->port_number, resp.vid, resp.pid, resp.ptype); in cros_usbpd_charger_get_discovery_info() 176 snprintf(port->manufacturer, sizeof(port in cros_usbpd_charger_get_discovery_info() 183 cros_usbpd_charger_get_power_info(struct port_data *port) cros_usbpd_charger_get_power_info() argument 307 cros_usbpd_charger_get_port_status(struct port_data *port, bool ratelimit) cros_usbpd_charger_get_port_status() argument 350 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_power_changed() local 362 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_get_prop() local 449 struct port_data *port = power_supply_get_drvdata(psy); cros_usbpd_charger_set_prop() local 546 struct port_data *port; cros_usbpd_charger_probe() local [all...] |