Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/comedi/drivers/
Dni_pcimio.c461 .reg_type = ni_reg_611x,
476 .reg_type = ni_reg_611x,
527 .reg_type = ni_reg_6711,
537 .reg_type = ni_reg_6711,
547 .reg_type = ni_reg_6713,
557 .reg_type = ni_reg_6713,
567 .reg_type = ni_reg_6711,
577 .reg_type = ni_reg_6711,
588 .reg_type = ni_reg_6713,
598 .reg_type = ni_reg_6713,
[all …]
/linux-6.6.21/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.6.21/drivers/memory/
Dstm32-fmc2-ebi.c168 int reg_type; member
256 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_check_address_hold()
322 static int stm32_fmc2_ebi_get_reg(int reg_type, int cs, u32 *reg) in stm32_fmc2_ebi_get_reg() argument
324 switch (reg_type) { in stm32_fmc2_ebi_get_reg()
351 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bit_field()
570 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_setup()
575 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_set_address_setup()
597 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_hold()
615 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_data_setup()
633 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bus_turnaround()
[all …]
/linux-6.6.21/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.6.21/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.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_hal.c1112 enum icp_qat_uof_regtype reg_type, in qat_hal_rd_rel_reg() argument
1121 reg_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_rd_rel_reg()
1126 switch (reg_type) { in qat_hal_rd_rel_reg()
1173 enum icp_qat_uof_regtype reg_type, in qat_hal_wr_rel_reg() argument
1186 dest_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_wr_rel_reg()
1198 switch (reg_type) { in qat_hal_wr_rel_reg()
1327 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_rd_xfer() argument
1350 switch (reg_type) { in qat_hal_put_rel_rd_xfer()
1368 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_wr_xfer() argument
1398 xfr_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_put_rel_wr_xfer()
[all …]
Dadf_common_drv.h168 enum icp_qat_uof_regtype reg_type,
172 enum icp_qat_uof_regtype reg_type,
176 enum icp_qat_uof_regtype reg_type,
Dicp_qat_uclo.h297 char reg_type; member
329 unsigned char reg_type; member
Dqat_uclo.c765 enum icp_qat_uof_regtype reg_type, in qat_uclo_init_reg() argument
768 switch (reg_type) { in qat_uclo_init_reg()
775 return qat_hal_init_gpr(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
787 return qat_hal_init_rd_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
795 return qat_hal_init_wr_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
800 pr_err("QAT: UOF uses not supported reg type 0x%x\n", reg_type); in qat_uclo_init_reg()
829 init_regsym->reg_type, in qat_uclo_init_reg_sym()
844 init_regsym->reg_type, in qat_uclo_init_reg_sym()
/linux-6.6.21/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.6.21/drivers/pinctrl/meson/
Dpinctrl-meson.c98 enum meson_reg_type reg_type, in meson_calc_reg_and_bit() argument
101 struct meson_reg_desc *desc = &bank->regs[reg_type]; in meson_calc_reg_and_bit()
103 *bit = (desc->bit + pin - bank->first) * meson_bit_strides[reg_type]; in meson_calc_reg_and_bit()
181 unsigned int reg_type, in meson_pinconf_set_gpio_bit() argument
192 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_set_gpio_bit()
199 unsigned int reg_type) in meson_pinconf_get_gpio_bit() argument
209 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_get_gpio_bit()
/linux-6.6.21/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.6.21/drivers/cxl/core/
Dregs.c281 &pdev->resource[bar], &offset, map->reg_type); in cxl_decode_regblock()
285 map->reg_type = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BLOCK_ID_MASK, reg_lo); in cxl_decode_regblock()
336 if (map->reg_type == type) { in cxl_find_regblock_instance()
431 switch (map->reg_type) { in cxl_probe_regs()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_bcm7271.c249 int reg_type, int offset) in udma_readl() argument
251 return readl(priv->regs[reg_type] + offset); in udma_readl()
255 int reg_type, int offset, u32 value) in udma_writel() argument
257 writel(value, priv->regs[reg_type] + offset); in udma_writel()
261 int reg_type, int offset, u32 bits) in udma_set() argument
263 void __iomem *reg = priv->regs[reg_type] + offset; in udma_set()
272 int reg_type, int offset, u32 bits) in udma_unset() argument
274 void __iomem *reg = priv->regs[reg_type] + offset; in udma_unset()
/linux-6.6.21/net/ipv4/
Dbpf_tcp_ca.c62 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
63 !bpf_type_has_unsafe_modifiers(info->reg_type) && in bpf_tcp_ca_is_valid_access()
/linux-6.6.21/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.6.21/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.6.21/include/uapi/rdma/
Dirdma-abi.h80 __u16 reg_type; /* enum irdma_memreg_type */ member
/linux-6.6.21/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.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.c172 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_get_reg_offset() argument
205 switch (reg_type) { in bcmasp_netfilt_get_reg_offset()
219 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_wr() argument
228 reg_offset = bcmasp_netfilt_get_reg_offset(priv, nfilt, reg_type, in bcmasp_netfilt_wr()
236 enum asp_netfilt_reg_type reg_type, in bcmasp_netfilt_rd() argument
245 reg_offset = bcmasp_netfilt_get_reg_offset(priv, nfilt, reg_type, in bcmasp_netfilt_rd()
/linux-6.6.21/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,
/linux-6.6.21/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.6.21/arch/powerpc/include/asm/
Dmpic.h300 enum mpic_reg_type reg_type; member

123