Home
last modified time | relevance | path

Searched refs:creg (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/clk/nxp/ !
Dclk-lpc18xx-creg.c47 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_prepare() local
50 ret = regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_32k_prepare()
65 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_unprepare() local
67 regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_32k_unprepare()
74 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_32k_is_prepared() local
77 regmap_read(creg->reg, LPC18XX_CREG_CREG0, &reg); in clk_creg_32k_is_prepared()
91 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_enable() local
93 return regmap_update_bits(creg->reg, LPC18XX_CREG_CREG0, in clk_creg_enable()
94 creg->en_mask, creg->en_mask); in clk_creg_enable()
99 struct clk_creg_data *creg = to_clk_creg(hw); in clk_creg_disable() local
[all …]
DMakefile4 obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-creg.o
/linux-6.1.9/drivers/rtc/ !
Drtc-rk808.c56 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 …]
/linux-6.1.9/drivers/usb/gadget/udc/ !
Dat91_udc.c118 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 …]
Dat91_udc.h94 void __iomem *creg; member
/linux-6.1.9/Documentation/devicetree/bindings/clock/ !
Dlpc1850-creg-clk.txt17 Should be "nxp,lpc1850-creg-clk"
23 The creg-clk node must be a child of the creg syscon node.
33 creg: syscon@40043000 {
34 compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
38 compatible = "nxp,lpc1850-creg-clk";
/linux-6.1.9/arch/mips/alchemy/common/ !
Dusb.c425 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument
428 unsigned long r = __raw_readl(base + creg); in __au1xx0_ohci_control()
438 __raw_writel(r | USBHEN_CE, base + creg); in __au1xx0_ohci_control()
441 __raw_writel(r | USBHEN_CE | USBHEN_E, base + creg); in __au1xx0_ohci_control()
446 while (__raw_readl(base + creg), in __au1xx0_ohci_control()
447 !(__raw_readl(base + creg) & USBHEN_RD)) in __au1xx0_ohci_control()
450 __raw_writel(r & ~(USBHEN_CE | USBHEN_E), base + creg); in __au1xx0_ohci_control()
459 int creg) in au1000_usb_control() argument
465 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
512 static void au1000_usb_pm(unsigned long br, int creg, int susp) in au1000_usb_pm() argument
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/gpio/ !
Dsnps,creg-gpio.txt4 - compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x".
16 compatible = "snps,creg-gpio-hsdk";
/linux-6.1.9/Documentation/devicetree/bindings/phy/ !
Dphy-lpc18xx-usb-otg.txt14 The phy node must be a child of the creg syscon node.
17 creg: syscon@40043000 {
18 compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
/linux-6.1.9/drivers/pci/hotplug/ !
Dshpchp_hpc.c174 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()
Dshpchp.h105 void __iomem *creg; member
/linux-6.1.9/drivers/media/pci/ddbridge/ !
Dddbridge-ci.c176 ci->port->creg = (ci->port->creg & ~mask) | data; in write_creg()
177 return i2c_write_reg(i2c, adr, 0x02, ci->port->creg); in write_creg()
300 ci->port->creg = 0; in ci_xo2_attach()
Dddbridge.h263 u8 creg; member
/linux-6.1.9/arch/arc/plat-axs10x/ !
Daxs10x.c74 static void __init axs10x_print_board_ver(unsigned int creg, const char *str) in axs10x_print_board_ver() argument
87 board.val = ioread32((void __iomem *)creg); in axs10x_print_board_ver()
/linux-6.1.9/drivers/net/ethernet/sun/ !
Dsunbmac.c623 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()
1133 bp->creg = of_ioremap(&op->resource[0], 0, in bigmac_ether_init()
1135 if (!bp->creg) { in bigmac_ether_init()
1206 if (bp->creg) in bigmac_ether_init()
1207 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_ether_init()
1249 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_sbus_remove()
Dsunbmac.h291 void __iomem *creg; /* QEC BigMAC Channel Registers */ member
/linux-6.1.9/arch/arm/boot/dts/ !
Dlpc18xx.dtsi198 creg: syscon@40043000 { label
199 compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
205 compatible = "nxp,lpc1850-creg-clk";
/linux-6.1.9/drivers/infiniband/hw/qib/ !
Dqib_iba6120.c2280 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()
Dqib_iba7220.c2906 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()
/linux-6.1.9/arch/arc/boot/dts/ !
Daxc001.dtsi44 * this GPIO block ORs all interrupts on CPU card (creg,..)
Daxc003_idu.dtsi59 * this GPIO block ORs all interrupts on CPU card (creg,..)
Daxc003.dtsi52 * this GPIO block ORs all interrupts on CPU card (creg,..)
Dhsdk.dts295 compatible = "snps,creg-gpio-hsdk";
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ !
Dpcie.c2840 const struct mwifiex_pcie_card_reg *creg = card->pcie.reg; in mwifiex_pcie_fw_dump() local
2869 reg = creg->fw_dump_start; in mwifiex_pcie_fw_dump()
2888 reg = creg->fw_dump_start; in mwifiex_pcie_fw_dump()
2900 ret = mwifiex_write_reg(adapter, creg->fw_dump_ctrl, in mwifiex_pcie_fw_dump()
2901 creg->fw_dump_read_done); in mwifiex_pcie_fw_dump()
2930 reg_start = creg->fw_dump_start; in mwifiex_pcie_fw_dump()
2931 reg_end = creg->fw_dump_end; in mwifiex_pcie_fw_dump()
/linux-6.1.9/drivers/regulator/ !
Dda9063-regulator.c109 creg, cmask) \ argument
116 .desc.csel_reg = (creg), \

12