Home
last modified time | relevance | path

Searched refs:REG_GPIO_PIN_CTRL (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dled.c29 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_on()
34 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, ledcfg); in rtl92ee_sw_led_on()
61 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_off()
64 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, ledcfg); in rtl92ee_sw_led_off()
Dreg.h37 #define REG_GPIO_PIN_CTRL 0x0044 macro
391 #define GPIO_IN REG_GPIO_PIN_CTRL
392 #define GPIO_OUT (REG_GPIO_PIN_CTRL + 1)
393 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL + 2)
394 #define GPIO_MOD (REG_GPIO_PIN_CTRL + 3)
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c2091 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2095 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2097 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio()
2123 direction = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & BIT(gpio_num)) >> gpio_num; in rtw_set_gpio_output_value()
2128 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) | BIT(gpio_nu… in rtw_set_gpio_output_value()
2130 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(gpio_n… in rtw_set_gpio_output_value()
2132 DBG_871X("%s Set gpio %x[%d]=%d\n", __func__, REG_GPIO_PIN_CTRL+1, gpio_num, isHigh); in rtw_set_gpio_output_value()
2160 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) | BIT(gpio_nu… in rtw_config_gpio()
2162 …rtw_write8(adapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(adapter, REG_GPIO_PIN_CTRL + 2) & ~BIT(gpio_n… in rtw_config_gpio()
/Linux-v5.4/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h46 #define REG_GPIO_PIN_CTRL 0x0044 macro
454 #define GPIO_IN REG_GPIO_PIN_CTRL
456 #define GPIO_OUT (REG_GPIO_PIN_CTRL + 1)
460 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL + 2)
461 #define GPIO_MOD (REG_GPIO_PIN_CTRL + 3)
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c66 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 3) & ~BIT(inde… in HalSetOutPutGPIO()
71 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 2) | BIT(index… in HalSetOutPutGPIO()
75 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) | BIT(index… in HalSetOutPutGPIO()
77 …rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(inde… in HalSetOutPutGPIO()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h60 #define REG_GPIO_PIN_CTRL 0x0044 macro
544 #define GPIO_IN REG_GPIO_PIN_CTRL /* GPIO pins input value */
545 #define GPIO_OUT (REG_GPIO_PIN_CTRL+1) /* GPIO pins output value */
546 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL+2) /* GPIO pins output enable when a bit is set to "1"; …
547 #define GPIO_MOD (REG_GPIO_PIN_CTRL+3)
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dreg.h38 #define REG_GPIO_PIN_CTRL 0x0044 macro
361 #define GPIO_IN REG_GPIO_PIN_CTRL
362 #define GPIO_OUT (REG_GPIO_PIN_CTRL+1)
363 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL+2)
364 #define GPIO_MOD (REG_GPIO_PIN_CTRL+3)
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dreg.h32 #define REG_GPIO_PIN_CTRL 0x0044 macro
343 #define GPIO_IN REG_GPIO_PIN_CTRL
344 #define GPIO_OUT (REG_GPIO_PIN_CTRL+1)
345 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL+2)
346 #define GPIO_MOD (REG_GPIO_PIN_CTRL+3)
Dhw.c1312 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x00000000); in _rtl92ce_poweroff_adapter()
1313 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92ce_poweroff_adapter()
1317 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x00F30000 | in _rtl92ce_poweroff_adapter()
1320 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x00FF0000 | in _rtl92ce_poweroff_adapter()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dreg.h32 #define REG_GPIO_PIN_CTRL 0x0044 macro
329 #define GPIO_IN REG_GPIO_PIN_CTRL
330 #define GPIO_OUT (REG_GPIO_PIN_CTRL+1)
331 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL+2)
332 #define GPIO_MOD (REG_GPIO_PIN_CTRL+3)
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dreg.h39 #define REG_GPIO_PIN_CTRL 0x0044 macro
376 #define GPIO_IN REG_GPIO_PIN_CTRL
377 #define GPIO_OUT (REG_GPIO_PIN_CTRL + 1)
378 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL + 2)
379 #define GPIO_MOD (REG_GPIO_PIN_CTRL + 3)
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dreg.h39 #define REG_GPIO_PIN_CTRL 0x0044 macro
387 #define GPIO_IN REG_GPIO_PIN_CTRL
388 #define GPIO_OUT (REG_GPIO_PIN_CTRL+1)
389 #define GPIO_IO_SEL (REG_GPIO_PIN_CTRL+2)
390 #define GPIO_MOD (REG_GPIO_PIN_CTRL+3)
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1124 rtl_write_word(rtlpriv, REG_GPIO_PIN_CTRL+2, 0x0000); in _disablegpio()
1125 value32 = rtl_read_dword(rtlpriv, REG_GPIO_PIN_CTRL) & 0xFFFF00FF; in _disablegpio()
1128 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, value32); in _disablegpio()
1134 rtl_write_word(rtlpriv, REG_GPIO_PIN_CTRL+2, value16); in _disablegpio()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c1217 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x00000000); in _rtl92de_poweroff_adapter()
1220 u1b_tmp = rtl_read_byte(rtlpriv, REG_GPIO_PIN_CTRL); in _rtl92de_poweroff_adapter()
1224 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, in _rtl92de_poweroff_adapter()
Dreg.h38 #define REG_GPIO_PIN_CTRL 0x0044 macro
/Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_regs.h140 #define REG_GPIO_PIN_CTRL 0x0044 macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c1660 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x10100); in rtl92c_bt_ant_isolation()
1662 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, 0x0); in rtl92c_bt_ant_isolation()