Home
last modified time | relevance | path

Searched refs:adapter_index (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/sound/pci/asihpi/
Dhpimsgx.c75 if ((phm->adapter_index < HPI_MAX_ADAPTERS) in hw_entry_point()
76 && hpi_entry_points[phm->adapter_index]) in hw_entry_point()
77 hpi_entry_points[phm->adapter_index] (phm, phr); in hw_entry_point()
98 static void HPIMSGX__reset(u16 adapter_index);
101 static void HPIMSGX__cleanup(u16 adapter_index, void *h_owner);
165 if (phm->adapter_index != HPI_ADAPTER_INDEX_INVALID) in subsys_message()
168 phm->adapter_index, phm->function); in subsys_message()
233 HPIMSGX__cleanup(phm->adapter_index, h_owner); in adapter_message()
239 hm.adapter_index = phm->adapter_index; in adapter_message()
269 if (phm->obj_index >= aDAPTER_INFO[phm->adapter_index].num_outstreams) { in outstream_message()
[all …]
Dhpifunc.c11 unsigned int adapter_index:14; member
21 u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index, in hpi_indexes_to_handle() argument
26 handle.h.adapter_index = adapter_index; in hpi_indexes_to_handle()
42 *p1 = (u16)uhandle.h.adapter_index; in hpi_handle_indexes()
129 *padapter_index = (int)hr.u.s.adapter_index; in hpi_subsys_get_adapter()
135 u16 hpi_adapter_open(u16 adapter_index) in hpi_adapter_open() argument
141 hm.adapter_index = adapter_index; in hpi_adapter_open()
149 u16 hpi_adapter_close(u16 adapter_index) in hpi_adapter_close() argument
155 hm.adapter_index = adapter_index; in hpi_adapter_close()
162 u16 hpi_adapter_set_mode(u16 adapter_index, u32 adapter_mode) in hpi_adapter_set_mode() argument
[all …]
Dhpioctl.c68 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f()
189 if (hm->h.adapter_index < ARRAY_SIZE(adapters)) in asihpi_hpi_ioctl()
190 pa = &adapters[array_index_nospec(hm->h.adapter_index, in asihpi_hpi_ioctl()
227 hm->h.adapter_index, in asihpi_hpi_ioctl()
348 int adapter_index; in asihpi_adapter_probe() local
375 hm.adapter_index = HPI_ADAPTER_INDEX_INVALID; in asihpi_adapter_probe()
406 adapter_index = hr.u.s.adapter_index; in asihpi_adapter_probe()
407 adapter.adapter = hpi_find_adapter(adapter_index); in asihpi_adapter_probe()
422 hm.adapter_index = adapter.adapter->index; in asihpi_adapter_probe()
433 hm.adapter_index = adapter.adapter->index; in asihpi_adapter_probe()
[all …]
Dhpi.h1186 u16 hpi_adapter_open(u16 adapter_index);
1188 u16 hpi_adapter_close(u16 adapter_index);
1190 u16 hpi_adapter_get_info(u16 adapter_index, u16 *pw_num_outstreams,
1194 u16 hpi_adapter_get_module_by_index(u16 adapter_index, u16 module_index,
1198 u16 hpi_adapter_set_mode(u16 adapter_index, u32 adapter_mode);
1200 u16 hpi_adapter_set_mode_ex(u16 adapter_index, u32 adapter_mode,
1203 u16 hpi_adapter_get_mode(u16 adapter_index, u32 *padapter_mode);
1205 u16 hpi_adapter_get_assert2(u16 adapter_index, u16 *p_assert_count,
1209 u16 hpi_adapter_test_assert(u16 adapter_index, u16 assert_id);
1211 u16 hpi_adapter_enable_capability(u16 adapter_index, u16 capability, u32 key);
[all …]
Dhpicmn.c124 struct hpi_adapter_obj *hpi_find_adapter(u16 adapter_index) in hpi_find_adapter() argument
128 if (adapter_index >= HPI_MAX_ADAPTERS) { in hpi_find_adapter()
130 adapter_index); in hpi_find_adapter()
134 pao = &adapters.adapter[adapter_index]; in hpi_find_adapter()
176 phr->u.s.adapter_index = adapters.adapter[index].index; in subsys_get_adapter()
179 phr->u.s.adapter_index = 0; in subsys_get_adapter()
524 found ? "Cached" : "Uncached", phm->adapter_index, in hpi_check_control_cache_single()
546 phm->adapter_index); in hpi_check_control_cache()
634 phm->adapter_index); in hpi_cmn_control_cache_sync_to_msg()
Dhpidebug.c52 phm->adapter_index, phm->obj_index, phm->function, in hpi_debug_message()
Dhpi_internal.h652 u16 adapter_index; member
697 u16 adapter_index; member
1004 u16 adapter_index; /* the adapter index */ member
1015 u16 adapter_index; /* the adapter index */ member
1180 u16 adapter_index; /* the adapter index */ member
1399 u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index,
1417 u16 hpi_adapter_restart(u16 adapter_index);
Dhpicmn.h57 struct hpi_adapter_obj *hpi_find_adapter(u16 adapter_index);
Dasihpi.c188 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach()
212 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_detach()
2855 u32 adapter_index; in snd_asihpi_probe() local
2873 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
2875 err = snd_card_new(&pci_dev->dev, adapter_index, id[adapter_index], in snd_asihpi_probe()
2885 adapter_index, card->number); in snd_asihpi_probe()
2894 err = hpi_adapter_get_property(adapter_index, in snd_asihpi_probe()
2900 err = hpi_adapter_get_property(adapter_index, in snd_asihpi_probe()
2906 err = hpi_adapter_get_property(adapter_index, in snd_asihpi_probe()
2923 hpi_handle_error(hpi_instream_open(adapter_index, in snd_asihpi_probe()
[all …]
Dhpimsginit.c60 phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; in hpi_init_message()
Dhpi6000.c337 pao = hpi_find_adapter(phm->adapter_index); in HPI_6000()
342 phm->adapter_index); in HPI_6000()
351 phm->adapter_index); in HPI_6000()
458 phr->u.s.adapter_index = ao.index; in subsys_create_adapter()
544 hm.adapter_index = 0; in create_adapter_obj()
562 pao->index = hr0.u.ax.info.adapter_index; in create_adapter_obj()
Dhpi6205.c304 phm->adapter_index); in outstream_message()
348 phm->adapter_index); in instream_message()
441 pao = hpi_find_adapter(phm->adapter_index); in HPI_6205()
497 phr->u.s.adapter_index = ao.index; in subsys_create_adapter()
660 pao->index = hr.u.ax.info.adapter_index; in create_adapter_obj()
664 hr.u.ax.info.adapter_type, hr.u.ax.info.adapter_index, in create_adapter_obj()
/Linux-v4.19/drivers/scsi/arcmsr/
Darcmsr.h768 uint8_t adapter_index; member
Darcmsr_hba.c3749 acb->adapter_index, cdb_phyaddr_hi32); in arcmsr_iop_confirm()