Home
last modified time | relevance | path

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

12

/Linux-v4.19/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 …]
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c566 enum g2d_reg_type reg_type; in g2d_get_reg_type() local
574 reg_type = REG_TYPE_SRC; in g2d_get_reg_type()
577 reg_type = REG_TYPE_SRC_PLANE2; in g2d_get_reg_type()
584 reg_type = REG_TYPE_DST; in g2d_get_reg_type()
587 reg_type = REG_TYPE_DST_PLANE2; in g2d_get_reg_type()
590 reg_type = REG_TYPE_PAT; in g2d_get_reg_type()
593 reg_type = REG_TYPE_MSK; in g2d_get_reg_type()
596 reg_type = REG_TYPE_NONE; in g2d_get_reg_type()
601 return reg_type; in g2d_get_reg_type()
632 enum g2d_reg_type reg_type, in g2d_check_buf_desc_is_valid() argument
[all …]
/Linux-v4.19/drivers/gpio/
Dgpio-ftgpio010.c85 u32 reg_both, reg_level, reg_type; in ftgpio_gpio_set_irq_type() local
87 reg_type = readl(g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type()
94 reg_type &= ~mask; in ftgpio_gpio_set_irq_type()
99 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()
116 reg_type |= mask; in ftgpio_gpio_set_irq_type()
124 writel(reg_type, g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type()
Dgpio-intel-mid.c77 enum GPIO_REG reg_type) in gpio_reg() argument
83 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg()
87 enum GPIO_REG reg_type) in gpio_reg_2bit() argument
93 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg_2bit()
Dgpio-crystalcove.c89 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() argument
106 if (reg_type == CTRL_IN) { in to_reg()
Dgpio-wcove.c108 static inline unsigned int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() argument
115 if (reg_type == CTRL_IN) in to_reg()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_hal.c968 enum icp_qat_uof_regtype reg_type, in qat_hal_rd_rel_reg() argument
977 reg_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_rd_rel_reg()
982 switch (reg_type) { in qat_hal_rd_rel_reg()
1029 enum icp_qat_uof_regtype reg_type, in qat_hal_wr_rel_reg() argument
1042 dest_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_wr_rel_reg()
1054 switch (reg_type) { in qat_hal_wr_rel_reg()
1183 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_rd_xfer() argument
1206 switch (reg_type) { in qat_hal_put_rel_rd_xfer()
1224 enum icp_qat_uof_regtype reg_type, in qat_hal_put_rel_wr_xfer() argument
1254 xfr_addr = qat_hal_get_reg_addr(reg_type, reg_num); in qat_hal_put_rel_wr_xfer()
[all …]
Dadf_common_drv.h211 enum icp_qat_uof_regtype reg_type,
215 enum icp_qat_uof_regtype reg_type,
219 enum icp_qat_uof_regtype reg_type,
Dicp_qat_uclo.h300 char reg_type; member
332 unsigned char reg_type; member
Dqat_uclo.c787 enum icp_qat_uof_regtype reg_type, in qat_uclo_init_reg() argument
790 switch (reg_type) { in qat_uclo_init_reg()
797 return qat_hal_init_gpr(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
809 return qat_hal_init_rd_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
817 return qat_hal_init_wr_xfer(handle, ae, ctx_mask, reg_type, in qat_uclo_init_reg()
822 pr_err("QAT: UOF uses not supported reg type 0x%x\n", reg_type); in qat_uclo_init_reg()
851 init_regsym->reg_type, in qat_uclo_init_reg_sym()
866 init_regsym->reg_type, in qat_uclo_init_reg_sym()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Drepository.c263 enum ps3_reg_type *reg_type) in ps3_repository_read_dev_reg_type() argument
274 *reg_type = v1; in ps3_repository_read_dev_reg_type()
291 enum ps3_reg_type *reg_type, u64 *bus_addr, u64 *len) in ps3_repository_read_dev_reg() argument
294 reg_index, reg_type); in ps3_repository_read_dev_reg()
533 enum ps3_reg_type reg_type, u64 *bus_addr, u64 *len) in ps3_repository_find_reg() argument
538 pr_devel("%s:%d: find reg_type %u\n", __func__, __LINE__, reg_type); in ps3_repository_find_reg()
556 if (t == reg_type) { in ps3_repository_find_reg()
567 __func__, __LINE__, reg_type, res_index); in ps3_repository_find_reg()
1222 enum ps3_reg_type reg_type; in ps3_repository_dump_resource_info() local
1227 repo->dev_index, res_index, &reg_type, &bus_addr, &len); in ps3_repository_dump_resource_info()
[all …]
Dplatform.h127 enum ps3_reg_type *reg_type);
133 enum ps3_reg_type *reg_type, u64 *bus_addr, u64 *len);
156 enum ps3_reg_type reg_type, u64 *bus_addr, u64 *len);
/Linux-v4.19/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 …]
/Linux-v4.19/include/uapi/rdma/
Dnes-abi.h95 __u32 reg_type; /* indicates if id is memory, QP or CQ */ member
Di40iw-abi.h84 __u16 reg_type; /* Memory, QP or CQ */ member
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_main.c287 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
293 arr[i].reg_type = EHEA_BCMC_BROADCAST | in ehea_update_bcmc_registrations()
305 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
308 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
313 arr[i].reg_type = EHEA_BCMC_MULTICAST | in ehea_update_bcmc_registrations()
316 arr[i].reg_type |= EHEA_BCMC_SCOPE_ALL; in ehea_update_bcmc_registrations()
1702 u8 reg_type; in ehea_broadcast_reg_helper() local
1705 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_UNTAGGED; in ehea_broadcast_reg_helper()
1708 reg_type, port->mac_addr, 0, hcallid); in ehea_broadcast_reg_helper()
1717 reg_type = EHEA_BCMC_BROADCAST | EHEA_BCMC_VLANID_ALL; in ehea_broadcast_reg_helper()
[all …]
Dehea_phyp.c588 const u8 reg_type, const u64 mc_mac_addr, in ehea_h_reg_dereg_bcmc() argument
595 r6_reg_type = EHEA_BMASK_SET(H_REGBCMC_REGTYPE, reg_type); in ehea_h_reg_dereg_bcmc()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_host_smp.c117 u8 reg_type, u8 reg_index, u8 reg_count, in sas_host_smp_write_gpio() argument
128 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, in sas_host_smp_write_gpio()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Ddebugfs.c431 u32 reg_type = 0, reg_offset = 0, reg_value = UINT_MAX; in mwifiex_regrdwr_write() local
437 sscanf(buf, "%u %x %x", &reg_type, &reg_offset, &reg_value); in mwifiex_regrdwr_write()
439 if (reg_type == 0 || reg_offset == 0) { in mwifiex_regrdwr_write()
443 saved_reg_type = reg_type; in mwifiex_regrdwr_write()
Dsta_ioctl.c1242 mwifiex_reg_write(struct mwifiex_private *priv, u32 reg_type, in mwifiex_reg_write() argument
1247 reg_rw.type = reg_type; in mwifiex_reg_write()
1261 mwifiex_reg_read(struct mwifiex_private *priv, u32 reg_type, in mwifiex_reg_read() argument
1267 reg_rw.type = reg_type; in mwifiex_reg_read()
/Linux-v4.19/drivers/scsi/mvsas/
Dmv_sas.h176 int (*gpio_write)(struct mvs_prv_info *mvs_prv, u8 reg_type,
481 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
/Linux-v4.19/arch/powerpc/include/asm/
Dmpic.h300 enum mpic_reg_type reg_type; member
/Linux-v4.19/drivers/pinctrl/meson/
Dpinctrl-meson.c97 enum meson_reg_type reg_type, in meson_calc_reg_and_bit() argument
100 struct meson_reg_desc *desc = &bank->regs[reg_type]; in meson_calc_reg_and_bit()
/Linux-v4.19/arch/arm/probes/kprobes/
Dtest-core.c783 enum decode_reg_type reg_type = (regs >> i) & 0xf; in coverage_add_registers() local
787 if (!reg_type) in coverage_add_registers()
798 switch (reg_type) { in coverage_add_registers()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.h741 void (*btc_set_bt_reg)(void *btc_context, u8 reg_type, u32 offset,
743 u32 (*btc_get_bt_reg)(void *btc_context, u8 reg_type, u32 offset);

12