Searched refs:tech (Results 1 - 6 of 6) sorted by relevance

/drivers/infiniband/hw/qib/
H A Dqib_qsfp.h68 /* Bytes 131..138 are Transceiver types, bit maps for various tech, none IB */
82 #define QSFP_IS_ACTIVE(tech) ((0xA2FF >> ((tech) >> 4)) & 1)
84 #define QSFP_IS_ACTIVE_FAR(tech) ((0x32FF >> ((tech) >> 4)) & 1)
86 #define QSFP_HAS_ATTEN(tech) ((0x4D00 >> ((tech) >> 4)) & 1)
88 #define QSFP_IS_CU(tech) ((0xED00 >> ((tech) >> 4)) & 1)
157 u8 tech; member in struct:qib_qsfp_cache
[all...]
H A Dqib_qsfp.c331 ret = qsfp_read(ppd, QSFP_MOD_TECH_OFFS, &cp->tech, 1);
334 cks += cp->tech;
511 if (QSFP_IS_CU(cd.tech))
518 qib_qsfp_devtech[cd.tech >> 4]);
530 if (QSFP_IS_CU(cd.tech))
H A Dqib_iba7322.c6025 if (QSFP_IS_ACTIVE_FAR(qd->cache.tech))
6028 QSFP_IS_CU(qd->cache.tech))
7690 if (!override && QSFP_IS_ACTIVE(qd->tech)) {
7697 if (!override && QSFP_HAS_ATTEN(qd->tech) && (qd->atten[0] ||
/drivers/power/
H A Dolpc_battery.c208 union power_supply_propval tech; local
211 ret = olpc_bat_get_tech(&tech);
222 switch (tech.intval) {
272 union power_supply_propval tech; local
276 ret = olpc_bat_get_tech(&tech);
287 switch (tech.intval) {
/drivers/nfc/
H A Dtrf7970a.c576 u8 target_proto, tech; local
584 tech = NFC_DIGITAL_RF_TECH_106A;
587 tech = NFC_DIGITAL_RF_TECH_106B;
590 tech = NFC_DIGITAL_RF_TECH_212F;
593 tech = NFC_DIGITAL_RF_TECH_424F;
601 *rf_tech = tech;
1162 static int trf7970a_in_config_rf_tech(struct trf7970a *trf, int tech) argument
1166 dev_dbg(trf->dev, "rf technology: %d\n", tech);
1168 switch (tech) {
1195 dev_dbg(trf->dev, "Unsupported rf technology: %d\n", tech);
1545 trf7970a_tg_config_rf_tech(struct trf7970a *trf, int tech) argument
[all...]
/drivers/video/fbdev/aty/
H A Datyfb_base.c3191 int id, tech, f, i, m, default_refresh_rate; local
3221 tech = (panel_type >> 2) & 63;
3222 switch (tech) {
3242 if (tech == 0 || tech == 2) {

Completed in 158 milliseconds