Home
last modified time | relevance | path

Searched refs:device_ids (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/scsi/megaraid/
H A Dmega_common.h166 int device_ids[LSI_MAX_CHANNELS] member
239 (adp)->device_ids[(adp)->max_channel][SCP2TARGET(scp)]; \
242 p_chan = ((adp)->device_ids[SCP2CHANNEL(scp)] \
244 target = ((adp)->device_ids[SCP2CHANNEL(scp)] \
H A Dmegaraid_mbox.c813 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
815 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
3359 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3362 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3369 adapter->device_ids[c][t] = (c << 8) | t; in megaraid_mbox_setup_device_map()
/linux/drivers/platform/x86/
H A Dasus-wireless.c45 static const struct acpi_device_id device_ids[] = { variable
50 MODULE_DEVICE_TABLE(acpi, device_ids);
151 id = acpi_match_acpi_device(device_ids, adev); in asus_wireless_add()
187 .ids = device_ids,
H A Dsystem76_acpi.c48 static const struct acpi_device_id device_ids[] = { variable
52 MODULE_DEVICE_TABLE(acpi, device_ids);
812 .ids = device_ids,
H A Dlg-laptop.c882 static const struct acpi_device_id device_ids[] = { variable
886 MODULE_DEVICE_TABLE(acpi, device_ids);
891 .ids = device_ids,
/linux/drivers/net/phy/
H A Dbcm87xx.c190 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8706; in bcm8706_match_phy_device()
195 return phydev->c45_ids.device_ids[4] == PHY_ID_BCM8727; in bcm8727_match_phy_device()
H A Dteranetics.c72 return phydev->c45_ids.device_ids[3] == PHY_ID_TN2020; in teranetics_match_phy_device()
H A Dphy_device.c556 const int num_ids = ARRAY_SIZE(phydev->c45_ids.device_ids); in phy_bus_match()
567 if (phydev->c45_ids.device_ids[i] == 0xffffffff) in phy_bus_match()
570 if (phy_id_compare(phydev->c45_ids.device_ids[i], in phy_bus_match()
723 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in phy_device_create()
727 if (c45_ids->device_ids[i] == 0xffffffff) in phy_device_create()
731 c45_ids->device_ids[i]); in phy_device_create()
815 const int num_ids = ARRAY_SIZE(c45_ids->device_ids); in get_phy_c45_ids()
882 c45_ids->device_ids[i] = phy_reg << 16; in get_phy_c45_ids()
887 c45_ids->device_ids[i] |= phy_reg; in get_phy_c45_ids()
985 memset(c45_ids.device_ids, 0xff, sizeof(c45_ids.device_ids)); in get_phy_device()
H A Dmarvell10g.c605 return (phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3310_has_pma_ngbaset_quirk()
1289 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3310_match_phy_device()
1298 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv3340_match_phy_device()
1309 if ((phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] & in mv211x_match_phy_device()
H A Dmarvell-88q2xxx.c771 bool is_rev_b1 = phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] == PHY_ID_88Q2220_REVB1; in mv88q222x_revb1_revb2_config_init()
795 if (phydev->c45_ids.device_ids[MDIO_MMD_PMAPMD] == PHY_ID_88Q2220_REVB0) in mv88q222x_config_init()
H A Drealtek.c1059 return is_c45 && (id == phydev->c45_ids.device_ids[1]); in rtlgen_is_c45_match()
H A Dphylink.c3422 return phy->is_c45 && phy_id_compare(phy->c45_ids.device_ids[1], in phylink_phy_no_inband()
/linux/drivers/isdn/mISDN/
H A Dcore.c21 static u64 device_ids; variable
204 if (!test_and_set_bit(i, (u_long *)&device_ids)) in get_free_devid()
263 test_and_clear_bit(dev->id, (u_long *)&device_ids); in mISDN_unregister_device()
/linux/drivers/comedi/drivers/
H A Dni_atmio.c218 static const struct pnp_device_id device_ids[] = { variable
227 MODULE_DEVICE_TABLE(pnp, device_ids);
/linux/drivers/gpu/drm/bridge/
H A Dite-it66121.c1508 u32 revision_id, vendor_ids[2] = { 0 }, device_ids[2] = { 0 }; in it66121_probe() local
1568 regmap_read(ctx->regmap, IT66121_DEVICE_ID0_REG, &device_ids[0]); in it66121_probe()
1569 regmap_read(ctx->regmap, IT66121_DEVICE_ID1_REG, &device_ids[1]); in it66121_probe()
1572 revision_id = FIELD_GET(IT66121_REVISION_MASK, device_ids[1]); in it66121_probe()
1573 device_ids[1] &= IT66121_DEVICE_ID1_MASK; in it66121_probe()
1576 (device_ids[1] << 8 | device_ids[0]) != ctx->info->pid) { in it66121_probe()
/linux/drivers/irqchip/
H A Dirq-gic-v3-its.c125 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1) macro
2453 device_ids(its), ids); in its_parse_indirect_baser()
2616 device_ids(its)); in its_alloc_tables()
3336 return (ilog2(dev_id) < device_ids(its)); in its_alloc_device_table()
4738 if (device_ids(its) > ids) { in its_enable_quirk_socionext_synquacer()
5041 devid = GENMASK(device_ids(its) - 1, 0); in its_init_vpe_domain()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h2087 u32 device_ids; member