Lines Matching refs:wlen
165 u16 wlen, in pvr2_i2c_basic_op() argument
170 if (!wdata) wlen = 0; in pvr2_i2c_basic_op()
171 if (rlen || !wlen) { in pvr2_i2c_basic_op()
172 return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); in pvr2_i2c_basic_op()
174 return pvr2_i2c_write(hdw,i2c_addr,wdata,wlen); in pvr2_i2c_basic_op()
186 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_24xxx_ir() argument
191 if (!(rlen || wlen)) { in i2c_24xxx_ir()
197 if ((wlen != 0) || (rlen == 0)) return -EIO; in i2c_24xxx_ir()
256 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_wm8775() argument
258 if (!(rlen || wlen)) { in i2c_hack_wm8775()
262 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); in i2c_hack_wm8775()
269 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_black_hole() argument
282 u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) in i2c_hack_cx25840() argument
289 if (!(rlen || wlen)) { in i2c_hack_cx25840()
297 return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); in i2c_hack_cx25840()
308 if (wlen == 0) { in i2c_hack_cx25840()
314 } else if (wlen == 2) { in i2c_hack_cx25840()