Lines Matching refs:ARGR
1353 #define ARGR(ARG_name) (*ARG_name)
1390 if (ARGR(qual) < 0 || ARGR(qual) > 3)
1393 ret = pwc_try_video_mode(pdev, pdev->view.x, pdev->view.y, pdev->vframes, ARGR(qual), pdev->vsnapshot);
1395 pdev->vcompression = ARGR(qual);
1403 ARGR(qual) = pdev->vcompression;
1412 strcpy(ARGR(probe).name, pdev->vdev->name);
1413 ARGR(probe).type = pdev->type;
1422 strcpy(ARGR(serial).serial, pdev->serial);
1432 if (pwc_set_agc(pdev, ARGR(agc) < 0 ? 1 : 0, ARGR(agc)))
1452 ret = pwc_set_shutter_speed(pdev, ARGR(shutter_speed) < 0 ? 1 : 0, ARGR(shutter_speed));
1461 ret = pwc_set_awb(pdev, ARGR(wb).mode);
1462 if (ret >= 0 && ARGR(wb).mode == PWC_WB_MANUAL) {
1463 pwc_set_red_gain(pdev, ARGR(wb).manual_red);
1464 pwc_set_blue_gain(pdev, ARGR(wb).manual_blue);
1474 ARGR(wb).mode = pwc_get_awb(pdev);
1475 if (ARGR(wb).mode < 0)
1478 if (ARGR(wb).mode == PWC_WB_MANUAL) {
1479 ret = pwc_get_red_gain(pdev, &ARGR(wb).manual_red);
1482 ret = pwc_get_blue_gain(pdev, &ARGR(wb).manual_blue);
1486 if (ARGR(wb).mode == PWC_WB_AUTO) {
1487 ret = pwc_read_red_gain(pdev, &ARGR(wb).read_red);
1490 ret = pwc_read_blue_gain(pdev, &ARGR(wb).read_blue);
1503 if (ARGR(wbs).control_speed > 0) {
1504 ret = pwc_set_wb_speed(pdev, ARGR(wbs).control_speed);
1506 if (ARGR(wbs).control_delay > 0) {
1507 ret = pwc_set_wb_delay(pdev, ARGR(wbs).control_delay);
1516 ret = pwc_get_wb_speed(pdev, &ARGR(wbs).control_speed);
1519 ret = pwc_get_wb_delay(pdev, &ARGR(wbs).control_delay);
1531 ret = pwc_set_leds(pdev, ARGR(leds).led_on, ARGR(leds).led_off);
1540 ret = pwc_get_leds(pdev, &ARGR(leds).led_on, &ARGR(leds).led_off);
1550 ret = pwc_set_contour(pdev, ARGR(contour));
1568 ret = pwc_set_backlight(pdev, ARGR(backlight));
1586 ret = pwc_set_flicker(pdev, ARGR(flicker));
1604 ret = pwc_set_dynamic_noise(pdev, ARGR(dynnoise));
1621 ARGR(size).width = pdev->image.x;
1622 ARGR(size).height = pdev->image.y;
1634 ret = pwc_mpt_reset(pdev, ARGR(flags));
1649 ARGR(range) = pdev->angle_range;
1671 if (ARGR(angles).absolute)
1673 new_pan = ARGR(angles).pan;
1674 new_tilt = ARGR(angles).tilt;
1678 new_pan = pdev->pan_angle + ARGR(angles).pan;
1679 new_tilt = pdev->tilt_angle + ARGR(angles).tilt;
1697 ARGR(angles).absolute = 1;
1698 ARGR(angles).pan = pdev->pan_angle;
1699 ARGR(angles).tilt = pdev->tilt_angle;
1729 ARGR(vcmd).type = pdev->type;
1730 ARGR(vcmd).release = pdev->release;
1731 ARGR(vcmd).command_len = pdev->cmd_len;
1732 memcpy(&ARGR(vcmd).command_buf, pdev->cmd_buf, pdev->cmd_len);
1733 ARGR(vcmd).bandlength = pdev->vbandlength;
1734 ARGR(vcmd).frame_size = pdev->frame_size;
1742 ARGR(table).len = pdev->cmd_len;
1743 memcpy(&ARGR(table).buffer, pdev->decompress_data, pdev->decompressor->table_size);