Searched refs:sr_write_reg (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/soc/ti/ |
H A D | smartreflex.c | 106 sr_write_reg(sr_info, ERRCONFIG_V1, status); in sr_interrupt() 113 sr_write_reg(sr_info, IRQSTATUS, status); in sr_interrupt() 280 sr_write_reg(sr, IRQENABLE_CLR, (IRQENABLE_MCUACCUMINT | in sr_v2_disable() 283 sr_write_reg(sr, IRQSTATUS, (IRQSTATUS_MCUACCUMINT | in sr_v2_disable() 301 sr_write_reg(sr, IRQSTATUS, IRQSTATUS_MCUDISABLEACKINT); in sr_v2_disable() 382 sr_write_reg(sr, SRCONFIG, sr_config); in sr_configure_errgen() 499 sr_write_reg(sr, SRCONFIG, sr_config); in sr_configure_minmax() 502 sr_write_reg(sr, AVGWEIGHT, sr_avgwt); in sr_configure_minmax() 518 sr_write_reg(sr, IRQSTATUS, in sr_configure_minmax() 521 sr_write_reg(sr, IRQENABLE_SET, in sr_configure_minmax() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | sr9700.c | 53 static int sr_write_reg(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg() function 102 sr_write_reg(dev, SR_EPAR, phy ? (reg | EPAR_PHY_ADR) : reg); in sr_share_read_word() 103 sr_write_reg(dev, SR_EPCR, phy ? (EPCR_EPOS | EPCR_ERPRR) : EPCR_ERPRR); in sr_share_read_word() 109 sr_write_reg(dev, SR_EPCR, 0x0); in sr_share_read_word() 131 sr_write_reg(dev, SR_EPAR, phy ? (reg | EPAR_PHY_ADR) : reg); in sr_share_write_word() 132 sr_write_reg(dev, SR_EPCR, phy ? (EPCR_WEP | EPCR_EPOS | EPCR_ERPRW) : in sr_share_write_word() 139 sr_write_reg(dev, SR_EPCR, 0x0); in sr_share_write_word() 353 sr_write_reg(dev, SR_NCR, NCR_RST); in sr9700_bind() 369 sr_write_reg(dev, SR_PRR, PRR_PHY_RST); in sr9700_bind() 372 sr_write_reg(dev, SR_PRR, 0); in sr9700_bind()
|