Home
last modified time | relevance | path

Searched refs:reg_type (Results 1 – 25 of 68) sorted by relevance

123

/linux-6.12.1/drivers/comedi/drivers/
Dni_pcimio.c470 .reg_type = ni_reg_611x,
485 .reg_type = ni_reg_611x,
536 .reg_type = ni_reg_6711,
546 .reg_type = ni_reg_6711,
556 .reg_type = ni_reg_6713,
566 .reg_type = ni_reg_6713,
576 .reg_type = ni_reg_6711,
586 .reg_type = ni_reg_6711,
597 .reg_type = ni_reg_6713,
607 .reg_type = ni_reg_6713,
[all …]
/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c562 enum g2d_reg_type reg_type; in g2d_get_reg_type() local
570 reg_type = REG_TYPE_SRC; in g2d_get_reg_type()
573 reg_type = REG_TYPE_SRC_PLANE2; in g2d_get_reg_type()
580 reg_type = REG_TYPE_DST; in g2d_get_reg_type()
583 reg_type = REG_TYPE_DST_PLANE2; in g2d_get_reg_type()
586 reg_type = REG_TYPE_PAT; in g2d_get_reg_type()
589 reg_type = REG_TYPE_MSK; in g2d_get_reg_type()
592 reg_type = REG_TYPE_NONE; in g2d_get_reg_type()
598 return reg_type; in g2d_get_reg_type()
630 enum g2d_reg_type reg_type, in g2d_check_buf_desc_is_valid() argument
[all …]
/linux-6.12.1/drivers/memory/
Dstm32-fmc2-ebi.c230 int reg_type; member
364 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_check_address_hold()
469 static int stm32_fmc2_ebi_get_reg(int reg_type, int cs, u32 *reg) in stm32_fmc2_ebi_get_reg() argument
471 switch (reg_type) { in stm32_fmc2_ebi_get_reg()
501 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bit_field()
720 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_setup()
728 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_set_address_setup()
752 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_hold()
770 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_data_setup()
788 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bus_turnaround()
[all …]
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-fadump.h81 __be32 reg_type; member
87 u32 reg_type, u32 reg_num, in opal_fadump_set_regval_regnum() argument
90 if (reg_type == HDAT_FADUMP_REG_TYPE_GPR) { in opal_fadump_set_regval_regnum()
140 be32_to_cpu(reg_entry->reg_type), in opal_fadump_read_regs()
/linux-6.12.1/drivers/gpio/
Dgpio-ftgpio010.c91 u32 reg_both, reg_level, reg_type; in ftgpio_gpio_set_irq_type() local
93 reg_type = readl(g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type()
100 reg_type &= ~mask; in ftgpio_gpio_set_irq_type()
105 reg_type &= ~mask; in ftgpio_gpio_set_irq_type()
111 reg_type &= ~mask; in ftgpio_gpio_set_irq_type()
117 reg_type |= mask; in ftgpio_gpio_set_irq_type()
122 reg_type |= mask; in ftgpio_gpio_set_irq_type()
130 writel(reg_type, g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type()
Dgpio-crystalcove.c82 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() argument
99 if (reg_type == CTRL_IN) { in to_reg()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_hal.c1116 enum icp_qat_uof_regtype reg_type, in qat_hal_rd_rel_reg() argument
1125 reg_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_rd_rel_reg()
1130 switch (reg_type) { in qat_hal_rd_rel_reg()
1177 enum icp_qat_uof_regtype reg_type, in qat_hal_wr_rel_reg() argument
1190 dest_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_wr_rel_reg()
1202 switch (reg_type) { in qat_hal_wr_rel_reg()
1331 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_rd_xfer() argument
1354 switch (reg_type) { in qat_hal_put_rel_rd_xfer()
1372 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_wr_xfer() argument
1402 xfr_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_put_rel_wr_xfer()
[all …]
Dadf_common_drv.h165 enum icp_qat_uof_regtype reg_type,
169 enum icp_qat_uof_regtype reg_type,
173 enum icp_qat_uof_regtype reg_type,
Dicp_qat_uclo.h297 char reg_type; member
329 unsigned char reg_type; member
Dqat_uclo.c766 enum icp_qat_uof_regtype reg_type, in qat_uclo_init_reg() argument
769 switch (reg_type) { in qat_uclo_init_reg()
776 return qat_hal_init_gpr(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
788 return qat_hal_init_rd_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
796 return qat_hal_init_wr_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
801 pr_err("QAT: UOF uses not supported reg type 0x%x\n", reg_type); in qat_uclo_init_reg()
830 init_regsym->reg_type, in qat_uclo_init_reg_sym()
845 init_regsym->reg_type, in qat_uclo_init_reg_sym()
/linux-6.12.1/drivers/cxl/core/
Dregs.c274 u8 reg_type = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BLOCK_ID_MASK, reg_lo); in cxl_decode_regblock() local
282 &pdev->resource[bar], &offset, reg_type); in cxl_decode_regblock()
286 map->reg_type = reg_type; in cxl_decode_regblock()
337 if (map->reg_type == type) { in cxl_find_regblock_instance()
431 switch (map->reg_type) { in cxl_probe_regs()
/linux-6.12.1/arch/powerpc/platforms/ps3/
Drepository.c251 enum ps3_reg_type *reg_type) in ps3_repository_read_dev_reg_type() argument
262 *reg_type = v1; in ps3_repository_read_dev_reg_type()
279 enum ps3_reg_type *reg_type, u64 *bus_addr, u64 *len) in ps3_repository_read_dev_reg() argument
282 reg_index, reg_type); in ps3_repository_read_dev_reg()
521 enum ps3_reg_type reg_type, u64 *bus_addr, u64 *len) in ps3_repository_find_reg() argument
526 pr_devel("%s:%d: find reg_type %u\n", __func__, __LINE__, reg_type); in ps3_repository_find_reg()
544 if (t == reg_type) { in ps3_repository_find_reg()
555 __func__, __LINE__, reg_type, res_index); in ps3_repository_find_reg()
1210 enum ps3_reg_type reg_type; in ps3_repository_dump_resource_info() local
1215 repo->dev_index, res_index, &reg_type, &bus_addr, &len); in ps3_repository_dump_resource_info()
[all …]
Dplatform.h115 enum ps3_reg_type *reg_type);
121 enum ps3_reg_type *reg_type, u64 *bus_addr, u64 *len);
144 enum ps3_reg_type reg_type, u64 *bus_addr, u64 *len);
/linux-6.12.1/drivers/pinctrl/meson/
Dpinctrl-meson.c99 enum meson_reg_type reg_type, in meson_calc_reg_and_bit() argument
102 const struct meson_reg_desc *desc = &bank->regs[reg_type]; in meson_calc_reg_and_bit()
104 *bit = (desc->bit + pin - bank->first) * meson_bit_strides[reg_type]; in meson_calc_reg_and_bit()
182 unsigned int reg_type, in meson_pinconf_set_gpio_bit() argument
193 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_set_gpio_bit()
200 unsigned int reg_type) in meson_pinconf_get_gpio_bit() argument
210 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_get_gpio_bit()
/linux-6.12.1/arch/powerpc/sysdev/
Dmpic.c214 enum mpic_reg_type type = mpic->reg_type; in _mpic_ipi_read()
228 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write()
242 return _mpic_read(mpic->reg_type, &mpic->tmregs, offset); in _mpic_tm_read()
250 _mpic_write(mpic->reg_type, &mpic->tmregs, offset, value); in _mpic_tm_write()
257 return _mpic_read(mpic->reg_type, &mpic->cpuregs[cpu], reg); in _mpic_cpu_read()
264 _mpic_write(mpic->reg_type, &mpic->cpuregs[cpu], reg, value); in _mpic_cpu_write()
273 val = _mpic_read(mpic->reg_type, &mpic->isus[isu], in _mpic_irq_read()
289 _mpic_write(mpic->reg_type, &mpic->isus[isu], in _mpic_irq_write()
299 #define mpic_read(b,r) _mpic_read(mpic->reg_type,&(b),(r))
300 #define mpic_write(b,r,v) _mpic_write(mpic->reg_type,&(b),(r),(v))
[all …]
/linux-6.12.1/drivers/tty/serial/8250/
D8250_bcm7271.c248 int reg_type, int offset) in udma_readl() argument
250 return readl(priv->regs[reg_type] + offset); in udma_readl()
254 int reg_type, int offset, u32 value) in udma_writel() argument
256 writel(value, priv->regs[reg_type] + offset); in udma_writel()
260 int reg_type, int offset, u32 bits) in udma_set() argument
262 void __iomem *reg = priv->regs[reg_type] + offset; in udma_set()
271 int reg_type, int offset, u32 bits) in udma_unset() argument
273 void __iomem *reg = priv->regs[reg_type] + offset; in udma_unset()
/linux-6.12.1/drivers/net/ethernet/ibm/ehea/
Dehea_main.c277 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
283 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
295 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
298 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
303 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
306 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
1687 u8 reg_type; in ehea_broadcast_reg_helper() local
1690 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_UNTAGGED; in ehea_broadcast_reg_helper()
1693 reg_type, port->mac_addr, 0, hcallid); in ehea_broadcast_reg_helper()
1702 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_VLANID_ALL; in ehea_broadcast_reg_helper()
[all …]
/linux-6.12.1/drivers/scsi/libsas/
Dsas_host_smp.c114 u8 reg_type, u8 reg_index, u8 reg_count, in sas_host_smp_write_gpio() argument
125 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, in sas_host_smp_write_gpio()
/linux-6.12.1/net/ipv4/
Dbpf_tcp_ca.c52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
53 !bpf_type_has_unsafe_modifiers(info->reg_type) && in bpf_tcp_ca_is_valid_access()
/linux-6.12.1/include/uapi/rdma/
Dirdma-abi.h80 __u16 reg_type; /* enum irdma_memreg_type */ member
/linux-6.12.1/sound/soc/fsl/
Dfsl_mqs.c31 enum reg_type { enum
52 enum reg_type type;
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Ddebugfs.c422 u32 reg_type = 0, reg_offset = 0, reg_value = UINT_MAX; in mwifiex_regrdwr_write() local
428 if (sscanf(buf, "%u %x %x", &reg_type, &reg_offset, &reg_value) != 3) { in mwifiex_regrdwr_write()
433 if (reg_type == 0 || reg_offset == 0) { in mwifiex_regrdwr_write()
437 saved_reg_type = reg_type; in mwifiex_regrdwr_write()
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.c189 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_get_reg_offset() argument
222 switch (reg_type) { in bcmasp_netfilt_get_reg_offset()
236 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_wr() argument
245 reg_offset = bcmasp_netfilt_get_reg_offset(priv, nfilt, reg_type, in bcmasp_netfilt_wr()
253 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_rd() argument
262 reg_offset = bcmasp_netfilt_get_reg_offset(priv, nfilt, reg_type, in bcmasp_netfilt_rd()
/linux-6.12.1/arch/x86/lib/
Dinsn-eval.c21 enum reg_type { enum
447 static int get_regno(struct insn *insn, enum reg_type type) in get_regno()
523 enum reg_type type) in get_reg_offset()
/linux-6.12.1/drivers/scsi/mvsas/
Dmv_sas.h157 int (*gpio_write)(struct mvs_prv_info *mvs_prv, u8 reg_type,
453 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,

123