Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_pcimio.c463 .reg_type = ni_reg_611x,
478 .reg_type = ni_reg_611x,
529 .reg_type = ni_reg_6711,
539 .reg_type = ni_reg_6711,
549 .reg_type = ni_reg_6713,
559 .reg_type = ni_reg_6713,
569 .reg_type = ni_reg_6711,
579 .reg_type = ni_reg_6711,
590 .reg_type = ni_reg_6713,
600 .reg_type = ni_reg_6713,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c567 enum g2d_reg_type reg_type; in g2d_get_reg_type() local
575 reg_type = REG_TYPE_SRC; in g2d_get_reg_type()
578 reg_type = REG_TYPE_SRC_PLANE2; in g2d_get_reg_type()
585 reg_type = REG_TYPE_DST; in g2d_get_reg_type()
588 reg_type = REG_TYPE_DST_PLANE2; in g2d_get_reg_type()
591 reg_type = REG_TYPE_PAT; in g2d_get_reg_type()
594 reg_type = REG_TYPE_MSK; in g2d_get_reg_type()
597 reg_type = REG_TYPE_NONE; in g2d_get_reg_type()
603 return reg_type; in g2d_get_reg_type()
635 enum g2d_reg_type reg_type, in g2d_check_buf_desc_is_valid() argument
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Dstm32-fmc2-ebi.c166 int reg_type; member
254 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_check_address_hold()
320 static int stm32_fmc2_ebi_get_reg(int reg_type, int cs, u32 *reg) in stm32_fmc2_ebi_get_reg() argument
322 switch (reg_type) { in stm32_fmc2_ebi_get_reg()
349 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bit_field()
568 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_setup()
573 if (prop->reg_type == FMC2_REG_BWTR) in stm32_fmc2_ebi_set_address_setup()
595 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_address_hold()
613 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_data_setup()
631 ret = stm32_fmc2_ebi_get_reg(prop->reg_type, cs, &reg); in stm32_fmc2_ebi_set_bus_turnaround()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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-intel-mid.c68 enum GPIO_REG reg_type) in gpio_reg() argument
74 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg()
78 enum GPIO_REG reg_type) in gpio_reg_2bit() argument
84 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg_2bit()
Dgpio-crystalcove.c81 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() argument
98 if (reg_type == CTRL_IN) { in to_reg()
Dgpio-wcove.c100 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() argument
107 if (reg_type == CTRL_IN) in to_reg()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_hal.c925 enum icp_qat_uof_regtype reg_type, in qat_hal_rd_rel_reg() argument
934 reg_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_rd_rel_reg()
939 switch (reg_type) { in qat_hal_rd_rel_reg()
986 enum icp_qat_uof_regtype reg_type, in qat_hal_wr_rel_reg() argument
999 dest_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_wr_rel_reg()
1011 switch (reg_type) { in qat_hal_wr_rel_reg()
1140 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_rd_xfer() argument
1163 switch (reg_type) { in qat_hal_put_rel_rd_xfer()
1181 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_wr_xfer() argument
1211 xfr_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_put_rel_wr_xfer()
[all …]
Dadf_common_drv.h167 enum icp_qat_uof_regtype reg_type,
171 enum icp_qat_uof_regtype reg_type,
175 enum icp_qat_uof_regtype reg_type,
Dicp_qat_uclo.h256 char reg_type; member
288 unsigned char reg_type; member
Dqat_uclo.c748 enum icp_qat_uof_regtype reg_type, in qat_uclo_init_reg() argument
751 switch (reg_type) { in qat_uclo_init_reg()
758 return qat_hal_init_gpr(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
770 return qat_hal_init_rd_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
778 return qat_hal_init_wr_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
783 pr_err("QAT: UOF uses not supported reg type 0x%x\n", reg_type); in qat_uclo_init_reg()
812 init_regsym->reg_type, in qat_uclo_init_reg_sym()
827 init_regsym->reg_type, in qat_uclo_init_reg_sym()
/kernel/linux/linux-5.10/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()
178 unsigned int reg_type, in meson_pinconf_set_gpio_bit() argument
189 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_set_gpio_bit()
196 unsigned int reg_type) in meson_pinconf_get_gpio_bit() argument
206 meson_calc_reg_and_bit(bank, pin, reg_type, &reg, &bit); in meson_pinconf_get_gpio_bit()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dmpic.c212 enum mpic_reg_type type = mpic->reg_type; in _mpic_ipi_read()
226 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write()
240 return _mpic_read(mpic->reg_type, &mpic->tmregs, offset); in _mpic_tm_read()
248 _mpic_write(mpic->reg_type, &mpic->tmregs, offset, value); in _mpic_tm_write()
255 return _mpic_read(mpic->reg_type, &mpic->cpuregs[cpu], reg); in _mpic_cpu_read()
262 _mpic_write(mpic->reg_type, &mpic->cpuregs[cpu], reg, value); in _mpic_cpu_write()
271 val = _mpic_read(mpic->reg_type, &mpic->isus[isu], in _mpic_irq_read()
287 _mpic_write(mpic->reg_type, &mpic->isus[isu], in _mpic_irq_write()
297 #define mpic_read(b,r) _mpic_read(mpic->reg_type,&(b),(r))
298 #define mpic_write(b,r,v) _mpic_write(mpic->reg_type,&(b),(r),(v))
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c12 { .reg_type = "bios common",
17 { .reg_type = "ssu",
22 { .reg_type = "ssu",
27 { .reg_type = "ssu",
32 { .reg_type = "igu egu",
37 { .reg_type = "rpu",
42 { .reg_type = "rpu",
47 { .reg_type = "ncsi",
52 { .reg_type = "rtc",
57 { .reg_type = "ppp",
[all …]
Dhclge_debugfs.h81 const char *reg_type; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dnes-abi.h46 __u32 reg_type; member
Di40iw-abi.h43 __u16 reg_type; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Di40iw-abi.h55 __u16 reg_type; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Di40iw-abi.h84 __u16 reg_type; /* Memory, QP or CQ */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_main.c273 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
279 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
291 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
294 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
299 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
302 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
1683 u8 reg_type; in ehea_broadcast_reg_helper() local
1686 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_UNTAGGED; in ehea_broadcast_reg_helper()
1689 reg_type, port->mac_addr, 0, hcallid); in ehea_broadcast_reg_helper()
1698 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_VLANID_ALL; in ehea_broadcast_reg_helper()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Ddebugfs.c429 u32 reg_type = 0, reg_offset = 0, reg_value = UINT_MAX; in mwifiex_regrdwr_write() local
435 sscanf(buf, "%u %x %x", &reg_type, &reg_offset, &reg_value); in mwifiex_regrdwr_write()
437 if (reg_type == 0 || reg_offset == 0) { in mwifiex_regrdwr_write()
441 saved_reg_type = reg_type; in mwifiex_regrdwr_write()

123