/linux-6.1.9/net/llc/ |
D | llc_pdu.c | 46 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 …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | sdhci-sprd.c | 323 u16 ctrl_2; in sdhci_sprd_set_uhs_signaling() local 328 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_sprd_set_uhs_signaling() 330 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_sprd_set_uhs_signaling() 333 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_sprd_set_uhs_signaling() 338 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_sprd_set_uhs_signaling() 341 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_sprd_set_uhs_signaling() 344 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_sprd_set_uhs_signaling() 348 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_sprd_set_uhs_signaling() 351 ctrl_2 |= SDHCI_SPRD_CTRL_HS200; in sdhci_sprd_set_uhs_signaling() 354 ctrl_2 |= SDHCI_SPRD_CTRL_HS400; in sdhci_sprd_set_uhs_signaling() [all …]
|
D | sdhci-brcmstb.c | 100 u16 ctrl_2; in sdhci_brcmstb_set_uhs_signaling() local 104 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling() 106 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_brcmstb_set_uhs_signaling() 109 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_brcmstb_set_uhs_signaling() 111 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_brcmstb_set_uhs_signaling() 115 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_brcmstb_set_uhs_signaling() 117 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_brcmstb_set_uhs_signaling() 120 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_brcmstb_set_uhs_signaling() 122 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_brcmstb_set_uhs_signaling() 123 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_brcmstb_set_uhs_signaling()
|
D | sdhci-st.c | 261 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()
|
D | sdhci-pxav3.c | 244 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()
|
D | sdhci-xenon.c | 199 u16 ctrl_2; in xenon_set_uhs_signaling() local 201 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in xenon_set_uhs_signaling() 203 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in xenon_set_uhs_signaling() 205 ctrl_2 |= XENON_CTRL_HS200; in xenon_set_uhs_signaling() 207 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in xenon_set_uhs_signaling() 209 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in xenon_set_uhs_signaling() 211 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in xenon_set_uhs_signaling() 213 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in xenon_set_uhs_signaling() 216 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in xenon_set_uhs_signaling() 218 ctrl_2 |= XENON_CTRL_HS400; in xenon_set_uhs_signaling() [all …]
|
D | sdhci-of-dwcmshc.c | 155 u16 ctrl, ctrl_2; in dwcmshc_set_uhs_signaling() local 157 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling() 159 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in dwcmshc_set_uhs_signaling() 162 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in dwcmshc_set_uhs_signaling() 164 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in dwcmshc_set_uhs_signaling() 167 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in dwcmshc_set_uhs_signaling() 169 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in dwcmshc_set_uhs_signaling() 172 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in dwcmshc_set_uhs_signaling() 179 ctrl_2 |= DWCMSHC_CTRL_HS400; in dwcmshc_set_uhs_signaling() 182 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling()
|
D | sdhci-pci-gli.c | 813 u16 ctrl_2; in sdhci_set_gl9763e_signaling() local 815 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling() 816 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_gl9763e_signaling() 818 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_gl9763e_signaling() 820 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_gl9763e_signaling() 822 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_gl9763e_signaling() 824 ctrl_2 |= SDHCI_GLI_9763E_CTRL_HS400; in sdhci_set_gl9763e_signaling() 826 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling()
|
D | sdhci.c | 2279 u16 ctrl_2; in sdhci_set_uhs_signaling() local 2281 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling() 2283 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_uhs_signaling() 2286 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_uhs_signaling() 2288 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_set_uhs_signaling() 2290 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_uhs_signaling() 2292 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_set_uhs_signaling() 2295 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_uhs_signaling() 2297 ctrl_2 |= SDHCI_CTRL_HS400; /* Non-standard */ in sdhci_set_uhs_signaling() 2298 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_uhs_signaling() [all …]
|
D | sdhci-msm.c | 1318 u16 ctrl_2; in sdhci_msm_set_uhs_signaling() local 1323 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_msm_set_uhs_signaling() 1325 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1328 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_msm_set_uhs_signaling() 1331 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_msm_set_uhs_signaling() 1334 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_msm_set_uhs_signaling() 1339 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_msm_set_uhs_signaling() 1343 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_msm_set_uhs_signaling() 1357 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1382 mmc_hostname(host->mmc), host->clock, uhs, ctrl_2); in sdhci_msm_set_uhs_signaling() [all …]
|
/linux-6.1.9/include/net/ |
D | llc_pdu.h | 123 #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
|
/linux-6.1.9/include/uapi/linux/ |
D | if_fddi.h | 97 __u8 ctrl_2; /* control byte #2 */ member
|