Searched refs:port (Results 251 - 275 of 3102) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dv1.c30 u32 size, u16 tag, u8 port, bool secure)
39 nvkm_falcon_wr32(falcon, 0x180 + (port * 16), reg);
43 nvkm_falcon_wr32(falcon, 0x188 + (port * 16), tag++);
44 nvkm_falcon_wr32(falcon, 0x184 + (port * 16), ((u32 *)data)[i]);
56 nvkm_falcon_wr32(falcon, 0x188 + (port * 16), tag++);
57 nvkm_falcon_wr32(falcon, 0x184 + (port * 16),
64 nvkm_falcon_wr32(falcon, 0x184 + (port * 16), 0);
69 u32 size, u8 port)
76 nvkm_falcon_wr32(falcon, 0x1c0 + (port * 8), start | (0x1 << 24));
78 nvkm_falcon_wr32(falcon, 0x1c4 + (port *
29 nvkm_falcon_v1_load_imem(struct nvkm_falcon *falcon, void *data, u32 start, u32 size, u16 tag, u8 port, bool secure) argument
68 nvkm_falcon_v1_load_dmem(struct nvkm_falcon *falcon, void *data, u32 start, u32 size, u8 port) argument
[all...]
/linux-master/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; local
48 list_for_each_entry(port, &usbport_data->ports, list) {
49 if (usb_dev->parent == port->hub &&
50 usb_dev->portnum == port->portnum)
51 return port->observed;
86 struct usbport_trig_port *port = container_of(attr, local
90 return sprintf(buf, "%d\n", port->observed) + 1;
97 struct usbport_trig_port *port local
188 struct usbport_trig_port *port; local
248 usbport_trig_remove_port(struct usbport_trig_data *usbport_data, struct usbport_trig_port *port) argument
263 struct usbport_trig_port *port, *tmp; local
334 struct usbport_trig_port *port, *tmp; local
[all...]
/linux-master/drivers/power/supply/
H A Dcros_usbpd-charger.c90 static bool cros_usbpd_charger_port_is_dedicated(struct port_data *port) argument
92 return port->port_number >= port->charger->num_usbpd_ports;
154 static int cros_usbpd_charger_get_discovery_info(struct port_data *port) argument
156 struct charger_data *charger = port->charger;
161 req.port = port->port_number;
174 port->port_number, resp.vid, resp.pid, resp.ptype);
176 snprintf(port->manufacturer, sizeof(port
183 cros_usbpd_charger_get_power_info(struct port_data *port) argument
307 cros_usbpd_charger_get_port_status(struct port_data *port, bool ratelimit) argument
350 struct port_data *port = power_supply_get_drvdata(psy); local
362 struct port_data *port = power_supply_get_drvdata(psy); local
449 struct port_data *port = power_supply_get_drvdata(psy); local
546 struct port_data *port; local
[all...]
H A Dcros_peripheral_charger.c123 static int cros_pchg_get_status(struct port_data *port) argument
125 struct charger_data *charger = port->charger;
129 int old_status = port->psy_status;
130 int old_percentage = port->battery_percentage;
133 req.port = port->port_number;
137 dev_err(dev, "Unable to get port.%d status (err:%d)\n",
138 port->port_number, ret);
147 port->psy_status = POWER_SUPPLY_STATUS_UNKNOWN;
148 port
177 cros_pchg_get_port_status(struct port_data *port, bool ratelimit) argument
198 struct port_data *port = power_supply_get_drvdata(psy); local
269 struct port_data *port; local
[all...]
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-core.c107 struct saa7164_port *port = buf->port; local
113 port->sync_errors = 0;
114 port->v_cc_errors = 0;
115 port->a_cc_errors = 0;
119 port->sync_errors++;
126 a = ((port->last_v_cc + 1) & 0x0f);
129 port->last_v_cc, cc, i);
130 port->v_cc_errors++;
133 port
224 saa7164_histogram_print(struct saa7164_port *port, struct saa7164_histogram *hg) argument
245 saa7164_work_enchandler_helper(struct saa7164_port *port, int bufnr) argument
351 struct saa7164_port *port = local
427 struct saa7164_port *port = local
510 struct saa7164_port *port = buf->port; local
518 saa7164_irq_vbi(struct saa7164_port *port) argument
543 saa7164_irq_encoder(struct saa7164_port *port) argument
567 saa7164_irq_ts(struct saa7164_port *port) argument
893 struct saa7164_port *port = NULL; local
[all...]
/linux-master/drivers/thunderbolt/
H A Dtb.h26 /* Need to keep power on while USB4 port is in redrive mode */
116 * @dma_port: If the switch has port supporting DMA configuration based
242 * struct tb_port - a thunderbolt port, part of a tb_switch
243 * @config: Cached port configuration read from registers
244 * @sw: Switch the port belongs to
245 * @remote: Remote port (%NULL if not connected)
250 * @cap_usb4: Offset to the USB4 port capability (%0 if not present)
251 * @usb4: Pointer to the USB4 port structure (only if @cap_usb4 is != %0)
252 * @port: Port number on switch
254 * @bonded: true if the port i
285 u8 port; member in struct:tb_port
313 struct tb_port *port; member in struct:usb4_port
339 struct tb_port *port; member in struct:tb_retimer
566 tb_is_upstream_port(const struct tb_port *port) argument
579 u8 port; local
609 tb_port_has_remote(const struct tb_port *port) argument
621 tb_port_is_null(const struct tb_port *port) argument
626 tb_port_is_nhi(const struct tb_port *port) argument
631 tb_port_is_pcie_down(const struct tb_port *port) argument
636 tb_port_is_pcie_up(const struct tb_port *port) argument
641 tb_port_is_dpin(const struct tb_port *port) argument
646 tb_port_is_dpout(const struct tb_port *port) argument
651 tb_port_is_usb3_down(const struct tb_port *port) argument
656 tb_port_is_usb3_up(const struct tb_port *port) argument
689 tb_port_read(struct tb_port *port, void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
703 tb_port_write(struct tb_port *port, const void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
1094 tb_port_use_credit_allocation(const struct tb_port *port) argument
1218 tb_downstream_route(struct tb_port *port) argument
1435 tb_acpi_power_on_retimers(struct tb_port *port) argument
1436 tb_acpi_power_off_retimers(struct tb_port *port) argument
[all...]
H A Dclx.c38 static int tb_port_pm_secondary_set(struct tb_port *port, bool secondary) argument
43 ret = tb_port_read(port, &phy, TB_CFG_PORT,
44 port->cap_phy + LANE_ADP_CS_1, 1);
53 return tb_port_write(port, &phy, TB_CFG_PORT,
54 port->cap_phy + LANE_ADP_CS_1, 1);
57 static int tb_port_pm_secondary_enable(struct tb_port *port) argument
59 return tb_port_pm_secondary_set(port, true);
62 static int tb_port_pm_secondary_disable(struct tb_port *port) argument
64 return tb_port_pm_secondary_set(port, false);
68 static bool tb_port_clx_supported(struct tb_port *port, unsigne argument
103 tb_port_clx_set(struct tb_port *port, unsigned int clx, bool enable) argument
132 tb_port_clx_disable(struct tb_port *port, unsigned int clx) argument
137 tb_port_clx_enable(struct tb_port *port, unsigned int clx) argument
142 tb_port_clx(struct tb_port *port) argument
172 tb_port_clx_is_enabled(struct tb_port *port, unsigned int clx) argument
[all...]
/linux-master/drivers/usb/serial/
H A Dch341.c7 * ch341.c implements a serial port driver for the Winchiphead CH341.
10 * serial port, an IEEE-1284 parallel printer port or a memory-like
108 struct usb_serial_port *port,
340 static int ch341_detect_quirks(struct usb_serial_port *port) argument
342 struct ch341_private *priv = usb_get_serial_port_data(port);
343 struct usb_device *udev = port->serial->dev;
360 dev_info(&port->dev, "break control not supported, using simulated break\n");
364 dev_err(&port->dev, "failed to read break control: %d\n", r);
368 dev_dbg(&port
375 ch341_port_probe(struct usb_serial_port *port) argument
408 ch341_port_remove(struct usb_serial_port *port) argument
416 ch341_carrier_raised(struct usb_serial_port *port) argument
424 ch341_dtr_rts(struct usb_serial_port *port, int on) argument
439 ch341_close(struct usb_serial_port *port) argument
447 ch341_open(struct tty_struct *tty, struct usb_serial_port *port) argument
484 ch341_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
567 struct usb_serial_port *port = tty->driver_data; local
637 struct usb_serial_port *port = tty->driver_data; local
683 struct usb_serial_port *port = tty->driver_data; local
703 ch341_update_status(struct usb_serial_port *port, unsigned char *data, size_t len) argument
749 struct usb_serial_port *port = urb->context; local
783 struct usb_serial_port *port = tty->driver_data; local
809 struct usb_serial_port *port = serial->port[0]; local
[all...]
H A Df81534.c13 * for all serial port TX and 1 endpoint bulk-in for all serial port read in
16 * Write URB is fixed with 512bytes, per serial port used 128Bytes.
19 * Read URB is 512Bytes max, per serial port used 128Bytes.
161 struct usb_serial_port *port; member in struct:f81534_port_private
194 struct usb_serial_port *port)
197 usb_get_serial_data(port->serial);
205 if (port->port_number == count)
326 static int f81534_set_port_register(struct usb_serial_port *port, u16 reg, argument
329 struct f81534_port_private *port_priv = usb_get_serial_port_data(port);
193 f81534_logic_to_phy_port(struct usb_serial *serial, struct usb_serial_port *port) argument
335 f81534_get_port_register(struct usb_serial_port *port, u16 reg, u8 *data) argument
471 f81534_prepare_write_buffer(struct usb_serial_port *port, u8 *buf) argument
500 f81534_submit_writer(struct usb_serial_port *port, gfp_t mem_flags) argument
556 f81534_set_port_config(struct usb_serial_port *port, struct tty_struct *tty, u32 baudrate, u32 old_baudrate, u8 lcr) argument
661 struct usb_serial_port *port = tty->driver_data; local
682 f81534_update_mctrl(struct usb_serial_port *port, unsigned int set, unsigned int clear) argument
950 f81534_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
1002 f81534_msr_changed(struct usb_serial_port *port, u8 msr) argument
1046 f81534_read_msr(struct usb_serial_port *port) argument
1066 f81534_open(struct tty_struct *tty, struct usb_serial_port *port) argument
1107 f81534_close(struct usb_serial_port *port) argument
1135 struct usb_serial_port *port = tty->driver_data; local
1143 f81534_process_per_serial_block(struct usb_serial_port *port, u8 *data) argument
1238 struct usb_serial_port *port; local
1274 struct usb_serial_port *port = urb->context; local
1299 struct usb_serial_port *port; local
1311 f81534_set_port_output_pin(struct usb_serial_port *port) argument
1353 f81534_port_probe(struct usb_serial_port *port) argument
1418 f81534_port_remove(struct usb_serial_port *port) argument
1427 struct usb_serial_port *port = tty->driver_data; local
1456 struct usb_serial_port *port = tty->driver_data; local
1461 f81534_dtr_rts(struct usb_serial_port *port, int on) argument
1469 f81534_write(struct tty_struct *tty, struct usb_serial_port *port, const u8 *buf, int count) argument
1489 f81534_tx_empty(struct usb_serial_port *port) argument
1500 struct usb_serial_port *port; local
[all...]
H A Dcyberjack.c49 static int cyberjack_port_probe(struct usb_serial_port *port);
50 static void cyberjack_port_remove(struct usb_serial_port *port);
52 struct usb_serial_port *port);
53 static void cyberjack_close(struct usb_serial_port *port);
55 struct usb_serial_port *port, const unsigned char *buf, int count);
100 static int cyberjack_port_probe(struct usb_serial_port *port) argument
114 usb_set_serial_port_data(port, priv);
116 result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
118 dev_err(&port->dev, "usb_submit_urb(read int) failed\n");
123 static void cyberjack_port_remove(struct usb_serial_port *port) argument
133 cyberjack_open(struct tty_struct *tty, struct usb_serial_port *port) argument
152 cyberjack_close(struct usb_serial_port *port) argument
158 cyberjack_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
251 struct usb_serial_port *port = urb->context; local
307 struct usb_serial_port *port = urb->context; local
353 struct usb_serial_port *port = urb->context; local
[all...]
/linux-master/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c25 * struct cros_ec_cec_port - Driver data for a single EC CEC port
27 * @port_num: port number
58 static void cros_ec_cec_received_message(struct cros_ec_cec_port *port, argument
64 port->rx_msg.len = len;
65 memcpy(port->rx_msg.msg, msg, len);
67 cec_received_msg(port->adap, &port->rx_msg);
75 struct cros_ec_cec_port *port; local
78 * 1. Old EC firmware which only supports one port sends the data in a
83 * Check that the EC only has one CEC port, an
97 cros_ec_cec_read_message(struct cros_ec_cec_port *port) argument
123 struct cros_ec_cec_port *port; local
170 struct cros_ec_cec_port *port = adap->priv; local
194 struct cros_ec_cec_port *port = adap->priv; local
225 struct cros_ec_cec_port *port = adap->priv; local
441 struct cros_ec_cec_port *port; local
490 struct cros_ec_cec_port *port; local
555 struct cros_ec_cec_port *port; local
[all...]
/linux-master/drivers/tty/serial/
H A Dserial_core.c43 * 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);
103 * @port: port to be processed
110 * Locking: @port->lock should be held
112 void uart_write_wakeup(struct uart_port *port) argument
114 struct uart_state *state = port->state;
116 * This means you called this function _after_ the port was
120 tty_port_tty_wakeup(&state->port);
127 struct uart_port *port; local
138 struct uart_port *port = state->uart_port; local
168 struct uart_port *port; local
177 uart_update_mctrl(struct uart_port *port, unsigned int set, unsigned int clear) argument
325 struct tty_port *port = &state->port; local
358 struct tty_port *port = &state->port; local
423 uart_update_timeout(struct uart_port *port, unsigned int cflag, unsigned int baud) argument
455 uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, const struct ktermios *old, unsigned int min, unsigned int max) argument
548 uart_get_divisor(struct uart_port *port, unsigned int baud) argument
567 struct uart_port *port; local
596 struct uart_port *port; local
636 struct uart_port *port; local
649 struct uart_port *port; local
662 struct uart_port *port; local
705 struct uart_port *port; local
728 struct uart_port *port; local
757 struct uart_port *port; local
782 uart_get_info(struct tty_port *port, struct serial_struct *retinfo) argument
829 struct tty_port *port = &state->port; local
834 uart_set_info(struct tty_struct *tty, struct tty_port *port, struct uart_state *state, struct serial_struct *new_info) argument
1041 struct tty_port *port = &state->port; local
1090 struct tty_port *port = &state->port; local
1114 struct tty_port *port = &state->port; local
1135 struct tty_port *port = &state->port; local
1154 struct tty_port *port = &state->port; local
1228 struct tty_port *port = &state->port; local
1317 uart_check_rs485_flags(struct uart_port *port, struct serial_rs485 *rs485) argument
1345 uart_sanitize_serial_rs485_delays(struct uart_port *port, struct serial_rs485 *rs485) argument
1377 uart_sanitize_serial_rs485(struct uart_port *port, struct serial_rs485 *rs485) argument
1421 uart_set_rs485_termination(struct uart_port *port, const struct serial_rs485 *rs485) argument
1431 uart_set_rs485_rx_during_tx(struct uart_port *port, const struct serial_rs485 *rs485) argument
1441 uart_rs485_config(struct uart_port *port) argument
1467 uart_get_rs485_config(struct uart_port *port, struct serial_rs485 __user *rs485) argument
1483 uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port, struct serial_rs485 __user *rs485_user) argument
1528 uart_get_iso7816_config(struct uart_port *port, struct serial_iso7816 __user *iso7816) argument
1547 uart_set_iso7816_config(struct uart_port *port, struct serial_iso7816 __user *iso7816_user) argument
1587 struct tty_port *port = &state->port; local
1678 struct tty_port *port = &state->port; local
1759 struct tty_port *port; local
1774 uart_tty_port_shutdown(struct tty_port *port) argument
1818 struct uart_port *port; local
1886 struct tty_port *port = &state->port; local
1913 uart_port_shutdown(struct tty_port *port) argument
1936 uart_carrier_raised(struct tty_port *port) argument
1960 uart_dtr_rts(struct tty_port *port, bool active) argument
2004 uart_port_activate(struct tty_port *port, struct tty_struct *tty) argument
2024 uart_type(struct uart_port *port) argument
2042 struct tty_port *port = &state->port; local
2132 uart_port_spin_lock_init(struct uart_port *port) argument
2146 uart_console_write(struct uart_port *port, const char *s, unsigned int count, void (*putchar)(struct uart_port *, unsigned char)) argument
2291 uart_set_options(struct uart_port *port, struct console *co, int baud, int parity, int bits, int flow) argument
2362 struct uart_port *port = uart_port_check(state); local
2372 struct uart_port *port; member in struct:uart_match
2389 struct tty_port *port = &state->port; local
2469 struct tty_port *port = &state->port; local
2561 uart_report_port(struct uart_driver *drv, struct uart_port *port) argument
2603 uart_configure_port(struct uart_driver *drv, struct uart_state *state, struct uart_port *port) argument
2687 struct uart_port *port; local
2733 struct uart_port *port; local
2749 struct uart_port *port; local
2861 struct tty_port *port = &state->port; local
2918 struct tty_port *port = dev_get_drvdata(dev); local
2928 struct tty_port *port = dev_get_drvdata(dev); local
2938 struct tty_port *port = dev_get_drvdata(dev); local
2948 struct tty_port *port = dev_get_drvdata(dev); local
2962 struct tty_port *port = dev_get_drvdata(dev); local
2972 struct tty_port *port = dev_get_drvdata(dev); local
2982 struct tty_port *port = dev_get_drvdata(dev); local
2992 struct tty_port *port = dev_get_drvdata(dev); local
3002 struct tty_port *port = dev_get_drvdata(dev); local
3012 struct tty_port *port = dev_get_drvdata(dev); local
3022 struct tty_port *port = dev_get_drvdata(dev); local
3032 struct tty_port *port = dev_get_drvdata(dev); local
3042 struct tty_port *port = dev_get_drvdata(dev); local
3051 struct tty_port *port = dev_get_drvdata(dev); local
3068 struct tty_port *port = dev_get_drvdata(dev); local
3152 struct tty_port *port; local
3249 struct tty_port *port = &state->port; local
3370 serial_core_ctrl_device_add(struct uart_port *port) argument
3375 serial_core_port_device_add(struct serial_ctrl_device *ctrl_dev, struct uart_port *port) argument
3392 serial_core_register_port(struct uart_driver *drv, struct uart_port *port) argument
3451 serial_core_unregister_port(struct uart_driver *drv, struct uart_port *port) argument
3483 struct tty_port *port = &uport->state->port; local
3552 uart_insert_char(struct uart_port *port, unsigned int status, unsigned int overrun, u8 ch, u8 flag) argument
3595 uart_try_toggle_sysrq(struct uart_port *port, u8 ch) argument
3628 uart_get_rs485_mode(struct uart_port *port) argument
[all...]
H A Domap-serial.c109 * comes from port structure.
126 struct uart_port port; member in struct:uart_omap_port
167 #define to_uart_omap_port(p) ((container_of((p), struct uart_omap_port, port)))
176 offset <<= up->port.regshift;
177 return readw(up->port.membase + offset);
182 offset <<= up->port.regshift;
183 writew(value, up->port.membase + offset);
221 static inline int calculate_baud_abs_diff(struct uart_port *port, argument
224 unsigned int n = port->uartclk / (mode * baud);
229 return abs_diff(baud, port
244 serial_omap_baud_is_mode16(struct uart_port *port, unsigned int baud) argument
258 serial_omap_get_divisor(struct uart_port *port, unsigned int baud) argument
269 serial_omap_enable_ms(struct uart_port *port) argument
279 serial_omap_stop_tx(struct uart_port *port) argument
325 serial_omap_stop_rx(struct uart_port *port) argument
361 serial_omap_start_tx(struct uart_port *port) argument
388 serial_omap_throttle(struct uart_port *port) argument
399 serial_omap_unthrottle(struct uart_port *port) argument
575 serial_omap_tx_empty(struct uart_port *port) argument
589 serial_omap_get_mctrl(struct uart_port *port) argument
610 serial_omap_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
644 serial_omap_break_ctl(struct uart_port *port, int break_state) argument
659 serial_omap_startup(struct uart_port *port) argument
732 serial_omap_shutdown(struct uart_port *port) argument
776 serial_omap_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
1021 serial_omap_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
1040 serial_omap_release_port(struct uart_port *port) argument
1045 serial_omap_request_port(struct uart_port *port) argument
1051 serial_omap_config_port(struct uart_port *port, int flags) argument
1062 serial_omap_verify_port(struct uart_port *port, struct serial_struct *ser) argument
1070 serial_omap_type(struct uart_port *port) argument
1111 serial_omap_poll_put_char(struct uart_port *port, unsigned char ch) argument
1119 serial_omap_poll_get_char(struct uart_port *port) argument
1141 omap_serial_early_in(struct uart_port *port, int offset) argument
1147 omap_serial_early_out(struct uart_port *port, int offset, int value) argument
1154 omap_serial_early_putc(struct uart_port *port, unsigned char c) argument
1171 struct uart_port *port = &device->port; local
1179 struct uart_port *port = &device->port; local
1198 serial_omap_console_putchar(struct uart_port *port, unsigned char ch) argument
1295 serial_omap_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
[all...]
H A Dpxa.c17 * hope for a better port registration and dynamic device allocation scheme
43 struct uart_port port; member in struct:uart_pxa_port
55 return readl(up->port.membase + offset);
61 writel(value, up->port.membase + offset);
64 static void serial_pxa_enable_ms(struct uart_port *port) argument
66 struct uart_pxa_port *up = (struct uart_pxa_port *)port;
72 static void serial_pxa_stop_tx(struct uart_port *port) argument
74 struct uart_pxa_port *up = (struct uart_pxa_port *)port;
82 static void serial_pxa_stop_rx(struct uart_port *port) argument
84 struct uart_pxa_port *up = (struct uart_pxa_port *)port;
185 serial_pxa_start_tx(struct uart_port *port) argument
239 serial_pxa_tx_empty(struct uart_port *port) argument
252 serial_pxa_get_mctrl(struct uart_port *port) argument
272 serial_pxa_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
293 serial_pxa_break_ctl(struct uart_port *port, int break_state) argument
307 serial_pxa_startup(struct uart_port *port) argument
373 serial_pxa_shutdown(struct uart_port *port) argument
402 serial_pxa_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
511 serial_pxa_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
522 serial_pxa_release_port(struct uart_port *port) argument
526 serial_pxa_request_port(struct uart_port *port) argument
531 serial_pxa_config_port(struct uart_port *port, int flags) argument
538 serial_pxa_verify_port(struct uart_port *port, struct serial_struct *ser) argument
545 serial_pxa_type(struct uart_port *port) argument
584 serial_pxa_console_putchar(struct uart_port *port, unsigned char ch) argument
638 serial_pxa_get_poll_char(struct uart_port *port) argument
650 serial_pxa_put_poll_char(struct uart_port *port, unsigned char c) argument
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h143 * The hardware likes to have the output port in
146 uint64_t port:6; member in struct:__anon21::__anon22
157 uint64_t port:9;
299 * Configure a output port and the associated queues for use.
301 * @port: Port to configure.
302 * @base_queue: First queue number to associate with this port.
303 * @num_queues: Number of queues t oassociate with this port
309 extern cvmx_pko_status_t cvmx_pko_config_port(uint64_t port,
320 * @port: Port the packet is for
324 static inline void cvmx_pko_doorbell(uint64_t port, uint64_ argument
376 cvmx_pko_send_packet_prepare(uint64_t port, uint64_t queue, cvmx_pko_lock_t use_locking) argument
417 cvmx_pko_send_packet_finish( uint64_t port, uint64_t queue, union cvmx_pko_command_word0 pko_command, union cvmx_buf_ptr packet, cvmx_pko_lock_t use_locking) argument
460 cvmx_pko_send_packet_finish3( uint64_t port, uint64_t queue, union cvmx_pko_command_word0 pko_command, union cvmx_buf_ptr packet, uint64_t addr, cvmx_pko_lock_t use_locking) argument
495 cvmx_pko_get_base_queue_per_core(int port, int core) argument
541 cvmx_pko_get_base_queue(int port) argument
555 cvmx_pko_get_num_queues(int port) argument
[all...]
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dserdes.h119 int mv88e6341_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
120 int mv88e6390_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
121 int mv88e6390x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
122 int mv88e6393x_serdes_get_lane(struct mv88e6xxx_chip *chip, int port);
124 int port);
126 int port);
127 int mv88e6352_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port);
129 int port, uint8_t *data);
130 size_t mv88e6352_serdes_get_stats(struct mv88e6xxx_chip *chip, int port,
132 int mv88e6390_serdes_get_sset_count(struct mv88e6xxx_chip *chip, int port);
147 mv88e6xxx_serdes_get_lane(struct mv88e6xxx_chip *chip, int port) argument
157 mv88e6xxx_serdes_irq_mapping(struct mv88e6xxx_chip *chip, int port) argument
[all...]
H A Dpcs-6185.c12 #include "port.h"
21 int port; member in struct:mv88e6185_pcs
36 int port; local
40 port = mpcs->port;
43 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_STS, &status);
62 int port = mpcs->port; local
67 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_STS, &status);
116 static int mv88e6185_pcs_init(struct mv88e6xxx_chip *chip, int port) argument
164 mv88e6185_pcs_teardown(struct mv88e6xxx_chip *chip, int port) argument
180 mv88e6185_pcs_select(struct mv88e6xxx_chip *chip, int port, phy_interface_t interface) argument
[all...]
/linux-master/drivers/net/wwan/
H A Dwwan_hwsim.c106 struct wwan_hwsim_port *port = wwan_port_get_drvdata(wport); local
108 port->pstate = AT_PARSER_WAIT_A;
125 struct wwan_hwsim_port *port = wwan_port_get_drvdata(wport); local
145 if (port->pstate == AT_PARSER_WAIT_A) {
147 port->pstate = AT_PARSER_WAIT_T;
149 port->pstate = AT_PARSER_SKIP_LINE;
150 } else if (port->pstate == AT_PARSER_WAIT_T) {
152 port->pstate = AT_PARSER_WAIT_TERM;
154 port->pstate = AT_PARSER_SKIP_LINE;
155 } else if (port
194 struct wwan_hwsim_port *port; local
231 wwan_hwsim_port_del(struct wwan_hwsim_port *port) argument
245 struct wwan_hwsim_port *port = local
327 struct wwan_hwsim_port *port; local
371 struct wwan_hwsim_port *port = file->private_data; local
393 struct wwan_hwsim_port *port; local
474 struct wwan_hwsim_port *port; local
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_mtk.c95 struct mtk8250_data *data = up->port.private_data;
96 struct tty_port *tty_port = &up->port.state->port;
105 uart_port_lock_irqsave(&up->port, &flags);
125 up->port.icount.rx += copied;
131 uart_port_unlock_irqrestore(&up->port, flags);
158 struct mtk8250_data *data = up->port.private_data;
190 static int mtk8250_startup(struct uart_port *port) argument
193 struct uart_8250_port *up = up_to_u8250p(port);
194 struct mtk8250_data *data = port
210 mtk8250_shutdown(struct uart_port *port) argument
241 struct uart_port *port = &up->port; local
302 mtk8250_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
449 mtk8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old) argument
[all...]
H A D8250_of.c35 static int npcm_startup(struct uart_port *port) argument
42 serial_port_out(port, UART_NPCM_TOR, UART_NPCM_TOIE | 0x20);
44 return serial8250_do_startup(port);
48 static unsigned int npcm_get_divisor(struct uart_port *port, unsigned int baud, argument
51 return DIV_ROUND_CLOSEST(port->uartclk, 16 * baud + 2) - 2;
54 static int npcm_setup(struct uart_port *port) argument
56 port->get_divisor = npcm_get_divisor;
57 port->startup = npcm_startup;
71 struct uart_port *port = &up->port; local
250 struct uart_port *port = &port8250->port; local
265 struct uart_port *port = &port8250->port; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-lpc.c24 static u8 opal_lpc_inb(unsigned long port) argument
29 if (opal_lpc_chip_id < 0 || port > 0xffff)
31 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 1);
35 static __le16 __opal_lpc_inw(unsigned long port) argument
40 if (opal_lpc_chip_id < 0 || port > 0xfffe)
42 if (port & 1)
43 return (__le16)opal_lpc_inb(port) << 8 | opal_lpc_inb(port + 1);
44 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 2);
47 static u16 opal_lpc_inw(unsigned long port) argument
52 __opal_lpc_inl(unsigned long port) argument
68 opal_lpc_inl(unsigned long port) argument
73 opal_lpc_outb(u8 val, unsigned long port) argument
80 __opal_lpc_outw(__le16 val, unsigned long port) argument
92 opal_lpc_outw(u16 val, unsigned long port) argument
94 __opal_lpc_outw(cpu_to_le16(val), port); local
97 __opal_lpc_outl(__le32 val, unsigned long port) argument
111 opal_lpc_outl(u32 val, unsigned long port) argument
113 __opal_lpc_outl(cpu_to_le32(val), port); local
[all...]
/linux-master/drivers/phy/marvell/
H A Dphy-mvebu-cp110-utmi.c97 * struct mvebu_cp110_utmi_port - PHY port data
100 * @id: PHY port ID
109 static void mvebu_cp110_utmi_port_setup(struct mvebu_cp110_utmi_port *port) argument
121 reg = readl(PORT_REGS(port) + UTMI_PLL_CTRL_REG);
125 writel(reg, PORT_REGS(port) + UTMI_PLL_CTRL_REG);
128 reg = readl(PORT_REGS(port) + UTMI_CAL_CTRL_REG);
131 writel(reg, PORT_REGS(port) + UTMI_CAL_CTRL_REG);
134 reg = readl(PORT_REGS(port) + UTMI_TX_CH_CTRL_REG);
137 writel(reg, PORT_REGS(port) + UTMI_TX_CH_CTRL_REG);
140 reg = readl(PORT_REGS(port)
166 struct mvebu_cp110_utmi_port *port = phy_get_drvdata(phy); local
191 struct mvebu_cp110_utmi_port *port = phy_get_drvdata(phy); local
310 struct mvebu_cp110_utmi_port *port; local
[all...]
/linux-master/drivers/net/ethernet/sun/
H A Dldmvsw.c72 struct vnet_port *port = netdev_priv(dev); local
74 return port->vp->msg_enable;
79 struct vnet_port *port = netdev_priv(dev); local
81 port->vp->msg_enable = value;
94 /* func arg to vnet_start_xmit_common() to get the proper tx port */
98 struct vnet_port *port = netdev_priv(dev); local
100 return port;
106 struct vnet_port *port = netdev_priv(dev); local
108 if (!port)
111 return port
122 struct vnet_port *port = netdev_priv(dev); local
129 struct vnet_port *port = netdev_priv(dev); local
143 struct vnet_port *port = netdev_priv(dev); local
231 struct vnet_port *port; local
278 struct vnet_port *port; local
407 struct vnet_port *port = dev_get_drvdata(&vdev->dev); local
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.c30 if (io_req && io_req->port && io_req->port->lport &&
31 io_req->port->lport->host)
32 shost_printk(KERN_INFO, io_req->port->lport->host,
54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host &&
56 shost_printk(KERN_INFO, tgt->port->lport->host,
57 PFX "port:%x %pV",
/linux-master/include/linux/platform_data/
H A Dsa11x0-serial.h28 void sa1100_register_uart(int idx, int port);
33 static inline void sa1100_register_uart(int idx, int port) argument

Completed in 238 milliseconds

<<11121314151617181920>>