/linux-4.4.14/drivers/ide/ |
H A D | jmicron.c | 37 port_type port_map[2]; jmicron_cable_detect() local 45 port_map[0] = PORT_SATA; jmicron_cable_detect() 46 port_map[1] = PORT_PATA0; jmicron_cable_detect() 48 port_map[0] = PORT_SATA; jmicron_cable_detect() 49 port_map[1] = PORT_SATA; jmicron_cable_detect() 56 port_map[0] = PORT_PATA1; jmicron_cable_detect() 67 switch (port_map[port]) { jmicron_cable_detect()
|
/linux-4.4.14/drivers/ata/ |
H A D | pata_jmicron.c | 49 port_type port_map[2]; jmicron_pre_reset() local 60 port_map[0] = PORT_SATA; jmicron_pre_reset() 61 port_map[1] = PORT_PATA0; jmicron_pre_reset() 63 port_map[0] = PORT_SATA; jmicron_pre_reset() 64 port_map[1] = PORT_SATA; jmicron_pre_reset() 71 port_map[0] = PORT_PATA1; jmicron_pre_reset() 82 switch (port_map[port]) { jmicron_pre_reset()
|
H A D | libahci.c | 402 u32 cap, cap2, vers, port_map; ahci_save_initial_config() local 412 hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL); ahci_save_initial_config() 466 if (hpriv->force_port_map && port_map != hpriv->force_port_map) { ahci_save_initial_config() 467 dev_info(dev, "forcing port_map 0x%x -> 0x%x\n", ahci_save_initial_config() 468 port_map, hpriv->force_port_map); ahci_save_initial_config() 469 port_map = hpriv->force_port_map; ahci_save_initial_config() 470 hpriv->saved_port_map = port_map; ahci_save_initial_config() 474 dev_warn(dev, "masking port_map 0x%x -> 0x%x\n", ahci_save_initial_config() 475 port_map, ahci_save_initial_config() 476 port_map & hpriv->mask_port_map); ahci_save_initial_config() 477 port_map &= hpriv->mask_port_map; ahci_save_initial_config() 480 /* cross check port_map and cap.n_ports */ ahci_save_initial_config() 481 if (port_map) { ahci_save_initial_config() 485 if (port_map & (1 << i)) ahci_save_initial_config() 489 * port_map and let it be generated from n_ports. ahci_save_initial_config() 494 port_map, ahci_nr_ports(cap)); ahci_save_initial_config() 495 port_map = 0; ahci_save_initial_config() 499 /* fabricate port_map from cap.nr_ports for < AHCI 1.3 */ ahci_save_initial_config() 500 if (!port_map && vers < 0x10300) { ahci_save_initial_config() 501 port_map = (1 << ahci_nr_ports(cap)) - 1; ahci_save_initial_config() 502 dev_warn(dev, "forcing PORTS_IMPL to 0x%x\n", port_map); ahci_save_initial_config() 505 hpriv->saved_port_map = port_map; ahci_save_initial_config() 511 hpriv->port_map = port_map; ahci_save_initial_config() 1889 irq_masked = irq_stat & hpriv->port_map; ahci_single_edge_irq_intr() 1926 irq_masked = irq_stat & hpriv->port_map; ahci_single_level_irq_intr() 2394 impl = hpriv->port_map; ahci_print_info()
|
H A D | acard-ahci.c | 460 * both CAP.NP and port_map. acard_ahci_init_one() 462 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); acard_ahci_init_one() 486 if (!(hpriv->port_map & (1 << i))) acard_ahci_init_one()
|
H A D | libahci_platform.c | 539 * both CAP.NP and port_map. ahci_platform_init_host() 541 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); ahci_platform_init_host() 569 if (!(hpriv->port_map & (1 << i))) ahci_platform_init_host()
|
H A D | sata_highbank.c | 531 * both CAP.NP and port_map. ahci_highbank_probe() 533 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); ahci_highbank_probe() 561 if (!(hpriv->port_map & (1 << i))) ahci_highbank_probe()
|
H A D | ahci.h | 331 u32 port_map; /* port map to use */ member in struct:ahci_host_priv 334 u32 saved_port_map; /* saved initial port_map */
|
H A D | ahci.c | 624 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { ahci_pci_reset_controller() 625 tmp16 |= hpriv->port_map; ahci_pci_reset_controller() 1599 * both CAP.NP and port_map. ahci_init_one() 1601 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); ahci_init_one() 1631 if (!(hpriv->port_map & (1 << i))) ahci_init_one()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 2560 struct mlx4_port_map port_map; member in struct:mlx4_en_bond 2578 err = mlx4_port_map_set(dev, &bond->port_map); mlx4_en_bond_work() 2581 bond->port_map.port1, mlx4_en_bond_work() 2582 bond->port_map.port2, mlx4_en_bond_work() 2606 bond->port_map.port1 = v2p_p1; mlx4_en_queue_bond_work() 2607 bond->port_map.port2 = v2p_p2; mlx4_en_queue_bond_work()
|
/linux-4.4.14/sound/pci/hda/ |
H A D | patch_ca0132.c | 1933 * @port_map: pointer to the port list to hold the allocated ports 1941 unsigned int *port_map) dsp_allocate_router_ports() 1970 *port_map = res; dsp_allocate_router_ports() 2000 unsigned int rate_multi, unsigned int *port_map) dsp_allocate_ports() 2012 rate_multi, 0, port_map); dsp_allocate_ports() 2021 unsigned int *port_map) dsp_allocate_ports_format() 2037 status = dsp_allocate_ports(codec, num_chans, rate_multi, port_map); dsp_allocate_ports_format() 1937 dsp_allocate_router_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int ports_per_channel, unsigned int start_device, unsigned int *port_map) dsp_allocate_router_ports() argument 1998 dsp_allocate_ports(struct hda_codec *codec, unsigned int num_chans, unsigned int rate_multi, unsigned int *port_map) dsp_allocate_ports() argument 2019 dsp_allocate_ports_format(struct hda_codec *codec, const unsigned short fmt, unsigned int *port_map) dsp_allocate_ports_format() argument
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
H A D | mvpp2.c | 928 u32 port_map; member in struct:mvpp2_bm_pool 1710 unsigned int port_map) mvpp2_prs_vlan_add() 1777 mvpp2_prs_tcam_port_map_set(pe, port_map); mvpp2_prs_vlan_add() 1844 unsigned int port_map) mvpp2_prs_double_vlan_add() 1914 mvpp2_prs_tcam_port_map_set(pe, port_map); mvpp2_prs_double_vlan_add() 3735 port->pool_long->port_map |= (1 << port->id); mvpp2_swf_bm_pool_init() 3749 port->pool_short->port_map |= (1 << port->id); mvpp2_swf_bm_pool_init() 1709 mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, unsigned int port_map) mvpp2_prs_vlan_add() argument 1842 mvpp2_prs_double_vlan_add(struct mvpp2 *priv, unsigned short tpid1, unsigned short tpid2, unsigned int port_map) mvpp2_prs_double_vlan_add() argument
|