Searched refs:i2cw (Results 1 – 1 of 1) sorted by relevance
186 i2c_transfer_alloc_t *i2cw; in i2c_transfer_alloc() local206 if ((i2cw = kmem_zalloc(size, sleep)) == NULL) { in i2c_transfer_alloc()211 i2cw->i2cw_size = size; in i2c_transfer_alloc()212 i2cw->i2cw_i2ct.i2c_wlen = wlen; in i2c_transfer_alloc()213 i2cw->i2cw_i2ct.i2c_rlen = rlen; in i2c_transfer_alloc()215 i2cw->i2cw_i2ct.i2c_wbuf = (uchar_t *)i2cw + in i2c_transfer_alloc()219 i2cw->i2cw_i2ct.i2c_rbuf = (uchar_t *)i2cw + in i2c_transfer_alloc()222 *i2c = (i2c_transfer_t *)i2cw; in i2c_transfer_alloc()238 i2c_transfer_alloc_t *i2cw = (i2c_transfer_alloc_t *)i2c_tran; in i2c_transfer_free() local240 kmem_free(i2cw, i2cw->i2cw_size); in i2c_transfer_free()