phm 158 sound/pci/asihpi/hpi6000.c struct hpi_message *phm); phm 160 sound/pci/asihpi/hpi6000.c u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr); phm 162 sound/pci/asihpi/hpi6000.c static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, phm 174 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr); phm 177 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr); phm 189 sound/pci/asihpi/hpi6000.c static void subsys_create_adapter(struct hpi_message *phm, phm 193 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr); phm 196 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr); phm 208 sound/pci/asihpi/hpi6000.c static void subsys_message(struct hpi_message *phm, struct hpi_response *phr) phm 210 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 212 sound/pci/asihpi/hpi6000.c subsys_create_adapter(phm, phr); phm 221 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 225 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 229 sound/pci/asihpi/hpi6000.c err = hpi6000_update_control_cache(pao, phm); phm 242 sound/pci/asihpi/hpi6000.c if (hpi_check_control_cache(phw->p_cache, phm, phr)) phm 245 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 248 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 249 sound/pci/asihpi/hpi6000.c hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, phr); phm 254 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 260 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 262 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 264 sound/pci/asihpi/hpi6000.c adapter_get_asserts(pao, phm, phr); phm 268 sound/pci/asihpi/hpi6000.c adapter_delete(pao, phm, phr); phm 272 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 278 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 280 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 291 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 297 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 300 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 311 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 321 sound/pci/asihpi/hpi6000.c void HPI_6000(struct hpi_message *phm, struct hpi_response *phr) phm 325 sound/pci/asihpi/hpi6000.c if (phm->object != HPI_OBJ_SUBSYSTEM) { phm 326 sound/pci/asihpi/hpi6000.c pao = hpi_find_adapter(phm->adapter_index); phm 328 sound/pci/asihpi/hpi6000.c hpi_init_response(phr, phm->object, phm->function, phm 331 sound/pci/asihpi/hpi6000.c phm->adapter_index); phm 337 sound/pci/asihpi/hpi6000.c hpi_init_response(phr, phm->object, phm->function, phm 340 sound/pci/asihpi/hpi6000.c phm->adapter_index); phm 345 sound/pci/asihpi/hpi6000.c if (phm->function != HPI_SUBSYS_CREATE_ADAPTER) phm 346 sound/pci/asihpi/hpi6000.c hpi_init_response(phr, phm->object, phm->function, phm 349 sound/pci/asihpi/hpi6000.c switch (phm->type) { phm 351 sound/pci/asihpi/hpi6000.c switch (phm->object) { phm 353 sound/pci/asihpi/hpi6000.c subsys_message(phm, phr); phm 360 sound/pci/asihpi/hpi6000.c adapter_message(pao, phm, phr); phm 364 sound/pci/asihpi/hpi6000.c control_message(pao, phm, phr); phm 368 sound/pci/asihpi/hpi6000.c outstream_message(pao, phm, phr); phm 372 sound/pci/asihpi/hpi6000.c instream_message(pao, phm, phr); phm 376 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); phm 395 sound/pci/asihpi/hpi6000.c static void subsys_create_adapter(struct hpi_message *phm, phm 417 sound/pci/asihpi/hpi6000.c ao.pci = *phm->u.s.resource.r.pci; phm 452 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 601 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 618 sound/pci/asihpi/hpi6000.c hw_message(pao, phm, phr); /*get DSP asserts */ phm 1286 sound/pci/asihpi/hpi6000.c u16 dsp_index, struct hpi_message *phm, struct hpi_response *phr) phm 1319 sound/pci/asihpi/hpi6000.c length = phm->size; phm 1322 sound/pci/asihpi/hpi6000.c p_data = (u32 *)phm; phm 1373 sound/pci/asihpi/hpi6000.c error = hpi_validate_response(phm, phr); phm 1405 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 1412 sound/pci/asihpi/hpi6000.c u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; phm 1418 sound/pci/asihpi/hpi6000.c while ((data_sent < (phm->u.d.u.data.data_size & ~3L)) phm 1478 sound/pci/asihpi/hpi6000.c struct hpi_message *phm, struct hpi_response *phr) phm 1485 sound/pci/asihpi/hpi6000.c u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; phm 1490 sound/pci/asihpi/hpi6000.c while (data_got < (phm->u.d.u.data.data_size & ~3L)) { phm 1630 sound/pci/asihpi/hpi6000.c struct hpi_message *phm) phm 1707 sound/pci/asihpi/hpi6000.c static u16 get_dsp_index(struct hpi_adapter_obj *pao, struct hpi_message *phm) phm 1710 sound/pci/asihpi/hpi6000.c switch (phm->object) { phm 1712 sound/pci/asihpi/hpi6000.c if (phm->obj_index < 2) phm 1716 sound/pci/asihpi/hpi6000.c ret = phm->obj_index; phm 1728 sound/pci/asihpi/hpi6000.c static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, phm 1739 sound/pci/asihpi/hpi6000.c dsp_index = get_dsp_index(pao, phm); phm 1742 sound/pci/asihpi/hpi6000.c if ((phm->function == HPI_ISTREAM_GROUP_ADD) phm 1743 sound/pci/asihpi/hpi6000.c || (phm->function == HPI_OSTREAM_GROUP_ADD)) { phm 1746 sound/pci/asihpi/hpi6000.c hm.obj_index = phm->u.d.u.stream.stream_index; phm 1747 sound/pci/asihpi/hpi6000.c hm.object = phm->u.d.u.stream.object_type; phm 1757 sound/pci/asihpi/hpi6000.c error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr); phm 1765 sound/pci/asihpi/hpi6000.c switch (phm->function) { phm 1768 sound/pci/asihpi/hpi6000.c error = hpi6000_send_data(pao, dsp_index, phm, phr); phm 1772 sound/pci/asihpi/hpi6000.c error = hpi6000_get_data(pao, dsp_index, phm, phr); phm 1780 sound/pci/asihpi/hpi6000.c 1, phm, phr); phm 138 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 140 sound/pci/asihpi/hpi6205.c static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, phm 145 sound/pci/asihpi/hpi6205.c static void subsys_create_adapter(struct hpi_message *phm, phm 148 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 159 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 162 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 165 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 167 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 170 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 173 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 176 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 179 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 182 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 185 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 188 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 191 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 194 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 197 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr); phm 222 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 224 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 226 sound/pci/asihpi/hpi6205.c subsys_create_adapter(phm, phr); phm 235 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 241 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 245 sound/pci/asihpi/hpi6205.c if (hpi_check_control_cache(phw->p_cache, phm, phr)) { phm 247 sound/pci/asihpi/hpi6205.c } else if (phm->u.c.attribute == HPI_METER_PEAK) { phm 252 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 257 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 260 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 262 sound/pci/asihpi/hpi6205.c hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, phm 272 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 274 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 276 sound/pci/asihpi/hpi6205.c adapter_delete(pao, phm, phr); phm 279 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 285 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 288 sound/pci/asihpi/hpi6205.c if (phm->obj_index >= HPI_MAX_STREAMS) { phm 292 sound/pci/asihpi/hpi6205.c "on adapter index %d\n", phm->obj_index, phm 293 sound/pci/asihpi/hpi6205.c phm->adapter_index); phm 297 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 299 sound/pci/asihpi/hpi6205.c outstream_write(pao, phm, phr); phm 302 sound/pci/asihpi/hpi6205.c outstream_get_info(pao, phm, phr); phm 305 sound/pci/asihpi/hpi6205.c outstream_host_buffer_allocate(pao, phm, phr); phm 308 sound/pci/asihpi/hpi6205.c outstream_host_buffer_get_info(pao, phm, phr); phm 311 sound/pci/asihpi/hpi6205.c outstream_host_buffer_free(pao, phm, phr); phm 314 sound/pci/asihpi/hpi6205.c outstream_start(pao, phm, phr); phm 317 sound/pci/asihpi/hpi6205.c outstream_open(pao, phm, phr); phm 320 sound/pci/asihpi/hpi6205.c outstream_reset(pao, phm, phr); phm 323 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 329 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 332 sound/pci/asihpi/hpi6205.c if (phm->obj_index >= HPI_MAX_STREAMS) { phm 336 sound/pci/asihpi/hpi6205.c "on adapter index %d\n", phm->obj_index, phm 337 sound/pci/asihpi/hpi6205.c phm->adapter_index); phm 341 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 343 sound/pci/asihpi/hpi6205.c instream_read(pao, phm, phr); phm 346 sound/pci/asihpi/hpi6205.c instream_get_info(pao, phm, phr); phm 349 sound/pci/asihpi/hpi6205.c instream_host_buffer_allocate(pao, phm, phr); phm 352 sound/pci/asihpi/hpi6205.c instream_host_buffer_get_info(pao, phm, phr); phm 355 sound/pci/asihpi/hpi6205.c instream_host_buffer_free(pao, phm, phr); phm 358 sound/pci/asihpi/hpi6205.c instream_start(pao, phm, phr); phm 361 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 371 sound/pci/asihpi/hpi6205.c void _HPI_6205(struct hpi_adapter_obj *pao, struct hpi_message *phm, phm 375 sound/pci/asihpi/hpi6205.c && (phm->function != HPI_ADAPTER_DEBUG_READ)) { phm 377 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, phm 379 sound/pci/asihpi/hpi6205.c HPI_DEBUG_LOG(WARNING, " %d,%d dsp crashed.\n", phm->object, phm 380 sound/pci/asihpi/hpi6205.c phm->function); phm 385 sound/pci/asihpi/hpi6205.c if (phm->function != HPI_SUBSYS_CREATE_ADAPTER) phm 389 sound/pci/asihpi/hpi6205.c switch (phm->type) { phm 391 sound/pci/asihpi/hpi6205.c switch (phm->object) { phm 393 sound/pci/asihpi/hpi6205.c subsys_message(pao, phm, phr); phm 397 sound/pci/asihpi/hpi6205.c adapter_message(pao, phm, phr); phm 401 sound/pci/asihpi/hpi6205.c control_message(pao, phm, phr); phm 405 sound/pci/asihpi/hpi6205.c outstream_message(pao, phm, phr); phm 409 sound/pci/asihpi/hpi6205.c instream_message(pao, phm, phr); phm 413 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 424 sound/pci/asihpi/hpi6205.c void HPI_6205(struct hpi_message *phm, struct hpi_response *phr) phm 428 sound/pci/asihpi/hpi6205.c if (phm->object != HPI_OBJ_SUBSYSTEM) { phm 430 sound/pci/asihpi/hpi6205.c pao = hpi_find_adapter(phm->adapter_index); phm 433 sound/pci/asihpi/hpi6205.c _HPI_6205(NULL, phm, phr); phm 438 sound/pci/asihpi/hpi6205.c _HPI_6205(pao, phm, phr); phm 440 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, phm 452 sound/pci/asihpi/hpi6205.c static void subsys_create_adapter(struct hpi_message *phm, phm 471 sound/pci/asihpi/hpi6205.c ao.pci = *phm->u.s.resource.r.pci; phm 492 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 730 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 733 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; phm 737 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 744 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = phm 745 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); phm 749 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index]; phm 751 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; phm 753 sound/pci/asihpi/hpi6205.c if (phw->outstream_host_buffer_size[phm->obj_index] == phm 754 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { phm 759 sound/pci/asihpi/hpi6205.c if (hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> phm 762 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 765 sound/pci/asihpi/hpi6205.c [phm->obj_index], phm->u.d.u.buffer.buffer_size, phm 770 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index] = 0; phm 775 sound/pci/asihpi/hpi6205.c (&phw->outstream_host_buffers[phm->obj_index], phm 776 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); phm 782 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; phm 786 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 787 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index] = 0; phm 800 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. phm 804 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); phm 808 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index] = phm 809 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; phm 810 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm-> phm 816 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; phm 819 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 823 sound/pci/asihpi/hpi6205.c outstream_host_buffers[phm->obj_index])) { phm 825 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 826 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index] = 0; phm 832 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 839 sound/pci/asihpi/hpi6205.c if (hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> phm 842 sound/pci/asihpi/hpi6205.c outstream_host_buffers[phm->obj_index], phm 847 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm-> phm 861 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 864 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; phm 866 sound/pci/asihpi/hpi6205.c if (phw->outstream_host_buffer_size[phm->obj_index]) { phm 869 sound/pci/asihpi/hpi6205.c phw->outstream_host_buffer_size[phm->obj_index] = 0; phm 870 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 876 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 893 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 900 sound/pci/asihpi/hpi6205.c if (!phw->outstream_host_buffer_size[phm->obj_index]) { phm 902 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 906 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 907 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm->obj_index]; phm 910 sound/pci/asihpi/hpi6205.c if (space_available < phm->u.d.u.data.data_size) { phm 917 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.data.pb_data phm 918 sound/pci/asihpi/hpi6205.c && hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> phm 922 sound/pci/asihpi/hpi6205.c u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; phm 925 sound/pci/asihpi/hpi6205.c outstream_host_buffers[phm->obj_index], phm 934 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, phm 943 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size - l_first_write); phm 952 sound/pci/asihpi/hpi6205.c if (phw->flag_outstream_just_reset[phm->obj_index]) { phm 954 sound/pci/asihpi/hpi6205.c u16 function = phm->function; phm 955 sound/pci/asihpi/hpi6205.c phw->flag_outstream_just_reset[phm->obj_index] = 0; phm 956 sound/pci/asihpi/hpi6205.c phm->function = HPI_OSTREAM_SET_FORMAT; phm 957 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); /* send the format to the DSP */ phm 958 sound/pci/asihpi/hpi6205.c phm->function = function; phm 963 sound/pci/asihpi/hpi6205.c status->host_index += phm->u.d.u.data.data_size; phm 967 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 973 sound/pci/asihpi/hpi6205.c if (!phw->outstream_host_buffer_size[phm->obj_index]) { phm 974 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 978 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 980 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm->obj_index]; phm 993 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 995 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 999 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1002 sound/pci/asihpi/hpi6205.c phw->flag_outstream_just_reset[phm->obj_index] = 1; phm 1003 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1007 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1009 sound/pci/asihpi/hpi6205.c outstream_reset(pao, phm, phr); phm 1016 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1019 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; phm 1023 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 1028 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size = phm 1029 sound/pci/asihpi/hpi6205.c roundup_pow_of_two(phm->u.d.u.buffer.buffer_size); phm 1031 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index]; phm 1033 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; phm 1035 sound/pci/asihpi/hpi6205.c if (phw->instream_host_buffer_size[phm->obj_index] == phm 1036 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size) { phm 1041 sound/pci/asihpi/hpi6205.c if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> phm 1044 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 1046 sound/pci/asihpi/hpi6205.c err = hpios_locked_mem_alloc(&phw->instream_host_buffers[phm-> phm 1047 sound/pci/asihpi/hpi6205.c obj_index], phm->u.d.u.buffer.buffer_size, phm 1052 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index] = 0; phm 1057 sound/pci/asihpi/hpi6205.c (&phw->instream_host_buffers[phm->obj_index], phm 1058 sound/pci/asihpi/hpi6205.c &phm->u.d.u.buffer.pci_address); phm 1062 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.pci_address; phm 1065 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 1066 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index] = 0; phm 1076 sound/pci/asihpi/hpi6205.c if (phm->u.d.u.buffer.buffer_size & (phm->u.d.u.buffer. phm 1080 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size); phm 1085 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index] = phm 1086 sound/pci/asihpi/hpi6205.c phm->u.d.u.buffer.buffer_size; phm 1087 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm-> phm 1093 sound/pci/asihpi/hpi6205.c status->size_in_bytes = phm->u.d.u.buffer.buffer_size; phm 1096 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1100 sound/pci/asihpi/hpi6205.c instream_host_buffers[phm->obj_index])) { phm 1102 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 1103 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index] = 0; phm 1109 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1116 sound/pci/asihpi/hpi6205.c if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> phm 1119 sound/pci/asihpi/hpi6205.c instream_host_buffers[phm->obj_index], phm 1124 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm-> phm 1138 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1141 sound/pci/asihpi/hpi6205.c u32 command = phm->u.d.u.buffer.command; phm 1143 sound/pci/asihpi/hpi6205.c if (phw->instream_host_buffer_size[phm->obj_index]) { phm 1146 sound/pci/asihpi/hpi6205.c phw->instream_host_buffer_size[phm->obj_index] = 0; phm 1147 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1153 sound/pci/asihpi/hpi6205.c [phm->obj_index]); phm 1166 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1168 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1177 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1185 sound/pci/asihpi/hpi6205.c u8 *p_app_data = (u8 *)phm->u.d.u.data.pb_data; phm 1187 sound/pci/asihpi/hpi6205.c if (!phw->instream_host_buffer_size[phm->obj_index]) { phm 1188 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1191 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 1193 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm->obj_index]; phm 1195 sound/pci/asihpi/hpi6205.c if (data_available < phm->u.d.u.data.data_size) { phm 1200 sound/pci/asihpi/hpi6205.c if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> phm 1203 sound/pci/asihpi/hpi6205.c instream_host_buffers[phm->obj_index], phm 1212 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, phm 1222 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size - l_first_read); phm 1224 sound/pci/asihpi/hpi6205.c status->host_index += phm->u.d.u.data.data_size; phm 1228 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 1233 sound/pci/asihpi/hpi6205.c if (!phw->instream_host_buffer_size[phm->obj_index]) { phm 1234 sound/pci/asihpi/hpi6205.c hw_message(pao, phm, phr); phm 1238 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm->obj_index]; phm 1240 sound/pci/asihpi/hpi6205.c hpi_init_response(phr, phm->object, phm->function, 0); phm 2085 sound/pci/asihpi/hpi6205.c struct hpi_message *phm, struct hpi_response *phr) phm 2093 sound/pci/asihpi/hpi6205.c if (phm->size > sizeof(interface->u.message_buffer)) { phm 2098 sound/pci/asihpi/hpi6205.c "message len %d too big for buffer %zd \n", phm->size, phm 2111 sound/pci/asihpi/hpi6205.c memcpy(&interface->u.message_buffer, phm, phm->size); phm 2156 sound/pci/asihpi/hpi6205.c if (phm->function == HPI_ADAPTER_CLOSE) { phm 2164 sound/pci/asihpi/hpi6205.c err = hpi_validate_response(phm, phr); phm 2168 sound/pci/asihpi/hpi6205.c static void hw_message(struct hpi_adapter_obj *pao, struct hpi_message *phm, phm 2176 sound/pci/asihpi/hpi6205.c err = message_response_sequence(pao, phm, phr); phm 2199 sound/pci/asihpi/hpi6205.c switch (phm->function) { phm 2202 sound/pci/asihpi/hpi6205.c err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, phm 2203 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size, H620_HIF_SEND_DATA); phm 2208 sound/pci/asihpi/hpi6205.c err = hpi6205_transfer_data(pao, phm->u.d.u.data.pb_data, phm 2209 sound/pci/asihpi/hpi6205.c phm->u.d.u.data.data_size, H620_HIF_GET_DATA); phm 1394 sound/pci/asihpi/hpi_internal.h void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr); phm 35 sound/pci/asihpi/hpicmn.c u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr) phm 42 sound/pci/asihpi/hpicmn.c if (phr->object != phm->object) { phm 48 sound/pci/asihpi/hpicmn.c if (phr->function != phm->function) { phm 149 sound/pci/asihpi/hpicmn.c static void subsys_get_adapter(struct hpi_message *phm, phm 152 sound/pci/asihpi/hpicmn.c int count = phm->obj_index; phm 310 sound/pci/asihpi/hpicmn.c struct hpi_message *phm, struct hpi_response *phr) phm 323 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_METER_PEAK) { phm 326 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_METER_RMS) { phm 343 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_VOLUME_GAIN) { phm 346 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { phm 363 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { phm 371 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) phm 377 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_LEVEL_GAIN) { phm 384 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_TUNER_FREQ) phm 386 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_TUNER_BAND) phm 388 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) phm 401 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBURX_ERRORSTATUS) phm 403 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_AESEBURX_FORMAT) phm 409 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT) phm 415 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_TONEDETECTOR_STATE) phm 421 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SILENCEDETECTOR_STATE) { phm 427 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER) phm 433 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE) phm 435 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX) { phm 443 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE) phm 453 sound/pci/asihpi/hpicmn.c HPI_CTL_ATTR_INDEX(phm->u.c. phm 460 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_PAD_PROGRAM_ID) phm 462 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_PAD_PROGRAM_TYPE) phm 466 sound/pci/asihpi/hpicmn.c HPI_CTL_ATTR_INDEX(phm->u.c. phm 468 sound/pci/asihpi/hpicmn.c unsigned int offset = phm->u.c.param1; phm 513 sound/pci/asihpi/hpicmn.c found ? "Cached" : "Uncached", phm->adapter_index, phm 515 sound/pci/asihpi/hpicmn.c phm->u.c.attribute); phm 520 sound/pci/asihpi/hpicmn.c phr->object = phm->object; phm 521 sound/pci/asihpi/hpicmn.c phr->function = phm->function; phm 528 sound/pci/asihpi/hpicmn.c struct hpi_message *phm, struct hpi_response *phr) phm 532 sound/pci/asihpi/hpicmn.c if (!find_control(phm->obj_index, p_cache, &pI)) { phm 535 sound/pci/asihpi/hpicmn.c phm->adapter_index); phm 544 sound/pci/asihpi/hpicmn.c *)pI, phm, phr); phm 554 sound/pci/asihpi/hpicmn.c *pC, struct hpi_message *phm, struct hpi_response *phr) phm 558 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_VOLUME_GAIN) { phm 561 sound/pci/asihpi/hpicmn.c } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { phm 562 sound/pci/asihpi/hpicmn.c if (phm->u.c.param1) phm 570 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { phm 571 sound/pci/asihpi/hpicmn.c pC->u.mux.source_node_type = (u16)phm->u.c.param1; phm 572 sound/pci/asihpi/hpicmn.c pC->u.mux.source_node_index = (u16)phm->u.c.param2; phm 577 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) phm 578 sound/pci/asihpi/hpicmn.c pC->u.mode.mode = (u16)phm->u.c.param1; phm 581 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_LEVEL_GAIN) { phm 587 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_MICROPHONE_PHANTOM_POWER) phm 588 sound/pci/asihpi/hpicmn.c pC->u.microphone.phantom_state = (u16)phm->u.c.param1; phm 591 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBUTX_FORMAT) phm 592 sound/pci/asihpi/hpicmn.c pC->u.aes3tx.format = phm->u.c.param1; phm 595 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_AESEBURX_FORMAT) phm 596 sound/pci/asihpi/hpicmn.c pC->u.aes3rx.format = phm->u.c.param1; phm 599 sound/pci/asihpi/hpicmn.c if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE) phm 600 sound/pci/asihpi/hpicmn.c pC->u.clk.source = (u16)phm->u.c.param1; phm 601 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SOURCE_INDEX) phm 602 sound/pci/asihpi/hpicmn.c pC->u.clk.source_index = (u16)phm->u.c.param1; phm 603 sound/pci/asihpi/hpicmn.c else if (phm->u.c.attribute == HPI_SAMPLECLOCK_SAMPLERATE) phm 604 sound/pci/asihpi/hpicmn.c pC->u.clk.sample_rate = phm->u.c.param1; phm 612 sound/pci/asihpi/hpicmn.c struct hpi_message *phm, struct hpi_response *phr) phm 620 sound/pci/asihpi/hpicmn.c if (!find_control(phm->obj_index, p_cache, &pI)) { phm 623 sound/pci/asihpi/hpicmn.c phm->adapter_index); phm 632 sound/pci/asihpi/hpicmn.c hpi_cmn_control_cache_sync_to_msg_single(pC, phm, phr); phm 669 sound/pci/asihpi/hpicmn.c static void subsys_message(struct hpi_message *phm, struct hpi_response *phr) phm 671 sound/pci/asihpi/hpicmn.c hpi_init_response(phr, HPI_OBJ_SUBSYSTEM, phm->function, 0); phm 673 sound/pci/asihpi/hpicmn.c switch (phm->function) { phm 683 sound/pci/asihpi/hpicmn.c subsys_get_adapter(phm, phr); phm 696 sound/pci/asihpi/hpicmn.c void HPI_COMMON(struct hpi_message *phm, struct hpi_response *phr) phm 698 sound/pci/asihpi/hpicmn.c switch (phm->type) { phm 700 sound/pci/asihpi/hpicmn.c switch (phm->object) { phm 702 sound/pci/asihpi/hpicmn.c subsys_message(phm, phr); phm 53 sound/pci/asihpi/hpicmn.h struct hpi_message *phm, struct hpi_response *phr); phm 56 sound/pci/asihpi/hpicmn.h struct hpi_message *phm, struct hpi_response *phr); phm 64 sound/pci/asihpi/hpicmn.h struct hpi_message *phm, struct hpi_response *phr); phm 67 sound/pci/asihpi/hpicmn.h *pC, struct hpi_message *phm, struct hpi_response *phr); phm 69 sound/pci/asihpi/hpicmn.h u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr); phm 37 sound/pci/asihpi/hpidebug.c void hpi_debug_message(struct hpi_message *phm, char *sz_fileline) phm 39 sound/pci/asihpi/hpidebug.c if (phm) { phm 40 sound/pci/asihpi/hpidebug.c printk(KERN_DEBUG "HPI_MSG%d,%d,%d,%d,%d\n", phm->version, phm 41 sound/pci/asihpi/hpidebug.c phm->adapter_index, phm->obj_index, phm->function, phm 42 sound/pci/asihpi/hpidebug.c phm->u.c.attribute); phm 59 sound/pci/asihpi/hpidebug.h void hpi_debug_message(struct hpi_message *phm, char *sz_fileline); phm 69 sound/pci/asihpi/hpidebug.h #define HPI_DEBUG_MESSAGE(level, phm) \ phm 72 sound/pci/asihpi/hpidebug.h hpi_debug_message(phm, HPI_DEBUG_FLAG_##level \ phm 27 sound/pci/asihpi/hpimsginit.c static void hpi_init_message(struct hpi_message *phm, u16 object, phm 36 sound/pci/asihpi/hpimsginit.c size = sizeof(*phm); phm 39 sound/pci/asihpi/hpimsginit.c memset(phm, 0, size); phm 40 sound/pci/asihpi/hpimsginit.c phm->size = size; phm 43 sound/pci/asihpi/hpimsginit.c phm->type = HPI_TYPE_SSX2BYPASS_MESSAGE; phm 45 sound/pci/asihpi/hpimsginit.c phm->type = HPI_TYPE_REQUEST; phm 46 sound/pci/asihpi/hpimsginit.c phm->object = object; phm 47 sound/pci/asihpi/hpimsginit.c phm->function = function; phm 48 sound/pci/asihpi/hpimsginit.c phm->version = 0; phm 49 sound/pci/asihpi/hpimsginit.c phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; phm 78 sound/pci/asihpi/hpimsginit.c void hpi_init_message_response(struct hpi_message *phm, phm 81 sound/pci/asihpi/hpimsginit.c hpi_init_message(phm, object, function); phm 88 sound/pci/asihpi/hpimsginit.c static void hpi_init_messageV1(struct hpi_message_header *phm, u16 size, phm 91 sound/pci/asihpi/hpimsginit.c memset(phm, 0, size); phm 93 sound/pci/asihpi/hpimsginit.c phm->size = size; phm 94 sound/pci/asihpi/hpimsginit.c phm->type = HPI_TYPE_REQUEST; phm 95 sound/pci/asihpi/hpimsginit.c phm->object = object; phm 96 sound/pci/asihpi/hpimsginit.c phm->function = function; phm 97 sound/pci/asihpi/hpimsginit.c phm->version = 1; phm 114 sound/pci/asihpi/hpimsginit.c void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, phm 118 sound/pci/asihpi/hpimsginit.c hpi_init_messageV1(phm, msg_size, object, function); phm 25 sound/pci/asihpi/hpimsginit.h void hpi_init_message_response(struct hpi_message *phm, phm 31 sound/pci/asihpi/hpimsginit.h void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, phm 61 sound/pci/asihpi/hpimsgx.c static inline void hw_entry_point(struct hpi_message *phm, phm 64 sound/pci/asihpi/hpimsgx.c if ((phm->adapter_index < HPI_MAX_ADAPTERS) phm 65 sound/pci/asihpi/hpimsgx.c && hpi_entry_points[phm->adapter_index]) phm 66 sound/pci/asihpi/hpimsgx.c hpi_entry_points[phm->adapter_index] (phm, phr); phm 68 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, phm->object, phm->function, phm 72 sound/pci/asihpi/hpimsgx.c static void adapter_open(struct hpi_message *phm, struct hpi_response *phr); phm 73 sound/pci/asihpi/hpimsgx.c static void adapter_close(struct hpi_message *phm, struct hpi_response *phr); phm 75 sound/pci/asihpi/hpimsgx.c static void mixer_open(struct hpi_message *phm, struct hpi_response *phr); phm 76 sound/pci/asihpi/hpimsgx.c static void mixer_close(struct hpi_message *phm, struct hpi_response *phr); phm 78 sound/pci/asihpi/hpimsgx.c static void outstream_open(struct hpi_message *phm, struct hpi_response *phr, phm 80 sound/pci/asihpi/hpimsgx.c static void outstream_close(struct hpi_message *phm, struct hpi_response *phr, phm 82 sound/pci/asihpi/hpimsgx.c static void instream_open(struct hpi_message *phm, struct hpi_response *phr, phm 84 sound/pci/asihpi/hpimsgx.c static void instream_close(struct hpi_message *phm, struct hpi_response *phr, phm 89 sound/pci/asihpi/hpimsgx.c static u16 HPIMSGX__init(struct hpi_message *phm, struct hpi_response *phr); phm 151 sound/pci/asihpi/hpimsgx.c static void subsys_message(struct hpi_message *phm, struct hpi_response *phr, phm 154 sound/pci/asihpi/hpimsgx.c if (phm->adapter_index != HPI_ADAPTER_INDEX_INVALID) phm 157 sound/pci/asihpi/hpimsgx.c phm->adapter_index, phm->function); phm 159 sound/pci/asihpi/hpimsgx.c switch (phm->function) { phm 185 sound/pci/asihpi/hpimsgx.c HPI_COMMON(phm, phr); phm 188 sound/pci/asihpi/hpimsgx.c HPI_COMMON(phm, phr); phm 196 sound/pci/asihpi/hpimsgx.c HPI_COMMON(phm, phr); phm 200 sound/pci/asihpi/hpimsgx.c HPIMSGX__init(phm, phr); phm 205 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, HPI_OBJ_SUBSYSTEM, phm->function, phm 211 sound/pci/asihpi/hpimsgx.c static void adapter_message(struct hpi_message *phm, struct hpi_response *phr, phm 214 sound/pci/asihpi/hpimsgx.c switch (phm->function) { phm 216 sound/pci/asihpi/hpimsgx.c adapter_open(phm, phr); phm 219 sound/pci/asihpi/hpimsgx.c adapter_close(phm, phr); phm 222 sound/pci/asihpi/hpimsgx.c HPIMSGX__cleanup(phm->adapter_index, h_owner); phm 228 sound/pci/asihpi/hpimsgx.c hm.adapter_index = phm->adapter_index; phm 231 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 235 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 240 sound/pci/asihpi/hpimsgx.c static void mixer_message(struct hpi_message *phm, struct hpi_response *phr) phm 242 sound/pci/asihpi/hpimsgx.c switch (phm->function) { phm 244 sound/pci/asihpi/hpimsgx.c mixer_open(phm, phr); phm 247 sound/pci/asihpi/hpimsgx.c mixer_close(phm, phr); phm 250 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 255 sound/pci/asihpi/hpimsgx.c static void outstream_message(struct hpi_message *phm, phm 258 sound/pci/asihpi/hpimsgx.c if (phm->obj_index >= aDAPTER_INFO[phm->adapter_index].num_outstreams) { phm 259 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, HPI_OBJ_OSTREAM, phm->function, phm 264 sound/pci/asihpi/hpimsgx.c switch (phm->function) { phm 266 sound/pci/asihpi/hpimsgx.c outstream_open(phm, phr, h_owner); phm 269 sound/pci/asihpi/hpimsgx.c outstream_close(phm, phr, h_owner); phm 272 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 277 sound/pci/asihpi/hpimsgx.c static void instream_message(struct hpi_message *phm, phm 280 sound/pci/asihpi/hpimsgx.c if (phm->obj_index >= aDAPTER_INFO[phm->adapter_index].num_instreams) { phm 281 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, HPI_OBJ_ISTREAM, phm->function, phm 286 sound/pci/asihpi/hpimsgx.c switch (phm->function) { phm 288 sound/pci/asihpi/hpimsgx.c instream_open(phm, phr, h_owner); phm 291 sound/pci/asihpi/hpimsgx.c instream_close(phm, phr, h_owner); phm 294 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 302 sound/pci/asihpi/hpimsgx.c void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr, phm 307 sound/pci/asihpi/hpimsgx.c HPI_DEBUG_MESSAGE(DEBUG, phm); phm 309 sound/pci/asihpi/hpimsgx.c if (phm->type != HPI_TYPE_REQUEST) { phm 310 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, phm->object, phm->function, phm 315 sound/pci/asihpi/hpimsgx.c if (phm->adapter_index >= HPI_MAX_ADAPTERS phm 316 sound/pci/asihpi/hpimsgx.c && phm->adapter_index != HPIMSGX_ALLADAPTERS) { phm 317 sound/pci/asihpi/hpimsgx.c hpi_init_response(phr, phm->object, phm->function, phm 322 sound/pci/asihpi/hpimsgx.c switch (phm->object) { phm 324 sound/pci/asihpi/hpimsgx.c subsys_message(phm, phr, h_owner); phm 328 sound/pci/asihpi/hpimsgx.c adapter_message(phm, phr, h_owner); phm 332 sound/pci/asihpi/hpimsgx.c mixer_message(phm, phr); phm 336 sound/pci/asihpi/hpimsgx.c outstream_message(phm, phr, h_owner); phm 340 sound/pci/asihpi/hpimsgx.c instream_message(phm, phr, h_owner); phm 344 sound/pci/asihpi/hpimsgx.c hw_entry_point(phm, phr); phm 357 sound/pci/asihpi/hpimsgx.c static void adapter_open(struct hpi_message *phm, struct hpi_response *phr) phm 360 sound/pci/asihpi/hpimsgx.c memcpy(phr, &rESP_HPI_ADAPTER_OPEN[phm->adapter_index], phm 364 sound/pci/asihpi/hpimsgx.c static void adapter_close(struct hpi_message *phm, struct hpi_response *phr) phm 370 sound/pci/asihpi/hpimsgx.c static void mixer_open(struct hpi_message *phm, struct hpi_response *phr) phm 372 sound/pci/asihpi/hpimsgx.c memcpy(phr, &rESP_HPI_MIXER_OPEN[phm->adapter_index], phm 376 sound/pci/asihpi/hpimsgx.c static void mixer_close(struct hpi_message *phm, struct hpi_response *phr) phm 381 sound/pci/asihpi/hpimsgx.c static void instream_open(struct hpi_message *phm, struct hpi_response *phr, phm 392 sound/pci/asihpi/hpimsgx.c if (instream_user_open[phm->adapter_index][phm->obj_index].open_flag) phm 394 sound/pci/asihpi/hpimsgx.c else if (rESP_HPI_ISTREAM_OPEN[phm->adapter_index] phm 395 sound/pci/asihpi/hpimsgx.c [phm->obj_index].h.error) phm 397 sound/pci/asihpi/hpimsgx.c &rESP_HPI_ISTREAM_OPEN[phm->adapter_index][phm-> phm 401 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 408 sound/pci/asihpi/hpimsgx.c hm.adapter_index = phm->adapter_index; phm 409 sound/pci/asihpi/hpimsgx.c hm.obj_index = phm->obj_index; phm 414 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 418 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 420 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 423 sound/pci/asihpi/hpimsgx.c &rESP_HPI_ISTREAM_OPEN[phm->adapter_index] phm 424 sound/pci/asihpi/hpimsgx.c [phm->obj_index], phm 431 sound/pci/asihpi/hpimsgx.c static void instream_close(struct hpi_message *phm, struct hpi_response *phr, phm 442 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 447 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 453 sound/pci/asihpi/hpimsgx.c hm.adapter_index = phm->adapter_index; phm 454 sound/pci/asihpi/hpimsgx.c hm.obj_index = phm->obj_index; phm 458 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 462 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 464 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 470 sound/pci/asihpi/hpimsgx.c h_owner, phm->adapter_index, phm->obj_index, phm 471 sound/pci/asihpi/hpimsgx.c instream_user_open[phm->adapter_index][phm-> phm 478 sound/pci/asihpi/hpimsgx.c static void outstream_open(struct hpi_message *phm, struct hpi_response *phr, phm 489 sound/pci/asihpi/hpimsgx.c if (outstream_user_open[phm->adapter_index][phm->obj_index].open_flag) phm 491 sound/pci/asihpi/hpimsgx.c else if (rESP_HPI_OSTREAM_OPEN[phm->adapter_index] phm 492 sound/pci/asihpi/hpimsgx.c [phm->obj_index].h.error) phm 494 sound/pci/asihpi/hpimsgx.c &rESP_HPI_OSTREAM_OPEN[phm->adapter_index][phm-> phm 498 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 505 sound/pci/asihpi/hpimsgx.c hm.adapter_index = phm->adapter_index; phm 506 sound/pci/asihpi/hpimsgx.c hm.obj_index = phm->obj_index; phm 511 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 515 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 517 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 520 sound/pci/asihpi/hpimsgx.c &rESP_HPI_OSTREAM_OPEN[phm->adapter_index] phm 521 sound/pci/asihpi/hpimsgx.c [phm->obj_index], phm 528 sound/pci/asihpi/hpimsgx.c static void outstream_close(struct hpi_message *phm, struct hpi_response *phr, phm 540 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 545 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 551 sound/pci/asihpi/hpimsgx.c hm.adapter_index = phm->adapter_index; phm 552 sound/pci/asihpi/hpimsgx.c hm.obj_index = phm->obj_index; phm 556 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 560 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 562 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 568 sound/pci/asihpi/hpimsgx.c h_owner, phm->adapter_index, phm->obj_index, phm 569 sound/pci/asihpi/hpimsgx.c outstream_user_open[phm->adapter_index][phm-> phm 692 sound/pci/asihpi/hpimsgx.c static u16 HPIMSGX__init(struct hpi_message *phm, phm 703 sound/pci/asihpi/hpimsgx.c hpi_init_response(&hr, phm->object, phm->function, phm 707 sound/pci/asihpi/hpimsgx.c hpi_lookup_entry_point_function(phm->u.s.resource.r.pci); phm 710 sound/pci/asihpi/hpimsgx.c HPI_DEBUG_MESSAGE(DEBUG, phm); phm 711 sound/pci/asihpi/hpimsgx.c entry_point_func(phm, &hr); phm 20 sound/pci/asihpi/hpimsgx.h void hpi_send_recv_ex(struct hpi_message *phm, struct hpi_response *phr, phm 58 sound/pci/asihpi/hpioctl.c static void hpi_send_recv_f(struct hpi_message *phm, struct hpi_response *phr, phm 61 sound/pci/asihpi/hpioctl.c if ((phm->adapter_index >= HPI_MAX_ADAPTERS) phm 62 sound/pci/asihpi/hpioctl.c && (phm->object != HPI_OBJ_SUBSYSTEM)) phm 65 sound/pci/asihpi/hpioctl.c hpi_send_recv_ex(phm, phr, file); phm 72 sound/pci/asihpi/hpioctl.c void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr) phm 74 sound/pci/asihpi/hpioctl.c hpi_send_recv_f(phm, phr, HOWNER_KERNEL); phm 118 sound/pci/asihpi/hpioctl.c if (get_user(puhm, &phpi_ioctl_data->phm) phm 25 sound/pci/asihpi/hpioctl.h void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr); phm 65 sound/pci/asihpi/hpios.h void __user *phm;