Searched defs:port (Results 1 - 25 of 921) sorted by relevance

1234567891011>>

/drivers/media/pci/cx23885/
H A Dnetup-eeprom.h29 struct netup_port_info port[2];/* ports - 1,2 */ member in struct:netup_card_info
/drivers/pci/pcie/
H A Dportdrv_acpi.c24 * @port: PCIe Port service for a root port or event collector.
25 * @srv_mask: Bit mask of services that can be enabled for @port.
27 * Invoked when @port is identified as a PCIe port device. To avoid conflicts
28 * with the BIOS PCIe port native services support requires the BIOS to yield
30 * allows to be enabled for @port is written to @srv_mask.
32 * NOTE: It turns out that we cannot do that for individual port services
35 int pcie_port_acpi_setup(struct pci_dev *port, int *srv_mask) argument
44 handle = acpi_find_root_bridge_handle(port);
[all...]
H A Dportdrv.h17 * the MSI-X table entries used by port services must not exceed 31
70 int pcie_port_acpi_setup(struct pci_dev *port, int *mask);
72 static inline int pcie_port_platform_notify(struct pci_dev *port, int *mask) argument
74 return pcie_port_acpi_setup(port, mask);
77 static inline int pcie_port_platform_notify(struct pci_dev *port, int *mask) argument
/drivers/tty/serial/8250/
H A D8250_fsl.c26 int fsl8250_handle_irq(struct uart_port *port) argument
31 struct uart_8250_port *up = up_to_u8250p(port);
33 spin_lock_irqsave(&up->port.lock, flags);
35 iir = port->serial_in(port, UART_IIR);
37 spin_unlock_irqrestore(&up->port.lock, flags);
44 port->serial_in(port, UART_RX);
45 spin_unlock_irqrestore(&up->port.lock, flags);
49 lsr = orig_lsr = up->port
[all...]
/drivers/gpu/drm/
H A Ddrm_of.c9 * drm_crtc_port_mask - find the mask of a registered CRTC by port OF node
11 * @port: port OF node
13 * Given a port OF node, return the possible mask of the corresponding
17 struct device_node *port)
23 if (tmp->port == port)
33 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port
35 * @port: encoder port t
16 drm_crtc_port_mask(struct drm_device *dev, struct device_node *port) argument
43 drm_of_find_possible_crtcs(struct drm_device *dev, struct device_node *port) argument
[all...]
/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmad.c40 u16 opmod, u8 port)
58 in->port = port;
39 mlx5_core_mad_ifc(struct mlx5_core_dev *dev, void *inb, void *outb, u16 opmod, u8 port) argument
/drivers/net/team/
H A Dteam_mode_random.c20 struct team_port *port; local
24 port = team_get_port_by_index_rcu(team, port_index);
25 if (unlikely(!port))
27 port = team_get_first_port_txable_rcu(team, port);
28 if (unlikely(!port))
30 if (team_dev_queue_xmit(team, port, skb))
H A Dteam_mode_roundrobin.c30 struct team_port *port; local
35 port = team_get_port_by_index_rcu(team, port_index);
36 if (unlikely(!port))
38 port = team_get_first_port_txable_rcu(team, port);
39 if (unlikely(!port))
41 if (team_dev_queue_xmit(team, port, skb))
/drivers/gpu/drm/nouveau/core/subdev/bios/
H A Dmxm.c111 mxm_ddc_map(struct nouveau_bios *bios, u8 port) argument
120 if (port < nv_ro08(bios, map + 3)) {
122 map += port;
133 /* v2.x: directly write port as dcb i2cidx */
134 return (port << 4) | port;
/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dpad.h9 struct nouveau_i2c_port *port; member in struct:nvkm_i2c_pad
14 nvkm_i2c_pad(struct nouveau_i2c_port *port) argument
16 struct nouveau_object *pad = nv_object(port);
/drivers/i2c/busses/
H A Di2c-parport.h2 * i2c-parport.h I2C bus over parallel port *
23 u8 port; member in struct:lineop
85 /* type 7: One For All JP1 parallel port adapter */
105 " 7 = One For All JP1 parallel port adapter\n"
/drivers/input/gameport/
H A Demu10k1-gp.c62 struct gameport *port; local
66 port = gameport_allocate_port();
67 if (!emu || !port) {
81 emu->gameport = port;
83 gameport_set_name(port, "EMU10K1");
84 gameport_set_phys(port, "pci%s/gameport0", pci_name(pdev));
85 port->dev.parent = &pdev->dev;
86 port->io = emu->io;
97 gameport_register_port(port);
104 gameport_free_port(port);
[all...]
/drivers/isdn/hardware/mISDN/
H A Diohelper.h5 * indirect port IO (one port for address, one for data)
34 u32 port; member in struct:_ioport
41 return inb(hw->ap.port + off); \
45 outb(val, hw->ap.port + off); \
49 insb(hw->ap.port + off, dp, size); \
53 outsb(hw->ap.port + off, dp, size); \
60 return inb(hw->ap.port); \
65 outb(val, hw->ap.port); \
70 insb(hw->ap.port, d
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-buffer.c71 struct saa7164_dev *dev = buf->port->dev;
92 struct saa7164_buffer *saa7164_buffer_alloc(struct saa7164_port *port, argument
95 struct tmHWStreamParameters *params = &port->hw_streamingparams;
97 struct saa7164_dev *dev = port->dev;
112 buf->port = port;
122 buf->cpu = pci_alloc_consistent(port->dev->pci, buf->pci_size,
127 buf->pt_cpu = pci_alloc_consistent(port->dev->pci, buf->pt_size,
156 pci_free_consistent(port->dev->pci, buf->pci_size, buf->cpu, buf->dma);
169 if (!buf || !buf->port)
187 saa7164_buffer_zero_offsets(struct saa7164_port *port, int i) argument
204 struct saa7164_port *port = buf->port; local
235 saa7164_buffer_cfg_port(struct saa7164_port *port) argument
[all...]
/drivers/media/pci/solo6x10/
H A Dsolo6x10-gpio.c31 int port; local
37 for (port = 0; port < 16; port++) {
38 if (!((1 << port) & port_mask))
41 ret &= (~(3 << (port << 1)));
42 ret |= ((mode & 3) << (port << 1));
50 for (port = 0; port < 16; port
[all...]
/drivers/misc/altera-stapl/
H A Daltera-lpt.c32 static void byteblaster_write(int port, int data) argument
34 outb((u8)data, (u16)(port + 0x378));
37 static int byteblaster_read(int port) argument
40 data = inb((u16)(port + 0x378));
/drivers/pnp/
H A Dsystem.c25 static void reserve_range(struct pnp_dev *dev, struct resource *r, int port) argument
37 if (port)
/drivers/s390/char/
H A Dkeyboard.h23 struct tty_port *port; member in struct:kbd_data
44 kbd_put_queue(struct tty_port *port, int ch) argument
46 tty_insert_flip_char(port, ch, 0);
47 tty_schedule_flip(port);
51 kbd_puts_queue(struct tty_port *port, char *cp) argument
54 tty_insert_flip_char(port, *cp++, 0);
55 tty_schedule_flip(port);
/drivers/scsi/libsas/
H A Dsas_dump.c49 SAS_DPRINTK("phy%d: port event: %s\n", phyid, sas_porte_str[pe]);
62 void sas_dump_port(struct asd_sas_port *port) argument
64 SAS_DPRINTK("port%d: class:0x%x\n", port->id, port->class);
65 SAS_DPRINTK("port%d: sas_addr:%llx\n", port->id,
66 SAS_ADDR(port->sas_addr));
67 SAS_DPRINTK("port%d: attached_sas_addr:%llx\n", port
[all...]
H A Dsas_phy.c57 struct asd_sas_port *port = phy->port; local
65 if (!port && phy->enabled && i->dft->lldd_control_phy) {
156 phy->port = NULL;
/drivers/staging/octeon/
H A Docteon-ethernet.h41 /* PKO hardware output port */
42 int port; member in struct:octeon_ethernet
43 /* PKO hardware queue for the port */
50 * Type of port. This is one of the enums in
/drivers/staging/speakup/
H A Dserialio.h17 unsigned int port; member in struct:old_serial_port
/drivers/staging/xgifb/
H A Dvb_util.c4 void xgifb_reg_set(unsigned long port, u8 index, u8 data) argument
6 outb(index, port);
7 outb(data, port + 1);
10 u8 xgifb_reg_get(unsigned long port, u8 index) argument
14 outb(index, port);
15 data = inb(port + 1);
19 void xgifb_reg_and_or(unsigned long port, u8 index, argument
24 temp = xgifb_reg_get(port, index); /* XGINew_Part1Port index 02 */
26 xgifb_reg_set(port, index, temp);
29 void xgifb_reg_and(unsigned long port, u argument
38 xgifb_reg_or(unsigned long port, u8 index, unsigned data_or) argument
[all...]
/drivers/tty/serial/
H A Dearlycon-arm-semihost.c35 static void smh_putc(struct uart_port *port, int c) argument
53 uart_console_write(&dev->port, s, n, smh_putc);
/drivers/usb/serial/
H A Dnavman.c32 struct usb_serial_port *port = urb->context; local
45 dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n",
49 dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n",
54 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data);
57 tty_insert_flip_string(&port->port, data, urb->actual_length);
58 tty_flip_buffer_push(&port->port);
69 static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) argument
73 if (port
85 navman_close(struct usb_serial_port *port) argument
90 navman_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
[all...]

Completed in 5115 milliseconds

1234567891011>>