/drivers/clk/nxp/ |
D | clk-lpc18xx-creg.c | 50 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_prepare() local 53 ret = regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_32k_prepare() 68 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_unprepare() local 70 regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_32k_unprepare() 77 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_is_prepared() local 80 regmap_read(creg->reg, LPC18XX_CREG_CREG0, ®); in clk_creg_32k_is_prepared() 94 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_enable() local 96 return regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_enable() 97 creg->en_mask, creg->en_mask); in clk_creg_enable() 102 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_disable() local [all …]
|
D | Makefile | 4 obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-creg.o
|
/drivers/rtc/ |
D | rtc-rk808.c | 56 struct rk_rtc_compat_reg *creg; member 105 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime() 119 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime() 127 ret = regmap_bulk_read(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_readtime() 166 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time() 174 ret = regmap_bulk_write(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_set_time() 181 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time() 200 rk808_rtc->creg->alarm_seconds_reg, in rk808_rtc_readalarm() 215 ret = regmap_read(rk808->regmap, rk808_rtc->creg->int_reg, &int_reg); in rk808_rtc_readalarm() 234 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->int_reg, in rk808_rtc_stop_alarm() [all …]
|
/drivers/usb/gadget/udc/ |
D | at91_udc.c | 118 csr = __raw_readl(ep->creg); in proc_ep_show() 312 u32 __iomem *creg = ep->creg; in read_fifo() local 313 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in read_fifo() 326 csr = __raw_readl(creg); in read_fifo() 352 __raw_writel(csr, creg); in read_fifo() 374 csr = __raw_readl(creg); in read_fifo() 387 u32 __iomem *creg = ep->creg; in write_fifo() local 388 u32 csr = __raw_readl(creg); in write_fifo() 389 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in write_fifo() 409 __raw_writel(csr, creg); in write_fifo() [all …]
|
D | at91_udc.h | 94 void __iomem *creg; member
|
/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 174 return readb(ctrl->creg + reg); in shpc_readb() 179 return readw(ctrl->creg + reg); in shpc_readw() 184 writew(val, ctrl->creg + reg); in shpc_writew() 189 return readl(ctrl->creg + reg); in shpc_readl() 194 writel(val, ctrl->creg + reg); in shpc_writel() 591 iounmap(ctrl->creg); in hpc_release_ctlr() 983 ctrl->creg = ioremap(ctrl->mmio_base, ctrl->mmio_size); in shpc_init() 984 if (!ctrl->creg) { in shpc_init() 991 ctrl_dbg(ctrl, "ctrl->creg %p\n", ctrl->creg); in shpc_init() 1088 iounmap(ctrl->creg); in shpc_init()
|
D | shpchp.h | 105 void __iomem *creg; member
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-ci.c | 185 ci->port->creg = (ci->port->creg & ~mask) | data; in write_creg() 186 return i2c_write_reg(i2c, adr, 0x02, ci->port->creg); in write_creg() 309 ci->port->creg = 0; in ci_xo2_attach()
|
D | ddbridge.h | 272 u8 creg; member
|
/drivers/net/ethernet/sun/ |
D | sunbmac.c | 623 void __iomem *cregs = bp->creg; in bigmac_init_hw() 896 bmac_status = sbus_readl(bp->creg + CREG_STAT); in bigmac_interrupt() 979 sbus_writel(CREG_CTRL_TWAKEUP, bp->creg + CREG_CTRL); in bigmac_start_xmit() 1135 bp->creg = of_ioremap(&op->resource[0], 0, in bigmac_ether_init() 1137 if (!bp->creg) { in bigmac_ether_init() 1208 if (bp->creg) in bigmac_ether_init() 1209 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_ether_init() 1251 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_sbus_remove()
|
D | sunbmac.h | 291 void __iomem *creg; /* QEC BigMAC Channel Registers */ member
|
/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 2280 u16 creg; in qib_portcntr_6120() local 2324 creg = xlator[reg]; in qib_portcntr_6120() 2339 if (creg == 0xffff) in qib_portcntr_6120() 2346 if (creg == cr_wordsend || creg == cr_wordrcv || in qib_portcntr_6120() 2347 creg == cr_pktsend || creg == cr_pktrcv) in qib_portcntr_6120() 2348 ret = read_6120_creg(dd, creg); in qib_portcntr_6120() 2350 ret = read_6120_creg32(dd, creg); in qib_portcntr_6120() 2351 if (creg == cr_ibsymbolerr) { in qib_portcntr_6120() 2355 } else if (creg == cr_iblinkerrrecov) { in qib_portcntr_6120()
|
D | qib_iba7220.c | 2906 u16 creg; in qib_portcntr_7220() local 2950 creg = xlator[reg]; in qib_portcntr_7220() 2959 if (creg == 0xffff) in qib_portcntr_7220() 2966 if ((creg == cr_wordsend || creg == cr_wordrcv || in qib_portcntr_7220() 2967 creg == cr_pktsend || creg == cr_pktrcv)) in qib_portcntr_7220() 2968 ret = read_7220_creg(dd, creg); in qib_portcntr_7220() 2970 ret = read_7220_creg32(dd, creg); in qib_portcntr_7220() 2971 if (creg == cr_ibsymbolerr) { in qib_portcntr_7220() 2975 } else if (creg == cr_iblinkerrrecov) { in qib_portcntr_7220()
|
D | qib_iba7322.c | 4711 u16 creg; in qib_portcntr_7322() local 4761 creg = xlator[reg] & _PORT_CNTR_IDXMASK; in qib_portcntr_7322() 4786 ret = qib_read_kreg_port(ppd, creg); in qib_portcntr_7322() 4795 ret = read_7322_creg_port(ppd, creg); in qib_portcntr_7322() 4797 ret = read_7322_creg32_port(ppd, creg); in qib_portcntr_7322() 4798 if (creg == crp_ibsymbolerr) { in qib_portcntr_7322() 4802 } else if (creg == crp_iblinkerrrecov) { in qib_portcntr_7322() 4806 } else if (creg == crp_errlink) in qib_portcntr_7322() 4808 else if (creg == crp_iblinkdown) in qib_portcntr_7322()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | pcie.c | 2861 const struct mwifiex_pcie_card_reg *creg = card->pcie.reg; in mwifiex_pcie_fw_dump() local 2890 reg = creg->fw_dump_start; in mwifiex_pcie_fw_dump() 2909 reg = creg->fw_dump_start; in mwifiex_pcie_fw_dump() 2921 ret = mwifiex_write_reg(adapter, creg->fw_dump_ctrl, in mwifiex_pcie_fw_dump() 2922 creg->fw_dump_read_done); in mwifiex_pcie_fw_dump() 2951 reg_start = creg->fw_dump_start; in mwifiex_pcie_fw_dump() 2952 reg_end = creg->fw_dump_end; in mwifiex_pcie_fw_dump()
|
/drivers/regulator/ |
D | da9063-regulator.c | 109 creg, cmask) \ argument 116 .desc.csel_reg = (creg), \
|
/drivers/gpio/ |
D | Makefile | 49 obj-$(CONFIG_GPIO_SNPS_CREG) += gpio-creg-snps.o
|
/drivers/isdn/hardware/mISDN/ |
D | mISDNisar.c | 56 send_mbox(struct isar_hw *isar, u8 his, u8 creg, u8 len, u8 *msg) in send_mbox() argument 60 pr_debug("send_mbox(%02x,%02x,%d)\n", his, creg, len); in send_mbox() 61 isar->write_reg(isar->hw, ISAR_CTRL_H, creg); in send_mbox()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 923 u32 creg = nvbios_rd32(bios, init->offset + 1); 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() 941 init_mask(init, creg, ~mask, data | iaddr); in init_idx_addr_latched()
|