Searched refs:sr_write_reg (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/soc/ti/ |
D | smartreflex.c | 39 static inline void sr_write_reg(struct omap_sr *sr, unsigned offset, u32 value) in sr_write_reg() function 106 sr_write_reg(sr_info, ERRCONFIG_V1, status); in sr_interrupt() 113 sr_write_reg(sr_info, IRQSTATUS, status); in sr_interrupt() 278 sr_write_reg(sr, IRQENABLE_SET, IRQENABLE_MCUDISABLEACKINT); in sr_v2_disable() 294 sr_write_reg(sr, IRQENABLE_CLR, (IRQENABLE_MCUACCUMINT | in sr_v2_disable() 297 sr_write_reg(sr, IRQSTATUS, (IRQSTATUS_MCUACCUMINT | in sr_v2_disable() 314 sr_write_reg(sr, IRQENABLE_CLR, IRQENABLE_MCUDISABLEACKINT); in sr_v2_disable() 315 sr_write_reg(sr, IRQSTATUS, IRQSTATUS_MCUDISABLEACKINT); in sr_v2_disable() 396 sr_write_reg(sr, SRCONFIG, sr_config); in sr_configure_errgen() 513 sr_write_reg(sr, SRCONFIG, sr_config); in sr_configure_minmax() [all …]
|
/Linux-v5.10/drivers/net/usb/ |
D | sr9700.c | 53 static int sr_write_reg(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg() function 101 sr_write_reg(dev, SR_EPAR, phy ? (reg | EPAR_PHY_ADR) : reg); in sr_share_read_word() 102 sr_write_reg(dev, SR_EPCR, phy ? (EPCR_EPOS | EPCR_ERPRR) : EPCR_ERPRR); in sr_share_read_word() 108 sr_write_reg(dev, SR_EPCR, 0x0); in sr_share_read_word() 130 sr_write_reg(dev, SR_EPAR, phy ? (reg | EPAR_PHY_ADR) : reg); in sr_share_write_word() 131 sr_write_reg(dev, SR_EPCR, phy ? (EPCR_WEP | EPCR_EPOS | EPCR_ERPRW) : in sr_share_write_word() 138 sr_write_reg(dev, SR_EPCR, 0x0); in sr_share_write_word() 344 sr_write_reg(dev, SR_NCR, NCR_RST); in sr9700_bind() 359 sr_write_reg(dev, SR_PRR, PRR_PHY_RST); in sr9700_bind() 362 sr_write_reg(dev, SR_PRR, 0); in sr9700_bind()
|