Lines Matching refs:space
277 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument
281 if (space < cnt) in copy_packages()
365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
385 if (space - off < 32) { in gen_mjpeghdr_to_package()
632 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument
674 if (space - off < 32) { in gen_mpeg1hdr_to_package()
818 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument
842 if (space - off < 32) { in gen_mpeg4hdr_to_package()
885 if (space - off < 32) { in gen_mpeg4hdr_to_package()
920 __le16 *code, int space, int *framelen) in brctrl_to_package() argument
1073 return copy_packages(code, pack, 6, space); in brctrl_to_package()
1076 static int config_package(struct go7007 *go, __le16 *code, int space) in config_package() argument
1195 return copy_packages(code, pack, 5, space); in config_package()
1198 static int seqhead_to_package(struct go7007 *go, __le16 *code, int space, in seqhead_to_package() argument
1262 return copy_packages(code, pack, 3, space); in seqhead_to_package()
1277 static int avsync_to_package(struct go7007 *go, __le16 *code, int space) in avsync_to_package() argument
1305 return copy_packages(code, pack, 1, space); in avsync_to_package()
1308 static int final_package(struct go7007 *go, __le16 *code, int space) in final_package() argument
1368 return copy_packages(code, pack, 1, space); in final_package()
1371 static int audio_to_package(struct go7007 *go, __le16 *code, int space) in audio_to_package() argument
1418 return copy_packages(code, pack, 2, space); in audio_to_package()
1421 static int modet_to_package(struct go7007 *go, __le16 *code, int space) in modet_to_package() argument
1448 ret = copy_packages(code, thresholds, 1, space); in modet_to_package()
1465 ret = copy_packages(code + cnt, pack, 1, space - cnt); in modet_to_package()
1483 ret = copy_packages(code + cnt, pack, 1, space - cnt); in modet_to_package()
1495 __le16 *code, int space, int *framelen) in do_special() argument
1501 return gen_mjpeghdr_to_package(go, code, space); in do_special()
1504 return gen_mpeg1hdr_to_package(go, code, space, in do_special()
1507 return gen_mpeg4hdr_to_package(go, code, space, in do_special()
1514 return brctrl_to_package(go, code, space, framelen); in do_special()
1516 return config_package(go, code, space); in do_special()
1521 return seqhead_to_package(go, code, space, in do_special()
1524 return seqhead_to_package(go, code, space, in do_special()
1530 return avsync_to_package(go, code, space); in do_special()
1532 return final_package(go, code, space); in do_special()
1534 return audio_to_package(go, code, space); in do_special()
1536 return modet_to_package(go, code, space); in do_special()