/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_mtl.c | 23 u32 reg_val; in sxgbe_mtl_init() local 87 u32 reg_val; in sxgbe_mtl_enable_txqueue() local 96 u32 reg_val; in sxgbe_mtl_disable_txqueue() local 106 u32 reg_val; in sxgbe_mtl_fc_active() local 117 u32 reg_val; in sxgbe_mtl_fc_enable() local 127 u32 reg_val; in sxgbe_mtl_fc_deactive() local 138 u32 reg_val; in sxgbe_mtl_fep_enable() local 148 u32 reg_val; in sxgbe_mtl_fep_disable() local 158 u32 reg_val; in sxgbe_mtl_fup_enable() local 168 u32 reg_val; in sxgbe_mtl_fup_disable() local [all …]
|
/linux/drivers/input/keyboard/ |
A D | imx_keypad.c | 82 unsigned short reg_val; in imx_keypad_scan_matrix() local 94 reg_val |= 0xff00; in imx_keypad_scan_matrix() 135 reg_val &= 0x00ff; in imx_keypad_scan_matrix() 187 unsigned short reg_val; in imx_keypad_check_for_events() local 263 reg_val |= KBD_STAT_KDIE; in imx_keypad_check_for_events() 281 reg_val |= KBD_STAT_KRIE; in imx_keypad_check_for_events() 290 unsigned short reg_val; in imx_keypad_irq_handler() local 314 unsigned short reg_val; in imx_keypad_config() local 327 reg_val &= 0x00ff; in imx_keypad_config() 343 reg_val |= KBD_STAT_KDIE; in imx_keypad_config() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc_helper.c | 268 return reg_val; in generic_reg_update_ex() 297 return reg_val; in generic_reg_set_ex() 305 return reg_val; in generic_reg_get() 315 return reg_val; in generic_reg_get2() 327 return reg_val; in generic_reg_get3() 341 return reg_val; in generic_reg_get4() 357 return reg_val; in generic_reg_get5() 375 return reg_val; in generic_reg_get6() 395 return reg_val; in generic_reg_get7() 417 return reg_val; in generic_reg_get8() [all …]
|
/linux/drivers/media/dvb-frontends/ |
A D | af9033_priv.h | 19 struct reg_val { struct 87 static const struct reg_val ofsm_init[] = { 202 static const struct reg_val tuner_init_tua9001[] = { 246 static const struct reg_val tuner_init_fc0011[] = { 309 static const struct reg_val tuner_init_fc0012[] = { 354 static const struct reg_val tuner_init_mxl5007t[] = { 391 static const struct reg_val tuner_init_tda18218[] = { 427 static const struct reg_val tuner_init_fc2580[] = { 467 static const struct reg_val ofsm_init_it9135_v1[] = { 582 static const struct reg_val tuner_init_it9135_38[] = { [all …]
|
/linux/drivers/net/ethernet/allwinner/ |
A D | sun4i-emac.c | 95 unsigned int reg_val; in emac_update_speed() local 99 reg_val &= ~(0x1 << 8); in emac_update_speed() 101 reg_val |= 1 << 8; in emac_update_speed() 108 unsigned int reg_val; in emac_update_duplex() local 243 unsigned int reg_val; in emac_setup() local 286 unsigned int reg_val; in emac_set_rx_mode() local 306 unsigned int reg_val; in emac_powerup() local 311 reg_val |= 0x8; in emac_powerup() 324 reg_val |= (0xD << 2); in emac_powerup() 374 unsigned int reg_val; in emac_init_device() local [all …]
|
/linux/drivers/spi/ |
A D | spi-mt65xx.c | 199 u32 reg_val; in mtk_spi_reset() local 203 reg_val |= SPI_CMD_RST; in mtk_spi_reset() 207 reg_val &= ~SPI_CMD_RST; in mtk_spi_reset() 218 u32 reg_val; in mtk_spi_set_hw_cs_timing() local 282 u32 reg_val; in mtk_spi_prepare_message() local 361 u32 reg_val; in mtk_spi_set_cs() local 511 u32 reg_val; in mtk_spi_fifo_transfer() local 525 reg_val = 0; in mtk_spi_fifo_transfer() 638 ®_val, in mtk_spi_interrupt() 659 reg_val = 0; in mtk_spi_interrupt() [all …]
|
A D | spi-slave-mt27xx.c | 100 u32 reg_val; in mtk_spi_slave_disable_dma() local 103 reg_val &= ~RX_DMA_EN; in mtk_spi_slave_disable_dma() 104 reg_val &= ~TX_DMA_EN; in mtk_spi_slave_disable_dma() 110 u32 reg_val; in mtk_spi_slave_disable_xfer() local 135 u32 reg_val; in mtk_spi_slave_prepare_message() local 142 reg_val |= SPIS_CPHA; in mtk_spi_slave_prepare_message() 146 reg_val |= SPIS_CPOL; in mtk_spi_slave_prepare_message() 185 reg_val = 0; in mtk_spi_slave_fifo_transfer() 205 int reg_val, ret; in mtk_spi_slave_dma_transfer() local 246 reg_val = 0; in mtk_spi_slave_dma_transfer() [all …]
|
/linux/sound/drivers/opl3/ |
A D | opl3_synth.c | 396 unsigned char reg_val; in snd_opl3_play_note() local 420 reg_val = 0x00; in snd_opl3_play_note() 423 reg_val |= OPL3_KEYON_BIT; in snd_opl3_play_note() 444 unsigned char reg_val; in snd_opl3_set_voice() local 470 reg_val = 0x00; in snd_opl3_set_voice() 482 reg_val |= OPL3_KSR; in snd_opl3_set_voice() 543 unsigned char reg_val; in snd_opl3_set_params() local 545 reg_val = 0x00; in snd_opl3_set_params() 551 reg_val = 0x00; in snd_opl3_set_params() 575 reg_val |= OPL3_HIHAT_ON; in snd_opl3_set_params() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_vbif.c | 61 u32 reg_val; in dpu_hw_set_mem_type() local 80 reg_val &= ~(0x7 << bit_off); in dpu_hw_set_mem_type() 89 u32 reg_val; in dpu_hw_set_limit_conf() local 110 u32 reg_val; in dpu_hw_get_limit_conf() local 132 u32 reg_val; in dpu_hw_set_halt_ctrl() local 137 reg_val |= BIT(xin_id); in dpu_hw_set_halt_ctrl() 139 reg_val &= ~BIT(xin_id); in dpu_hw_set_halt_ctrl() 148 u32 reg_val; in dpu_hw_get_halt_ctrl() local 175 reg_val &= ~mask; in dpu_hw_set_qos_remap() 188 u32 reg_val; in dpu_hw_set_write_gather_en() local [all …]
|
/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi_hdcp.c | 45 u32 reg_val; member 230 __func__, reg_val); in msm_hdmi_hdcp_irq() 292 reg_val, failure, nack0); in msm_reset_hdcp_ddc_failures() 402 u32 reg_val; in msm_hdmi_hdcp_reauth_work() local 459 u32 reg_val; in msm_hdmi_hdcp_auth_prepare() local 540 u32 reg_val; in msm_hdmi_hdcp_auth_fail() local 558 u32 reg_val; in msm_hdmi_hdcp_auth_done() local 1120 u32 reg_val, data, reg; in msm_hdmi_hdcp_write_ksv_fifo() local 1162 data = reg_val; in msm_hdmi_hdcp_write_ksv_fifo() 1307 u32 reg_val; in msm_hdmi_hdcp_on() local [all …]
|
/linux/arch/arm/mach-qcom/ |
A D | platsmp.c | 84 u32 reg_val; in cortex_a7_release_secondary() local 111 reg_val &= ~CORE_MEM_CLAMP; in cortex_a7_release_secondary() 113 reg_val |= L2DT_SLP; in cortex_a7_release_secondary() 117 reg_val = (reg_val | BIT(17)) & ~CLAMP; in cortex_a7_release_secondary() 124 reg_val |= CORE_PWRD_UP; in cortex_a7_release_secondary() 219 unsigned reg_val; in kpssv2_release_secondary() local 264 reg_val |= 0x3f << BHS_SEG_SHIFT; in kpssv2_release_secondary() 279 reg_val = COREPOR_RST | CLAMP; in kpssv2_release_secondary() 284 reg_val &= ~CLAMP; in kpssv2_release_secondary() 289 reg_val &= ~COREPOR_RST; in kpssv2_release_secondary() [all …]
|
/linux/drivers/hwmon/ |
A D | ltc2992.c | 410 int reg_val; in ltc2992_get_voltage() local 416 reg_val = reg_val >> 4; in ltc2992_get_voltage() 432 int reg_val; in ltc2992_read_gpio_alarm() local 483 int reg_val; in ltc2992_read_in_alarm() local 537 int reg_val; in ltc2992_get_current() local 543 reg_val = reg_val >> 4; in ltc2992_get_current() 551 u32 reg_val; in ltc2992_set_current() local 554 reg_val = reg_val << 4; in ltc2992_set_current() 561 int reg_val; in ltc2992_read_curr_alarm() local 612 int reg_val; in ltc2992_get_power() local [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | cn23xx_vf_device.c | 83 WRITE_ONCE(reg_val, READ_ONCE(reg_val) & in cn23xx_vf_reset_io_queues() 86 READ_ONCE(reg_val)); in cn23xx_vf_reset_io_queues() 153 u32 reg_val; in cn23xx_vf_setup_global_output_regs() local 160 reg_val = in cn23xx_vf_setup_global_output_regs() 165 reg_val = in cn23xx_vf_setup_global_output_regs() 198 reg_val); in cn23xx_vf_setup_global_output_regs() 323 u64 reg_val; in cn23xx_enable_vf_io_queues() local 344 u32 reg_val; in cn23xx_enable_vf_io_queues() local 348 reg_val = octeon_read_csr( in cn23xx_enable_vf_io_queues() 620 u64 reg_val; in cn23xx_setup_octeon_vf_device() local [all …]
|
A D | cn23xx_pf_device.c | 305 u64 reg_val; in cn23xx_setup_global_mac_regs() local 314 reg_val = in cn23xx_setup_global_mac_regs() 326 reg_val = reg_val | in cn23xx_setup_global_mac_regs() 382 WRITE_ONCE(reg_val, READ_ONCE(reg_val) & in cn23xx_reset_io_queues() 453 reg_val = in cn23xx_pf_setup_global_input_regs() 654 reg_val = in cn23xx_setup_oq_regs() 662 reg_val = in cn23xx_setup_oq_regs() 804 reg_val = reg_val | CN23XX_PKT_INPUT_CTL_IS_64B; in cn23xx_enable_io_queues() 832 reg_val = reg_val & ~CN23XX_PKT_INPUT_CTL_RST; in cn23xx_enable_io_queues() 848 reg_val = reg_val | CN23XX_PKT_INPUT_CTL_RING_ENB; in cn23xx_enable_io_queues() [all …]
|
/linux/arch/mips/pci/ |
A D | fixup-malta.c | 70 unsigned char reg_val; in malta_piix_func0_fixup() local 85 if (reg_val & PIIX4_FUNC0_PIRQRC_IRQ_ROUTING_DISABLE) in malta_piix_func0_fixup() 88 pci_irq[PCIA+i] = piixirqmap[reg_val & in malta_piix_func0_fixup() 98 pci_read_config_byte(pdev, PIIX4_FUNC0_TOM, ®_val); in malta_piix_func0_fixup() 99 pci_write_config_byte(pdev, PIIX4_FUNC0_TOM, reg_val | in malta_piix_func0_fixup() 109 pci_read_config_byte(pdev, PIIX4_FUNC0_SERIRQC, ®_val); in malta_piix_func0_fixup() 124 unsigned char reg_val; in malta_piix_func1_fixup() local 132 ®_val); in malta_piix_func1_fixup() 134 reg_val|PIIX4_FUNC1_IDETIM_PRIMARY_HI_IDE_DECODE_EN); in malta_piix_func1_fixup() 136 ®_val); in malta_piix_func1_fixup() [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-fadump.h | 83 __be64 reg_val; member 88 u64 reg_val) in opal_fadump_set_regval_regnum() argument 98 regs->ctr = reg_val; in opal_fadump_set_regval_regnum() 101 regs->link = reg_val; in opal_fadump_set_regval_regnum() 104 regs->xer = reg_val; in opal_fadump_set_regval_regnum() 107 regs->dar = reg_val; in opal_fadump_set_regval_regnum() 110 regs->dsisr = reg_val; in opal_fadump_set_regval_regnum() 113 regs->nip = reg_val; in opal_fadump_set_regval_regnum() 116 regs->msr = reg_val; in opal_fadump_set_regval_regnum() 119 regs->ccr = reg_val; in opal_fadump_set_regval_regnum() [all …]
|
/linux/drivers/ata/ |
A D | ahci_sunxi.c | 55 u32 reg_val; in sunxi_clrbits() local 57 reg_val = readl(reg); in sunxi_clrbits() 59 writel(reg_val, reg); in sunxi_clrbits() 64 u32 reg_val; in sunxi_setbits() local 66 reg_val = readl(reg); in sunxi_setbits() 67 reg_val |= set_val; in sunxi_setbits() 68 writel(reg_val, reg); in sunxi_setbits() 73 u32 reg_val; in sunxi_clrsetbits() local 75 reg_val = readl(reg); in sunxi_clrsetbits() 77 reg_val |= set_val; in sunxi_clrsetbits() [all …]
|
/linux/drivers/video/backlight/ |
A D | lm3639_bl.c | 50 unsigned int reg_val; in lm3639_chip_init() local 76 reg_val = pdata->fled_pins; in lm3639_chip_init() 79 reg_val = pdata->fled_pins; in lm3639_chip_init() 97 unsigned int reg_val; in lm3639_bled_update_status() local 105 if (reg_val != 0) in lm3639_bled_update_status() 143 unsigned int reg_val; in lm3639_bled_get_brightness() local 159 if (reg_val & 0x10) in lm3639_bled_get_brightness() 223 unsigned int reg_val; in lm3639_torch_brightness_set() local 231 if (reg_val != 0) in lm3639_torch_brightness_set() 260 unsigned int reg_val; in lm3639_flash_brightness_set() local [all …]
|
/linux/sound/soc/amd/raven/ |
A D | acp3x-i2s.c | 81 u32 reg_val, frmt_reg; in acp3x_i2s_hwparams() local 116 reg_val = mmACP_BTTDM_ITER; in acp3x_i2s_hwparams() 121 reg_val = mmACP_I2STDM_ITER; in acp3x_i2s_hwparams() 127 reg_val = mmACP_BTTDM_IRER; in acp3x_i2s_hwparams() 132 reg_val = mmACP_I2STDM_IRER; in acp3x_i2s_hwparams() 171 reg_val = mmACP_BTTDM_ITER; in acp3x_i2s_trigger() 179 reg_val = mmACP_I2STDM_ITER; in acp3x_i2s_trigger() 188 reg_val = mmACP_BTTDM_IRER; in acp3x_i2s_trigger() 196 reg_val = mmACP_I2STDM_IRER; in acp3x_i2s_trigger() 215 reg_val = mmACP_BTTDM_ITER; in acp3x_i2s_trigger() [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_stolen.c | 184 u32 reg_val = intel_uncore_read(uncore, in g4x_get_stolen_reserved() local 191 IS_GM45(i915) ? "CTG" : "ELK", reg_val); in g4x_get_stolen_reserved() 193 if ((reg_val & G4X_STOLEN_RESERVED_ENABLE) == 0) in g4x_get_stolen_reserved() 202 reg_val); in g4x_get_stolen_reserved() 204 if (!(reg_val & G4X_STOLEN_RESERVED_ADDR2_MASK)) in g4x_get_stolen_reserved() 223 if (!(reg_val & GEN6_STOLEN_RESERVED_ENABLE)) in gen6_get_stolen_reserved() 257 if (!(reg_val & GEN6_STOLEN_RESERVED_ENABLE)) in vlv_get_stolen_reserved() 285 if (!(reg_val & GEN6_STOLEN_RESERVED_ENABLE)) in gen7_get_stolen_reserved() 312 if (!(reg_val & GEN6_STOLEN_RESERVED_ENABLE)) in chv_get_stolen_reserved() 346 if (!(reg_val & GEN6_STOLEN_RESERVED_ENABLE)) in bdw_get_stolen_reserved() [all …]
|
/linux/sound/soc/amd/vangogh/ |
A D | acp5x-i2s.c | 132 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_hwparams() 137 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_hwparams() 143 reg_val = ACP_HSTDM_IRER; in acp5x_i2s_hwparams() 148 reg_val = ACP_I2STDM_IRER; in acp5x_i2s_hwparams() 271 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_trigger() 279 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_trigger() 288 reg_val = ACP_HSTDM_IRER; in acp5x_i2s_trigger() 296 reg_val = ACP_I2STDM_IRER; in acp5x_i2s_trigger() 315 reg_val = ACP_HSTDM_ITER; in acp5x_i2s_trigger() 319 reg_val = ACP_I2STDM_ITER; in acp5x_i2s_trigger() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | omap_elm.c | 106 u32 reg_val; in elm_config() local 145 u32 reg_val; in elm_configure_page_mode() local 254 u32 reg_val; in elm_start_processing() local 264 reg_val = elm_read_reg(info, offset); in elm_start_processing() 265 reg_val |= ELM_SYNDROME_VALID; in elm_start_processing() 266 elm_write_reg(info, offset, reg_val); in elm_start_processing() 287 u32 reg_val; in elm_error_correction() local 302 err_vec[i].error_count = reg_val & in elm_error_correction() 343 u32 reg_val; in elm_decode_bch_error_page() local 368 u32 reg_val; in elm_isr() local [all …]
|
/linux/sound/soc/amd/acp/ |
A D | acp-i2s.c | 35 u32 reg_val; in acp_i2s_hwparams() local 61 reg_val = ACP_BTTDM_ITER; in acp_i2s_hwparams() 64 reg_val = ACP_I2STDM_ITER; in acp_i2s_hwparams() 73 reg_val = ACP_BTTDM_IRER; in acp_i2s_hwparams() 76 reg_val = ACP_I2STDM_IRER; in acp_i2s_hwparams() 111 reg_val = ACP_BTTDM_ITER; in acp_i2s_trigger() 117 reg_val = ACP_I2STDM_ITER; in acp_i2s_trigger() 129 reg_val = ACP_BTTDM_IRER; in acp_i2s_trigger() 135 reg_val = ACP_I2STDM_IRER; in acp_i2s_trigger() 157 reg_val = ACP_BTTDM_ITER; in acp_i2s_trigger() [all …]
|
/linux/drivers/edac/ |
A D | dmc520_edac.c | 263 u32 reg_val, scrub_cfg; in dmc520_get_scrub_type() local 280 u32 reg_val; in dmc520_get_memory_width() local 296 u32 reg_val; in dmc520_get_mtype() local 299 type = FIELD_GET(REG_FIELD_MEMORY_TYPE, reg_val); in dmc520_get_mtype() 318 u32 reg_val; in dmc520_get_dtype() local 342 u32 reg_val, rank_bits; in dmc520_get_rank_count() local 352 u32 reg_val, col_bits, row_bits, bank_bits; in dmc520_get_rank_size() local 486 u32 reg_val; in dmc520_edac_probe() local 555 dmc520_write_reg(pvt, reg_val & (~irq_mask_all), in dmc520_edac_probe() 589 dmc520_write_reg(pvt, reg_val | irq_mask_all, in dmc520_edac_probe() [all …]
|
/linux/drivers/media/i2c/ |
A D | lm3646.c | 102 unsigned int reg_val; in lm3646_get_ctrl() local 113 if (reg_val & FAULT_TIMEOUT) in lm3646_get_ctrl() 115 if (reg_val & FAULT_SHORT_CIRCUIT) in lm3646_get_ctrl() 117 if (reg_val & FAULT_UVLO) in lm3646_get_ctrl() 119 if (reg_val & FAULT_IVFM) in lm3646_get_ctrl() 121 if (reg_val & FAULT_OCP) in lm3646_get_ctrl() 123 if (reg_val & FAULT_OVERTEMP) in lm3646_get_ctrl() 125 if (reg_val & FAULT_NTC_TRIP) in lm3646_get_ctrl() 127 if (reg_val & FAULT_OVP) in lm3646_get_ctrl() 136 unsigned int reg_val; in lm3646_set_ctrl() local [all …]
|