Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 7 of 7) sorted by relevance

/sound/pci/mixart/
Dmixart_core.c76 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg() argument
90 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ in get_msg()
91 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ in get_msg()
92 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ in get_msg()
94 if( (size < MSG_DESCRIPTOR_SIZE) || (resp->size < (size - MSG_DESCRIPTOR_SIZE))) { in get_msg()
102 memcpy_fromio(resp->data, MIXART_MEM(mgr, msg_frame_address + MSG_HEADER_SIZE ), size); in get_msg()
103 resp->size = size; in get_msg()
109 ((u32*)resp->data)[i] = be32_to_cpu(((u32*)resp->data)[i]); in get_msg()
236 struct mixart_msg resp; in snd_mixart_send_msg() local
266 resp.message_id = 0; in snd_mixart_send_msg()
[all …]
Dmixart_mixer.c308 struct mixart_return_uid resp; in mixart_update_analog_audio_level() local
330 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_update_analog_audio_level()
331 if((err<0) || (resp.error_code)) { in mixart_update_analog_audio_level()
334 chip->chip_idx, is_capture, resp.error_code); in mixart_update_analog_audio_level()
968 u32 resp; in mixart_update_monitoring() local
984 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_update_monitoring()
985 if((err<0) || resp) { in mixart_update_monitoring()
988 chip->chip_idx, resp); in mixart_update_monitoring()
Dmixart.c522 struct mixart_return_uid resp; in mixart_set_format() local
589 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_set_format()
590 if((err < 0) || resp.error_code) { in mixart_set_format()
593 err, resp.error_code); in mixart_set_format()
/sound/firewire/fireworks/
Dfireworks_command.c105 const __be32 *resp, unsigned int resp_bytes) in efw_transaction() argument
163 if (resp == NULL) in efw_transaction()
167 memset((void *)resp, 0, resp_bytes); in efw_transaction()
171 memcpy((void *)resp, &buf[6], resp_bytes); in efw_transaction()
Dfireworks_transaction.c73 void *resp, unsigned int resp_size) in snd_efw_transaction_run() argument
80 t.buf = resp; in snd_efw_transaction_run()
Dfireworks.h115 void *resp, unsigned int resp_size);
/sound/oss/
Dwaveartist.c229 int nr_resp, unsigned int *resp) in waveartist_cmd() argument
281 resp[i] = inw(io_base + CMDR); in waveartist_cmd()
289 printk("%04X ", resp[i]); in waveartist_cmd()