| /drivers/ata/ |
| A D | pata_jmicron.c | 50 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()
|
| A D | libahci.c | 451 unsigned long port_map; in ahci_save_initial_config() local 540 port_map = hpriv->saved_port_map; in ahci_save_initial_config() 542 hpriv->saved_port_map = port_map; in ahci_save_initial_config() 548 port_map, in ahci_save_initial_config() 550 port_map &= hpriv->mask_port_map; in ahci_save_initial_config() 554 if (port_map) { in ahci_save_initial_config() 558 if (port_map & (1 << i)) in ahci_save_initial_config() 568 port_map = 0; in ahci_save_initial_config() 599 hpriv->port_map = port_map; in ahci_save_initial_config() 624 unsigned long port_map = hpriv->port_map; in ahci_restore_initial_config() local [all …]
|
| A D | ahci_dwc.c | 184 unsigned long port_map = hpriv->saved_port_map | hpriv->mask_port_map; in ahci_dwc_check_cap() local 208 for_each_set_bit(i, &port_map, AHCI_MAX_PORTS) { in ahci_dwc_check_cap() 343 unsigned long port_map = hpriv->port_map; in ahci_dwc_reinit_host() local 359 for_each_set_bit(i, &port_map, AHCI_MAX_PORTS) { in ahci_dwc_reinit_host()
|
| A D | ahci.c | 1619 hpriv->port_map = 0x7; in acer_sa5_271_workaround() 1647 irq_masked = irq_stat & hpriv->port_map; in ahci_thunderx_irq_handler() 1836 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { in ahci_intel_pcs_quirk() 1837 tmp16 |= hpriv->port_map; in ahci_intel_pcs_quirk() 2033 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_init_one() 2079 if (!(hpriv->port_map & (1 << i))) in ahci_init_one()
|
| A D | acard-ahci.c | 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()
|
| A D | libahci_platform.c | 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()
|
| A D | sata_highbank.c | 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()
|
| A D | ahci.h | 338 u32 port_map; /* port map to use */ member
|
| A D | ahci_xgene.c | 596 irq_masked = irq_stat & hpriv->port_map; in xgene_ahci_irq_intr()
|
| /drivers/net/ethernet/marvell/ |
| A D | mvneta_bm.c | 166 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()
|
| A D | mvneta_bm.h | 127 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
|
| A D | mvneta.c | 1182 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()
|
| /drivers/net/dsa/ |
| A D | lan9303-core.c | 530 if (entr->port_map == 0) in lan9303_alr_cache_find_free() 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 == 0) /* zero means its free again */ in lan9303_alr_del_port() 738 lan9303_alr_set_entry(chip, mac, entr->port_map, entr->stp_override); in lan9303_alr_del_port()
|
| /drivers/net/ethernet/marvell/mvpp2/ |
| A D | mvpp2_main.c | 1227 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() 7367 unsigned long port_map; in mvpp22_tx_fifo_init() local 7374 port_map = priv->port_map & ~BIT(MVPP2_LOOPBACK_PORT_INDEX); in mvpp22_tx_fifo_init() [all …]
|
| A D | mvpp2.h | 1063 unsigned long port_map; member 1524 u32 port_map; member
|
| A D | mvpp2_prs.c | 730 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()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | main.c | 1513 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()
|