Searched refs:ctrl_2 (Results 1 - 12 of 12) sorted by relevance

/linux-master/net/llc/
H A Dllc_pdu.c46 pdu->ctrl_2 = (pdu->ctrl_2 & 0xFE) | bit_value;
74 *pf_bit = pdu->ctrl_2 & LLC_S_PF_BIT_MASK;
112 pdu->ctrl_2 = 0;
113 pdu->ctrl_2 |= (p_bit & LLC_I_PF_BIT_MASK); /* p/f bit */
115 pdu->ctrl_2 |= (nr << 1) & 0xFE; /* set N(R) in bits 10..16 */
132 pdu->ctrl_2 = 0;
133 pdu->ctrl_2 |= p_bit & LLC_S_PF_BIT_MASK;
135 pdu->ctrl_2 |= (nr << 1) & 0xFE; /* set N(R) in bits 10..16 */
152 pdu->ctrl_2
[all...]
/linux-master/drivers/mmc/host/
H A Dsdhci-brcmstb.c145 u16 ctrl_2; local
149 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
151 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
154 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
156 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
160 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
162 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
165 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
167 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */
168 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL
[all...]
H A Dsdhci-st.c261 u16 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); local
265 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
274 ctrl_2 |= SDHCI_CTRL_UHS_SDR12 | SDHCI_CTRL_VDD_180;
278 ctrl_2 |= SDHCI_CTRL_UHS_SDR25 | SDHCI_CTRL_VDD_180;
282 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180;
288 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180;
294 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180;
302 dev_dbg(mmc_dev(host->mmc), "uhs %d, ctrl_2 %04X\n", uhs, ctrl_2);
304 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL
[all...]
H A Dsdhci-xenon.c201 u16 ctrl_2; local
203 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
205 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
207 ctrl_2 |= XENON_CTRL_HS200;
209 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
211 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
213 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
215 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
218 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
220 ctrl_2 |
[all...]
H A Dsdhci-sprd.c337 u16 ctrl_2; local
342 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
344 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
347 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
352 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
355 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
358 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
362 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
365 ctrl_2 |= SDHCI_SPRD_CTRL_HS200;
368 ctrl_2 |
551 u16 ctrl_2; local
[all...]
H A Dsdhci-pxav3.c242 u16 ctrl_2; local
248 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
251 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
254 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
257 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
260 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180;
263 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180;
267 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180;
292 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
294 "%s uhs = %d, ctrl_2
[all...]
H A Dsdhci-of-dwcmshc.c408 u16 ctrl, ctrl_2; local
410 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
412 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
415 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
417 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
420 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
422 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
425 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
432 ctrl_2 |= DWCMSHC_CTRL_HS400;
436 ctrl_2 |
745 u16 ctrl_2; local
[all...]
H A Dsdhci.c2264 u16 ctrl_2; local
2266 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
2268 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
2271 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
2273 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
2275 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
2277 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
2280 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
2282 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */
2283 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL
2409 u16 clk, ctrl_2; local
[all...]
H A Dsdhci-pci-gli.c1211 u16 ctrl_2; local
1213 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
1214 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
1216 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
1218 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
1220 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
1222 ctrl_2 |= SDHCI_GLI_9763E_CTRL_HS400;
1224 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
H A Dsdhci-msm.c1322 u16 ctrl_2; local
1327 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
1329 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
1332 ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
1335 ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
1338 ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
1343 ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
1347 ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
1361 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
1385 dev_dbg(mmc_dev(mmc), "%s: clock=%u uhs=%u ctrl_2
1386 mmc_hostname(host->mmc), host->clock, uhs, ctrl_2); local
[all...]
/linux-master/include/uapi/linux/
H A Dif_fddi.h97 __u8 ctrl_2; /* control byte #2 */ member in struct:fddi_8022_2_hdr
/linux-master/include/net/
H A Dllc_pdu.h123 #define LLC_I_GET_NR(pdu) (u8)((pdu->ctrl_2 & 0xFE) >> 1)
127 #define LLC_I_PF_IS_0(pdu) ((!(pdu->ctrl_2 & LLC_I_PF_BIT_MASK)) ? 1 : 0)
128 #define LLC_I_PF_IS_1(pdu) ((pdu->ctrl_2 & LLC_I_PF_BIT_MASK) ? 1 : 0)
144 #define LLC_S_PF_IS_0(pdu) ((!(pdu->ctrl_2 & LLC_S_PF_BIT_MASK)) ? 1 : 0)
145 #define LLC_S_PF_IS_1(pdu) ((pdu->ctrl_2 & LLC_S_PF_BIT_MASK) ? 1 : 0)
147 #define PDU_SUPV_GET_Nr(pdu) ((pdu->ctrl_2 & 0xFE) >> 1)
203 u8 ctrl_2; member in struct:llc_pdu_sn

Completed in 156 milliseconds