Lines Matching defs:params

157 static int apply_constraint_to_size(struct snd_pcm_hw_params *params,
160 struct snd_interval *s = hw_param_interval(params, rule->var);
162 hw_param_interval_c(params, SNDRV_PCM_HW_PARAM_RATE);
627 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params,
632 params->interrupt = sched_irq;
633 params->tag = s->tag;
634 params->sy = 0;
636 err = fw_iso_context_queue(s->context, params, &s->buffer.iso_buffer,
650 struct fw_iso_packet *params, bool sched_irq)
652 params->skip =
653 !!(params->header_length == 0 && params->payload_length == 0);
654 return queue_packet(s, params, sched_irq);
658 struct fw_iso_packet *params)
661 params->header_length = s->ctx_data.tx.ctx_header_size;
662 params->payload_length = s->ctx_data.tx.max_ctx_payload_length;
663 params->skip = false;
664 return queue_packet(s, params, false);
681 struct fw_iso_packet *params, unsigned int header_length,
690 params->payload_length = payload_length;
693 cip_header = (__be32 *)params->header;
695 params->header_length = header_length;
1180 struct fw_iso_packet params;
1185 build_it_pkt_header(s, desc->cycle, &template.params, pkt_header_length,
1197 if (queue_out_packet(s, &template.params, sched_irq) < 0) {
1228 struct fw_iso_packet params = {
1234 if (queue_out_packet(s, &params, sched_irq) < 0) {
1336 struct fw_iso_packet params = {0};
1338 if (queue_in_packet(s, &params) < 0) {
1364 struct fw_iso_packet params = {0};
1366 if (queue_in_packet(s, &params) < 0) {
1785 struct fw_iso_packet params;
1788 err = queue_in_packet(s, &params);
1792 params.header_length = 0;
1793 params.payload_length = 0;
1800 err = queue_out_packet(s, &params, sched_irq);