| /linux/drivers/ata/ |
| H 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()
|
| H A D | libahci.c | 451 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() 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() 548 port_map, in ahci_save_initial_config() 549 port_map & hpriv->mask_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() [all …]
|
| H A D | ahci.c | 1633 hpriv->port_map = 0x7; in acer_sa5_271_workaround() 1661 irq_masked = irq_stat & hpriv->port_map; in ahci_thunderx_irq_handler() 1859 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { in ahci_intel_pcs_quirk() 1860 tmp16 |= hpriv->port_map; in ahci_intel_pcs_quirk() 2056 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_init_one() 2098 if (!(hpriv->port_map & (1 << i))) { in ahci_init_one()
|
| H 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()
|
| H 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()
|
| H A D | ahci.h | 339 u32 port_map; /* port map to use */ member
|
| /linux/drivers/net/ethernet/marvell/ |
| H 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
|
| H 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()
|
| /linux/drivers/net/dsa/ |
| H 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()
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | intelhdmi.c | 133 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 D | hdmi_local.h | 158 const int *port_map; member
|
| /linux/include/linux/dsa/ |
| H A D | lan9303.h | 16 u8 port_map; /* Bitmap of ports. Zero if unused entry */ member
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H 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() 7273 unsigned long port_map; in mvpp22_rx_fifo_init() local 7280 port_map = priv->port_map & ~BIT(MVPP2_LOOPBACK_PORT_INDEX); in mvpp22_rx_fifo_init() 7283 for_each_clear_bit(port, &port_map, MVPP2_LOOPBACK_PORT_INDEX) in mvpp22_rx_fifo_init() 7288 remaining_ports_count = hweight_long(port_map); in mvpp22_rx_fifo_init() [all …]
|
| H A D | mvpp2.h | 1063 unsigned long port_map; member 1524 u32 port_map; member
|
| H 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | main.c | 1515 struct mlx4_port_map port_map; member 1530 err = mlx4_port_map_set(bond->dev, &bond->port_map); in mlx4_bond_work() 1534 bond->port_map.port1, in mlx4_bond_work() 1535 bond->port_map.port2, err); in mlx4_bond_work() 1559 bond->port_map.port1 = v2p_p1; in mlx4_queue_bond_work() 1560 bond->port_map.port2 = v2p_p2; in mlx4_queue_bond_work()
|
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 2872 unsigned int *port_map) in dsp_allocate_router_ports() argument 2901 *port_map = res; in dsp_allocate_router_ports() 2931 unsigned int rate_multi, unsigned int *port_map) in dsp_allocate_ports() argument 2943 rate_multi, 0, port_map); in dsp_allocate_ports() 2952 unsigned int *port_map) in dsp_allocate_ports_format() argument 2967 return dsp_allocate_ports(codec, num_chans, rate_multi, port_map); in dsp_allocate_ports_format()
|