Home
last modified time | relevance | path

Searched refs:val8 (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/staging/rtl8712/
A Dusb_halinit.c36 val8 = val8 | 0x01; in r8712_usb_hal_bus_init()
40 val8 = val8 | 0x01; in r8712_usb_hal_bus_init()
44 val8 = val8 | 0x01; in r8712_usb_hal_bus_init()
48 val8 = val8 | 0x02; in r8712_usb_hal_bus_init()
52 val8 = val8 | 0x02; in r8712_usb_hal_bus_init()
56 val8 = val8 | 0x08; in r8712_usb_hal_bus_init()
60 val8 = val8 & 0xEF; in r8712_usb_hal_bus_init()
64 val8 = val8 & 0xFB; in r8712_usb_hal_bus_init()
68 val8 = val8 | 0x01; in r8712_usb_hal_bus_init()
75 val8 = val8 | 0x08; in r8712_usb_hal_bus_init()
[all …]
A Drtl871x_pwrctrl.c26 void r8712_set_rpwm(struct _adapter *padapter, u8 val8) in r8712_set_rpwm() argument
31 if (pwrpriv->rpwm == val8) { in r8712_set_rpwm()
37 rpwm = val8 | pwrpriv->tog; in r8712_set_rpwm()
38 switch (val8) { in r8712_set_rpwm()
40 pwrpriv->cpwm = val8; in r8712_set_rpwm()
47 pwrpriv->cpwm = val8; in r8712_set_rpwm()
53 pwrpriv->rpwm = val8; in r8712_set_rpwm()
A Drtl871x_io.h84 void (*_cmd52w)(struct intf_priv *pintfpriv, u32 addr, u8 val8);
86 void (*_cmdfunc152w)(struct intf_priv *pintfpriv, u32 addr, u8 val8);
/linux/drivers/net/wireless/realtek/rtl8xxxu/
A Drtl8xxxu_8723a.c224 u8 val8; in rtl8723a_emu_to_active() local
230 val8 |= LDOA15_ENABLE; in rtl8723a_emu_to_active()
235 val8 &= ~BIT(4); in rtl8723a_emu_to_active()
242 val8 &= ~SYS_ISO_ANALOG_IPS; in rtl8723a_emu_to_active()
247 val8 &= ~BIT(2); in rtl8723a_emu_to_active()
268 val8 |= BIT(0); in rtl8723a_emu_to_active()
273 val8 &= ~BIT(7); in rtl8723a_emu_to_active()
278 val8 &= ~(BIT(3) | BIT(4)); in rtl8723a_emu_to_active()
306 val8 |= LEDCFG2_DPDT_SELECT; in rtl8723a_emu_to_active()
316 u8 val8; in rtl8723au_power_on() local
[all …]
A Drtl8xxxu_8723b.c330 u8 val8; in rtl8723bu_reset_8051() local
334 val8 &= ~BIT(1); in rtl8723bu_reset_8051()
338 val8 &= ~BIT(0); in rtl8723bu_reset_8051()
346 val8 &= ~BIT(1); in rtl8723bu_reset_8051()
350 val8 |= BIT(0); in rtl8723bu_reset_8051()
484 u8 val8; in rtl8723bu_init_phy_bb() local
1212 u8 val8; in rtl8723bu_active_to_emu() local
1270 u8 val8; in rtl8723b_emu_to_active() local
1391 u8 val8; in rtl8723bu_power_on() local
1447 u8 val8; in rtl8723bu_power_off() local
[all …]
A Drtl8xxxu_8192e.c687 u8 val8; in rtl8192eu_init_phy_bb() local
1336 u8 val8; in rtl8192e_crystal_afe_adjust() local
1343 val8 &= 0xfb; in rtl8192e_crystal_afe_adjust()
1355 val8 &= 0xbf; in rtl8192e_crystal_afe_adjust()
1368 u8 val8; in rtl8192e_disabled_to_emu() local
1378 u8 val8; in rtl8192e_emu_to_active() local
1444 u8 val8; in rtl8192eu_active_to_lps() local
1502 u8 val8; in rtl8192eu_active_to_emu() local
1540 u8 val8; in rtl8192eu_emu_to_disabled() local
1601 u8 val8; in rtl8192eu_power_off() local
[all …]
A Drtl8xxxu_8192c.c440 u8 val8; in rtl8192cu_power_on() local
446 val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO); in rtl8192cu_power_on()
447 if (val8 & APS_FSMCO_PFM_ALDN) in rtl8192cu_power_on()
464 if (!(val8 & LDOV12D_ENABLE)) { in rtl8192cu_power_on()
466 val8 |= LDOV12D_ENABLE; in rtl8192cu_power_on()
472 val8 &= ~SYS_ISO_MD2PP; in rtl8192cu_power_on()
507 val8 = rtl8xxxu_read8(priv, REG_APSD_CTRL); in rtl8192cu_power_on()
508 val8 &= ~APSD_CTRL_OFF; in rtl8192cu_power_on()
509 rtl8xxxu_write8(priv, REG_APSD_CTRL, val8); in rtl8192cu_power_on()
511 val8 = rtl8xxxu_read8(priv, REG_APSD_CTRL); in rtl8192cu_power_on()
[all …]
A Drtl8xxxu_core.c895 u8 val8; in rtl8xxxu_gen1_h2c_cmd() local
945 u8 val8; in rtl8xxxu_gen2_h2c_cmd() local
992 u8 val8; in rtl8xxxu_gen1_enable_rf() local
1075 u8 val8; in rtl8xxxu_stop_tx_beacon() local
1392 u8 val8; in rtl8xxxu_gen1_set_tx_power() local
1522 u8 val8; in rtl8xxxu_set_linktype() local
1766 u8 val8; in rtl8xxxu_read_efuse8() local
1911 u8 val8; in rtl8xxxu_reset_8051() local
1987 u8 val8; in rtl8xxxu_download_firmware() local
2255 u8 val8; in rtl8xxxu_init_phy_bb() local
[all …]
/linux/drivers/edac/
A Damd8111_edac.c235 u8 val8; in amd8111_lpc_bridge_init() local
246 val8 = __do_inb(REG_AT_COMPAT); in amd8111_lpc_bridge_init()
255 if (val8 & AT_COMPAT_SERR) in amd8111_lpc_bridge_init()
257 if (val8 & AT_COMPAT_IOCHK) in amd8111_lpc_bridge_init()
266 if (val8 & IO_CTRL_1_CLEAR_MASK) in amd8111_lpc_bridge_init()
280 u8 val8; in amd8111_lpc_bridge_check() local
283 if (val8 & IO_CTRL_1_CLEAR_MASK) { in amd8111_lpc_bridge_check()
291 val8 |= IO_CTRL_1_CLEAR_MASK; in amd8111_lpc_bridge_check()
299 val8 = __do_inb(REG_AT_COMPAT); in amd8111_lpc_bridge_check()
300 if (val8 & AT_COMPAT_SERR) in amd8111_lpc_bridge_check()
[all …]
/linux/drivers/staging/rtl8723bs/hal/
A Dsdio_halinit.c612 val8 &= 0x80; in rtl8723bs_hal_init()
613 val8 += 0x80; in rtl8723bs_hal_init()
614 val8 |= BIT(6); in rtl8723bs_hal_init()
897 u8 val8 = 0; in rtl8723bs_hal_deinit() local
910 val8 += 0x80; in rtl8723bs_hal_deinit()
1122 u8 val8; in _ReadAdapterInfo8723BS() local
1130 val8 |= BIT(6); in _ReadAdapterInfo8723BS()
1160 u8 val8; in SetHwReg8723BS() local
1169 val8 = *val; in SetHwReg8723BS()
1170 val8 &= 0xC1; in SetHwReg8723BS()
[all …]
A Drtl8723b_cmd.c639 u8 val8; in rtl8723b_download_rsvd_page() local
658 val8 &= ~EN_BCN_FUNCTION; in rtl8723b_download_rsvd_page()
659 val8 |= DIS_TSF_UDT; in rtl8723b_download_rsvd_page()
698 val8 |= EN_BCN_FUNCTION; in rtl8723b_download_rsvd_page()
699 val8 &= ~DIS_TSF_UDT; in rtl8723b_download_rsvd_page()
906 u8 val8; in rtl8723b_download_BTCoex_AP_mode_rsvd_page() local
918 val8 |= BIT(0); /* ENSWBCN */ in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
925 val8 &= ~EN_BCN_FUNCTION; in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
926 val8 |= DIS_TSF_UDT; in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
962 val8 |= EN_BCN_FUNCTION; in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
[all …]
A Drtl8723b_hal_init.c1676 u8 val8; in rtl8723b_InitBeaconParameters() local
1680 val16 = val8 | (val8 << 8); /* port0 and port1 */ in rtl8723b_InitBeaconParameters()
1763 u8 val8; in rtl8723b_SetBeaconRelatedRegisters() local
2832 u8 val8; in hw_var_set_opmode() local
2934 u8 val8; in hw_var_set_bcn_func() local
2948 u8 val8; in hw_var_set_correct_tsf() local
2989 u8 val8; in hw_var_set_mlme_disconnect() local
3009 u8 val8; in hw_var_set_mlme_sitesurvey() local
3068 u8 val8; in hw_var_set_mlme_join() local
3237 u8 val8; in SetHwReg8723B() local
[all …]
/linux/drivers/char/
A Dsonypi.c942 u8 val8; in sonypi_misc_ioctl() local
952 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
956 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
1000 val8 &= 0x07; in sonypi_misc_ioctl()
1001 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
1006 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
1010 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
1014 sonypi_setbluetoothpower(val8); in sonypi_misc_ioctl()
1022 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
1026 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
[all …]
/linux/drivers/watchdog/
A DiTCO_wdt.c352 unsigned char val8; in iTCO_wdt_set_timeout() local
383 val8 = inb(TCOv1_TMR(p)); in iTCO_wdt_set_timeout()
384 val8 &= 0xc0; in iTCO_wdt_set_timeout()
385 val8 |= (tmrval & 0xff); in iTCO_wdt_set_timeout()
386 outb(val8, TCOv1_TMR(p)); in iTCO_wdt_set_timeout()
387 val8 = inb(TCOv1_TMR(p)); in iTCO_wdt_set_timeout()
390 if ((val8 & 0x3f) != tmrval) in iTCO_wdt_set_timeout()
402 unsigned char val8; in iTCO_wdt_get_timeleft() local
415 val8 = inb(TCO_RLD(p)); in iTCO_wdt_get_timeleft()
416 val8 &= 0x3f; in iTCO_wdt_get_timeleft()
[all …]
/linux/drivers/ptp/
A Dptp_clockmatrix.h24 #define SET_U16_LSB(orig, val8) (orig = (0xff00 & (orig)) | (val8)) argument
25 #define SET_U16_MSB(orig, val8) (orig = (0x00ff & (orig)) | (val8 << 8)) argument
/linux/drivers/staging/r8188eu/hal/
A Dusb_halinit.c869 u8 val8; in CardDisableRTL8188EU() local
910 val8 = rtw_read8(Adapter, GPIO_IN); in CardDisableRTL8188EU()
1122 u8 val8; in hw_var_set_opmode() local
1130 val8 |= mode; in hw_var_set_opmode()
1131 rtw_write8(Adapter, MSR, val8); in hw_var_set_opmode()
1220 u8 val8; in SetHwReg8188EU() local
1223 val8 |= *((u8 *)val); in SetHwReg8188EU()
1224 rtw_write8(Adapter, MSR, val8); in SetHwReg8188EU()
1229 u8 val8; in SetHwReg8188EU() local
1232 val8 |= *((u8 *)val) << 2; in SetHwReg8188EU()
[all …]
/linux/drivers/staging/rtl8723bs/core/
A Drtw_pwrctrl.c393 u8 val8; in rtw_set_ps_mode() local
396 if (val8 & BIT(4)) in rtw_set_ps_mode()
775 u8 val8; in rtw_unregister_task_alive() local
777 val8 = hal_btcoex_LpsVal(padapter); in rtw_unregister_task_alive()
778 if (val8 & BIT(4)) in rtw_unregister_task_alive()
902 u8 val8; in rtw_unregister_tx_alive() local
904 val8 = hal_btcoex_LpsVal(padapter); in rtw_unregister_tx_alive()
905 if (val8 & BIT(4)) in rtw_unregister_tx_alive()
938 u8 val8; in rtw_unregister_cmd_alive() local
940 val8 = hal_btcoex_LpsVal(padapter); in rtw_unregister_cmd_alive()
[all …]
/linux/drivers/input/joystick/
A Dwalkera0701.c65 int val1, val2, val3, val4, val5, val6, val7, val8; in walkera0701_parse_frame() local
99 val8 = (w->buf[18] & 1) << 8 | (w->buf[19] << 4) | w->buf[20]; in walkera0701_parse_frame()
100 val8 *= (w->buf[18] & 2) - 1; /*sign */ in walkera0701_parse_frame()
105 val1, val2, val3, val4, val5, val6, val7, val8, in walkera0701_parse_frame()
/linux/drivers/misc/cardreader/
A Dalcor_pci.c102 u8 val8; in alcor_pci_find_cap_offset() local
106 pci_read_config_byte(pci, where, &val8); in alcor_pci_find_cap_offset()
107 if (!val8) in alcor_pci_find_cap_offset()
110 where = (int)val8; in alcor_pci_find_cap_offset()
/linux/drivers/misc/cxl/
A Dvphb.c121 u8 val8; in cxl_pcie_read_config() local
136 rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); in cxl_pcie_read_config()
137 *val = val8; in cxl_pcie_read_config()
/linux/drivers/platform/x86/
A Dsony-laptop.c4122 u8 val8; in sonypi_misc_ioctl() local
4139 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4147 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
4151 value = (val8 >> 5) + 1; in sonypi_misc_ioctl()
4198 val8 &= 0x07; in sonypi_misc_ioctl()
4199 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4204 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4208 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
4220 if (copy_to_user(argp, &val8, sizeof(val8))) in sonypi_misc_ioctl()
4224 if (copy_from_user(&val8, argp, sizeof(val8))) { in sonypi_misc_ioctl()
[all …]
/linux/drivers/misc/ocxl/
A Dconfig.c472 u8 val8; in read_afu_control() local
483 pci_read_config_byte(dev, pos + OCXL_DVSEC_AFU_CTRL_PASID_SUP, &val8); in read_afu_control()
484 afu->pasid_supported_log = EXTRACT_BITS(val8, 0, 4); in read_afu_control()
742 u8 val8; in ocxl_config_set_afu_pasid() local
745 val8 = pasid_count_log & OCXL_DVSEC_PASID_LOG_MASK; in ocxl_config_set_afu_pasid()
746 pci_write_config_byte(dev, pos + OCXL_DVSEC_AFU_CTRL_PASID_EN, val8); in ocxl_config_set_afu_pasid()
/linux/drivers/media/i2c/ccs/
A Dccs-reg-access.c125 u32 val8; in ____ccs_read_addr_8only() local
127 rval = ____ccs_read_addr(sensor, reg + i, 1, &val8); in ____ccs_read_addr_8only()
130 *val |= val8 << ((len - i - 1) << 3); in ____ccs_read_addr_8only()
/linux/drivers/nvmem/
A Dstm32-romem.c74 u8 *buf8 = buf, *val8 = (u8 *)&val; in stm32_bsec_read() local
106 memcpy(&buf8[j], &val8[skip_bytes], size); in stm32_bsec_read()
/linux/drivers/net/wireless/realtek/rtw89/
A Ddebug.c1574 u8 val8; in rtw89_debug_mac_dbg_port_sel() local
1655 val8 = rtw89_read8(rtwdev, R_AX_DBGSEL_TRXPTCL); in rtw89_debug_mac_dbg_port_sel()
1656 val8 = u8_replace_bits(val8, RMAC_CMAC_DBG_SEL, in rtw89_debug_mac_dbg_port_sel()
1658 rtw89_write8(rtwdev, R_AX_DBGSEL_TRXPTCL, val8); in rtw89_debug_mac_dbg_port_sel()
1677 val8 = rtw89_read8(rtwdev, R_AX_DBGSEL_TRXPTCL_C1); in rtw89_debug_mac_dbg_port_sel()
1678 val8 = u8_replace_bits(val8, RMAC_CMAC_DBG_SEL, in rtw89_debug_mac_dbg_port_sel()
1680 rtw89_write8(rtwdev, R_AX_DBGSEL_TRXPTCL_C1, val8); in rtw89_debug_mac_dbg_port_sel()
1941 u8 val8; in rtw89_debug_mac_dbg_port_dump() local
2034 val8 = rtw89_read8_mask(rtwdev, in rtw89_debug_mac_dbg_port_dump()
2036 seq_printf(m, "0x%02X\n", val8); in rtw89_debug_mac_dbg_port_dump()

Completed in 115 milliseconds

12