Home
last modified time | relevance | path

Searched refs:port_map (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/ata/
H A Dpata_jmicron.c50 port_type port_map[2]; in jmicron_pre_reset() local
61 port_map[0] = PORT_SATA; in jmicron_pre_reset()
62 port_map[1] = PORT_PATA0; in jmicron_pre_reset()
64 port_map[0] = PORT_SATA; in jmicron_pre_reset()
65 port_map[1] = PORT_SATA; in jmicron_pre_reset()
72 port_map[0] = PORT_PATA1; in jmicron_pre_reset()
83 switch (port_map[port]) { in jmicron_pre_reset()
H A Dlibahci.c451 unsigned long port_map; in ahci_save_initial_config() local
536 port_map = readl(mmio + HOST_PORTS_IMPL); in ahci_save_initial_config()
537 if (hpriv->saved_port_map && port_map != hpriv->saved_port_map) { in ahci_save_initial_config()
538 dev_info(dev, "forcing port_map 0x%lx -> 0x%x\n", in ahci_save_initial_config()
539 port_map, hpriv->saved_port_map); in ahci_save_initial_config()
540 port_map = hpriv->saved_port_map; in ahci_save_initial_config()
542 hpriv->saved_port_map = port_map; in ahci_save_initial_config()
547 dev_warn(dev, "masking port_map 0x%lx -> 0x%lx\n", in ahci_save_initial_config()
548 port_map, in ahci_save_initial_config()
549 port_map in ahci_save_initial_config()
624 unsigned long port_map = hpriv->port_map; ahci_restore_initial_config() local
[all...]
H A Dacard-ahci.c408 * both CAP.NP and port_map. in acard_ahci_init_one()
410 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in acard_ahci_init_one()
434 if (!(hpriv->port_map & (1 << i))) in acard_ahci_init_one()
H A Dahci.c1595 * port_map may hold a value of 0x00.
1597 * Overriding CAP.NP to 0x02 and the port_map to 0x7 will reveal all 3 ports
1619 hpriv->port_map = 0x7; in acer_sa5_271_workaround()
1647 irq_masked = irq_stat & hpriv->port_map; in ahci_thunderx_irq_handler()
1828 * port_map is determined from PORTS_IMPL PCI register which is in ahci_intel_pcs_quirk()
1836 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { in ahci_intel_pcs_quirk()
1837 tmp16 |= hpriv->port_map; in ahci_intel_pcs_quirk()
2031 * both CAP.NP and port_map. in ahci_init_one()
2033 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_init_one()
[all...]
H A Dlibahci_platform.c733 * both CAP.NP and port_map. in ahci_platform_init_host()
735 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_platform_init_host()
763 if (!(hpriv->port_map & (1 << i))) in ahci_platform_init_host()
H A Dsata_highbank.c518 * both CAP.NP and port_map. in ahci_highbank_probe()
520 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_highbank_probe()
548 if (!(hpriv->port_map & (1 << i))) in ahci_highbank_probe()
H A Dahci.h338 u32 port_map; /* port map to use */ member
341 u32 saved_port_map; /* saved initial port_map */
H A Dahci_xgene.c596 irq_masked = irq_stat & hpriv->port_map; in xgene_ahci_irq_intr()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta_bm.h127 u8 port_map; member
138 struct mvneta_bm_pool *bm_pool, u8 port_map);
140 u8 port_map);
165 u8 port_map) {} in mvneta_bm_pool_destroy() argument
168 u8 port_map) {} in mvneta_bm_bufs_free() argument
H A Dmvneta_bm.c166 new_pool->port_map != 1 << port_id) { in mvneta_bm_pool_use()
218 u8 port_map) in mvneta_bm_bufs_free() argument
222 bm_pool->port_map &= ~port_map; in mvneta_bm_bufs_free()
223 if (bm_pool->port_map) in mvneta_bm_bufs_free()
259 struct mvneta_bm_pool *bm_pool, u8 port_map) in mvneta_bm_pool_destroy() argument
262 bm_pool->port_map &= ~port_map; in mvneta_bm_pool_destroy()
263 if (bm_pool->port_map) in mvneta_bm_pool_destroy()
268 mvneta_bm_bufs_free(priv, bm_pool, port_map); in mvneta_bm_pool_destroy()
[all...]
H A Dmvneta.c1182 pp->pool_long->port_map |= 1 << pp->id; in mvneta_bm_port_init()
1202 pp->pool_short->port_map |= 1 << pp->id; in mvneta_bm_port_init()
/linux/drivers/net/dsa/
H A Dlan9303-core.c530 if (entr->port_map == 0) in lan9303_alr_cache_find_free()
671 /* Set a static ALR entry. Delete entry if port_map is zero */
673 u8 port_map, bool stp_override) in lan9303_alr_set_entry() argument
677 dev_dbg(chip->dev, "%s(%pM, %d)\n", __func__, mac, port_map); in lan9303_alr_set_entry()
679 if (port_map) in lan9303_alr_set_entry()
685 alr_port = portmap_2_alrport[port_map & 7]; in lan9303_alr_set_entry()
717 entr->port_map |= BIT(port); in lan9303_alr_add_port()
719 lan9303_alr_set_entry(chip, mac, entr->port_map, stp_override); in lan9303_alr_add_port()
735 entr->port_map &= ~BIT(port); in lan9303_alr_del_port()
736 if (entr->port_map in lan9303_alr_del_port()
[all...]
/linux/sound/hda/codecs/hdmi/
H A Dintelhdmi.c133 if (pin_nid == spec->port_map[i]) in intel_pin2port()
154 return spec->port_map[port]; in intel_port2pin()
589 const int *port_map, int port_num, int dev_num, in intel_hsw_common_init() argument
597 spec->port_map = port_map; in intel_hsw_common_init()
H A Dhdmi_local.h158 const int *port_map; member
/linux/include/linux/dsa/
H A Dlan9303.h16 u8 port_map; /* Bitmap of ports. Zero if unused entry */ member
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1227 port->pool_long->port_map |= BIT(port->id); in mvpp2_swf_bm_pool_init_shared()
1240 port->pool_short->port_map |= BIT(port->id); in mvpp2_swf_bm_pool_init_shared()
1262 bm_pool->port_map |= BIT(port->id); in mvpp2_swf_bm_pool_init_percpu()
1272 bm_pool->port_map |= BIT(port->id); in mvpp2_swf_bm_pool_init_percpu()
1342 port->pool_long->port_map &= ~BIT(port->id); in mvpp2_bm_update_mtu()
1347 port->pool_short->port_map &= ~BIT(port->id); in mvpp2_bm_update_mtu()
7261 unsigned long port_map; in mvpp22_rx_fifo_init() local
7268 port_map = priv->port_map & ~BIT(MVPP2_LOOPBACK_PORT_INDEX); in mvpp22_rx_fifo_init()
7271 for_each_clear_bit(port, &port_map, MVPP2_LOOPBACK_PORT_INDE in mvpp22_rx_fifo_init()
7367 unsigned long port_map; mvpp22_tx_fifo_init() local
[all...]
H A Dmvpp2.h1063 unsigned long port_map; member
1524 u32 port_map; member
H A Dmvpp2_prs.c730 unsigned int port_map) in mvpp2_prs_vlan_add() argument
793 mvpp2_prs_tcam_port_map_set(&pe, port_map); in mvpp2_prs_vlan_add()
849 unsigned int port_map) in mvpp2_prs_double_vlan_add() argument
914 mvpp2_prs_tcam_port_map_set(&pe, port_map); in mvpp2_prs_double_vlan_add()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c1513 struct mlx4_port_map port_map; member
1528 err = mlx4_port_map_set(bond->dev, &bond->port_map); in mlx4_bond_work()
1532 bond->port_map.port1, in mlx4_bond_work()
1533 bond->port_map.port2, err); in mlx4_bond_work()
1557 bond->port_map.port1 = v2p_p1; in mlx4_queue_bond_work()
1558 bond->port_map.port2 = v2p_p2; in mlx4_queue_bond_work()
/linux/sound/hda/codecs/
H A Dca0132.c2889 * @port_map: pointer to the port list to hold the allocated ports
2897 unsigned int *port_map) in dsp_allocate_router_ports() argument
2926 *port_map = res; in dsp_allocate_router_ports()
2956 unsigned int rate_multi, unsigned int *port_map) in dsp_allocate_ports() argument
2968 rate_multi, 0, port_map); in dsp_allocate_ports()
2977 unsigned int *port_map) in dsp_allocate_ports_format() argument
2992 return dsp_allocate_ports(codec, num_chans, rate_multi, port_map); in dsp_allocate_ports_format()