Lines Matching refs:ioexp_client
257 struct i2c_client *ioexp_client = falcon_board(efx)->ioexp_client; in sfe4001_poweroff() local
261 i2c_smbus_write_byte_data(ioexp_client, P0_OUT, 0xff); in sfe4001_poweroff()
262 i2c_smbus_write_byte_data(ioexp_client, P1_CONFIG, 0xff); in sfe4001_poweroff()
263 i2c_smbus_write_byte_data(ioexp_client, P0_CONFIG, 0xff); in sfe4001_poweroff()
271 struct i2c_client *ioexp_client = falcon_board(efx)->ioexp_client; in sfe4001_poweron() local
283 rc = i2c_smbus_write_byte_data(ioexp_client, P0_CONFIG, 0x00); in sfe4001_poweron()
286 rc = i2c_smbus_write_byte_data(ioexp_client, P1_CONFIG, in sfe4001_poweron()
294 rc = i2c_smbus_read_byte_data(ioexp_client, P0_OUT); in sfe4001_poweron()
302 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron()
316 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron()
323 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron()
342 rc = i2c_smbus_read_byte_data(ioexp_client, P1_IN); in sfe4001_poweron()
409 i2c_unregister_device(board->ioexp_client); in sfe4001_fini()
430 status = i2c_smbus_read_byte_data(falcon_board(efx)->ioexp_client, P1_IN); in sfe4001_check_hw()
471 board->ioexp_client = i2c_new_dummy_device(&board->i2c_adap, PCA9539); in sfe4001_init()
472 if (IS_ERR(board->ioexp_client)) { in sfe4001_init()
473 rc = PTR_ERR(board->ioexp_client); in sfe4001_init()
496 i2c_unregister_device(board->ioexp_client); in sfe4001_init()