Lines Matching +full:4 +full:k
92 char elf32_magic_number[4] = {0x7f,'E','L','F'}; in mixart_load_elf()
97 for( i=0; i<4; i++ ) in mixart_load_elf()
131 u32 k; in mixart_enum_connectors() local
163 for(k=0; k < connector->uid_count; k++) { in mixart_enum_connectors()
166 if(k < MIXART_FIRST_DIG_AUDIO_ID) { in mixart_enum_connectors()
167 pipe = &mgr->chip[k/2]->pipe_out_ana; in mixart_enum_connectors()
169 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_out_dig; in mixart_enum_connectors()
171 if(k & 1) { in mixart_enum_connectors()
172 pipe->uid_right_connector = connector->uid[k]; /* odd */ in mixart_enum_connectors()
174 pipe->uid_left_connector = connector->uid[k]; /* even */ in mixart_enum_connectors()
177 …/* dev_dbg(&mgr->pci->dev, "playback connector[%d].object_id = %x\n", k, connector->uid[k].object_… in mixart_enum_connectors()
181 request.uid = connector->uid[k]; in mixart_enum_connectors()
207 for(k=0; k < connector->uid_count; k++) { in mixart_enum_connectors()
210 if(k < MIXART_FIRST_DIG_AUDIO_ID) { in mixart_enum_connectors()
211 pipe = &mgr->chip[k/2]->pipe_in_ana; in mixart_enum_connectors()
213 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_in_dig; in mixart_enum_connectors()
215 if(k & 1) { in mixart_enum_connectors()
216 pipe->uid_right_connector = connector->uid[k]; /* odd */ in mixart_enum_connectors()
218 pipe->uid_left_connector = connector->uid[k]; /* even */ in mixart_enum_connectors()
221 …/* dev_dbg(&mgr->pci->dev, "capture connector[%d].object_id = %x\n", k, connector->uid[k].object_i… in mixart_enum_connectors()
225 request.uid = connector->uid[k]; in mixart_enum_connectors()
249 u32 k; in mixart_enum_physio() local
294 for(k=0; k<mgr->num_cards; k++) { in mixart_enum_physio()
295 mgr->chip[k]->uid_in_analog_physio = phys_io.uid[k]; in mixart_enum_physio()
296 mgr->chip[k]->uid_out_analog_physio = phys_io.uid[phys_io.nb_uid/2 + k]; in mixart_enum_physio()
305 u32 k; in mixart_first_init() local
324 err = snd_mixart_send_msg(mgr, &request, sizeof(k), &k); in mixart_first_init()
325 if( (err < 0) || (k != 0) ) { in mixart_first_init()
360 if (status_xilinx == 4) { in mixart_dsp_load()
375 if (dsp->size % 4) in mixart_dsp_load()
397 if (status_elf == 4) { in mixart_dsp_load()
410 /* wait for xilinx status == 4 */ in mixart_dsp_load()
411 …err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_MXLX_STATUS_OFFSET, 1, 4, 500); /… in mixart_dsp_load()
432 /* wait for elf status == 4 */ in mixart_dsp_load()
433 …err = mixart_wait_nice_for_register_value( mgr, MIXART_PSEUDOREG_ELF_STATUS_OFFSET, 1, 4, 300); /*… in mixart_dsp_load()
448 if (status_elf != 4 || status_xilinx != 4) { in mixart_dsp_load()
482 if (dsp->size % 4) in mixart_dsp_load()
506 /* set daughterboard status to 4 */ in mixart_dsp_load()
507 writel_be( 4, MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_STATUS_OFFSET )); in mixart_dsp_load()