Lines Matching refs:dsize
258 size_t dsize; in ast_vhub_rep_desc() local
274 dsize = USB_DT_DEVICE_SIZE; in ast_vhub_rep_desc()
275 memcpy(ep->buf, &vhub->vhub_dev_desc, dsize); in ast_vhub_rep_desc()
276 BUILD_BUG_ON(dsize > sizeof(vhub->vhub_dev_desc)); in ast_vhub_rep_desc()
280 dsize = AST_VHUB_CONF_DESC_SIZE; in ast_vhub_rep_desc()
281 memcpy(ep->buf, &vhub->vhub_conf_desc, dsize); in ast_vhub_rep_desc()
282 BUILD_BUG_ON(dsize > sizeof(vhub->vhub_conf_desc)); in ast_vhub_rep_desc()
286 dsize = AST_VHUB_HUB_DESC_SIZE; in ast_vhub_rep_desc()
287 memcpy(ep->buf, &vhub->vhub_hub_desc, dsize); in ast_vhub_rep_desc()
288 BUILD_BUG_ON(dsize > sizeof(vhub->vhub_hub_desc)); in ast_vhub_rep_desc()
296 if (len > dsize) in ast_vhub_rep_desc()
297 len = dsize; in ast_vhub_rep_desc()