Lines Matching refs:dev_addr
127 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd() argument
133 (dev_addr << 8) | (1 << 8) | word_addr); in ael_i2c_rd()
151 phy->addr, dev_addr, word_addr); in ael_i2c_rd()
158 static int ael_i2c_wr(struct cphy *phy, int dev_addr, int word_addr, int data) in ael_i2c_wr() argument
168 (dev_addr << 8) | word_addr); in ael_i2c_wr()
181 phy->addr, dev_addr, word_addr, data); in ael_i2c_wr()
198 int v, dev_addr; in ael_laser_down() local
214 dev_addr = SFF_DEV_ADDR; in ael_laser_down()
216 dev_addr = MODULE_DEV_ADDR; in ael_laser_down()
220 v = ael_i2c_rd(phy, dev_addr, 110); in ael_laser_down()
229 v = ael_i2c_wr(phy, dev_addr, 110, v); in ael_laser_down()