Home
last modified time | relevance | path

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

/sound/pci/mixart/
Dmixart_core.c75 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg() argument
91 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ in get_msg()
92 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ in get_msg()
93 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ in get_msg()
95 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()
240 struct mixart_msg resp; in snd_mixart_send_msg() local
273 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()
332 …_SET_LEVEL card(%d) is_capture(%d) error_code(%x)\n", chip->chip_idx, is_capture, resp.error_code); in mixart_update_analog_audio_level()
962 u32 resp; in mixart_update_monitoring() local
978 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_update_monitoring()
979 if((err<0) || resp) { in mixart_update_monitoring()
980 …tk(KERN_DEBUG "error MSG_CONNECTOR_SET_OUT_AUDIO_LEVEL card(%d) resp(%x)\n", chip->chip_idx, resp); in mixart_update_monitoring()
Dmixart.c502 struct mixart_return_uid resp; in mixart_set_format() local
567 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_set_format()
568 if((err < 0) || resp.error_code) { in mixart_set_format()
569 snd_printk(KERN_ERR "MSG_STREAM_SET_INPUT_STAGE_PARAM err=%x; resp=%x\n", err, resp.error_code); in mixart_set_format()
/sound/oss/
Dwaveartist.c228 int nr_resp, unsigned int *resp) in waveartist_cmd() argument
280 resp[i] = inw(io_base + CMDR); in waveartist_cmd()
288 printk("%04X ", resp[i]); in waveartist_cmd()