val8 81 arch/ia64/kernel/perfmon_mckinley.h unsigned long val8 = 0, val14 = 0, val13 = 0; val8 142 arch/ia64/kernel/perfmon_mckinley.h case 8: val8 = *val; val8 147 arch/ia64/kernel/perfmon_mckinley.h case 13: val8 = ctx->ctx_pmcs[8]; val8 152 arch/ia64/kernel/perfmon_mckinley.h case 14: val8 = ctx->ctx_pmcs[8]; val8 163 arch/ia64/kernel/perfmon_mckinley.h && ((val8 & 0x1) == 0) val8 942 drivers/char/sonypi.c u8 val8; val8 948 drivers/char/sonypi.c if (sonypi_ec_read(SONYPI_LCD_LIGHT, &val8)) { val8 952 drivers/char/sonypi.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 956 drivers/char/sonypi.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 960 drivers/char/sonypi.c if (sonypi_ec_write(SONYPI_LCD_LIGHT, val8)) val8 996 drivers/char/sonypi.c if (sonypi_ec_read(SONYPI_BAT_FLAGS, &val8)) { val8 1000 drivers/char/sonypi.c val8 &= 0x07; val8 1001 drivers/char/sonypi.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 1005 drivers/char/sonypi.c val8 = sonypi_device.bluetooth_power; val8 1006 drivers/char/sonypi.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 1010 drivers/char/sonypi.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 1014 drivers/char/sonypi.c sonypi_setbluetoothpower(val8); val8 1018 drivers/char/sonypi.c if (sonypi_ec_read(SONYPI_FAN0_STATUS, &val8)) { val8 1022 drivers/char/sonypi.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 1026 drivers/char/sonypi.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 1030 drivers/char/sonypi.c if (sonypi_ec_write(SONYPI_FAN0_STATUS, val8)) val8 1035 drivers/char/sonypi.c if (sonypi_ec_read(SONYPI_TEMP_STATUS, &val8)) { val8 1039 drivers/char/sonypi.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 83 drivers/dma/fsl-edma-common.c u8 val8; val8 86 drivers/dma/fsl-edma-common.c val8 = EDMAMUX_CHCFG_ENBL | slot; val8 88 drivers/dma/fsl-edma-common.c val8 = EDMAMUX_CHCFG_DIS; val8 90 drivers/dma/fsl-edma-common.c iowrite8(val8, addr + off); val8 49 drivers/edac/amd8111_edac.c static void edac_pci_read_byte(struct pci_dev *dev, int reg, u8 *val8) val8 53 drivers/edac/amd8111_edac.c ret = pci_read_config_byte(dev, reg, val8); val8 69 drivers/edac/amd8111_edac.c static void edac_pci_write_byte(struct pci_dev *dev, int reg, u8 val8) val8 73 drivers/edac/amd8111_edac.c ret = pci_write_config_byte(dev, reg, val8); val8 235 drivers/edac/amd8111_edac.c u8 val8; val8 246 drivers/edac/amd8111_edac.c val8 = __do_inb(REG_AT_COMPAT); val8 247 drivers/edac/amd8111_edac.c if (val8 == 0xff) { /* buggy port */ val8 255 drivers/edac/amd8111_edac.c if (val8 & AT_COMPAT_SERR) val8 257 drivers/edac/amd8111_edac.c if (val8 & AT_COMPAT_IOCHK) val8 265 drivers/edac/amd8111_edac.c edac_pci_read_byte(dev, REG_IO_CTRL_1, &val8); val8 266 drivers/edac/amd8111_edac.c if (val8 & IO_CTRL_1_CLEAR_MASK) val8 267 drivers/edac/amd8111_edac.c edac_pci_write_byte(dev, REG_IO_CTRL_1, val8); val8 280 drivers/edac/amd8111_edac.c u8 val8; val8 282 drivers/edac/amd8111_edac.c edac_pci_read_byte(dev, REG_IO_CTRL_1, &val8); val8 283 drivers/edac/amd8111_edac.c if (val8 & IO_CTRL_1_CLEAR_MASK) { val8 288 drivers/edac/amd8111_edac.c (val8 & IO_CTRL_1_LPC_ERR) != 0, val8 289 drivers/edac/amd8111_edac.c (val8 & IO_CTRL_1_PW2LPC) != 0); val8 291 drivers/edac/amd8111_edac.c val8 |= IO_CTRL_1_CLEAR_MASK; val8 292 drivers/edac/amd8111_edac.c edac_pci_write_byte(dev, REG_IO_CTRL_1, val8); val8 299 drivers/edac/amd8111_edac.c val8 = __do_inb(REG_AT_COMPAT); val8 300 drivers/edac/amd8111_edac.c if (val8 & AT_COMPAT_SERR) val8 302 drivers/edac/amd8111_edac.c if (val8 & AT_COMPAT_IOCHK) val8 76 drivers/infiniband/hw/hfi1/pio.h u8 val8[8]; val8 229 drivers/infiniband/hw/hfi1/pio_copy.c jcopy(&pbuf->carry.val8[0], from, nbytes); val8 244 drivers/infiniband/hw/hfi1/pio_copy.c jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); val8 65 drivers/input/joystick/walkera0701.c int val1, val2, val3, val4, val5, val6, val7, val8; val8 99 drivers/input/joystick/walkera0701.c val8 = (w->buf[18] & 1) << 8 | (w->buf[19] << 4) | w->buf[20]; val8 100 drivers/input/joystick/walkera0701.c val8 *= (w->buf[18] & 2) - 1; /*sign */ val8 105 drivers/input/joystick/walkera0701.c val1, val2, val3, val4, val5, val6, val7, val8, val8 135 drivers/media/i2c/smiapp/smiapp-regs.c u32 val8; val8 137 drivers/media/i2c/smiapp/smiapp-regs.c rval = ____smiapp_read(sensor, reg + i, 1, &val8); val8 140 drivers/media/i2c/smiapp/smiapp-regs.c *val |= val8 << ((len - i - 1) << 3); val8 96 drivers/misc/cardreader/alcor_pci.c u8 val8; val8 100 drivers/misc/cardreader/alcor_pci.c pci_read_config_byte(pci, where, &val8); val8 101 drivers/misc/cardreader/alcor_pci.c if (!val8) val8 104 drivers/misc/cardreader/alcor_pci.c where = (int)val8; val8 121 drivers/misc/cxl/vphb.c u8 val8; val8 136 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); val8 137 drivers/misc/cxl/vphb.c *val = val8; val8 412 drivers/misc/ocxl/config.c u8 val8; val8 423 drivers/misc/ocxl/config.c pci_read_config_byte(dev, pos + OCXL_DVSEC_AFU_CTRL_PASID_SUP, &val8); val8 424 drivers/misc/ocxl/config.c afu->pasid_supported_log = EXTRACT_BITS(val8, 0, 4); val8 682 drivers/misc/ocxl/config.c u8 val8; val8 685 drivers/misc/ocxl/config.c val8 = pasid_count_log & OCXL_DVSEC_PASID_LOG_MASK; val8 686 drivers/misc/ocxl/config.c pci_write_config_byte(dev, pos + OCXL_DVSEC_AFU_CTRL_PASID_EN, val8); val8 250 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c u8 val8; val8 261 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c dst->val8 = src->vbool; val8 280 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c dst->vbool = src->val8; val8 2760 drivers/net/ethernet/neterion/s2io.c u8 val8 = 0; val8 2776 drivers/net/ethernet/neterion/s2io.c val8 = (ring->ring_no == 0) ? 0x3f : 0xbf; val8 2777 drivers/net/ethernet/neterion/s2io.c writeb(val8, addr); val8 2778 drivers/net/ethernet/neterion/s2io.c val8 = readb(addr); val8 4206 drivers/net/ethernet/neterion/s2io.c u8 val8 = 0; val8 4210 drivers/net/ethernet/neterion/s2io.c val8 = (ring->ring_no == 0) ? 0x7f : 0xff; val8 4211 drivers/net/ethernet/neterion/s2io.c writeb(val8, addr); val8 4212 drivers/net/ethernet/neterion/s2io.c val8 = readb(addr); val8 668 drivers/net/ethernet/realtek/8139too.c #define RTL_W8_F(reg, val8) do { iowrite8 ((val8), ioaddr + (reg)); ioread8 (ioaddr + (reg)); } while (0) val8 673 drivers/net/ethernet/realtek/8139too.c #define RTL_W8(reg, val8) iowrite8 ((val8), ioaddr + (reg)) val8 79 drivers/net/ethernet/realtek/r8169_main.c #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) val8 8311 drivers/net/ethernet/sun/niu.c u8 val8; val8 8345 drivers/net/ethernet/sun/niu.c val8 = dev->dev_addr[5]; val8 8347 drivers/net/ethernet/sun/niu.c if (dev->dev_addr[5] < val8) val8 8356 drivers/net/ethernet/sun/niu.c u8 val8; val8 8385 drivers/net/ethernet/sun/niu.c val8 = (val & ESPC_PHY_TYPE_PORT0) >> val8 8389 drivers/net/ethernet/sun/niu.c val8 = (val & ESPC_PHY_TYPE_PORT1) >> val8 8393 drivers/net/ethernet/sun/niu.c val8 = (val & ESPC_PHY_TYPE_PORT2) >> val8 8397 drivers/net/ethernet/sun/niu.c val8 = (val & ESPC_PHY_TYPE_PORT3) >> val8 8406 drivers/net/ethernet/sun/niu.c "SPROM: PHY type %x\n", val8); val8 8408 drivers/net/ethernet/sun/niu.c switch (val8) { val8 8438 drivers/net/ethernet/sun/niu.c dev_err(np->device, "Bogus SPROM phy type %u\n", val8); val8 8462 drivers/net/ethernet/sun/niu.c val8 = dev->dev_addr[5]; val8 8464 drivers/net/ethernet/sun/niu.c if (dev->dev_addr[5] < val8) val8 553 drivers/net/wireless/intel/iwlegacy/common.h u8 val8; val8 1277 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h u8 val8; val8 440 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c u8 val8; val8 446 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO); val8 447 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c if (val8 & APS_FSMCO_PFM_ALDN) val8 463 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 = rtl8xxxu_read8(priv, REG_LDOV12D_CTRL); val8 464 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c if (!(val8 & LDOV12D_ENABLE)) { val8 465 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c pr_info("%s: Enabling LDOV12D (%02x)\n", __func__, val8); val8 466 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 |= LDOV12D_ENABLE; val8 467 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c rtl8xxxu_write8(priv, REG_LDOV12D_CTRL, val8); val8 471 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 = rtl8xxxu_read8(priv, REG_SYS_ISO_CTRL); val8 472 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 &= ~SYS_ISO_MD2PP; val8 473 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c rtl8xxxu_write8(priv, REG_SYS_ISO_CTRL, val8); val8 507 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 = rtl8xxxu_read8(priv, REG_APSD_CTRL); val8 508 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 &= ~APSD_CTRL_OFF; val8 509 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c rtl8xxxu_write8(priv, REG_APSD_CTRL, val8); val8 511 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c val8 = rtl8xxxu_read8(priv, REG_APSD_CTRL); val8 512 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c if (!(val8 & APSD_CTRL_OFF_STATUS)) val8 640 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 648 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = RF_ENABLE | RF_RSTB | RF_SDMRSTB; val8 649 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_RF_CTRL, val8); val8 655 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = RF_ENABLE | RF_RSTB | RF_SDMRSTB; val8 656 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_RF_CTRL, val8); val8 1289 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1295 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_AFE_PLL_CTRL); val8 1296 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= 0xfb; val8 1297 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_AFE_PLL_CTRL, val8); val8 1307 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_AFE_PLL_CTRL); val8 1308 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= 0xbf; val8 1309 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_AFE_PLL_CTRL, val8); val8 1321 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1324 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1325 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~(BIT(3) | BIT(4)); val8 1326 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1331 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1336 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1337 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~BIT(7); val8 1338 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1341 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1342 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~BIT(2); val8 1343 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1346 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1347 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~(BIT(3) | BIT(4)); val8 1348 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1367 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 2); val8 1368 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 |= BIT(0); val8 1369 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 2, val8); val8 1397 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1424 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); val8 1425 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~SYS_FUNC_BBRSTB; val8 1426 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); val8 1431 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); val8 1432 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~SYS_FUNC_BB_GLB_RSTN; val8 1433 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); val8 1445 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_DUAL_TSF_RST); val8 1446 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 |= DUAL_TSF_TX_OK; val8 1447 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_DUAL_TSF_RST, val8); val8 1455 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1459 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_RF_CTRL); val8 1460 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~RF_ENABLE; val8 1461 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_RF_CTRL, val8); val8 1464 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); val8 1465 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~LEDCFG2_DPDT_SELECT; val8 1466 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_LEDCFG2, val8); val8 1469 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1470 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 |= BIT(1); val8 1471 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1474 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1475 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c if ((val8 & BIT(1)) == 0) val8 1493 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1496 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1497 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~(BIT(3) | BIT(4)); val8 1498 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 |= BIT(3); val8 1499 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1556 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1561 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_TX_REPORT_CTRL); val8 1562 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~TX_REPORT_CTRL_TIMER_ENABLE; val8 1563 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_TX_REPORT_CTRL, val8); val8 1591 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c u8 val8; val8 1597 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_GPIO_MUXCFG); val8 1598 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 |= BIT(5); val8 1599 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_GPIO_MUXCFG, val8); val8 1624 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 = rtl8xxxu_read8(priv, REG_PAD_CTRL1); val8 1625 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c val8 &= ~BIT(0); val8 1626 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c rtl8xxxu_write8(priv, REG_PAD_CTRL1, val8); val8 224 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c u8 val8; val8 229 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_LDOA15_CTRL); val8 230 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 |= LDOA15_ENABLE; val8 231 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_LDOA15_CTRL, val8); val8 234 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, 0x0067); val8 235 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~BIT(4); val8 236 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, 0x0067, val8); val8 241 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_SYS_ISO_CTRL); val8 242 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~SYS_ISO_ANALOG_IPS; val8 243 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_SYS_ISO_CTRL, val8); val8 246 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 247 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~BIT(2); val8 248 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 267 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 2); val8 268 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 |= BIT(0); val8 269 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 2, val8); val8 272 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 273 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~BIT(7); val8 274 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 277 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 278 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~(BIT(3) | BIT(4)); val8 279 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 305 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); val8 306 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 |= LEDCFG2_DPDT_SELECT; val8 307 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 &= ~LEDCFG2_DPDT_SELECT; val8 308 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_LEDCFG2, val8); val8 316 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c u8 val8; val8 335 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 2); val8 336 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c val8 |= BIT(3); val8 337 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 2, val8); val8 330 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 333 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL); val8 334 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(1); val8 335 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_RSV_CTRL, val8); val8 337 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 338 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(0); val8 339 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 345 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL); val8 346 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(1); val8 347 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_RSV_CTRL, val8); val8 349 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 350 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(0); val8 351 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 484 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 494 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = RF_ENABLE | RF_RSTB | RF_SDMRSTB; val8 495 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_RF_CTRL, val8); val8 1212 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 1231 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1232 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(1); val8 1233 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1236 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1237 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c if ((val8 & BIT(1)) == 0) val8 1250 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_AFE_MISC); val8 1251 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~AFE_MISC_WL_XTAL_CTRL; val8 1252 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_AFE_MISC, val8); val8 1255 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_SYS_ISO_CTRL); val8 1256 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= SYS_ISO_ANALOG_IPS; val8 1257 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_SYS_ISO_CTRL, val8); val8 1260 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_LDOA15_CTRL); val8 1261 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~LDOA15_ENABLE; val8 1262 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_LDOA15_CTRL, val8); val8 1270 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 1275 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_LDOA15_CTRL); val8 1276 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= LDOA15_ENABLE; val8 1277 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_LDOA15_CTRL, val8); val8 1280 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, 0x0067); val8 1281 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(4); val8 1282 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, 0x0067, val8); val8 1287 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_SYS_ISO_CTRL); val8 1288 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~SYS_ISO_ANALOG_IPS; val8 1289 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_SYS_ISO_CTRL, val8); val8 1347 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_AFE_MISC); val8 1348 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= AFE_MISC_WL_XTAL_CTRL; val8 1349 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_AFE_MISC, val8); val8 1352 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_GPIO_INTM + 1); val8 1353 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(1); val8 1354 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_GPIO_INTM + 1, val8); val8 1357 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_GPIO_IO_SEL_2 + 1); val8 1358 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(1); val8 1359 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_GPIO_IO_SEL_2 + 1, val8); val8 1362 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_GPIO_IO_SEL_2); val8 1363 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(1); val8 1364 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_GPIO_IO_SEL_2, val8); val8 1367 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_HSIMR); val8 1368 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(0); val8 1369 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_HSIMR, val8); val8 1372 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_HSIMR + 2); val8 1373 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(1); val8 1374 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_HSIMR + 2, val8); val8 1376 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_MULTI_FUNC_CTRL); val8 1377 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= MULTI_WIFI_HW_ROF_EN; val8 1378 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_MULTI_FUNC_CTRL, val8); val8 1381 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_MULTI_FUNC_CTRL + 1); val8 1382 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(6); val8 1383 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_MULTI_FUNC_CTRL + 1, val8); val8 1391 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 1438 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_PAD_CTRL1); val8 1439 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~PAD_CTRL1_SW_DPDT_SEL_DATA; val8 1440 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_PAD_CTRL1, val8); val8 1447 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 1455 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_TX_REPORT_CTRL); val8 1456 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~TX_REPORT_CTRL_TIMER_ENABLE; val8 1457 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_TX_REPORT_CTRL, val8); val8 1477 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 1478 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(3); /* APS_FSMCO_HW_SUSPEND */ val8 1479 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 1482 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_GPIO_INTM + 2); val8 1483 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(0); val8 1484 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_GPIO_INTM + 2, val8); val8 1491 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c u8 val8; val8 1509 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_GPIO_MUXCFG); val8 1510 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(5); val8 1511 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_GPIO_MUXCFG, val8); val8 1533 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, 0x0067); val8 1534 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 |= BIT(5); val8 1535 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, 0x0067, val8); val8 1560 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 = rtl8xxxu_read8(priv, REG_PAD_CTRL1); val8 1561 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c val8 &= ~BIT(0); val8 1562 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c rtl8xxxu_write8(priv, REG_PAD_CTRL1, val8); val8 658 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c addr, 0, &priv->usb_buf.val8, sizeof(u8), val8 660 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c data = priv->usb_buf.val8; val8 715 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c priv->usb_buf.val8 = val; val8 718 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c addr, 0, &priv->usb_buf.val8, sizeof(u8), val8 895 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 908 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_HMTFR); val8 909 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (!(val8 & BIT(mbox_nr))) val8 945 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 958 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_HMTFR); val8 959 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (!(val8 & BIT(mbox_nr))) val8 992 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 995 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_SPS0_CTRL); val8 996 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(0) | BIT(3); val8 997 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SPS0_CTRL, val8); val8 1075 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1077 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_FWHW_TXQ_CTRL + 2); val8 1078 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(6); val8 1079 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_FWHW_TXQ_CTRL + 2, val8); val8 1082 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_TBTT_PROHIBIT + 2); val8 1083 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(0); val8 1084 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TBTT_PROHIBIT + 2, val8); val8 1136 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8, opmode; val8 1235 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 0x0e; val8 1237 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 0x0a; val8 1239 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SIFS_CCK + 1, val8); val8 1240 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SIFS_OFDM + 1, val8); val8 1259 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8, subchannel; val8 1358 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 0x0e; val8 1360 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 0x0a; val8 1362 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SIFS_CCK + 1, val8); val8 1363 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SIFS_OFDM + 1, val8); val8 1393 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1504 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = (mcsbase[0] > 8) ? (mcsbase[0] - 8) : 0; val8 1506 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = (mcsbase[0] > 6) ? (mcsbase[0] - 6) : 0; val8 1507 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_OFDM0_XC_TX_IQ_IMBALANCE + i, val8); val8 1513 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = (mcsbase[1] > 8) ? (mcsbase[1] - 8) : 0; val8 1515 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = (mcsbase[1] > 6) ? (mcsbase[1] - 6) : 0; val8 1516 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_OFDM0_XD_TX_IQ_IMBALANCE + i, val8); val8 1523 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1525 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MSR); val8 1526 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~MSR_LINKTYPE_MASK; val8 1530 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MSR_LINKTYPE_NONE; val8 1533 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MSR_LINKTYPE_ADHOC; val8 1536 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MSR_LINKTYPE_STATION; val8 1539 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MSR_LINKTYPE_AP; val8 1545 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_MSR, val8); val8 1767 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1772 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_EFUSE_CTRL + 2); val8 1773 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= 0xfc; val8 1774 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= (offset >> 8) & 0x03; val8 1775 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_EFUSE_CTRL + 2, val8); val8 1777 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_EFUSE_CTRL + 3); val8 1778 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_EFUSE_CTRL + 3, val8 & 0x7f); val8 1802 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8, word_mask, header, extheader; val8 1892 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); val8 1895 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c priv->efuse_wifi.raw[map_addr++] = val8; val8 1897 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); val8 1900 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c priv->efuse_wifi.raw[map_addr++] = val8; val8 1912 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1915 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 1916 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(0); val8 1917 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 1923 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 1924 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(0); val8 1925 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 1988 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 1993 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC + 1); val8 1994 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= 4; val8 1995 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SYS_FUNC + 1, val8); val8 2002 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL); val8 2003 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (val8 & MCU_FW_RAM_SEL) { val8 2010 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL); val8 2011 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MCU_FW_DL_ENABLE; val8 2012 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_MCU_FW_DL, val8); val8 2020 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL); val8 2021 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= MCU_FW_DL_CSUM_REPORT; val8 2022 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_MCU_FW_DL, val8); val8 2030 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL + 2) & 0xF8; val8 2031 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= i; val8 2032 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_MCU_FW_DL + 2, val8); val8 2045 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL + 2) & 0xF8; val8 2046 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= i; val8 2047 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_MCU_FW_DL + 2, val8); val8 2200 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8, ldoa15, ldov12d, lpldo, ldohci12; val8 2204 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_AFE_PLL_CTRL); val8 2206 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= AFE_PLL_320_ENABLE; val8 2207 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_AFE_PLL_CTRL, val8); val8 2224 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = RF_ENABLE | RF_RSTB | RF_SDMRSTB; val8 2225 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RF_CTRL, val8); val8 2256 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 2324 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = priv->xtalk; val8 2326 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val32 |= ((val8 | (val8 << 6)) << 12); val8 3539 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3541 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_AMPDU_MIN_SPACE); val8 3542 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= 0xf8; val8 3543 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= density; val8 3544 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_AMPDU_MIN_SPACE, val8); val8 3549 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3558 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); val8 3559 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~LEDCFG2_DPDT_SELECT; val8 3560 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_LEDCFG2, val8); val8 3563 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3564 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(1); val8 3565 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 3568 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3569 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if ((val8 & BIT(1)) == 0) val8 3582 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_SYS_ISO_CTRL); val8 3583 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= SYS_ISO_ANALOG_IPS; val8 3584 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SYS_ISO_CTRL, val8); val8 3587 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_LDOA15_CTRL); val8 3588 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~LDOA15_ENABLE; val8 3589 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_LDOA15_CTRL, val8); val8 3597 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3621 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); val8 3622 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~SYS_FUNC_BBRSTB; val8 3623 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); val8 3628 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); val8 3629 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~SYS_FUNC_BB_GLB_RSTN; val8 3630 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); val8 3633 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_CR); val8 3634 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE; val8 3635 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_CR, val8); val8 3638 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_CR + 1); val8 3639 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(1); /* CR_SECURITY_ENABLE */ val8 3640 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_CR + 1, val8); val8 3643 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_DUAL_TSF_RST); val8 3644 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= DUAL_TSF_TX_OK; val8 3645 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_DUAL_TSF_RST, val8); val8 3653 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3656 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3657 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~(BIT(3) | BIT(7)); val8 3658 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 3661 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_GPIO_INTM + 2); val8 3662 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(0); val8 3663 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_GPIO_INTM + 2, val8); val8 3666 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3667 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~(BIT(3) | BIT(4)); val8 3668 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 3673 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3679 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3680 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(4); val8 3681 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(3); val8 3682 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 3684 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_APS_FSMCO + 1); val8 3685 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(7); val8 3686 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_APS_FSMCO + 1, val8); val8 3689 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_GPIO_INTM + 2); val8 3690 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(0); val8 3691 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_GPIO_INTM + 2, val8); val8 3775 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3811 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 3812 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(0); val8 3813 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 3815 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); val8 3816 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(0); val8 3817 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); val8 3888 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 3893 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_CR); val8 3900 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (val8 == 0xea || !(val16 & SYS_CLK_MAC_CLK_ENABLE)) val8 3975 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = fops->total_page_num + 1; val8 3977 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TXPKTBUF_BCNQ_BDNY, val8); val8 3978 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TXPKTBUF_MGQ_BDNY, val8); val8 3979 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TXPKTBUF_WMAC_LBK_BF_HD, val8); val8 3980 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TRXFF_BNDY, val8); val8 3981 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TDECTRL + 1, val8); val8 3988 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = (fops->pbp_rx << PBP_PAGE_SIZE_RX_SHIFT) | val8 3991 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_PBP, val8); val8 4010 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_TX_REPORT_CTRL); val8 4011 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= TX_REPORT_CTRL_TIMER_ENABLE; val8 4012 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_TX_REPORT_CTRL, val8); val8 4019 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, 0xa3); val8 4020 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= 0xf8; val8 4021 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, 0xa3, val8); val8 4094 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_FWHW_TXQ_CTRL); val8 4095 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= FWHW_TXQ_CTRL_AMPDU_RETRY; val8 4096 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_FWHW_TXQ_CTRL, val8); val8 4118 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RXDMA_PRO_8723B); val8 4119 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~(BIT(4) | BIT(5)); val8 4120 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(4); val8 4121 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(1) | BIT(2) | BIT(3); val8 4122 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RXDMA_PRO_8723B, val8); val8 4127 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_HT_SINGLE_AMPDU_8723B); val8 4128 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(7); val8 4129 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_HT_SINGLE_AMPDU_8723B, val8); val8 4139 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL); val8 4140 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BIT(5) | BIT(6); val8 4141 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_RSV_CTRL, val8); val8 4166 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); val8 4167 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= LEDCFG2_DPDT_SELECT; val8 4168 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_LEDCFG2, val8); val8 4186 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_QUEUE_CTRL); val8 4187 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BIT(3); val8 4188 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_QUEUE_CTRL, val8); val8 4209 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = ((30000 + NAV_UPPER_UNIT - 1) / NAV_UPPER_UNIT); val8 4210 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_NAV_UPPER, val8); val8 4292 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 4294 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_BEACON_CTRL); val8 4295 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BEACON_DISABLE_TSF_UPDATE; val8 4296 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_BEACON_CTRL, val8); val8 4303 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 4305 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_BEACON_CTRL); val8 4306 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 &= ~BEACON_DISABLE_TSF_UPDATE; val8 4307 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_BEACON_CTRL, val8); val8 4492 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 4538 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_BEACON_CTRL); val8 4539 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BEACON_DISABLE_TSF_UPDATE; val8 4540 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_BEACON_CTRL, val8); val8 4562 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 9; val8 4564 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = 20; val8 4565 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SLOT, val8); val8 5467 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 5473 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = rtl8xxxu_read8(priv, REG_BEACON_CTRL); val8 5474 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= BEACON_ATIM | BEACON_FUNCTION_ENABLE | val8 5476 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_BEACON_CTRL, val8); val8 5668 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 val8; val8 5709 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 = SEC_CFG_TX_SEC_ENABLE | SEC_CFG_TXBC_USE_DEFKEY | val8 5711 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c val8 |= SEC_CFG_TX_USE_DEFKEY | SEC_CFG_RX_USE_DEFKEY; val8 5712 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_SECURITY_CFG, val8); val8 3105 drivers/net/wireless/realtek/rtlwifi/wifi.h static inline void rtl_write_byte(struct rtl_priv *rtlpriv, u32 addr, u8 val8) val8 3107 drivers/net/wireless/realtek/rtlwifi/wifi.h rtlpriv->io.write8_async(rtlpriv, addr, val8); val8 3114 drivers/net/wireless/realtek/rtlwifi/wifi.h u32 addr, u32 val8) val8 3118 drivers/net/wireless/realtek/rtlwifi/wifi.h rtl_write_byte(rtlpriv, addr, (u8)val8); val8 74 drivers/nvmem/stm32-romem.c u8 *buf8 = buf, *val8 = (u8 *)&val; val8 106 drivers/nvmem/stm32-romem.c memcpy(&buf8[j], &val8[skip_bytes], size); val8 4137 drivers/platform/x86/sony-laptop.c u8 val8; val8 4153 drivers/platform/x86/sony-laptop.c val8 = ((value & 0xff) - 1) << 5; val8 4154 drivers/platform/x86/sony-laptop.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 4162 drivers/platform/x86/sony-laptop.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 4166 drivers/platform/x86/sony-laptop.c value = (val8 >> 5) + 1; val8 4209 drivers/platform/x86/sony-laptop.c if (ec_read(SONYPI_BAT_FLAGS, &val8)) { val8 4213 drivers/platform/x86/sony-laptop.c val8 &= 0x07; val8 4214 drivers/platform/x86/sony-laptop.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 4218 drivers/platform/x86/sony-laptop.c val8 = spic_dev.bluetooth_power; val8 4219 drivers/platform/x86/sony-laptop.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 4223 drivers/platform/x86/sony-laptop.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 4227 drivers/platform/x86/sony-laptop.c __sony_pic_set_bluetoothpower(val8); val8 4231 drivers/platform/x86/sony-laptop.c if (sony_pic_get_fanspeed(&val8)) { val8 4235 drivers/platform/x86/sony-laptop.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 4239 drivers/platform/x86/sony-laptop.c if (copy_from_user(&val8, argp, sizeof(val8))) { val8 4243 drivers/platform/x86/sony-laptop.c if (sony_pic_set_fanspeed(val8)) val8 4248 drivers/platform/x86/sony-laptop.c if (ec_read(SONYPI_TEMP_STATUS, &val8)) { val8 4252 drivers/platform/x86/sony-laptop.c if (copy_to_user(argp, &val8, sizeof(val8))) val8 594 drivers/staging/rtl8188eu/core/rtw_ap.c u8 val8, cur_channel, cur_bwmode, cur_ch_offset; val8 657 drivers/staging/rtl8188eu/core/rtw_ap.c val8 = (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) ? 0xcc : 0xcf; val8 658 drivers/staging/rtl8188eu/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 1905 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char survey_channel = 0, val8; val8 1994 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = 0; /* survey done */ val8 1995 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); val8 2182 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 val8; val8 2198 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = 0xcf; val8 2199 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 2234 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 val8; val8 2252 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = (pmlmeinfo->auth_algo == dot11AuthAlgrthm_8021X) ? 0xcc : 0xcf; val8 2254 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 2270 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = 0xcf; val8 2271 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 5040 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 val8; val8 5053 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = 0; val8 5054 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_FUNC, (u8 *)(&val8)); val8 5126 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 val8; val8 5182 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val8 = 1; /* under site survey */ val8 5183 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); val8 628 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 val8; val8 632 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(adapt, REG_HSISR); val8 633 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("pwrdown, 0x5c(BIT(7))=%02x\n", val8); val8 634 drivers/staging/rtl8188eu/hal/usb_halinit.c rfpowerstate = (val8 & BIT(7)) ? rf_off : rf_on; val8 637 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(adapt, REG_GPIO_IO_SEL); val8 638 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("GPIO_IN=%02x\n", val8); val8 639 drivers/staging/rtl8188eu/hal/usb_halinit.c rfpowerstate = (val8 & BIT(3)) ? rf_on : rf_off; val8 877 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 val8; val8 882 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_TX_RPT_CTRL); val8 883 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_TX_RPT_CTRL, val8 & (~BIT(1))); val8 894 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_MCUFWDL); val8 895 drivers/staging/rtl8188eu/hal/usb_halinit.c if ((val8 & RAM_DL_SEL) && Adapter->bFWReady) { /* 8051 RAM code */ val8 897 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_SYS_FUNC_EN + 1); val8 898 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 &= ~BIT(2); /* 0x2[10], FEN_CPUEN */ val8 899 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_SYS_FUNC_EN + 1, val8); val8 907 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_32K_CTRL); val8 908 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_32K_CTRL, val8 & (~BIT(0))); val8 915 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_RSV_CTRL + 1); val8 916 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RSV_CTRL + 1, (val8 & (~BIT(3)))); val8 917 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_RSV_CTRL + 1); val8 918 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RSV_CTRL + 1, val8 | BIT(3)); val8 921 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, GPIO_IN); val8 922 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, GPIO_OUT, val8); val8 925 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_GPIO_IO_SEL); val8 926 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_GPIO_IO_SEL, (val8 << 4)); val8 927 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, REG_GPIO_IO_SEL + 1); val8 928 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_GPIO_IO_SEL + 1, val8 | 0x0F);/* Reg0x43 */ val8 1131 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 val8; val8 1138 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, MSR) & 0x0c; val8 1139 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 |= mode; val8 1140 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, MSR, val8); val8 1229 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 val8; val8 1231 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, MSR) & 0x0c; val8 1232 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 |= *((u8 *)val); val8 1233 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, MSR, val8); val8 1238 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 val8; val8 1240 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 = usb_read8(Adapter, MSR) & 0x03; val8 1241 drivers/staging/rtl8188eu/hal/usb_halinit.c val8 |= *((u8 *)val) << 2; val8 1242 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, MSR, val8); val8 223 drivers/staging/rtl8188eu/include/rtw_pwrctrl.h void rtw_set_rpwm(struct adapter *adapter, u8 val8); val8 84 drivers/staging/rtl8712/rtl871x_io.h void (*_cmd52w)(struct intf_priv *pintfpriv, u32 addr, u8 val8); val8 86 drivers/staging/rtl8712/rtl871x_io.h void (*_cmdfunc152w)(struct intf_priv *pintfpriv, u32 addr, u8 val8); val8 259 drivers/staging/rtl8712/rtl871x_mp_ioctl.c u8 val8; val8 273 drivers/staging/rtl8712/rtl871x_mp_ioctl.c val8 = r8712_read8(Adapter, EE_9346CR); val8 274 drivers/staging/rtl8712/rtl871x_mp_ioctl.c if (!(val8 & _9356SEL)) { /*boot from EFUSE*/ val8 26 drivers/staging/rtl8712/rtl871x_pwrctrl.c void r8712_set_rpwm(struct _adapter *padapter, u8 val8) val8 31 drivers/staging/rtl8712/rtl871x_pwrctrl.c if (pwrpriv->rpwm == val8) { val8 37 drivers/staging/rtl8712/rtl871x_pwrctrl.c rpwm = val8 | pwrpriv->tog; val8 38 drivers/staging/rtl8712/rtl871x_pwrctrl.c switch (val8) { val8 40 drivers/staging/rtl8712/rtl871x_pwrctrl.c pwrpriv->cpwm = val8; val8 47 drivers/staging/rtl8712/rtl871x_pwrctrl.c pwrpriv->cpwm = val8; val8 53 drivers/staging/rtl8712/rtl871x_pwrctrl.c pwrpriv->rpwm = val8; val8 113 drivers/staging/rtl8712/rtl871x_pwrctrl.h void r8712_set_rpwm(struct _adapter *padapter, u8 val8); val8 26 drivers/staging/rtl8712/usb_halinit.c u8 val8 = 0; val8 32 drivers/staging/rtl8712/usb_halinit.c val8 = 0x01; val8 34 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8); val8 35 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SPS1_CTRL); val8 36 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x01; val8 38 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, val8); val8 39 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_MISC); val8 40 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x01; val8 42 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, val8); val8 43 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, LDOA15_CTRL); val8 44 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x01; val8 46 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, val8); val8 47 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SPS1_CTRL); val8 48 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x02; val8 50 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, val8); val8 51 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_MISC); val8 52 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x02; val8 54 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, val8); val8 55 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 56 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x08; val8 58 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); val8 59 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 60 drivers/staging/rtl8712/usb_halinit.c val8 = val8 & 0xEF; val8 62 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); val8 63 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_XTAL_CTRL + 1); val8 64 drivers/staging/rtl8712/usb_halinit.c val8 = val8 & 0xFB; val8 66 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, val8); val8 67 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_PLL_CTRL); val8 68 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x01; val8 70 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, val8); val8 71 drivers/staging/rtl8712/usb_halinit.c val8 = 0xEE; val8 73 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, val8); val8 74 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 75 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x08; val8 77 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); val8 78 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 79 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x08; val8 81 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); val8 82 drivers/staging/rtl8712/usb_halinit.c val8 = val8 | 0x80; val8 84 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); val8 85 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 86 drivers/staging/rtl8712/usb_halinit.c val8 = (val8 | 0x80) & 0xBF; val8 88 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); val8 89 drivers/staging/rtl8712/usb_halinit.c val8 = 0xFC; val8 90 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8); val8 91 drivers/staging/rtl8712/usb_halinit.c val8 = 0x37; val8 92 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR + 1, val8); val8 106 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_MISC); val8 107 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN | val8 110 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, LDOA15_CTRL); val8 111 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, (val8 | LDA15_EN)); val8 112 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SPS1_CTRL); val8 113 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, (val8 | SPS1_LDEN)); val8 116 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SPS1_CTRL); val8 117 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, (val8 | SPS1_SWEN)); val8 119 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 120 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 | 0x08)); val8 122 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 123 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x20)); val8 124 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 125 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 & 0x6F)); val8 127 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_XTAL_CTRL + 1); val8 128 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, (val8 & 0xfb)); val8 130 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_PLL_CTRL); val8 131 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); val8 133 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL); val8 134 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, (val8 & 0xEE)); val8 136 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR); val8 137 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~SYS_CLKSEL)); val8 139 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR); val8 141 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 142 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x18)); val8 146 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 147 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x08)); val8 149 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 150 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x80)); val8 152 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 153 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x80) & 0xBF); val8 157 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, 0x1025FE5c); val8 158 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x1025FE5c, (val8 | BIT(7))); val8 159 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, 0x102500ab); val8 160 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x102500ab, (val8 | BIT(6) | BIT(7))); val8 162 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR); val8 163 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~CPU_CLKSEL)); val8 176 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 177 drivers/staging/rtl8712/usb_halinit.c if (val8 & 0x80) { val8 178 drivers/staging/rtl8712/usb_halinit.c val8 &= 0x3f; val8 179 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); val8 181 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 182 drivers/staging/rtl8712/usb_halinit.c val8 &= 0x73; val8 183 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); val8 191 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_MISC); val8 193 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN)); val8 194 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN | val8 197 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, LDOA15_CTRL); val8 198 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, (val8 | LDA15_EN)); val8 200 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, LDOV12D_CTRL); val8 201 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOV12D_CTRL, (val8 | LDV12_EN)); val8 202 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 203 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 | 0x08)); val8 205 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 206 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x20)); val8 208 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL + 1); val8 209 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 & 0x68)); val8 211 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_XTAL_CTRL + 1); val8 212 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, (val8 & 0xfb)); val8 214 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, AFE_PLL_CTRL); val8 215 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); val8 222 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x51)); val8 224 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); val8 227 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_ISO_CTRL); val8 228 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, (val8 & 0xEE)); val8 234 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR); val8 235 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, (val8 | 0xa0)); val8 237 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 238 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x18)); val8 242 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 243 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x08)); val8 245 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_FUNC_EN + 1); val8 246 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x80)); val8 248 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR + 1); val8 249 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x80) & 0xBF); val8 253 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, 0x1025FE5c); val8 254 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x1025FE5c, (val8 | BIT(7))); val8 256 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, SYS_CLKR); val8 257 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~CPU_CLKSEL)); val8 264 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, TCR); val8 265 drivers/staging/rtl8712/usb_halinit.c if ((val8 & _TXDMA_INIT_VALUE) == _TXDMA_INIT_VALUE) val8 271 drivers/staging/rtl8712/usb_halinit.c val8 = r8712_read8(adapter, CR); val8 272 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8 & (~_TXDMA_EN)); val8 275 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8 | _TXDMA_EN); val8 759 drivers/staging/rtl8723bs/core/rtw_ap.c u8 val8, cur_channel, cur_bwmode, cur_ch_offset; val8 830 drivers/staging/rtl8723bs/core/rtw_ap.c val8 = ( val8 833 drivers/staging/rtl8723bs/core/rtw_ap.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 4276 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char survey_channel = 0, val8; val8 4392 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = 0; /* survey done */ val8 4393 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); val8 4584 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 val8; val8 4599 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = 0xcf; val8 4600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 4641 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 val8; val8 4656 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = (pmlmeinfo->auth_algo == dot11AuthAlgrthm_8021X) ? 0xcc : 0xcf; val8 4658 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 4682 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = 0xcf; val8 4683 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); val8 6263 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 val8; val8 6271 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = 0; val8 6272 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_BCN_FUNC, (u8 *)(&val8)); val8 6352 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 val8; val8 6405 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val8 = 1; /* under site survey */ val8 6406 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_hal_set_hwreg(padapter, HW_VAR_MLME_SITESURVEY, (u8 *)(&val8)); val8 430 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u8 val8; val8 434 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c rtw_hal_get_hwreg(padapter, HW_VAR_SYS_CLKR, &val8); val8 435 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (!(val8 & BIT(4))) { /* 0x08 bit4 = 1 --> in 32k, bit4 = 0 --> leave 32k */ val8 478 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u8 val8; val8 480 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); val8 481 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (val8 & BIT(4)) val8 906 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u8 val8; val8 908 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); val8 909 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (val8 & BIT(4)) val8 1047 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u8 val8; val8 1049 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); val8 1050 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (val8 & BIT(4)) val8 1089 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c u8 val8; val8 1091 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c val8 = hal_btcoex_LpsVal(padapter); val8 1092 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c if (val8 & BIT(4)) val8 1925 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 val8; val8 1946 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 1947 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 &= ~EN_BCN_FUNCTION; val8 1948 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 |= DIS_TSF_UDT; val8 1949 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 1998 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 1999 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 |= EN_BCN_FUNCTION; val8 2000 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 &= ~DIS_TSF_UDT; val8 2001 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 2232 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c u8 val8; val8 2254 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_CR+1); val8 2255 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 |= BIT(0); /* ENSWBCN */ val8 2256 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, val8); val8 2261 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 2262 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 &= ~EN_BCN_FUNCTION; val8 2263 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 |= DIS_TSF_UDT; val8 2264 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 2307 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 2308 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 |= EN_BCN_FUNCTION; val8 2309 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 &= ~DIS_TSF_UDT; val8 2310 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 2323 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 = rtw_read8(padapter, REG_CR+1); val8 2324 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c val8 &= ~BIT(0); /* ~ENSWBCN */ val8 2325 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write8(padapter, REG_CR+1, val8); val8 1937 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 1940 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = DIS_TSF_UDT; val8 1941 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val16 = val8 | (val8 << 8); /* port0 and port1 */ val8 2036 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 2090 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, bcn_ctrl_reg); val8 2091 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= DIS_BCNQ_SUB; val8 2092 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, bcn_ctrl_reg, val8); val8 3319 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3324 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 3325 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= DIS_TSF_UDT; val8 3326 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 3405 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL_1); val8 3406 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= DIS_ATIM; val8 3407 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL_1, val8); val8 3443 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3444 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, bcn_ctrl_reg); val8 3445 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 &= ~(EN_BCN_FUNCTION | EN_TXBCN_RPT); val8 3449 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= EN_BCN_FUNCTION; val8 3451 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, bcn_ctrl_reg, val8); val8 3457 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3476 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 3477 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 &= ~EN_BCN_FUNCTION; val8 3478 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 3484 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 3485 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= EN_BCN_FUNCTION; val8 3486 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 3498 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3509 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 3510 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= DIS_TSF_UDT; val8 3511 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 3518 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3547 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, reg_bcn_ctl); val8 3548 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= DIS_TSF_UDT; val8 3549 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, reg_bcn_ctl, val8); val8 3562 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, reg_bcn_ctl); val8 3563 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 &= ~DIS_TSF_UDT; val8 3564 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, reg_bcn_ctl, val8); val8 3577 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3611 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_BCN_CTRL); val8 3612 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 &= ~DIS_TSF_UDT; val8 3613 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_BCN_CTRL, val8); val8 3782 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 3787 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, MSR) & 0x0c; val8 3788 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= *val; val8 3789 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, MSR, val8); val8 3793 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, MSR) & 0x03; val8 3794 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= *val << 2; val8 3795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, MSR, val8); val8 4180 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_TDECTRL+2); val8 4181 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 |= BIT(0); val8 4182 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_TDECTRL+2, val8); val8 4189 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_DWBCN1_CTRL_8723B+2); val8 4190 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 &= ~BIT(4); val8 4191 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_DWBCN1_CTRL_8723B+2, val8); val8 4214 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = (u8)val32; /* macid is between 0~31 */ val8 4218 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val8, val32); val8 4219 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (val32 & BIT(val8)) val8 4221 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 |= BIT(val8); val8 4233 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = (u8)val32; /* macid is between 0~31 */ val8 4237 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c FUNC_ADPT_ARG(padapter), val8, val32); val8 4238 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (!(val32 & BIT(val8))) val8 4240 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val32 &= ~BIT(val8); val8 4253 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 val8; val8 4264 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c val8 = rtw_read8(padapter, REG_TDECTRL+2); val8 4265 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c *val = (BIT(0) & val8) ? true : false; val8 730 drivers/staging/rtl8723bs/hal/sdio_halinit.c u8 val8, bMacPwrCtrlOn = true; val8 739 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1); val8 740 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 &= 0x80; val8 741 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 += 0x80; val8 742 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 |= BIT(6); val8 743 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); val8 744 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s: write rpwm =%02x\n", __func__, val8); val8 745 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; val8 1080 drivers/staging/rtl8723bs/hal/sdio_halinit.c u8 val8 = 0; val8 1087 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, REG_HMETFR); val8 1089 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s polling REG_HMETFR = 0x%x, cnt =%d\n", __func__, val8, cnt); val8 1091 drivers/staging/rtl8723bs/hal/sdio_halinit.c } while (cnt < 100 && (val8 != 0)); val8 1093 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (val8 == 0) { val8 1095 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1); val8 1096 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 += 0x80; val8 1097 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 |= BIT(0); val8 1098 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); val8 1099 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s: write rpwm =%02x\n", __func__, val8); val8 1100 drivers/staging/rtl8723bs/hal/sdio_halinit.c adapter_to_pwrctl(padapter)->tog = (val8 + 0x80) & 0x80; val8 1101 drivers/staging/rtl8723bs/hal/sdio_halinit.c cnt = val8 = 0; val8 1103 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, REG_CR); val8 1105 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("%s polling 0x100 = 0x%x, cnt =%d\n", __func__, val8, cnt); val8 1107 drivers/staging/rtl8723bs/hal/sdio_halinit.c } while (cnt < 100 && (val8 != 0xEA)); val8 1366 drivers/staging/rtl8723bs/hal/sdio_halinit.c u8 val8; val8 1376 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = rtw_read8(padapter, 0x4e); val8 1377 drivers/staging/rtl8723bs/hal/sdio_halinit.c MSG_8192C("%s, 0x4e = 0x%x\n", __func__, val8); val8 1378 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 |= BIT(6); val8 1379 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, 0x4e, val8); val8 1414 drivers/staging/rtl8723bs/hal/sdio_halinit.c u8 val8; val8 1440 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = *val; val8 1441 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 &= 0xC1; val8 1442 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, SDIO_LOCAL_BASE | SDIO_REG_HRPWM1, val8); val8 1454 drivers/staging/rtl8723bs/hal/sdio_halinit.c val8 = *val; val8 712 drivers/staging/rtl8723bs/hal/sdio_ops.c u8 val8, hisr_len; val8 730 drivers/staging/rtl8723bs/hal/sdio_ops.c val8 = SdioLocalCmd52Read1Byte(adapter, SDIO_REG_HISR + hisr_len); val8 731 drivers/staging/rtl8723bs/hal/sdio_ops.c hisr |= (val8 << (8 * hisr_len)); val8 350 drivers/staging/rtl8723bs/include/rtw_pwrctrl.h void rtw_set_rpwm(struct adapter *padapter, u8 val8); val8 53 drivers/staging/wilc1000/wilc_wlan_cfg.c static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8) val8 60 drivers/staging/wilc1000/wilc_wlan_cfg.c frame[offset + 4] = val8; val8 342 drivers/watchdog/iTCO_wdt.c unsigned char val8; val8 373 drivers/watchdog/iTCO_wdt.c val8 = inb(TCOv1_TMR(p)); val8 374 drivers/watchdog/iTCO_wdt.c val8 &= 0xc0; val8 375 drivers/watchdog/iTCO_wdt.c val8 |= (tmrval & 0xff); val8 376 drivers/watchdog/iTCO_wdt.c outb(val8, TCOv1_TMR(p)); val8 377 drivers/watchdog/iTCO_wdt.c val8 = inb(TCOv1_TMR(p)); val8 380 drivers/watchdog/iTCO_wdt.c if ((val8 & 0x3f) != tmrval) val8 392 drivers/watchdog/iTCO_wdt.c unsigned char val8; val8 405 drivers/watchdog/iTCO_wdt.c val8 = inb(TCO_RLD(p)); val8 406 drivers/watchdog/iTCO_wdt.c val8 &= 0x3f; val8 408 drivers/watchdog/iTCO_wdt.c val8 += (inb(TCOv1_TMR(p)) & 0x3f); val8 411 drivers/watchdog/iTCO_wdt.c time_left = ticks_to_seconds(p, val8); val8 2763 lib/vsprintf.c unsigned long long val8; \ val8 2765 lib/vsprintf.c val8 = va_arg(args, unsigned long long); \ val8 2767 lib/vsprintf.c *(u32 *)str = *(u32 *)&val8; \ val8 2768 lib/vsprintf.c *(u32 *)(str + 4) = *((u32 *)&val8 + 1); \ val8 2770 lib/vsprintf.c value = val8; \