Home
last modified time | relevance | path

Searched refs:port2 (Results 1 – 17 of 17) sorted by relevance

/drivers/ide/
Dcmd640.c722 const char *bus_type, *port2; in cmd640x_init() local
808 port2 = "okay"; in cmd640x_init()
811 port2 = "alive"; in cmd640x_init()
813 port2 = "not cmd640"; in cmd640x_init()
818 port2 = "enabled"; in cmd640x_init()
821 port2 = "not responding"; in cmd640x_init()
832 second_port_cmd640 ? "" : "not ", port2); in cmd640x_init()
/drivers/platform/x86/
Dhdaps.c178 static int __hdaps_read_pair(unsigned int port1, unsigned int port2, in __hdaps_read_pair() argument
185 *y = inw(port2); in __hdaps_read_pair()
203 static int hdaps_read_pair(unsigned int port1, unsigned int port2, in hdaps_read_pair() argument
209 ret = __hdaps_read_pair(port1, port2, val1, val2); in hdaps_read_pair()
/drivers/media/tuners/
Dtda9887.c433 static unsigned int port2 = UNSET; variable
438 module_param(port2, int, 0644);
453 if (UNSET != port2) { in tda9887_set_insmod()
454 if (port2) in tda9887_set_insmod()
Dtea5767.h32 unsigned int port2:1; member
Dtea5767.c216 if (priv->ctrl.port2) in set_radio_freq()
458 priv->ctrl.port2 = 1; in tea5767_attach()
/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c163 u8 *port1, u8 *port2) in mlx5_infer_tx_affinity_mapping() argument
166 *port2 = 2; in mlx5_infer_tx_affinity_mapping()
175 *port2 = 1; in mlx5_infer_tx_affinity_mapping()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1472 u8 port2 = v2p->port2; in mlx4_port_map_set() local
1484 if (port2 == 0) in mlx4_port_map_set()
1485 port2 = priv->v2p.port2; in mlx4_port_map_set()
1488 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1489 (port1 == 2 && port2 == 1)) { in mlx4_port_map_set()
1494 (port2 == priv->v2p.port2)) { in mlx4_port_map_set()
1497 err = mlx4_virt2phy_port_map(dev, port1, port2); in mlx4_port_map_set()
1500 port1, port2); in mlx4_port_map_set()
1502 priv->v2p.port2 = port2; in mlx4_port_map_set()
3570 priv->v2p.port2 = 2; in mlx4_load_one()
Dfw.c2531 int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2) in mlx4_virt2phy_port_map() argument
2546 v2p->v_port2 = cpu_to_be32(port2); in mlx4_virt2phy_port_map()
Den_netdev.c3026 bond->port_map.port2, in mlx4_en_bond_work()
3051 bond->port_map.port2 = v2p_p2; in mlx4_en_queue_bond_work()
/drivers/net/ethernet/sfc/falcon/
Dfarch.c1993 __be16 rport, port1, port2; in ef4_farch_filter_from_gen_spec() local
2026 port2 = rport; in ef4_farch_filter_from_gen_spec()
2029 port2 = gen_spec->loc_port; in ef4_farch_filter_from_gen_spec()
2032 spec->data[1] = ntohs(port2) << 16 | ntohl(host1) >> 16; in ef4_farch_filter_from_gen_spec()
2091 __be16 port1, port2; in ef4_farch_filter_to_gen_spec() local
2109 port2 = htons(spec->data[1] >> 16); in ef4_farch_filter_to_gen_spec()
2120 gen_spec->rem_port = port2; in ef4_farch_filter_to_gen_spec()
2122 gen_spec->loc_port = port2; in ef4_farch_filter_to_gen_spec()
/drivers/net/ethernet/sfc/
Dfarch.c2058 __be16 rport, port1, port2; in efx_farch_filter_from_gen_spec() local
2091 port2 = rport; in efx_farch_filter_from_gen_spec()
2094 port2 = gen_spec->loc_port; in efx_farch_filter_from_gen_spec()
2097 spec->data[1] = ntohs(port2) << 16 | ntohl(host1) >> 16; in efx_farch_filter_from_gen_spec()
2156 __be16 port1, port2; in efx_farch_filter_to_gen_spec() local
2174 port2 = htons(spec->data[1] >> 16); in efx_farch_filter_to_gen_spec()
2185 gen_spec->rem_port = port2; in efx_farch_filter_to_gen_spec()
2187 gen_spec->loc_port = port2; in efx_farch_filter_to_gen_spec()
/drivers/tty/serial/
Dserial_core.c2940 int uart_match_port(struct uart_port *port1, struct uart_port *port2) in uart_match_port() argument
2942 if (port1->iotype != port2->iotype) in uart_match_port()
2947 return (port1->iobase == port2->iobase); in uart_match_port()
2949 return (port1->iobase == port2->iobase) && in uart_match_port()
2950 (port1->hub6 == port2->hub6); in uart_match_port()
2957 return (port1->mapbase == port2->mapbase); in uart_match_port()
/drivers/parport/
Dparport_pc.c2440 unsigned port1, port2; in sio_via_probe() local
2554 port2 = 0x7bc; break; in sio_via_probe()
2556 port2 = 0x778; break; in sio_via_probe()
2558 port2 = 0x678; break; in sio_via_probe()
2580 if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) { in sio_via_probe()
/drivers/char/
Dsonypi.c157 u16 port2; member
1254 dev->ioport2 = ioport_list->port2; in sonypi_setup_ioports()
Dvirtio_console.c1996 struct port *port, *port2; in virtcons_remove() local
2012 list_for_each_entry_safe(port, port2, &portdev->ports, list) in virtcons_remove()
/drivers/scsi/cxlflash/
Dmain.c3084 static DEVICE_ATTR_RO(port2);
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c592 VPD_ENTRY(port2, 2); /* PHY2 complex */