Home
last modified time | relevance | path

Searched refs:s_msg (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/i2c/
Di2c-algo-ite.c705 struct i2c_iic_msg s_msg; in algo_control() local
710 if(copy_from_user(&s_msg, (struct i2c_iic_msg *)arg, in algo_control()
713 buf = kmalloc(s_msg.len, GFP_KERNEL); in algo_control()
721 iic_outw(adap, ITE_I2CSAR,s_msg.addr<<1); in algo_control()
722 iic_outw(adap, ITE_I2CSSAR,s_msg.waddr & 0xff); in algo_control()
724 ret = iic_readbytes(adapter, buf, s_msg.len, 1); in algo_control()
726 if(copy_to_user( s_msg.buf, buf, s_msg.len) ) in algo_control()