Home
last modified time | relevance | path

Searched refs:ctrl_2 (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/net/llc/
Dllc_pdu.c46 pdu->ctrl_2 = (pdu->ctrl_2 & 0xFE) | bit_value; in llc_pdu_set_pf_bit()
74 *pf_bit = pdu->ctrl_2 & LLC_S_PF_BIT_MASK; in llc_pdu_decode_pf_bit()
112 pdu->ctrl_2 = 0; in llc_pdu_init_as_i_cmd()
113 pdu->ctrl_2 |= (p_bit & LLC_I_PF_BIT_MASK); /* p/f bit */ in llc_pdu_init_as_i_cmd()
115 pdu->ctrl_2 |= (nr << 1) & 0xFE; /* set N(R) in bits 10..16 */ in llc_pdu_init_as_i_cmd()
132 pdu->ctrl_2 = 0; in llc_pdu_init_as_rej_cmd()
133 pdu->ctrl_2 |= p_bit & LLC_S_PF_BIT_MASK; in llc_pdu_init_as_rej_cmd()
135 pdu->ctrl_2 |= (nr << 1) & 0xFE; /* set N(R) in bits 10..16 */ in llc_pdu_init_as_rej_cmd()
152 pdu->ctrl_2 = 0; in llc_pdu_init_as_rnr_cmd()
153 pdu->ctrl_2 |= p_bit & LLC_S_PF_BIT_MASK; in llc_pdu_init_as_rnr_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-of-dwcmshc.c80 u16 ctrl_2; in dwcmshc_set_uhs_signaling() local
82 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling()
84 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in dwcmshc_set_uhs_signaling()
87 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in dwcmshc_set_uhs_signaling()
89 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in dwcmshc_set_uhs_signaling()
92 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in dwcmshc_set_uhs_signaling()
94 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in dwcmshc_set_uhs_signaling()
97 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in dwcmshc_set_uhs_signaling()
99 ctrl_2 |= DWCMSHC_CTRL_HS400; in dwcmshc_set_uhs_signaling()
100 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling()
Dsdhci-brcmstb.c71 u16 ctrl_2; in sdhci_brcmstb_set_uhs_signaling() local
75 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling()
77 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_brcmstb_set_uhs_signaling()
80 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_brcmstb_set_uhs_signaling()
82 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_brcmstb_set_uhs_signaling()
86 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_brcmstb_set_uhs_signaling()
88 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_brcmstb_set_uhs_signaling()
91 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_brcmstb_set_uhs_signaling()
93 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_brcmstb_set_uhs_signaling()
94 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling()
Dsdhci-sprd.c308 u16 ctrl_2; in sdhci_sprd_set_uhs_signaling() local
313 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_sprd_set_uhs_signaling()
315 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_sprd_set_uhs_signaling()
318 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_sprd_set_uhs_signaling()
323 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_sprd_set_uhs_signaling()
326 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_sprd_set_uhs_signaling()
329 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_sprd_set_uhs_signaling()
333 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_sprd_set_uhs_signaling()
336 ctrl_2 |= SDHCI_SPRD_CTRL_HS200; in sdhci_sprd_set_uhs_signaling()
339 ctrl_2 |= SDHCI_SPRD_CTRL_HS400; in sdhci_sprd_set_uhs_signaling()
[all …]
Dsdhci-st.c261 u16 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_st_set_uhs_signaling() local
265 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_st_set_uhs_signaling()
274 ctrl_2 |= SDHCI_CTRL_UHS_SDR12 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling()
278 ctrl_2 |= SDHCI_CTRL_UHS_SDR25 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling()
282 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling()
288 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling()
294 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180; in sdhci_st_set_uhs_signaling()
302 dev_dbg(mmc_dev(host->mmc), "uhs %d, ctrl_2 %04X\n", uhs, ctrl_2); in sdhci_st_set_uhs_signaling()
304 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_st_set_uhs_signaling()
Dsdhci-pxav3.c244 u16 ctrl_2; in pxav3_set_uhs_signaling() local
250 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling()
253 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in pxav3_set_uhs_signaling()
256 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in pxav3_set_uhs_signaling()
259 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in pxav3_set_uhs_signaling()
262 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling()
265 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling()
269 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling()
294 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling()
297 __func__, uhs, ctrl_2); in pxav3_set_uhs_signaling()
Dsdhci-xenon.c198 u16 ctrl_2; in xenon_set_uhs_signaling() local
200 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in xenon_set_uhs_signaling()
202 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in xenon_set_uhs_signaling()
204 ctrl_2 |= XENON_CTRL_HS200; in xenon_set_uhs_signaling()
206 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in xenon_set_uhs_signaling()
208 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in xenon_set_uhs_signaling()
210 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in xenon_set_uhs_signaling()
212 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in xenon_set_uhs_signaling()
215 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in xenon_set_uhs_signaling()
217 ctrl_2 |= XENON_CTRL_HS400; in xenon_set_uhs_signaling()
[all …]
Dsdhci-pci-gli.c638 u16 ctrl_2; in sdhci_set_gl9763e_signaling() local
640 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling()
641 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_gl9763e_signaling()
643 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_gl9763e_signaling()
645 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_gl9763e_signaling()
647 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_gl9763e_signaling()
649 ctrl_2 |= SDHCI_GLI_9763E_CTRL_HS400; in sdhci_set_gl9763e_signaling()
651 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling()
Dsdhci-msm.c1301 u16 ctrl_2; in sdhci_msm_set_uhs_signaling() local
1306 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_msm_set_uhs_signaling()
1308 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling()
1311 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_msm_set_uhs_signaling()
1314 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_msm_set_uhs_signaling()
1317 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_msm_set_uhs_signaling()
1322 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_msm_set_uhs_signaling()
1326 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_msm_set_uhs_signaling()
1340 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling()
1365 mmc_hostname(host->mmc), host->clock, uhs, ctrl_2); in sdhci_msm_set_uhs_signaling()
[all …]
Dsdhci.c2238 u16 ctrl_2; in sdhci_set_uhs_signaling() local
2240 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling()
2242 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_uhs_signaling()
2245 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_uhs_signaling()
2247 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_set_uhs_signaling()
2249 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_uhs_signaling()
2251 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_set_uhs_signaling()
2254 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_uhs_signaling()
2256 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_set_uhs_signaling()
2257 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling()
[all …]
/kernel/linux/linux-5.10/include/net/
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
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_fddi.h46 __u8 ctrl_2; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_fddi.h97 __u8 ctrl_2; /* control byte #2 */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_fddi.h71 __u8 ctrl_2; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch8894 - u16 ctrl_2;
8898 - ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
8900 - ctrl_2 &= ~SDHCI_CTRL_UHS_MASK;
8903 - ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
8905 - ctrl_2 |= SDHCI_CTRL_UHS_SDR12;
8909 - ctrl_2 |= SDHCI_CTRL_UHS_SDR25;
8911 - ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
8914 - ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
8916 - ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */
8917 - sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
[all …]
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch30527 + unsigned int ctrl_2, cmd_xfer, blksz;
30545 + ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
30546 + ctrl_2 |= SDHCI_CTRL_HOST_VER4_ENABLE;
30548 + ctrl_2 |= SDHCI_CTRL_ADDRESSING_64BIT;
30549 + sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch43794 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch321369 + unsigned int ctrl_2, cmd_xfer, blksz;
321387 + ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2);
321388 + ctrl_2 |= SDHCI_CTRL_HOST_VER4_ENABLE;
321390 + ctrl_2 |= SDHCI_CTRL_ADDRESSING_64BIT;
321391 + sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);