Lines Matching refs:pipe
147 int err, pipe, len, size, sent = 0; in ath3k_load_firmware() local
152 pipe = usb_sndctrlpipe(udev, 0); in ath3k_load_firmware()
161 if ((err = usb_control_msg(udev, pipe, in ath3k_load_firmware()
173 pipe = usb_sndbulkpipe(udev, 0x02); in ath3k_load_firmware()
176 err = usb_bulk_msg(udev, pipe, send_buf, size, in ath3k_load_firmware()
196 int pipe = 0; in ath3k_get_state() local
198 pipe = usb_rcvctrlpipe(udev, 0); in ath3k_get_state()
199 return usb_control_msg(udev, pipe, ATH3K_GETSTATE, in ath3k_get_state()
207 int pipe = 0; in ath3k_get_version() local
209 pipe = usb_rcvctrlpipe(udev, 0); in ath3k_get_version()
210 return usb_control_msg(udev, pipe, ATH3K_GETVERSION, in ath3k_get_version()
220 int err, pipe, len, size, count, sent = 0; in ath3k_load_fwfile() local
234 pipe = usb_sndctrlpipe(udev, 0); in ath3k_load_fwfile()
235 ret = usb_control_msg(udev, pipe, ATH3K_DNLOAD, in ath3k_load_fwfile()
249 pipe = usb_sndbulkpipe(udev, 0x02); in ath3k_load_fwfile()
253 err = usb_bulk_msg(udev, pipe, send_buf, size, in ath3k_load_fwfile()
271 int pipe = 0; in ath3k_switch_pid() local
273 pipe = usb_sndctrlpipe(udev, 0); in ath3k_switch_pid()
274 return usb_control_msg(udev, pipe, USB_REG_SWITCH_VID_PID, in ath3k_switch_pid()
282 int pipe = 0, ret; in ath3k_set_normal_mode() local
295 pipe = usb_sndctrlpipe(udev, 0); in ath3k_set_normal_mode()
296 return usb_control_msg(udev, pipe, ATH3K_SET_NORMAL_MODE, in ath3k_set_normal_mode()