Home
last modified time | relevance | path

Searched refs:slice_ent (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/accel/qaic/
Dqaic_data.c388 struct qaic_attach_slice_entry *slice_ent) in qaic_map_one_slice() argument
394 ret = clone_range_of_sgt_for_slice(qdev, &sgt, bo->sgt, slice_ent->size, slice_ent->offset); in qaic_map_one_slice()
410 slice->no_xfer = !slice_ent->size; in qaic_map_one_slice()
415 slice->size = slice_ent->size; in qaic_map_one_slice()
416 slice->offset = slice_ent->offset; in qaic_map_one_slice()
418 ret = encode_reqs(qdev, slice, slice_ent); in qaic_map_one_slice()
554 static int qaic_validate_req(struct qaic_device *qdev, struct qaic_attach_slice_entry *slice_ent, in qaic_validate_req() argument
560 if (!(slice_ent[i].db_len == 32 || slice_ent[i].db_len == 16 || in qaic_validate_req()
561 slice_ent[i].db_len == 8 || slice_ent[i].db_len == 0) || in qaic_validate_req()
562 invalid_sem(&slice_ent[i].sem0) || invalid_sem(&slice_ent[i].sem1) || in qaic_validate_req()
[all …]