dsp_index 146 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 hpi_address, u32 *source, u32 count); dsp_index 148 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 hpi_address, u32 *dest, u32 count); dsp_index 160 sound/pci/asihpi/hpi6000.c u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); dsp_index 165 sound/pci/asihpi/hpi6000.c static short hpi6000_wait_dsp_ack(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 169 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 host_cmd); dsp_index 173 sound/pci/asihpi/hpi6000.c static short hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 176 sound/pci/asihpi/hpi6000.c static short hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 403 sound/pci/asihpi/hpi6000.c u32 dsp_index = 0; dsp_index 441 sound/pci/asihpi/hpi6000.c for (dsp_index = 0; dsp_index < MAX_DSPS; dsp_index++) { dsp_index 443 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].pa_parent_adapter = pao; dsp_index 464 sound/pci/asihpi/hpi6000.c u32 dsp_index = 0; dsp_index 478 sound/pci/asihpi/hpi6000.c for (dsp_index = 0; dsp_index < MAX_DSPS; dsp_index++) { dsp_index 479 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_control = dsp_index 481 sound/pci/asihpi/hpi6000.c DSP_SPACING * dsp_index); dsp_index 483 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_address = dsp_index 485 sound/pci/asihpi/hpi6000.c DSP_SPACING * dsp_index); dsp_index 486 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_data = dsp_index 487 sound/pci/asihpi/hpi6000.c phw->dw2040_HPIDSP + (DATA + DSP_SPACING * dsp_index); dsp_index 489 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_data_auto_inc = dsp_index 491 sound/pci/asihpi/hpi6000.c DSP_SPACING * dsp_index); dsp_index 494 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_control, dsp_index 495 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_address, dsp_index 496 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_data, dsp_index 497 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].prHPI_data_auto_inc); dsp_index 499 sound/pci/asihpi/hpi6000.c phw->ado[dsp_index].pa_parent_adapter = pao; dsp_index 610 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = -1; /* "dsp index" */ dsp_index 639 sound/pci/asihpi/hpi6000.c u32 dsp_index = 0; dsp_index 710 sound/pci/asihpi/hpi6000.c for (dsp_index = 0; dsp_index < phw->num_dsp; dsp_index++) { dsp_index 711 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 724 sound/pci/asihpi/hpi6000.c test_data, data, dsp_index); dsp_index 786 sound/pci/asihpi/hpi6000.c data, dsp_index); dsp_index 904 sound/pci/asihpi/hpi6000.c dsp_index); dsp_index 927 sound/pci/asihpi/hpi6000.c data, dsp_index); dsp_index 964 sound/pci/asihpi/hpi6000.c error = hpi6000_dsp_block_write32(pao, (u16)dsp_index, dsp_index 998 sound/pci/asihpi/hpi6000.c dsp_index); dsp_index 1021 sound/pci/asihpi/hpi6000.c hpi_write_word(pdo, HPI_HIF_ADDR(dsp_number), dsp_index); dsp_index 1025 sound/pci/asihpi/hpi6000.c if (dsp_index > 0) dsp_index 1065 sound/pci/asihpi/hpi6000.c if (dsp_index == 0) { dsp_index 1208 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 hpi_address, u32 *source, u32 count) dsp_index 1211 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1246 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 hpi_address, u32 *dest, u32 count) dsp_index 1249 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1286 sound/pci/asihpi/hpi6000.c u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) dsp_index 1289 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1297 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); dsp_index 1323 sound/pci/asihpi/hpi6000.c if (hpi6000_dsp_block_write32(pao, dsp_index, address, p_data, dsp_index 1327 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_GET_RESP)) dsp_index 1331 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_GET_RESP); dsp_index 1364 sound/pci/asihpi/hpi6000.c if (hpi6000_dsp_block_read32(pao, dsp_index, address, p_data, dsp_index 1369 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) dsp_index 1404 sound/pci/asihpi/hpi6000.c static short hpi6000_send_data(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 1408 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1420 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); dsp_index 1424 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, dsp_index 1430 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_SEND_DATA); dsp_index 1456 sound/pci/asihpi/hpi6000.c if (hpi6000_dsp_block_write32(pao, dsp_index, dsp_index 1465 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) dsp_index 1477 sound/pci/asihpi/hpi6000.c static short hpi6000_get_data(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 1481 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1491 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_IDLE); dsp_index 1495 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, dsp_index 1500 sound/pci/asihpi/hpi6000.c ack = hpi6000_wait_dsp_ack(pao, dsp_index, HPI_HIF_GET_DATA); dsp_index 1518 sound/pci/asihpi/hpi6000.c if (hpi6000_dsp_block_read32(pao, dsp_index, dsp_index 1527 sound/pci/asihpi/hpi6000.c if (hpi6000_send_host_command(pao, dsp_index, HPI_HIF_IDLE)) dsp_index 1542 sound/pci/asihpi/hpi6000.c u16 dsp_index, u32 host_cmd) dsp_index 1545 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1587 sound/pci/asihpi/hpi6000.c static short hpi6000_wait_dsp_ack(struct hpi_adapter_obj *pao, u16 dsp_index, dsp_index 1591 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1632 sound/pci/asihpi/hpi6000.c const u16 dsp_index = 0; dsp_index 1634 sound/pci/asihpi/hpi6000.c struct dsp_obj *pdo = &phw->ado[dsp_index]; dsp_index 1680 sound/pci/asihpi/hpi6000.c if (hpi6000_dsp_block_read32(pao, dsp_index, address, dsp_index 1732 sound/pci/asihpi/hpi6000.c u16 dsp_index = 0; dsp_index 1737 sound/pci/asihpi/hpi6000.c dsp_index = 0; dsp_index 1739 sound/pci/asihpi/hpi6000.c dsp_index = get_dsp_index(pao, phm); dsp_index 1749 sound/pci/asihpi/hpi6000.c if (add_index != dsp_index) { dsp_index 1757 sound/pci/asihpi/hpi6000.c error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr); dsp_index 1768 sound/pci/asihpi/hpi6000.c error = hpi6000_send_data(pao, dsp_index, phm, phr); dsp_index 1772 sound/pci/asihpi/hpi6000.c error = hpi6000_get_data(pao, dsp_index, phm, phr); dsp_index 1775 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = 0; /* dsp 0 default */ dsp_index 1781 sound/pci/asihpi/hpi6000.c phr->u.ax.assert.dsp_index = 1; dsp_index 199 sound/pci/asihpi/hpi6205.c static u32 boot_loader_read_mem32(struct hpi_adapter_obj *pao, int dsp_index, dsp_index 203 sound/pci/asihpi/hpi6205.c int dsp_index, u32 address, u32 data); dsp_index 206 sound/pci/asihpi/hpi6205.c int dsp_index); dsp_index 208 sound/pci/asihpi/hpi6205.c static u16 boot_loader_test_memory(struct hpi_adapter_obj *pao, int dsp_index, dsp_index 212 sound/pci/asihpi/hpi6205.c int dsp_index); dsp_index 215 sound/pci/asihpi/hpi6205.c int dsp_index); dsp_index 217 sound/pci/asihpi/hpi6205.c static u16 boot_loader_test_pld(struct hpi_adapter_obj *pao, int dsp_index); dsp_index 814 sound/pci/asihpi/hpi6205.c status->dsp_index = 0; dsp_index 815 sound/pci/asihpi/hpi6205.c status->host_index = status->dsp_index; dsp_index 889 sound/pci/asihpi/hpi6205.c status->dsp_index); dsp_index 1091 sound/pci/asihpi/hpi6205.c status->dsp_index = 0; dsp_index 1092 sound/pci/asihpi/hpi6205.c status->host_index = status->dsp_index; dsp_index 1173 sound/pci/asihpi/hpi6205.c return status->dsp_index - status->host_index; dsp_index 1512 sound/pci/asihpi/hpi6205.c static u32 boot_loader_read_mem32(struct hpi_adapter_obj *pao, int dsp_index, dsp_index 1519 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1542 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1555 sound/pci/asihpi/hpi6205.c int dsp_index, u32 address, u32 data) dsp_index 1561 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1584 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1600 sound/pci/asihpi/hpi6205.c static u16 boot_loader_config_emif(struct hpi_adapter_obj *pao, int dsp_index) dsp_index 1602 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1615 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800000, 0x3779); dsp_index 1626 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800008, setting); dsp_index 1627 sound/pci/asihpi/hpi6205.c if (setting != boot_loader_read_mem32(pao, dsp_index, dsp_index 1639 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800004, setting); dsp_index 1640 sound/pci/asihpi/hpi6205.c if (setting != boot_loader_read_mem32(pao, dsp_index, dsp_index 1651 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800010, setting); dsp_index 1652 sound/pci/asihpi/hpi6205.c if (setting != boot_loader_read_mem32(pao, dsp_index, dsp_index 1662 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800014, setting); dsp_index 1663 sound/pci/asihpi/hpi6205.c if (setting != boot_loader_read_mem32(pao, dsp_index, dsp_index 1669 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01800018, dsp_index 1674 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x0180001C, dsp_index 1677 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1724 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01B7C100, 0x0000); dsp_index 1727 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01B7C120, 0x8002); dsp_index 1729 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01B7C11C, 0x8001); dsp_index 1731 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01B7C118, 0x8000); dsp_index 1738 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x01B7C100, 0x0001); dsp_index 1754 sound/pci/asihpi/hpi6205.c if ((boot_loader_read_mem32(pao, dsp_index, 0x01B7C100) & 0xF) dsp_index 1760 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, C6713_EMIF_GCTL, dsp_index 1774 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, C6713_EMIF_CE0, dsp_index 1796 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, C6713_EMIF_SDRAMEXT, dsp_index 1816 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, C6713_EMIF_SDRAMCTL, dsp_index 1822 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, dsp_index 1826 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 2) { dsp_index 1833 sound/pci/asihpi/hpi6205.c static u16 boot_loader_test_memory(struct hpi_adapter_obj *pao, int dsp_index, dsp_index 1850 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, test_addr, dsp_index 1852 sound/pci/asihpi/hpi6205.c data = boot_loader_read_mem32(pao, dsp_index, dsp_index 1858 sound/pci/asihpi/hpi6205.c test_data, data, dsp_index); dsp_index 1871 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, test_addr, test_data); dsp_index 1872 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, test_addr + 4, 0); dsp_index 1873 sound/pci/asihpi/hpi6205.c data = boot_loader_read_mem32(pao, dsp_index, test_addr); dsp_index 1878 sound/pci/asihpi/hpi6205.c data, dsp_index); dsp_index 1882 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, test_addr, 0x0); dsp_index 1888 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, test_addr, 0x0); dsp_index 1894 sound/pci/asihpi/hpi6205.c int dsp_index) dsp_index 1897 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1900 sound/pci/asihpi/hpi6205.c err = boot_loader_test_memory(pao, dsp_index, 0x00000000, dsp_index 1904 sound/pci/asihpi/hpi6205.c err = boot_loader_test_memory(pao, dsp_index, dsp_index 1906 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1909 sound/pci/asihpi/hpi6205.c err = boot_loader_test_memory(pao, dsp_index, 0x00000000, dsp_index 1913 sound/pci/asihpi/hpi6205.c err = boot_loader_test_memory(pao, dsp_index, dsp_index 1924 sound/pci/asihpi/hpi6205.c int dsp_index) dsp_index 1929 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1938 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1945 sound/pci/asihpi/hpi6205.c if (boot_loader_test_memory(pao, dsp_index, dRAM_start_address, dsp_index 1951 sound/pci/asihpi/hpi6205.c static u16 boot_loader_test_pld(struct hpi_adapter_obj *pao, int dsp_index) dsp_index 1954 sound/pci/asihpi/hpi6205.c if (dsp_index == 0) { dsp_index 1958 sound/pci/asihpi/hpi6205.c data = boot_loader_read_mem32(pao, dsp_index, dsp_index 1962 sound/pci/asihpi/hpi6205.c data = boot_loader_read_mem32(pao, dsp_index, dsp_index 1967 sound/pci/asihpi/hpi6205.c } else if (dsp_index == 1) { dsp_index 1971 sound/pci/asihpi/hpi6205.c data = boot_loader_read_mem32(pao, dsp_index, dsp_index 1976 sound/pci/asihpi/hpi6205.c boot_loader_write_mem32(pao, dsp_index, 0x90000000, dsp_index 616 sound/pci/asihpi/hpi_internal.h u32 dsp_index; dsp_index 699 sound/pci/asihpi/hpi_internal.h u16 dsp_index; dsp_index 790 sound/pci/asihpi/hpi_internal.h u16 dsp_index; dsp_index 1372 sound/pci/asihpi/hpi_internal.h u32 dsp_index; dsp_index 2402 sound/pci/maestro3.c int i, dsp_index; dsp_index 2417 sound/pci/maestro3.c dsp_index = 0; dsp_index 2419 sound/pci/maestro3.c chip->suspend_mem[dsp_index++] = dsp_index 2422 sound/pci/maestro3.c chip->suspend_mem[dsp_index++] = dsp_index 2431 sound/pci/maestro3.c int i, dsp_index; dsp_index 2445 sound/pci/maestro3.c dsp_index = 0; dsp_index 2448 sound/pci/maestro3.c chip->suspend_mem[dsp_index++]); dsp_index 2451 sound/pci/maestro3.c chip->suspend_mem[dsp_index++]);