Searched refs:ctrl_2 (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/net/llc/ |
A 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() 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() 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() 172 pdu->ctrl_2 = p_bit & LLC_S_PF_BIT_MASK; in llc_pdu_init_as_rr_cmd() 261 pdu->ctrl_2 = 0; in llc_pdu_init_as_rr_rsp() 281 pdu->ctrl_2 = 0; in llc_pdu_init_as_rej_rsp() [all …]
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | sdhci-sprd.c | 323 u16 ctrl_2; in sdhci_sprd_set_uhs_signaling() local 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() 516 u16 ctrl_2; in sdhci_sprd_hs400_enhanced_strobe() local [all …]
|
A 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()
|
A 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()
|
A D | sdhci-pxav3.c | 242 u16 ctrl_2; in pxav3_set_uhs_signaling() local 248 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling() 251 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in pxav3_set_uhs_signaling() 254 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in pxav3_set_uhs_signaling() 257 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in pxav3_set_uhs_signaling() 260 ctrl_2 |= SDHCI_CTRL_UHS_SDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 263 ctrl_2 |= SDHCI_CTRL_UHS_SDR104 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 267 ctrl_2 |= SDHCI_CTRL_UHS_DDR50 | SDHCI_CTRL_VDD_180; in pxav3_set_uhs_signaling() 292 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in pxav3_set_uhs_signaling() 295 __func__, uhs, ctrl_2); in pxav3_set_uhs_signaling()
|
A 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 …]
|
A D | sdhci-of-dwcmshc.c | 157 u16 ctrl, ctrl_2; in dwcmshc_set_uhs_signaling() local 159 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling() 161 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in dwcmshc_set_uhs_signaling() 164 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in dwcmshc_set_uhs_signaling() 166 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in dwcmshc_set_uhs_signaling() 169 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in dwcmshc_set_uhs_signaling() 171 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in dwcmshc_set_uhs_signaling() 174 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in dwcmshc_set_uhs_signaling() 181 ctrl_2 |= DWCMSHC_CTRL_HS400; in dwcmshc_set_uhs_signaling() 184 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in dwcmshc_set_uhs_signaling()
|
A D | sdhci-pci-gli.c | 814 u16 ctrl_2; in sdhci_set_gl9763e_signaling() local 816 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling() 817 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_gl9763e_signaling() 819 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_gl9763e_signaling() 821 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_gl9763e_signaling() 823 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_gl9763e_signaling() 825 ctrl_2 |= SDHCI_GLI_9763E_CTRL_HS400; in sdhci_set_gl9763e_signaling() 827 sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); in sdhci_set_gl9763e_signaling()
|
A D | sdhci.c | 2264 u16 ctrl_2; in sdhci_set_uhs_signaling() local 2268 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_set_uhs_signaling() 2271 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_set_uhs_signaling() 2273 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_set_uhs_signaling() 2275 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_set_uhs_signaling() 2277 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_set_uhs_signaling() 2280 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_set_uhs_signaling() 2409 u16 clk, ctrl_2; in sdhci_set_ios() local 2433 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_A; in sdhci_set_ios() 2435 ctrl_2 |= SDHCI_CTRL_DRV_TYPE_B; in sdhci_set_ios() [all …]
|
A D | sdhci-msm.c | 1319 u16 ctrl_2; in sdhci_msm_set_uhs_signaling() local 1324 ctrl_2 = sdhci_readw(host, SDHCI_HOST_CONTROL2); in sdhci_msm_set_uhs_signaling() 1326 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1329 ctrl_2 |= SDHCI_CTRL_UHS_SDR12; in sdhci_msm_set_uhs_signaling() 1332 ctrl_2 |= SDHCI_CTRL_UHS_SDR25; in sdhci_msm_set_uhs_signaling() 1335 ctrl_2 |= SDHCI_CTRL_UHS_SDR50; in sdhci_msm_set_uhs_signaling() 1340 ctrl_2 |= SDHCI_CTRL_UHS_SDR104; in sdhci_msm_set_uhs_signaling() 1344 ctrl_2 |= SDHCI_CTRL_UHS_DDR50; in sdhci_msm_set_uhs_signaling() 1358 ctrl_2 &= ~SDHCI_CTRL_UHS_MASK; in sdhci_msm_set_uhs_signaling() 1383 mmc_hostname(host->mmc), host->clock, uhs, ctrl_2); in sdhci_msm_set_uhs_signaling() [all …]
|
/linux-6.3-rc2/include/net/ |
A 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.3-rc2/include/uapi/linux/ |
A D | if_fddi.h | 97 __u8 ctrl_2; /* control byte #2 */ member
|
Completed in 29 milliseconds