Lines Matching refs:pod

147 	struct usb_line6_podhd *pod = card->private_data;
149 return sysfs_emit(buf, "%u\n", pod->serial_number);
156 struct usb_line6_podhd *pod = card->private_data;
158 return sysfs_emit(buf, "%06x\n", pod->firmware_version);
183 static int podhd_dev_start(struct usb_line6_podhd *pod)
188 struct usb_device *usbdev = pod->line6.usbdev;
195 dev_err(pod->line6.ifcdev, "read request failed (error %d)\n", ret);
205 dev_err(pod->line6.ifcdev,
210 pod->firmware_version =
214 ret = line6_read_data(&pod->line6, 0xf000 + 0x08 * i, init_bytes, 8);
230 struct usb_line6_podhd *pod = line6_to_podhd(line6);
232 podhd_dev_start(pod);
233 line6_read_serial_number(&pod->line6, &pod->serial_number);
240 struct usb_line6_podhd *pod = line6_to_podhd(line6);
242 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) {
246 pod->line6.properties->ctrl_if);
369 struct usb_line6_podhd *pod = line6_to_podhd(line6);
375 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL) {
378 pod->line6.properties->ctrl_if);
380 dev_err(pod->line6.ifcdev, "interface %d not found\n",
381 pod->line6.properties->ctrl_if);
387 dev_err(pod->line6.ifcdev, "can't claim interface %d, error %d\n",
388 pod->line6.properties->ctrl_if, err);
393 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) {
400 if (pod->line6.properties->capabilities & LINE6_CAP_PCM) {
410 if (pod->line6.properties->capabilities & LINE6_CAP_HWMON_CTL) {
411 podhd_set_monitor_level(pod, 100);
419 if (!(pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO)) {