Lines Matching refs:single_desc
235 struct adm_desc_hw_single *single_desc; in adm_process_fc_descriptors() local
273 single_desc = desc; in adm_process_fc_descriptors()
274 single_desc->cmd = ADM_CMD_TYPE_SINGLE | crci_cmd; in adm_process_fc_descriptors()
275 single_desc->len = remainder; in adm_process_fc_descriptors()
276 single_desc->src_addr = *src; in adm_process_fc_descriptors()
277 single_desc->dst_addr = *dst; in adm_process_fc_descriptors()
278 desc += sizeof(*single_desc); in adm_process_fc_descriptors()
281 single_desc->cmd |= ADM_CMD_LC; in adm_process_fc_descriptors()
302 struct adm_desc_hw_single *single_desc; in adm_process_non_fc_descriptors() local
317 single_desc = desc; in adm_process_non_fc_descriptors()
318 single_desc->cmd = ADM_CMD_TYPE_SINGLE; in adm_process_non_fc_descriptors()
319 single_desc->src_addr = *src; in adm_process_non_fc_descriptors()
320 single_desc->dst_addr = *dst; in adm_process_non_fc_descriptors()
321 single_desc->len = (remainder > ADM_MAX_XFER) ? in adm_process_non_fc_descriptors()
324 remainder -= single_desc->len; in adm_process_non_fc_descriptors()
325 *incr_addr += single_desc->len; in adm_process_non_fc_descriptors()
326 desc += sizeof(*single_desc); in adm_process_non_fc_descriptors()
331 single_desc->cmd |= ADM_CMD_LC; in adm_process_non_fc_descriptors()