• Home
  • Raw
  • Download

Lines Matching refs:dsp_index

146 	u16 dsp_index, u32 hpi_address, u32 *source, u32 count);
148 u16 dsp_index, u32 hpi_address, u32 *dest, u32 count);
160 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr);
165 static short hpi6000_wait_dsp_ack(struct hpi_adapter_obj *pao, u16 dsp_index,
169 u16 dsp_index, u32 host_cmd);
173 static short hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index,
176 static short hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index,
403 u32 dsp_index = 0; in subsys_create_adapter() local
441 for (dsp_index = 0; dsp_index < MAX_DSPS; dsp_index++) { in subsys_create_adapter()
443 phw->ado[dsp_index].pa_parent_adapter = pao; in subsys_create_adapter()
464 u32 dsp_index = 0; in create_adapter_obj() local
478 for (dsp_index = 0; dsp_index < MAX_DSPS; dsp_index++) { in create_adapter_obj()
479 phw->ado[dsp_index].prHPI_control = in create_adapter_obj()
481 DSP_SPACING * dsp_index); in create_adapter_obj()
483 phw->ado[dsp_index].prHPI_address = in create_adapter_obj()
485 DSP_SPACING * dsp_index); in create_adapter_obj()
486 phw->ado[dsp_index].prHPI_data = in create_adapter_obj()
487 phw->dw2040_HPIDSP + (DATA + DSP_SPACING * dsp_index); in create_adapter_obj()
489 phw->ado[dsp_index].prHPI_data_auto_inc = in create_adapter_obj()
491 DSP_SPACING * dsp_index); in create_adapter_obj()
494 phw->ado[dsp_index].prHPI_control, in create_adapter_obj()
495 phw->ado[dsp_index].prHPI_address, in create_adapter_obj()
496 phw->ado[dsp_index].prHPI_data, in create_adapter_obj()
497 phw->ado[dsp_index].prHPI_data_auto_inc); in create_adapter_obj()
499 phw->ado[dsp_index].pa_parent_adapter = pao; in create_adapter_obj()
610 phr->u.ax.assert.dsp_index = -1; /* "dsp index" */ in adapter_get_asserts()
639 u32 dsp_index = 0; in hpi6000_adapter_boot_load_dsp() local
710 for (dsp_index = 0; dsp_index < phw->num_dsp; dsp_index++) { in hpi6000_adapter_boot_load_dsp()
711 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_adapter_boot_load_dsp()
724 test_data, data, dsp_index); in hpi6000_adapter_boot_load_dsp()
786 data, dsp_index); in hpi6000_adapter_boot_load_dsp()
904 dsp_index); in hpi6000_adapter_boot_load_dsp()
927 data, dsp_index); in hpi6000_adapter_boot_load_dsp()
964 error = hpi6000_dsp_block_write32(pao, (u16)dsp_index, in hpi6000_adapter_boot_load_dsp()
998 dsp_index); in hpi6000_adapter_boot_load_dsp()
1021 hpi_write_word(pdo, HPI_HIF_ADDR(dsp_number), dsp_index); in hpi6000_adapter_boot_load_dsp()
1025 if (dsp_index > 0) in hpi6000_adapter_boot_load_dsp()
1065 if (dsp_index == 0) { in hpi6000_adapter_boot_load_dsp()
1208 u16 dsp_index, u32 hpi_address, u32 *source, u32 count) in hpi6000_dsp_block_write32() argument
1211 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_dsp_block_write32()
1246 u16 dsp_index, u32 hpi_address, u32 *dest, u32 count) in hpi6000_dsp_block_read32() argument
1249 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_dsp_block_read32()
1286 u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) in hpi6000_message_response_sequence() argument
1289 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_message_response_sequence()
1297 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); in hpi6000_message_response_sequence()
1323 if (hpi6000_dsp_block_write32(pao, dsp_index, address, p_data, in hpi6000_message_response_sequence()
1327 if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_GET_RESP)) in hpi6000_message_response_sequence()
1331 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_GET_RESP); in hpi6000_message_response_sequence()
1364 if (hpi6000_dsp_block_read32(pao, dsp_index, address, p_data, in hpi6000_message_response_sequence()
1369 if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) in hpi6000_message_response_sequence()
1404 static short hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index, in hpi6000_send_data() argument
1408 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_send_data()
1420 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); in hpi6000_send_data()
1424 if (hpi6000_send_host_command(pao, dsp_index, in hpi6000_send_data()
1430 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_SEND_DATA); in hpi6000_send_data()
1456 if (hpi6000_dsp_block_write32(pao, dsp_index, in hpi6000_send_data()
1465 if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) in hpi6000_send_data()
1477 static short hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index, in hpi6000_get_data() argument
1481 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_get_data()
1491 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); in hpi6000_get_data()
1495 if (hpi6000_send_host_command(pao, dsp_index, in hpi6000_get_data()
1500 ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_GET_DATA); in hpi6000_get_data()
1518 if (hpi6000_dsp_block_read32(pao, dsp_index, in hpi6000_get_data()
1527 if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) in hpi6000_get_data()
1542 u16 dsp_index, u32 host_cmd) in hpi6000_send_host_command() argument
1545 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_send_host_command()
1587 static short hpi6000_wait_dsp_ack(struct hpi_adapter_obj *pao, u16 dsp_index, in hpi6000_wait_dsp_ack() argument
1591 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_wait_dsp_ack()
1632 const u16 dsp_index = 0; in hpi6000_update_control_cache() local
1634 struct dsp_obj *pdo = &phw->ado[dsp_index]; in hpi6000_update_control_cache()
1680 if (hpi6000_dsp_block_read32(pao, dsp_index, address, in hpi6000_update_control_cache()
1732 u16 dsp_index = 0; in hw_message() local
1737 dsp_index = 0; in hw_message()
1739 dsp_index = get_dsp_index(pao, phm); in hw_message()
1749 if (add_index != dsp_index) { in hw_message()
1757 error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr); in hw_message()
1768 error = hpi6000_send_data(pao, dsp_index, phm, phr); in hw_message()
1772 error = hpi6000_get_data(pao, dsp_index, phm, phr); in hw_message()
1775 phr->u.ax.assert.dsp_index = 0; /* dsp 0 default */ in hw_message()
1781 phr->u.ax.assert.dsp_index = 1; in hw_message()