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

/linux-master/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.c334 ret = qsfp_read(ppd, QSFP_MOD_TECH_OFFS, &cp->tech, 1);
337 cks += cp->tech;
503 if (QSFP_IS_CU(cd.tech))
510 qib_qsfp_devtech[cd.tech >> 4]);
522 if (QSFP_IS_CU(cd.tech))
H A Dqib_iba7322.c5957 if (QSFP_IS_ACTIVE_FAR(qd->cache.tech))
5960 QSFP_IS_CU(qd->cache.tech))
7609 if (!override && QSFP_IS_ACTIVE(qd->tech)) {
7616 if (!override && QSFP_HAS_ATTEN(qd->tech) && (qd->atten[0] ||
/linux-master/drivers/infiniband/hw/hfi1/
H A Dqsfp.h52 /* Bytes 131..138 are Transceiver types, bit maps for various tech, none IB */
67 #define QSFP_IS_ACTIVE(tech) ((0xA2FF >> ((tech) >> 4)) & 1)
69 #define QSFP_IS_ACTIVE_FAR(tech) ((0x32FF >> ((tech) >> 4)) & 1)
71 #define QSFP_HAS_ATTEN(tech) ((0x4D00 >> ((tech) >> 4)) & 1)
73 #define QSFP_IS_CU(tech) ((0xED00 >> ((tech) >> 4)) & 1)
/linux-master/net/smc/
H A Dsmc_stats.c46 struct smc_stats *stats, int tech,
53 stats_rmb_cnt = &stats->smc[tech].rmb_tx;
55 stats_rmb_cnt = &stats->smc[tech].rmb_rx;
99 struct smc_stats *stats, int tech,
106 stats_pload = &stats->smc[tech].tx_pd;
108 stats_pload = &stats->smc[tech].rx_pd;
110 stats_pload = &stats->smc[tech].tx_rmbsize;
112 stats_pload = &stats->smc[tech].rx_rmbsize;
166 struct smc_stats *stats, int tech)
171 smc_tech = &stats->smc[tech];
45 smc_nl_fill_stats_rmb_data(struct sk_buff *skb, struct smc_stats *stats, int tech, int type) argument
98 smc_nl_fill_stats_bufsize_data(struct sk_buff *skb, struct smc_stats *stats, int tech, int type) argument
165 smc_nl_fill_stats_tech_data(struct sk_buff *skb, struct smc_stats *stats, int tech) argument
[all...]
/linux-master/drivers/power/supply/
H A Dolpc_battery.c213 union power_supply_propval tech; local
216 ret = olpc_bat_get_tech(&tech);
227 switch (tech.intval) {
277 union power_supply_propval tech; local
281 ret = olpc_bat_get_tech(&tech);
292 switch (tech.intval) {
/linux-master/drivers/nfc/
H A Dtrf7970a.c575 u8 target_proto, tech; local
583 tech = NFC_DIGITAL_RF_TECH_106A;
586 tech = NFC_DIGITAL_RF_TECH_106B;
589 tech = NFC_DIGITAL_RF_TECH_212F;
592 tech = NFC_DIGITAL_RF_TECH_424F;
600 *rf_tech = tech;
1169 static int trf7970a_in_config_rf_tech(struct trf7970a *trf, int tech) argument
1173 dev_dbg(trf->dev, "rf technology: %d\n", tech);
1175 switch (tech) {
1212 dev_dbg(trf->dev, "Unsupported rf technology: %d\n", tech);
1563 trf7970a_tg_config_rf_tech(struct trf7970a *trf, int tech) argument
[all...]
/linux-master/include/pcmcia/
H A Dcistpl.h298 u_char tech; member in struct:cistpl_lan_tech_t
/linux-master/drivers/video/fbdev/aty/
H A Datyfb_base.c3176 int id, tech, f, i, m, default_refresh_rate; local
3205 tech = (panel_type >> 2) & 63;
3206 switch (tech) {
3226 if (tech == 0 || tech == 2) {

Completed in 159 milliseconds