Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_of.c377 const struct device_node *port2) in drm_of_lvds_get_dual_link_pixel_order() argument
381 if (!port1 || !port2) in drm_of_lvds_get_dual_link_pixel_order()
388 remote_p2_pt = drm_of_lvds_get_remote_pixels_type(port2); in drm_of_lvds_get_dual_link_pixel_order()
/drivers/platform/x86/
Dhdaps.c166 static int __hdaps_read_pair(unsigned int port1, unsigned int port2, in __hdaps_read_pair() argument
173 *y = inw(port2); in __hdaps_read_pair()
191 static int hdaps_read_pair(unsigned int port1, unsigned int port2, in hdaps_read_pair() argument
197 ret = __hdaps_read_pair(port1, port2, val1, val2); in hdaps_read_pair()
/drivers/media/tuners/
Dtda9887.c434 static unsigned int port2 = UNSET; variable
439 module_param(port2, int, 0644);
454 if (UNSET != port2) { in tda9887_set_insmod()
455 if (port2) in tda9887_set_insmod()
Dtea5767.h20 unsigned int port2:1; member
Dtea5767.c213 if (priv->ctrl.port2) in set_radio_freq()
455 priv->ctrl.port2 = 1; in tea5767_attach()
/drivers/gpu/drm/bridge/
Dti-sn65dsi83.c627 struct device_node *port2, *port3; in sn65dsi83_parse_dt() local
630 port2 = of_graph_get_port_by_id(dev->of_node, 2); in sn65dsi83_parse_dt()
632 dual_link = drm_of_lvds_get_dual_link_pixel_order(port2, port3); in sn65dsi83_parse_dt()
633 of_node_put(port2); in sn65dsi83_parse_dt()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1508 u8 port2 = v2p->port2; in mlx4_port_map_set() local
1520 if (port2 == 0) in mlx4_port_map_set()
1521 port2 = priv->v2p.port2; in mlx4_port_map_set()
1524 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1525 (port1 == 2 && port2 == 1)) { in mlx4_port_map_set()
1530 (port2 == priv->v2p.port2)) { in mlx4_port_map_set()
1533 err = mlx4_virt2phy_port_map(dev, port1, port2); in mlx4_port_map_set()
1536 port1, port2); in mlx4_port_map_set()
1538 priv->v2p.port2 = port2; in mlx4_port_map_set()
3639 priv->v2p.port2 = 2; in mlx4_load_one()
Dfw.c2553 int mlx4_virt2phy_port_map(struct mlx4_dev *dev, u32 port1, u32 port2) in mlx4_virt2phy_port_map() argument
2568 v2p->v_port2 = cpu_to_be32(port2); in mlx4_virt2phy_port_map()
Den_netdev.c2924 bond->port_map.port2, in mlx4_en_bond_work()
2949 bond->port_map.port2 = v2p_p2; in mlx4_en_queue_bond_work()
/drivers/net/ethernet/sfc/
Dfarch.c2052 __be16 rport, port1, port2; in efx_farch_filter_from_gen_spec() local
2085 port2 = rport; in efx_farch_filter_from_gen_spec()
2088 port2 = gen_spec->loc_port; in efx_farch_filter_from_gen_spec()
2091 spec->data[1] = ntohs(port2) << 16 | ntohl(host1) >> 16; in efx_farch_filter_from_gen_spec()
2150 __be16 port1, port2; in efx_farch_filter_to_gen_spec() local
2168 port2 = htons(spec->data[1] >> 16); in efx_farch_filter_to_gen_spec()
2179 gen_spec->rem_port = port2; in efx_farch_filter_to_gen_spec()
2181 gen_spec->loc_port = port2; in efx_farch_filter_to_gen_spec()
/drivers/net/ethernet/sfc/falcon/
Dfarch.c1985 __be16 rport, port1, port2; in ef4_farch_filter_from_gen_spec() local
2018 port2 = rport; in ef4_farch_filter_from_gen_spec()
2021 port2 = gen_spec->loc_port; in ef4_farch_filter_from_gen_spec()
2024 spec->data[1] = ntohs(port2) << 16 | ntohl(host1) >> 16; in ef4_farch_filter_from_gen_spec()
2083 __be16 port1, port2; in ef4_farch_filter_to_gen_spec() local
2101 port2 = htons(spec->data[1] >> 16); in ef4_farch_filter_to_gen_spec()
2112 gen_spec->rem_port = port2; in ef4_farch_filter_to_gen_spec()
2114 gen_spec->loc_port = port2; in ef4_farch_filter_to_gen_spec()
/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c180 u8 *port1, u8 *port2) in mlx5_infer_tx_affinity_mapping() argument
192 *port2 = 2; in mlx5_infer_tx_affinity_mapping()
197 *port2 = 1; in mlx5_infer_tx_affinity_mapping()
/drivers/tty/serial/
Dserial_core.c3085 const struct uart_port *port2) in uart_match_port() argument
3087 if (port1->iotype != port2->iotype) in uart_match_port()
3092 return port1->iobase == port2->iobase; in uart_match_port()
3094 return port1->iobase == port2->iobase && in uart_match_port()
3095 port1->hub6 == port2->hub6; in uart_match_port()
3102 return port1->mapbase == port2->mapbase; in uart_match_port()
/drivers/parport/
Dparport_pc.c2410 unsigned port1, port2; in sio_via_probe() local
2522 port2 = 0x7bc; break; in sio_via_probe()
2524 port2 = 0x778; break; in sio_via_probe()
2526 port2 = 0x678; break; in sio_via_probe()
2547 if (parport_pc_probe_port(port1, port2, irq, dma, &pdev->dev, 0)) { in sio_via_probe()
/drivers/char/
Dsonypi.c143 u16 port2; member
1240 dev->ioport2 = ioport_list->port2; in sonypi_setup_ioports()
Dvirtio_console.c1952 struct port *port, *port2; in virtcons_remove() local
1975 list_for_each_entry_safe(port, port2, &portdev->ports, list) in virtcons_remove()
/drivers/usb/cdns3/
Dcdnsp-ring.c791 bool port2 = false; in cdnsp_handle_port_status() local
807 port2 = true; in cdnsp_handle_port_status()
861 if (!port2) in cdnsp_handle_port_status()
/drivers/scsi/cxlflash/
Dmain.c3094 static DEVICE_ATTR_RO(port2);
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c592 VPD_ENTRY(port2, 2); /* PHY2 complex */