Home
last modified time | relevance | path

Searched refs:reg8 (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/drivers/net/usb/
H A Daqc111.c483 u8 reg8 = 0; in aqc111_vlan_rx_kill_vid() local
485 aqc111_read_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
486 vlan_ctrl = reg8; in aqc111_vlan_rx_kill_vid()
489 reg8 = (vid / 16); in aqc111_vlan_rx_kill_vid()
490 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_ADDRESS, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
492 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_RD; in aqc111_vlan_rx_kill_vid()
493 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
497 reg8 = vlan_ctrl | SFR_VLAN_CONTROL_WE; in aqc111_vlan_rx_kill_vid()
498 aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_VLAN_ID_CONTROL, 1, 1, &reg8); in aqc111_vlan_rx_kill_vid()
508 u8 reg8 = 0; in aqc111_vlan_rx_add_vid() local
[all …]
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dlpc.c131 u8 reg8; in pch_power_options() local
180 reg8 = inb(0x61); in pch_power_options()
181 reg8 &= 0x0f; /* Higher Nibble must be 0 */ in pch_power_options()
182 reg8 &= ~(1 << 3); /* IOCHK# NMI Enable */ in pch_power_options()
183 reg8 |= (1 << 2); /* PCI SERR# Disable for now */ in pch_power_options()
184 outb(reg8, 0x61); in pch_power_options()
186 reg8 = inb(0x70); in pch_power_options()
191 reg8 &= ~(1 << 7); /* Set NMI. */ in pch_power_options()
195 reg8 |= (1 << 7); in pch_power_options()
197 outb(reg8, 0x70); in pch_power_options()
[all …]
H A Dnorthbridge.c213 u8 reg8; in bd82x6x_northbridge_early_init() local
218 dm_pci_read_config8(dev, 0xf3, &reg8); in bd82x6x_northbridge_early_init()
219 reg8 &= ~7; /* Clear 2:0 */ in bd82x6x_northbridge_early_init()
222 reg8 |= 1; /* Set bit 0 */ in bd82x6x_northbridge_early_init()
224 dm_pci_write_config8(dev, 0xf3, reg8); in bd82x6x_northbridge_early_init()
/openbmc/u-boot/board/freescale/mpc8349itx/
H A Dpci.c69 u8 reg8; in pci_init_board() local
74 if ((i2c_read(CONFIG_SYS_I2C_8574_ADDR2, 0, 0, &reg8, sizeof(reg8)) == 0) || in pci_init_board()
75 (i2c_read(CONFIG_SYS_I2C_8574A_ADDR2, 0, 0, &reg8, sizeof(reg8)) == 0)) { in pci_init_board()
76 if (reg8 & I2C_8574_PCI66) in pci_init_board()
/openbmc/u-boot/board/esd/vme8349/
H A Dpci.c57 u8 reg8; in pci_init_board() local
62 if ((i2c_read(CONFIG_SYS_I2C_8574_ADDR2, 0, 0, &reg8, 1) == 0) || in pci_init_board()
63 (i2c_read(0x38 , 0, 0, &reg8, 1) == 0)) { in pci_init_board()
64 if (reg8 & 0x40) { in pci_init_board()
71 if (((reg8 & 0x01) == 0) || ((reg8 & 0x02) == 0)) in pci_init_board()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dlpc.c21 u8 reg8; in enable_spi_prefetch() local
23 dm_pci_read_config8(pch, 0xdc, &reg8); in enable_spi_prefetch()
24 reg8 &= ~(3 << 2); in enable_spi_prefetch()
25 reg8 |= (2 << 2); /* Prefetching and Caching Enabled */ in enable_spi_prefetch()
26 dm_pci_write_config8(pch, 0xdc, reg8); in enable_spi_prefetch()
/openbmc/linux/arch/arm/lib/
H A Dcopy_from_user.S53 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
55 ldr4w \ptr, \reg5, \reg6, \reg7, \reg8, \abort
70 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
71 USERL(\abort, ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8})
86 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
87 stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
H A Dcopy_to_user.S44 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
45 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
64 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
72 str1w \ptr, \reg8, \abort
83 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
84 USERL(\abort, stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8})
H A Dmemcpy.S25 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
26 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
37 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
38 stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c80 u8 reg8; in rza2_set_pin_function() local
89 reg8 = readb(pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
90 reg8 &= ~BIT(pin); in rza2_set_pin_function()
91 writeb(reg8, pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
105 reg8 = readb(pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
106 reg8 |= BIT(pin); in rza2_set_pin_function()
107 writeb(reg8, pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
H A Dpinctrl-rzg2l.c801 u8 reg8; in rzg2l_gpio_request() local
811 reg8 = readb(pctrl->base + PMC(port)); in rzg2l_gpio_request()
812 reg8 &= ~BIT(bit); in rzg2l_gpio_request()
813 writeb(reg8, pctrl->base + PMC(port)); in rzg2l_gpio_request()
874 u8 reg8; in rzg2l_gpio_set() local
878 reg8 = readb(pctrl->base + P(port)); in rzg2l_gpio_set()
881 writeb(reg8 | BIT(bit), pctrl->base + P(port)); in rzg2l_gpio_set()
883 writeb(reg8 & ~BIT(bit), pctrl->base + P(port)); in rzg2l_gpio_set()
/openbmc/u-boot/drivers/video/
H A Divybridge_igd.c657 u8 reg8; in sandybridge_setup_graphics() local
690 dm_pci_read_config8(video_dev, MSAC, &reg8); in sandybridge_setup_graphics()
691 reg8 &= ~0x06; in sandybridge_setup_graphics()
692 reg8 |= 0x02; in sandybridge_setup_graphics()
693 dm_pci_write_config8(video_dev, MSAC, reg8); in sandybridge_setup_graphics()
/openbmc/u-boot/drivers/sound/
H A Dhda_codec.c150 uint reg8; in hda_codec_detect() local
160 reg8 = readb(&regs->statests) & 0xf; in hda_codec_detect()
161 if (!reg8) in hda_codec_detect()
164 return reg8; in hda_codec_detect()
/openbmc/u-boot/arch/arm/lib/
H A Dmemcpy.S24 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
25 ldmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
36 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort
37 stmia \ptr!, {\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8}
/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c287 int ret, reg8; in tusb320_typec_irq_handler() local
290 ret = regmap_read(priv->regmap, TUSB320_REG8, &reg8); in tusb320_typec_irq_handler()
301 accessory = FIELD_GET(TUSB320_REG8_ACCESSORY_CONNECTED, reg8); in tusb320_typec_irq_handler()
362 mode = FIELD_GET(TUSB320_REG8_CURRENT_MODE_DETECT, reg8); in tusb320_typec_irq_handler()
/openbmc/u-boot/board/gdsys/common/
H A Dosd.c203 u8 reg0, reg4, reg8, reg12, reg18, reg20; in ics8n3qv01_set() local
221 reg8 = mfrac >> 1; in ics8n3qv01_set()
222 i2c_reg_write(ICS8N3QV01_I2C_ADDR, 8, reg8); in ics8n3qv01_set()
/openbmc/u-boot/include/
H A Dns16550.h77 UART_REG(reg8); /* 8 */
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_main.c1890 u8 reg8; in kdb_rd() local
1907 rname = dbg_get_reg(i, &reg8, kdb_current_regs); in kdb_rd()
1910 len += kdb_printf("%s: %02x", rname, reg8); in kdb_rd()
1959 u8 reg8; in kdb_rm() local
1988 reg8 = reg64; in kdb_rm()
1989 dbg_set_reg(i, &reg8, kdb_current_regs); in kdb_rm()
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8225.c748 u16 reg8, reg9; in rtl8180_detect_rf() local
758 reg8 = rtl8225_read(dev, 8); in rtl8180_detect_rf()
763 if (reg8 != 0x588 || reg9 != 0x700) in rtl8180_detect_rf()
H A Ddev.c800 u8 reg8; in rtl8180_config_cardbus() local
802 reg8 = rtl818x_ioread8(priv, &priv->map->CONFIG3); in rtl8180_config_cardbus()
803 reg8 |= 1 << 1; in rtl8180_config_cardbus()
804 rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg8); in rtl8180_config_cardbus()
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Drtl8225.c1027 u16 reg8, reg9; in rtl8187_detect_rf() local
1033 reg8 = rtl8225_read(dev, 8); in rtl8187_detect_rf()
1038 if (reg8 != 0x588 || reg9 != 0x700) in rtl8187_detect_rf()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h128 u32 reg8; member
/openbmc/linux/sound/soc/codecs/
H A Des8326.c193 u8 reg8; member
375 coeff_div[coeff].reg8); in es8326_pcm_hw_params()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_hsi.h665 __le32 reg8; member
785 __le32 reg8; member
3501 __le32 reg8; member
3670 __le32 reg8; member
5571 __le32 reg8; member
5685 __le32 reg8; member
6841 __le32 reg8; member
7879 __le32 reg8; member
7983 __le32 reg8; member
9097 __le32 reg8; member
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-evb1-v10.dts342 vdd_vdenc_mem_s0: dcdc-reg8 {
640 vdd_cpu_lit_mem_s0: dcdc-reg8 {

12