Lines Matching +full:0 +full:x020000

50 	if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2)  in pcxhr_init_board()
53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < in pcxhr_init_board()
57 if ((rmh.stat[1] & 0x5F) < card_streams) in pcxhr_init_board()
60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) in pcxhr_init_board()
68 rmh.cmd[0] |= mgr->firmware_num; in pcxhr_init_board()
76 "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, in pcxhr_init_board()
77 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board()
78 mgr->dsp_version = rmh.stat[0]; in pcxhr_init_board()
94 rmh.cmd[0] |= IO_NUM_REG_STATUS; in pcxhr_sub_init()
112 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_sub_init()
130 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_reset_board()
134 0, NULL); in pcxhr_reset_board()
175 /* define pipe (P_PCM_ONLY_MASK (0x020000) is not necessary) */ in pcxhr_dsp_allocate_pipe()
179 rmh.cmd[1] |= 0x020000; /* add P_PCM_ONLY_MASK */ in pcxhr_dsp_allocate_pipe()
182 rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; in pcxhr_dsp_allocate_pipe()
185 if (err < 0) { in pcxhr_dsp_allocate_pipe()
192 return 0; in pcxhr_dsp_allocate_pipe()
198 #if 0
202 int capture_mask = 0;
203 int playback_mask = 0;
204 int err = 0;
212 err = pcxhr_set_pipe_state(mgr, playback_mask, capture_mask, 0);
213 if (err < 0)
218 0, 0);
220 if (err < 0)
236 for (i = 0; i < mgr->num_cards; i++) { in pcxhr_config_pipes()
240 err = pcxhr_dsp_allocate_pipe( mgr, pipe, 0, i*2); in pcxhr_config_pipes()
243 for(j = 0; j < chip->nb_streams_play; j++) in pcxhr_config_pipes()
246 for (j = 0; j < chip->nb_streams_capt; j++) { in pcxhr_config_pipes()
254 return 0; in pcxhr_config_pipes()
261 int playback_mask = 0; in pcxhr_start_pipes()
262 int capture_mask = 0; in pcxhr_start_pipes()
265 for (i = 0; i < mgr->num_cards; i++) { in pcxhr_start_pipes()
269 for (j = 0; j < chip->nb_streams_capt; j++) in pcxhr_start_pipes()
287 return pcxhr_load_xilinx_binary(mgr, dsp, 0); in pcxhr_dsp_load()
312 if (err < 0) { in pcxhr_dsp_load()
317 if (err < 0) { in pcxhr_dsp_load()
322 for (card_index = 0; card_index < mgr->num_cards; card_index++) { in pcxhr_dsp_load()
326 if (err < 0) in pcxhr_dsp_load()
329 if (card_index == 0) { in pcxhr_dsp_load()
331 if (err < 0) in pcxhr_dsp_load()
335 if (err < 0) in pcxhr_dsp_load()
339 if (err < 0) { in pcxhr_dsp_load()
346 return 0; in pcxhr_dsp_load()
355 [0] = { "xlxint.dat", "xlxc882hr.dat", in pcxhr_setup_firmware()
374 for (i = 0; i < 5; i++) { in pcxhr_setup_firmware()
387 if (err < 0) in pcxhr_setup_firmware()
391 return 0; in pcxhr_setup_firmware()