Lines Matching refs:i2cctl
562 s32 i2cctl = rd32(E1000_I2CPARAMS); in igb_get_i2c_data() local
564 return !!(i2cctl & E1000_I2C_DATA_IN); in igb_get_i2c_data()
578 s32 i2cctl = rd32(E1000_I2CPARAMS); in igb_set_i2c_data() local
581 i2cctl |= E1000_I2C_DATA_OUT; in igb_set_i2c_data()
583 i2cctl &= ~E1000_I2C_DATA_OUT; in igb_set_i2c_data()
585 i2cctl &= ~E1000_I2C_DATA_OE_N; in igb_set_i2c_data()
586 i2cctl |= E1000_I2C_CLK_OE_N; in igb_set_i2c_data()
587 wr32(E1000_I2CPARAMS, i2cctl); in igb_set_i2c_data()
603 s32 i2cctl = rd32(E1000_I2CPARAMS); in igb_set_i2c_clk() local
606 i2cctl |= E1000_I2C_CLK_OUT; in igb_set_i2c_clk()
607 i2cctl &= ~E1000_I2C_CLK_OE_N; in igb_set_i2c_clk()
609 i2cctl &= ~E1000_I2C_CLK_OUT; in igb_set_i2c_clk()
610 i2cctl &= ~E1000_I2C_CLK_OE_N; in igb_set_i2c_clk()
612 wr32(E1000_I2CPARAMS, i2cctl); in igb_set_i2c_clk()
626 s32 i2cctl = rd32(E1000_I2CPARAMS); in igb_get_i2c_clk() local
628 return !!(i2cctl & E1000_I2C_CLK_IN); in igb_get_i2c_clk()