Home
last modified time | relevance | path

Searched refs:reg_set (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/scsi/mvsas/
A Dmv_sas.h64 #define SATA_RECEIVED_FIS_LIST(reg_set) \ argument
65 ((void *) mvi->rx_fis + mvi->chip->fis_offs + 0x100 * reg_set)
66 #define SATA_RECEIVED_SDB_FIS(reg_set) \ argument
67 (SATA_RECEIVED_FIS_LIST(reg_set) + 0x58)
68 #define SATA_RECEIVED_D2H_FIS(reg_set) \ argument
69 (SATA_RECEIVED_FIS_LIST(reg_set) + 0x40)
70 #define SATA_RECEIVED_PIO_FIS(reg_set) \ argument
71 (SATA_RECEIVED_FIS_LIST(reg_set) + 0x20)
72 #define SATA_RECEIVED_DMA_FIS(reg_set) \ argument
73 (SATA_RECEIVED_FIS_LIST(reg_set) + 0x00)
[all …]
A Dmv_94xx.c684 if (reg_set > 31) in mvs_94xx_clear_srs_irq()
689 if (tmp & (1 << (reg_set % 32))) { in mvs_94xx_clear_srs_irq()
690 mv_dprintk("register set 0x%x was stopped.\n", reg_set); in mvs_94xx_clear_srs_irq()
691 if (reg_set > 31) in mvs_94xx_clear_srs_irq()
692 mw32(MVS_INT_STAT_SRS_1, 1 << (reg_set % 32)); in mvs_94xx_clear_srs_irq()
694 mw32(MVS_INT_STAT_SRS_0, 1 << (reg_set % 32)); in mvs_94xx_clear_srs_irq()
744 u8 reg_set = *tfs; in mvs_94xx_free_reg_set() local
749 mvi->sata_reg_set &= ~bit(reg_set); in mvs_94xx_free_reg_set()
750 if (reg_set < 32) in mvs_94xx_free_reg_set()
751 w_reg_set_enable(reg_set, (u32)mvi->sata_reg_set); in mvs_94xx_free_reg_set()
[all …]
A Dmv_64xx.c124 mvs_64xx_clear_srs_irq(struct mvs_info *mvi, u8 reg_set, u8 clear_all) in mvs_64xx_clear_srs_irq() argument
136 if (tmp & (1 << (reg_set % 32))) { in mvs_64xx_clear_srs_irq()
138 reg_set); in mvs_64xx_clear_srs_irq()
139 mw32(MVS_INT_STAT_SRS_0, 1 << (reg_set % 32)); in mvs_64xx_clear_srs_irq()
A Dmv_sas.c121 u8 reg_set) in mvs_find_dev_by_reg_set() argument
128 if (mvi->devices[dev_no].taskfileset == reg_set) in mvs_find_dev_by_reg_set()
/linux-6.3-rc2/drivers/media/i2c/
A Drj54n1cb0c.c895 ret = reg_set(client, RJ54N1_OCLK_DSP, 1, 1); in rj54n1_set_clock()
1035 ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8); in rj54n1_set_fmt()
1040 ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8); in rj54n1_set_fmt()
1045 ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8); in rj54n1_set_fmt()
1050 ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8); in rj54n1_set_fmt()
1055 ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8); in rj54n1_set_fmt()
1062 ret = reg_set(client, RJ54N1_BYTE_SWAP, 8, 8); in rj54n1_set_fmt()
1069 ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8); in rj54n1_set_fmt()
1076 ret = reg_set(client, RJ54N1_BYTE_SWAP, 0, 8); in rj54n1_set_fmt()
1089 ret = reg_set(client, RJ54N1_OCLK_SEL_EN, in rj54n1_set_fmt()
[all …]
A Dak881x.c46 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() function
172 reg_set(client, AK881X_VIDEO_PROCESS1, vp1, 0xf); in ak881x_s_std_output()
A Dmt9m111.c140 #define reg_set(reg, val) mt9m111_reg_set(client, MT9M111_##reg, (val)) macro
440 ret = reg_set(RESET, MT9M111_RESET_RESET_MODE); in mt9m111_reset()
442 ret = reg_set(RESET, MT9M111_RESET_RESET_SOC); in mt9m111_reset()
834 return reg_set(OPER_MODE_CTRL, MT9M111_OPMODE_AUTOEXPO_EN); in mt9m111_set_autoexposure()
843 return reg_set(OPER_MODE_CTRL, MT9M111_OPMODE_AUTOWHITEBAL_EN); in mt9m111_set_autowhitebalance()
923 ret = reg_set(RESET, MT9M111_RESET_RESET_MODE); in mt9m111_suspend()
925 ret = reg_set(RESET, MT9M111_RESET_RESET_SOC | in mt9m111_suspend()
A Dmt9m001.c126 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set() function
520 ret = reg_set(client, MT9M001_READ_OPTIONS2, 0x8000); in mt9m001_s_ctrl()
/linux-6.3-rc2/drivers/gpio/
A Dgpio-mmio.c138 return !!(gc->read_reg(gc->reg_set) & pinmask); in bgpio_get_set()
160 *bits |= gc->read_reg(gc->reg_set) & set_mask; in bgpio_get_set_multiple()
241 gc->write_reg(gc->reg_set, mask); in bgpio_set_with_clear()
258 gc->write_reg(gc->reg_set, gc->bgpio_data); in bgpio_set_set()
310 bgpio_set_multiple_single_reg(gc, mask, bits, gc->reg_set); in bgpio_set_multiple_set()
322 gc->write_reg(gc->reg_set, set_mask); in bgpio_set_multiple_with_clear()
500 gc->reg_set = set; in bgpio_setup_io()
505 gc->reg_set = set; in bgpio_setup_io()
636 gc->bgpio_data = gc->read_reg(gc->reg_set); in bgpio_init()
/linux-6.3-rc2/drivers/leds/
A Dleds-tca6507.c157 int reg_set; /* One bit per register where member
272 tca->reg_set |= (1 << bit); in set_select()
293 tca->reg_set |= 1 << reg; in set_code()
354 set = tca->reg_set; in tca6507_work()
356 tca->reg_set = 0; in tca6507_work()
540 if (tca->reg_set) in led_assign()
608 if (tca->reg_set) in tca6507_gpio_set_value()
779 tca->reg_set = 0x7f; in tca6507_probe()
/linux-6.3-rc2/drivers/scsi/megaraid/
A Dmegaraid_sas_base.c463 regs = instance->reg_set; in megasas_enable_intr_xscale()
480 regs = instance->reg_set; in megasas_disable_intr_xscale()
505 regs = instance->reg_set; in megasas_clear_intr_xscale()
643 regs = instance->reg_set; in megasas_enable_intr_ppc()
662 regs = instance->reg_set; in megasas_disable_intr_ppc()
687 regs = instance->reg_set; in megasas_clear_intr_ppc()
772 regs = instance->reg_set; in megasas_enable_intr_skinny()
791 regs = instance->reg_set; in megasas_disable_intr_skinny()
817 regs = instance->reg_set; in megasas_clear_intr_skinny()
919 regs = instance->reg_set; in megasas_enable_intr_gen2()
[all …]
A Dmegaraid_sas_fusion.c107 (instance, instance->reg_set)) in megasas_adp_reset_wait_for_ready()
168 regs = instance->reg_set; in megasas_enable_intr_fusion()
191 regs = instance->reg_set; in megasas_disable_intr_fusion()
205 regs = instance->reg_set; in megasas_clear_intr_fusion()
304 &instance->reg_set->inbound_low_queue_port); in megasas_write_64bit_req_desc()
3994 iounmap(instance->reg_set); in megasas_release_fusion()
4086 &instance->reg_set->fusion_host_diag); in megasas_adp_reset_fusion()
4149 &instance->reg_set->doorbell); in megasas_trigger_snap_dump()
4150 readl(&instance->reg_set->doorbell); in megasas_trigger_snap_dump()
4942 &instance->reg_set->doorbell); in megasas_reset_fusion()
[all …]
A Dmegaraid_sas.h2339 struct megasas_register_set __iomem *reg_set; member
/linux-6.3-rc2/drivers/gpu/drm/i2c/
A Dtda998x_drv.c689 reg_set(struct tda998x_priv *priv, u16 reg, u8 val) in reg_set() function
718 reg_set(priv, REG_MAIN_CNTRL0, MAIN_CNTRL0_SR); in tda998x_reset()
845 reg_set(priv, REG_DIP_IF_FLAGS, bit); in tda998x_write_if()
996 reg_set(priv, REG_SOFTRESET, SOFTRESET_AUDIO); in tda998x_audio_mute()
998 reg_set(priv, REG_AIP_CNTRL_0, AIP_CNTRL_0_RST_FIFO); in tda998x_audio_mute()
1043 reg_set(priv, REG_AIP_CNTRL_0, AIP_CNTRL_0_RST_CTS); in tda998x_configure_audio()
1303 reg_set(priv, REG_TX4, TX4_PD_RAM); in tda998x_connector_get_modes()
1547 reg_set(priv, REG_AIP_CNTRL_0, AIP_CNTRL_0_RST_FIFO); in tda998x_bridge_mode_set()
1590 reg_set(priv, REG_FEAT_POWERDOWN, FEAT_POWERDOWN_CSC); in tda998x_bridge_mode_set()
1670 reg_set(priv, REG_TX33, TX33_HDMI); in tda998x_bridge_mode_set()
[all …]
/linux-6.3-rc2/drivers/pinctrl/mediatek/
A Dpinctrl-mtk-common.c246 unsigned int reg_pupd, reg_set, reg_rst; in mtk_pctrl_spec_pull_set_samereg() local
265 reg_set = spec_pupd_pin->offset + devdata->port_align; in mtk_pctrl_spec_pull_set_samereg()
271 reg_pupd = reg_set; in mtk_pctrl_spec_pull_set_samereg()
285 regmap_write(regmap, reg_set, bit_r0); in mtk_pctrl_spec_pull_set_samereg()
290 regmap_write(regmap, reg_set, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
293 regmap_write(regmap, reg_set, bit_r0); in mtk_pctrl_spec_pull_set_samereg()
294 regmap_write(regmap, reg_set, bit_r1); in mtk_pctrl_spec_pull_set_samereg()
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-xgene-msi.c144 u32 reg_set = hwirq_to_reg_set(data->hwirq); in xgene_compose_msi_msg() local
146 u64 target_addr = msi->msi_addr + (((8 * group) + reg_set) << 16); in xgene_compose_msi_msg()
/linux-6.3-rc2/drivers/media/platform/st/stm32/
A Dstm32-dcmi.c189 static inline void reg_set(void __iomem *base, u32 reg, u32 mask) in reg_set() function
372 reg_set(dcmi->regs, DCMI_CR, CR_CAPTURE); in dcmi_start_capture()
396 reg_set(dcmi->regs, DCMI_CR, CR_CROP); in dcmi_set_crop()
479 reg_set(dcmi->regs, DCMI_ICR, IT_FRAME | IT_OVR | IT_ERR); in dcmi_irq_callback()
820 reg_set(dcmi->regs, DCMI_CR, CR_CM);/* Snapshot mode */ in dcmi_start_streaming()
823 reg_set(dcmi->regs, DCMI_CR, CR_ENABLE); in dcmi_start_streaming()
858 reg_set(dcmi->regs, DCMI_IER, IT_FRAME | IT_OVR | IT_ERR); in dcmi_start_streaming()
860 reg_set(dcmi->regs, DCMI_IER, IT_OVR | IT_ERR); in dcmi_start_streaming()
/linux-6.3-rc2/arch/arm/net/
A Dbpf_jit_32.c1276 u16 reg_set = 0; in emit_push_r64() local
1280 reg_set = (1 << rt[1]) | (1 << rt[0]); in emit_push_r64()
1281 emit(ARM_PUSH(reg_set), ctx); in emit_push_r64()
1293 u16 reg_set = CALLEE_PUSH_MASK | 1 << ARM_IP | 1 << ARM_PC; in build_prologue() local
1295 emit(ARM_PUSH(reg_set), ctx); in build_prologue()
1330 u16 reg_set = CALLEE_POP_MASK | 1 << ARM_SP; in build_epilogue() local
1331 emit(ARM_SUB_I(ARM_SP, ARM_FP, hweight16(reg_set) * 4), ctx); in build_epilogue()
1332 emit(ARM_LDM(ARM_SP, reg_set), ctx); in build_epilogue()
/linux-6.3-rc2/drivers/i3c/master/mipi-i3c-hci/
A Dcore.c32 #define reg_set(r, v) reg_write(r, reg_read(r) | (v)) macro
155 reg_set(HC_CONTROL, HC_CONTROL_BUS_ENABLE); in i3c_hci_bus_init()
714 reg_set(HC_CONTROL, HC_CONTROL_PIO_MODE); in i3c_hci_init()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Dintel_uncore.c125 #define fw_set(d, val) writel(_MASKED_BIT_ENABLE((val)), (d)->reg_set)
126 #define fw_clear(d, val) writel(_MASKED_BIT_DISABLE((val)), (d)->reg_set)
2189 i915_reg_t reg_set, in __fw_domain_init() argument
2204 drm_WARN_ON(&uncore->i915->drm, !i915_mmio_reg_valid(reg_set)); in __fw_domain_init()
2209 d->reg_set = uncore->regs + i915_mmio_reg_offset(reg_set) + uncore->gsi_offset; in __fw_domain_init()
A Dintel_uncore.h186 u32 __iomem *reg_set; member
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c3659 bnx2x_cl45_write(bp, phy, reg_set[i].devad, reg_set[i].reg, in bnx2x_warpcore_enable_AN_KR2()
3660 reg_set[i].val); in bnx2x_warpcore_enable_AN_KR2()
3694 bnx2x_cl45_write(bp, phy, reg_set[i].devad, reg_set[i].reg, in bnx2x_disable_kr2()
3695 reg_set[i].val); in bnx2x_disable_kr2()
3748 bnx2x_cl45_write(bp, phy, reg_set[i].devad, reg_set[i].reg, in bnx2x_warpcore_enable_AN_KR()
3749 reg_set[i].val); in bnx2x_warpcore_enable_AN_KR()
3901 bnx2x_cl45_write(bp, phy, reg_set[i].devad, reg_set[i].reg, in bnx2x_warpcore_set_10G_KR()
3902 reg_set[i].val); in bnx2x_warpcore_set_10G_KR()
9668 reg_set[i].reg, reg_set[i].val); in bnx2x_save_848xx_spirom_version()
9757 bnx2x_cl45_write(bp, phy, reg_set[i].devad, reg_set[i].reg, in bnx2x_848xx_set_led()
[all …]
/linux-6.3-rc2/include/linux/gpio/
A Ddriver.h466 void __iomem *reg_set; member

Completed in 134 milliseconds