Searched refs:formation (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/sound/firewire/oxfw/
H A Doxfw-proc.c15 struct snd_oxfw_stream_formation formation, curr; proc_read_formation() local
34 err = snd_oxfw_stream_parse_format(format, &formation); proc_read_formation()
38 if (memcmp(&formation, &curr, sizeof(curr)) == 0) proc_read_formation()
44 formation.rate, formation.pcm, formation.midi); proc_read_formation()
64 err = snd_oxfw_stream_parse_format(format, &formation); proc_read_formation()
68 if (memcmp(&formation, &curr, sizeof(curr)) == 0) proc_read_formation()
74 formation.rate, formation.pcm, formation.midi); proc_read_formation()
112 add_node(oxfw, root, "formation", proc_read_formation); snd_oxfw_proc_init()
H A Doxfw-pcm.c21 struct snd_oxfw_stream_formation formation; hw_rule_rate() local
28 err = snd_oxfw_stream_parse_format(formats[i], &formation); hw_rule_rate()
31 if (!snd_interval_test(c, formation.pcm)) hw_rule_rate()
34 t.min = min(t.min, formation.rate); hw_rule_rate()
35 t.max = max(t.max, formation.rate); hw_rule_rate()
49 struct snd_oxfw_stream_formation formation; hw_rule_channels() local
58 err = snd_oxfw_stream_parse_format(formats[i], &formation); hw_rule_channels()
61 if (!snd_interval_test(r, formation.rate)) hw_rule_channels()
63 if (list[count] == formation.pcm) hw_rule_channels()
67 if (list[j] == formation.pcm) hw_rule_channels()
71 list[count] = formation.pcm; hw_rule_channels()
82 struct snd_oxfw_stream_formation formation; limit_channels_and_rates() local
96 err = snd_oxfw_stream_parse_format(formats[i], &formation); limit_channels_and_rates()
100 hw->channels_min = min(hw->channels_min, formation.pcm); limit_channels_and_rates()
101 hw->channels_max = max(hw->channels_max, formation.pcm); limit_channels_and_rates()
103 hw->rate_min = min(hw->rate_min, formation.rate); limit_channels_and_rates()
104 hw->rate_max = max(hw->rate_max, formation.rate); limit_channels_and_rates()
105 hw->rates |= snd_pcm_rate_to_rate_bit(formation.rate); limit_channels_and_rates()
169 struct snd_oxfw_stream_formation formation; limit_to_current_params() local
178 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); limit_to_current_params()
182 substream->runtime->hw.channels_min = formation.pcm; limit_to_current_params()
183 substream->runtime->hw.channels_max = formation.pcm; limit_to_current_params()
184 substream->runtime->hw.rate_min = formation.rate; limit_to_current_params()
185 substream->runtime->hw.rate_max = formation.rate; limit_to_current_params()
H A Doxfw-stream.c62 struct snd_oxfw_stream_formation formation; set_stream_format() local
77 err = snd_oxfw_stream_parse_format(formats[i], &formation); set_stream_format()
81 if ((formation.rate == rate) && (formation.pcm == pcm_channels)) set_stream_format()
120 struct snd_oxfw_stream_formation formation; start_stream() local
137 err = snd_oxfw_stream_parse_format(formats[i], &formation); start_stream()
140 if (rate != formation.rate) start_stream()
142 if (pcm_channels == 0 || pcm_channels == formation.pcm) start_stream()
150 pcm_channels = formation.pcm; start_stream()
151 midi_ports = formation.midi * 8; start_stream()
259 struct snd_oxfw_stream_formation formation; snd_oxfw_stream_start_simplex() local
296 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); snd_oxfw_stream_start_simplex()
300 rate = formation.rate; snd_oxfw_stream_start_simplex()
302 pcm_channels = formation.pcm; snd_oxfw_stream_start_simplex()
304 if ((formation.rate != rate) || (formation.pcm != pcm_channels)) { snd_oxfw_stream_start_simplex()
389 struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_get_current_formation()
408 err = snd_oxfw_stream_parse_format(format, formation); snd_oxfw_stream_get_current_formation()
421 struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_parse_format()
425 memset(formation, 0, sizeof(struct snd_oxfw_stream_formation)); snd_oxfw_stream_parse_format()
443 formation->rate = oxfw_rate_table[i]; snd_oxfw_stream_parse_format()
454 formation->pcm += channels; snd_oxfw_stream_parse_format()
458 formation->midi = channels; snd_oxfw_stream_parse_format()
489 if (formation->pcm > AM824_MAX_CHANNELS_FOR_PCM || snd_oxfw_stream_parse_format()
490 formation->midi > AM824_MAX_CHANNELS_FOR_MIDI) snd_oxfw_stream_parse_format()
501 struct snd_oxfw_stream_formation formation; assume_stream_formats() local
517 err = snd_oxfw_stream_parse_format(buf, &formation); assume_stream_formats()
529 if (formation.rate == oxfw_rate_table[i]) assume_stream_formats()
632 struct snd_oxfw_stream_formation formation; snd_oxfw_stream_discover() local
659 err = snd_oxfw_stream_parse_format(format, &formation); snd_oxfw_stream_discover()
664 if (formation.midi > 0) snd_oxfw_stream_discover()
681 err = snd_oxfw_stream_parse_format(format, &formation); snd_oxfw_stream_discover()
686 if (formation.midi > 0) snd_oxfw_stream_discover()
387 snd_oxfw_stream_get_current_formation(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_get_current_formation() argument
420 snd_oxfw_stream_parse_format(u8 *format, struct snd_oxfw_stream_formation *formation) snd_oxfw_stream_parse_format() argument
H A Doxfw.h128 struct snd_oxfw_stream_formation *formation);
131 struct snd_oxfw_stream_formation *formation);
/linux-4.4.14/sound/firewire/bebob/
H A Dbebob_proc.c109 struct snd_bebob_stream_formation *formation; proc_read_formation() local
114 formation = bebob->tx_stream_formations; proc_read_formation()
118 formation[i].pcm, formation[i].midi); proc_read_formation()
123 formation = bebob->rx_stream_formations; proc_read_formation()
127 formation[i].pcm, formation[i].midi); proc_read_formation()
194 add_node(bebob, root, "formation", proc_read_formation); snd_bebob_proc_init()
H A Dbebob_stream.c818 struct snd_bebob_stream_formation *formation) parse_stream_formation()
839 memset(&formation[i], 0, sizeof(struct snd_bebob_stream_formation)); parse_stream_formation()
850 formation[i].pcm += channels; parse_stream_formation()
854 formation[i].midi += channels; parse_stream_formation()
879 if (formation[i].pcm > AM824_MAX_CHANNELS_FOR_PCM || parse_stream_formation()
880 formation[i].midi > AM824_MAX_CHANNELS_FOR_MIDI) parse_stream_formation()
817 parse_stream_formation(u8 *buf, unsigned int len, struct snd_bebob_stream_formation *formation) parse_stream_formation() argument
/linux-4.4.14/arch/m68k/fpsp040/
H A Dbinstr.S56 | d7: byte digit formation word;digit count {0,1}
57 | a0: pointer into memory for packed bcd string formation
H A Dbindec.S626 | a0: pointer into memory for packed bcd string formation
735 | a0: pointer into memory for packed bcd string formation
/linux-4.4.14/drivers/scsi/libsas/
H A Dsas_port.c190 /* Tell the LLDD about this port formation. */ sas_form_port()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dcl_object.h597 * req-formation engine decides that it wants to include this page
637 * entered when req-formation logic decided that it wants this page to
967 * transfer formation and life-cycle.
1013 * cl_req as a part of req formation.
1032 * constructed by the req-formation engine.
1035 * semantics here, and to oblige the req-formation engine to
2429 * req-formation engine", currently implemented as a part of osc
2430 * layer. Req-formation depends on many factors: the size of the resulting
2434 * For the immediate transfer io submits a cl_page_list, that req-formation
2480 * Concurrency: transfer formation engine synchronizes calls to all transfer
2485 * Invoked top-to-bottom by cl_req_prep() when transfer formation is
2545 * ordering requirements invisible to the individual req-formation engine.
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Drw26.c304 * Set page clip to tell transfer formation engine ll_direct_rw_pages()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Dcore.h89 * station interface. After group formation, the station
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dcl_page.c1252 * Notify layers that transfer formation engine decided to yank this page from
/linux-4.4.14/arch/s390/kvm/
H A Dkvm-s390.c2301 /* Only bits 0-53 are used for address formation */ kvm_s390_store_adtl_status_unloaded()
/linux-4.4.14/arch/m68k/ifpsp060/src/
H A Dpfpsp.S14073 # a0: pointer into memory for packed bcd string formation
14181 # a0: pointer into memory for packed bcd string formation
14469 # d7: byte digit formation word;digit count {0,1}
14470 # a0: pointer into memory for packed bcd string formation
H A Dfpsp.S24113 # a0: pointer into memory for packed bcd string formation
24221 # a0: pointer into memory for packed bcd string formation
24509 # d7: byte digit formation word;digit count {0,1}
24510 # a0: pointer into memory for packed bcd string formation

Completed in 4808 milliseconds