Lines Matching refs:bytelen
1120 static int aux_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1122 static int fast_bap_read(struct airo_info*, __le16 *pu16Dst, int bytelen,
1124 static int bap_write(struct airo_info*, const __le16 *pu16Src, int bytelen,
1206 int (*bap_read)(struct airo_info*, __le16 *pu16Dst, int bytelen,
1258 static inline int bap_read(struct airo_info *ai, __le16 *pu16Dst, int bytelen, in bap_read() argument
1261 return ai->bap_read(ai, pu16Dst, bytelen, whichbap); in bap_read()
4080 int bytelen, int whichbap) in aux_bap_read() argument
4094 words = (bytelen+1)>>1; in aux_bap_read()
4117 int bytelen, int whichbap) in fast_bap_read() argument
4119 bytelen = (bytelen + 1) & (~1); // round up to even value in fast_bap_read()
4121 insw(ai->dev->base_addr+DATA0+whichbap, pu16Dst, bytelen>>1); in fast_bap_read()
4123 insb(ai->dev->base_addr+DATA0+whichbap, pu16Dst, bytelen); in fast_bap_read()
4129 int bytelen, int whichbap) in bap_write() argument
4131 bytelen = (bytelen + 1) & (~1); // round up to even value in bap_write()
4134 pu16Src, bytelen>>1); in bap_write()
4136 outsb(ai->dev->base_addr+DATA0+whichbap, pu16Src, bytelen); in bap_write()