/drivers/usb/serial/ |
H A D | keyspan_usa28msg.h | 47 If the port is configured for parity, the data will be an 105 baudHi; // baudHi is only used for first port (gives lower rates) 131 port ends in a TX_OFF state); any non-zero value is respected 149 u8 port, // 0=first, 1=second, 2=global (see below) member in struct:keyspan_usa28_portStatusMessage 155 _txOff, // port has been disabled (by host) 156 _txXoff, // port is in XOFF state (either host or RX XOFF) 178 u8 port, // 3 member in struct:keyspan_usa28_globalStatusMessage 185 u8 port, // 2 member in struct:keyspan_usa28_globalDebugMessage
|
H A D | io_ti.c | 89 struct usb_serial_port *port; member in struct:edgeport_port 141 /* The 4, 8 and 16 port devices show up as multiple 2 port devices */ 198 static void edge_tty_recv(struct usb_serial_port *port, unsigned char *data, 205 struct usb_serial_port *port, struct ktermios *old_termios); 206 static void edge_send(struct usb_serial_port *port, struct tty_struct *tty); 209 static int edge_create_sysfs_attrs(struct usb_serial_port *port); 210 static int edge_remove_sysfs_attrs(struct usb_serial_port *port); 257 static int purge_port(struct usb_serial_port *port, __u16 mask) argument 259 int port_number = port 478 tx_active(struct edgeport_port *port) argument 1383 ti_do_config(struct edgeport_port *port, int feature, int on) argument 1394 restore_mcr(struct edgeport_port *port, __u8 mcr) argument 1503 struct usb_serial_port *port; local 1663 edge_tty_recv(struct usb_serial_port *port, unsigned char *data, int length) argument 1677 struct usb_serial_port *port = urb->context; local 1706 edge_open(struct tty_struct *tty, struct usb_serial_port *port) argument 1855 edge_close(struct usb_serial_port *port) argument 1895 edge_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *data, int count) argument 1917 edge_send(struct usb_serial_port *port, struct tty_struct *tty) argument 1967 struct usb_serial_port *port = tty->driver_data; local 1987 struct usb_serial_port *port = tty->driver_data; local 2002 edge_tx_empty(struct usb_serial_port *port) argument 2016 struct usb_serial_port *port = tty->driver_data; local 2041 struct usb_serial_port *port = tty->driver_data; local 2239 edge_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument 2261 struct usb_serial_port *port = tty->driver_data; local 2291 struct usb_serial_port *port = tty->driver_data; local 2349 struct usb_serial_port *port = tty->driver_data; local 2363 struct usb_serial_port *port = tty->driver_data; local 2408 edge_port_probe(struct usb_serial_port *port) argument 2458 edge_port_remove(struct usb_serial_port *port) argument 2474 struct usb_serial_port *port = to_usb_serial_port(dev); local 2483 struct usb_serial_port *port = to_usb_serial_port(dev); local 2498 edge_create_sysfs_attrs(struct usb_serial_port *port) argument 2503 edge_remove_sysfs_attrs(struct usb_serial_port *port) argument [all...] |
/drivers/xen/ |
H A D | evtchn.c | 79 unsigned port; member in struct:user_evtchn 93 if (this->port < evtchn->port) 95 else if (this->port > evtchn->port) 114 static struct user_evtchn *find_evtchn(struct per_user_data *u, unsigned port) argument 123 if (evtchn->port < port) 125 else if (evtchn->port > port) 262 unsigned port = kbuf[i]; local 281 evtchn_bind_to_user(struct per_user_data *u, int port) argument [all...] |
/drivers/tty/serial/ |
H A D | rp2.c | 78 /* port registers */ 87 /* This lets uart_insert_char() drop bytes received on a !CREAD port */ 182 struct uart_port port; member in struct:rp2_uart_port 232 static inline struct rp2_uart_port *port_to_up(struct uart_port *port) argument 234 return container_of(port, struct rp2_uart_port, port); 273 static unsigned int rp2_uart_tx_empty(struct uart_port *port) argument 275 struct rp2_uart_port *up = port_to_up(port); 283 spin_lock_irqsave(&up->port.lock, flags); 285 spin_unlock_irqrestore(&up->port 290 rp2_uart_get_mctrl(struct uart_port *port) argument 302 rp2_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument 311 rp2_uart_start_tx(struct uart_port *port) argument 316 rp2_uart_stop_tx(struct uart_port *port) argument 321 rp2_uart_stop_rx(struct uart_port *port) argument 326 rp2_uart_break_ctl(struct uart_port *port, int break_state) argument 336 rp2_uart_enable_ms(struct uart_port *port) argument 377 rp2_uart_set_termios(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument 405 struct tty_port *port = &up->port.state->port; local 524 rp2_uart_startup(struct uart_port *port) argument 538 rp2_uart_shutdown(struct uart_port *port) argument 551 rp2_uart_type(struct uart_port *port) argument 556 rp2_uart_release_port(struct uart_port *port) argument 561 rp2_uart_request_port(struct uart_port *port) argument 567 rp2_uart_config_port(struct uart_port *port, int flags) argument 573 rp2_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument [all...] |
H A D | earlycon-arm-semihost.c | 35 static void smh_putc(struct uart_port *port, int c) argument 53 uart_console_write(&dev->port, s, n, smh_putc);
|
/drivers/net/irda/ |
H A D | bfin_sir.h | 85 #define port_membase(port) (((struct bfin_sir_port *)(port))->membase) 86 #define get_lsr_cache(port) (((struct bfin_sir_port *)(port))->lsr) 87 #define put_lsr_cache(port, v) (((struct bfin_sir_port *)(port))->lsr = (v))
|
/drivers/media/pci/cx23885/ |
H A D | cimax2.h | 40 extern int netup_ci_init(struct cx23885_tsport *port); 41 extern void netup_ci_exit(struct cx23885_tsport *port);
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | sense.c | 41 int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port, argument 47 err = mlx4_cmd_imm(dev, 0, &out_param, port, 0, 51 mlx4_err(dev, "Sense command failed for port: %d\n", port); 136 int port; local 139 for (port = 1; port <= dev->caps.num_ports; port++) 140 sense->do_sense_port[port] = 1;
|
/drivers/net/ethernet/octeon/ |
H A D | Kconfig | 6 tristate "Octeon Management port ethernet driver (CN5XXX, CN6XXX)" 13 port on Cavium Networks' Octeon CN57XX, CN56XX, CN55XX,
|
/drivers/net/team/ |
H A D | team_mode_activebackup.c | 30 static rx_handler_result_t ab_receive(struct team *team, struct team_port *port, argument 35 if (active_port != port) 56 static void ab_port_leave(struct team *team, struct team_port *port) argument 58 if (ab_priv(team)->active_port == port) { 86 struct team_port *port; local 88 list_for_each_entry(port, &team->port_list, list) { 89 if (port->dev->ifindex == ctx->data.u32_val) { 90 rcu_assign_pointer(ab_priv(team)->active_port, port);
|
/drivers/pps/generators/ |
H A D | pps_gen_parport.c | 2 * pps_gen_parport.c -- kernel parallel port PPS signal generator 37 #define DRVDESC "parallel port PPS signal generator" 54 /* internal per port structure */ 58 long port_write_time; /* calibrated port write time (ns) */ 75 struct parport *port; local 110 port = dev->pardev->port; 111 port->ops->write_control(port, SIGNAL); 120 port 159 struct parport *port = dev->pardev->port; local 193 parport_attach(struct parport *port) argument 227 parport_detach(struct parport *port) argument [all...] |
/drivers/scsi/bfa/ |
H A D | bfa_port.h | 52 #define BFA_MEM_PORT_DMA(__bfa) (&((__bfa)->modules.port.port_dma)) 54 void bfa_port_attach(struct bfa_port_s *port, struct bfa_ioc_s *ioc, 58 bfa_status_t bfa_port_get_stats(struct bfa_port_s *port, 61 bfa_status_t bfa_port_clear_stats(struct bfa_port_s *port, 63 bfa_status_t bfa_port_enable(struct bfa_port_s *port, 65 bfa_status_t bfa_port_disable(struct bfa_port_s *port, 68 void bfa_port_mem_claim(struct bfa_port_s *port, 70 void bfa_port_set_dportenabled(struct bfa_port_s *port,
|
/drivers/tty/serial/8250/ |
H A D | 8250_acorn.c | 66 uart.port.irq = ec->irq; 67 uart.port.flags = UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ; 68 uart.port.uartclk = type->uartclk; 69 uart.port.iotype = UPIO_MEM; 70 uart.port.regshift = 2; 71 uart.port.dev = &ec->dev; 74 uart.port.membase = info->vaddr + type->offset[i]; 75 uart.port.mapbase = bus_addr + type->offset[i]; 137 MODULE_DESCRIPTION("Acorn 8250-compatible serial port expansion card driver");
|
H A D | 8250_dma.c | 22 struct circ_buf *xmit = &p->port.state->xmit; 28 spin_lock_irqsave(&p->port.lock, flags); 34 p->port.icount.tx += dma->tx_size; 37 uart_write_wakeup(&p->port); 39 if (!uart_circ_empty(xmit) && !uart_tx_stopped(&p->port)) 42 spin_unlock_irqrestore(&p->port.lock, flags); 49 struct tty_port *tty_port = &p->port.state->port; 62 p->port.icount.rx += count; 70 struct circ_buf *xmit = &p->port [all...] |
H A D | 8250_gsc.c | 57 uart.port.iotype = UPIO_MEM; 59 uart.port.uartclk = (dev->id.sversion != 0xad) ? 61 uart.port.mapbase = address; 62 uart.port.membase = ioremap_nocache(address, 16); 63 uart.port.irq = dev->irq; 64 uart.port.flags = UPF_BOOT_AUTOCONF; 65 uart.port.dev = &dev->dev; 71 iounmap(uart.port.membase);
|
H A D | 8250_hub6.c | 13 #define HUB6(card,port) \ 20 .hub6 = (card) << 6 | (port) << 3 | 1, \
|
/drivers/rapidio/ |
H A D | rio.c | 54 * rio_local_get_device_id - Get the base/extended device id for a port 55 * @port: RIO master port from which to get the deviceid 58 * implementing the master port. Returns the 8/16-bit device 61 u16 rio_local_get_device_id(struct rio_mport *port) argument 65 rio_local_read_config_32(port, RIO_DID_CSR, &result); 67 return (RIO_GET_DID(port->sys_size, result)); 98 * @mport: RIO master port from which to allocate the mailbox resource 148 * @mport: RIO master port from which to release the mailbox resource 167 * @mport: RIO master port fro 494 rio_mport_get_physefb(struct rio_mport *port, int local, u16 destid, u8 hopcount) argument 605 rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid, u8 hopcount, u8 port_num) argument 1029 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid, u8 hopcount, u32 from) argument 1080 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid, u8 hopcount, int ftr) argument 1290 rio_lock_device(struct rio_mport *port, u16 destid, u8 hopcount, int wait_ms) argument 1334 rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount) argument 1627 struct rio_mport *port; local 1656 struct rio_mport *port; local 1731 struct rio_mport *port; local 1766 struct rio_mport *port = NULL; local 1834 struct rio_mport *port; local 1912 rio_register_mport(struct rio_mport *port) argument [all...] |
/drivers/net/wan/ |
H A D | n2.c | 102 int valid; /* port enabled */ 110 u8 phy_node; /* physical port # - 0 or 1 */ 111 u8 log_node; /* logical port # */ 142 #define port_to_card(port) ((port)->card) 143 #define log_node(port) ((port)->log_node) 144 #define phy_node(port) ((port)->phy_node) 147 #define get_port(card, port) ((car 167 n2_set_iface(port_t *port) argument 213 port_t *port = dev_to_port(dev); local 236 port_t *port = dev_to_port(dev); local 254 port_t *port = dev_to_port(dev); local 452 port_t *port = &card->ports[cnt]; local [all...] |
H A D | pci200syn.c | 80 u8 chan; /* physical port # - 0 or 1 */ 98 #define get_port(card, port) (&card->ports[port]) 120 static void pci200_set_iface(port_t *port) argument 122 card_t *card = port->card; 123 u16 msci = get_msci(port); 124 u8 rxs = port->rxs & CLK_BRG_MASK; 125 u8 txs = port->txs & CLK_BRG_MASK; 127 sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, 128 port 162 port_t *port = dev_to_port(dev); local 191 port_t *port = dev_to_port(dev); local 385 port_t *port = &card->ports[i]; local [all...] |
/drivers/infiniband/core/ |
H A D | multicast.c | 74 struct mcast_port port[0]; member in struct:mcast_device 99 struct mcast_port *port; member in struct:mcast_group 130 static struct mcast_group *mcast_find(struct mcast_port *port, argument 133 struct rb_node *node = port->table.rb_node; 151 static struct mcast_group *mcast_insert(struct mcast_port *port, argument 155 struct rb_node **link = &port->table.rb_node; 176 rb_insert_color(&group->node, &port->table); 180 static void deref_port(struct mcast_port *port) argument 182 if (atomic_dec_and_test(&port->refcount)) 183 complete(&port 188 struct mcast_port *port = group->port; local 332 struct mcast_port *port = group->port; local 351 struct mcast_port *port = group->port; local 557 acquire_group(struct mcast_port *port, union ib_gid *mgid, gfp_t gfp_mask) argument 697 struct mcast_port *port; local 749 mcast_groups_event(struct mcast_port *port, enum mcast_group_state state) argument 802 struct mcast_port *port; local 850 struct mcast_port *port; local [all...] |
/drivers/usb/gadget/function/ |
H A D | f_obex.c | 35 struct gserial port; member in struct:f_obex 45 return container_of(f, struct f_obex, port.func); 50 return container_of(p, struct f_obex, port); 211 if (obex->port.in->driver_data) { 214 gserial_disconnect(&obex->port); 217 if (!obex->port.in->desc || !obex->port.out->desc) { 221 obex->port.in) || 223 obex->port.out)) { 224 obex->port [all...] |
/drivers/ata/ |
H A D | pata_atp867x.c | 86 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ 87 (port) * ATP867X_IO_CHANNEL_OFFSET) 88 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ 89 ATP867X_IO_PORTBASE((ap), (port))) 91 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ 92 ATP867X_IO_PORTBASE((ap), (port))) 93 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ 94 ATP867X_IO_PORTBASE((ap), (port))) 99 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ 100 ATP867X_IO_DMABASE((ap), (port))) 300 atp867x_check_ports(struct ata_port *ap, int port) argument 353 int port = ap->port_no; local [all...] |
/drivers/char/ |
H A D | pc8736x_gpio.c | 69 /* GPIO port runtime access, functionality */ 118 /* select GPIO port/pin from device minor number */ 154 int port, bit, val; local 156 port = minor >> 3; 158 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); 163 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, 171 int port, bit, curval; local 174 port = minor >> 3; 176 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); 179 pc8736x_gpio_base + port_offset[port] 198 int port, bit; local 242 int port; local [all...] |
/drivers/staging/octeon/ |
H A D | ethernet-rgmii.c | 62 * touch registers that affect more than one port. 69 link_info = cvmx_helper_link_get(priv->port); 83 int interface = INTERFACE(priv->port); 84 int index = INDEX(priv->port); 116 0xffffffffull ^ (1ull << priv->port); 145 int interface = INTERFACE(priv->port); 146 int index = INDEX(priv->port); 156 ipd_sub_port_fcs.s.port_bit |= 1ull << priv->port; 165 link_info = cvmx_helper_link_autoconf(priv->port); 180 printk_ratelimited("%s: %u Mbps %s duplex, port [all...] |
/drivers/usb/host/ |
H A D | ohci-s3c2410.c | 105 struct s3c2410_hcd_port *port; local 114 port = &info->port[0]; 116 /* mark any changed port as changed */ 118 for (portno = 0; portno < 2; port++, portno++) { 119 if (port->oc_changed == 1 && 120 port->flags & S3C_HCDFLG_USED) { 122 "oc change on port %d\n", portno); 136 * configure the power on a port, by calling the platform device 141 int port, in 140 s3c2410_usb_set_power(struct s3c2410_hcd_info *info, int port, int to) argument 292 struct s3c2410_hcd_port *port; local [all...] |