/drivers/pinctrl/renesas/ |
D | gpio.c | 26 u8 dreg; member 51 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg() 56 const struct pinmux_data_reg *dreg) in gpio_read_data_reg() argument 58 phys_addr_t address = dreg->reg; in gpio_read_data_reg() 61 return sh_pfc_read_raw_reg(mem, dreg->reg_width); in gpio_read_data_reg() 65 const struct pinmux_data_reg *dreg, u32 value) in gpio_write_data_reg() argument 67 phys_addr_t address = dreg->reg; in gpio_write_data_reg() 70 sh_pfc_write_raw_reg(mem, dreg->reg_width, value); in gpio_write_data_reg() 78 const struct pinmux_data_reg *dreg; in gpio_setup_data_reg() local 82 for (i = 0, dreg = pfc->info->data_regs; dreg->reg_width; ++i, ++dreg) { in gpio_setup_data_reg() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | hermes.c | 428 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_bap_pread() local 439 hermes_read_words(hw, dreg, buf, len / 2); in hermes_bap_pread() 456 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_bap_pwrite() local 467 hermes_write_bytes(hw, dreg, buf, len); in hermes_bap_pwrite() 485 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_read_ltv() local 500 rlength = hermes_read_reg(hw, dreg); in hermes_read_ltv() 505 rtype = hermes_read_reg(hw, dreg); in hermes_read_ltv() 521 hermes_read_words(hw, dreg, buf, nwords); in hermes_read_ltv() 529 int dreg = bap ? HERMES_DATA1 : HERMES_DATA0; in hermes_write_ltv() local 540 hermes_write_reg(hw, dreg, length); in hermes_write_ltv() [all …]
|
/drivers/regulator/ |
D | hi655x-regulator.c | 107 #define HI655X_LDO(_ID, vreg, vmask, ereg, dreg, \ argument 124 .disable_reg = HI655X_BUS_ADDR(dreg), \ 128 #define HI655X_LDO_LINEAR(_ID, vreg, vmask, ereg, dreg, \ argument 146 .disable_reg = HI655X_BUS_ADDR(dreg), \
|
/drivers/net/can/sja1000/ |
D | sja1000.c | 289 uint8_t dreg; in sja1000_start_xmit() local 306 dreg = SJA1000_EFF_BUF; in sja1000_start_xmit() 313 dreg = SJA1000_SFF_BUF; in sja1000_start_xmit() 320 priv->write_reg(priv, dreg++, cf->data[i]); in sja1000_start_xmit() 344 uint8_t dreg; in sja1000_rx() local 357 dreg = SJA1000_EFF_BUF; in sja1000_rx() 365 dreg = SJA1000_SFF_BUF; in sja1000_rx() 375 cf->data[i] = priv->read_reg(priv, dreg++); in sja1000_rx()
|
/drivers/net/can/ |
D | sun4i_can.c | 417 u32 dreg, msg_flag_n; in sun4ican_start_xmit() local 435 dreg = SUN4I_REG_BUF5_ADDR; in sun4ican_start_xmit() 441 dreg = SUN4I_REG_BUF3_ADDR; in sun4ican_start_xmit() 447 writel(cf->data[i], priv->base + (dreg + i * 4)); in sun4ican_start_xmit() 468 u32 dreg; in sun4i_can_rx() local 480 dreg = SUN4I_REG_BUF5_ADDR; in sun4i_can_rx() 487 dreg = SUN4I_REG_BUF3_ADDR; in sun4i_can_rx() 497 cf->data[i] = readl(priv->base + dreg + i * 4); in sun4i_can_rx()
|
/drivers/net/can/c_can/ |
D | c_can.c | 328 u32 data = 0, dreg = C_CAN_IFACE(DATA1_REG, iface); in c_can_setup_tx_object() local 330 for (i = 0; i < frame->can_dlc; i += 4, dreg += 2) { in c_can_setup_tx_object() 335 priv->write_reg32(priv, dreg, data); in c_can_setup_tx_object() 400 int i, dreg = C_CAN_IFACE(DATA1_REG, iface); in c_can_read_msg_object() local 403 for (i = 0; i < frame->can_dlc; i += 4, dreg += 2) { in c_can_read_msg_object() 404 data = priv->read_reg32(priv, dreg); in c_can_read_msg_object() 411 for (i = 0; i < frame->can_dlc; i += 2, dreg++) { in c_can_read_msg_object() 412 data = priv->read_reg(priv, dreg); in c_can_read_msg_object()
|
/drivers/usb/gadget/udc/ |
D | at91_udc.c | 313 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in read_fifo() local 338 __raw_readsb(dreg, buf, count); in read_fifo() 389 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in write_fifo() local 440 __raw_writesb(dreg, buf, count); in write_fifo() 1048 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in handle_setup() local 1058 pkt.raw[i++] = __raw_readb(dreg); in handle_setup() 1129 __raw_writeb(tmp, dreg); in handle_setup() 1130 __raw_writeb(0, dreg); in handle_setup() 1157 __raw_writeb(0, dreg); in handle_setup() 1158 __raw_writeb(0, dreg); in handle_setup() [all …]
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | verifier.c | 530 const struct bpf_reg_state *dreg = cur_regs(env) + meta->insn.dst_reg; in nfp_bpf_check_xadd() local 532 if (dreg->type != PTR_TO_MAP_VALUE) { in nfp_bpf_check_xadd() 534 dreg->type); in nfp_bpf_check_xadd() 556 const struct bpf_reg_state *dreg = in nfp_bpf_check_alu() local 561 meta->umin_dst = min(meta->umin_dst, dreg->umin_value); in nfp_bpf_check_alu() 562 meta->umax_dst = max(meta->umax_dst, dreg->umax_value); in nfp_bpf_check_alu()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 924 u32 dreg = nvbios_rd32(bios, init->offset + 5); in init_idx_addr_latched() local 929 trace("INDEX_ADDRESS_LATCHED\tR[0x%06x] : R[0x%06x]\n", creg, dreg); in init_idx_addr_latched() 940 init_wr32(init, dreg, idata); in init_idx_addr_latched() 1422 u32 dreg = nvbios_rd32(bios, init->offset + 14); in init_copy_nv_reg() local 1428 dreg, dmask, sreg, (shift & 0x80) ? "<<" : ">>", in init_copy_nv_reg() 1433 init_mask(init, dreg, ~dmask, (data & smask) ^ sxor); in init_copy_nv_reg() 2022 u32 dreg = nvbios_rd32(bios, init->offset + 5); in init_copy_zm_reg() local 2024 trace("COPY_ZM_REG\tR[0x%06x] = R[0x%06x]\n", dreg, sreg); in init_copy_zm_reg() 2027 init_wr32(init, dreg, init_rd32(init, sreg)); in init_copy_zm_reg()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 325 u64 cfg, sreg, dreg; in npc_copy_mcam_entry() local 334 dreg = NPC_AF_MCAMEX_BANKX_CAMX_INTF(dest, dbank + bank, 0); in npc_copy_mcam_entry() 337 rvu_write64(rvu, blkaddr, dreg + (i * 8), cfg); in npc_copy_mcam_entry()
|