| /third_party/backends/backend/ |
| H A D | mustek_usb_mid.c | 56 usb_mid_n600_prepare_rgb_600_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_600_dpi() argument 61 RIE (usb_low_set_image_dpi (chip, SANE_TRUE, SW_P6P6)); in usb_mid_n600_prepare_rgb_600_dpi() 62 RIE (usb_low_set_soft_resample (chip, 1)); in usb_mid_n600_prepare_rgb_600_dpi() 63 RIE (usb_low_set_led_light_all (chip, SANE_FALSE)); in usb_mid_n600_prepare_rgb_600_dpi() 69 usb_mid_n600_prepare_rgb_400_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_400_dpi() argument 74 RIE (usb_low_set_image_dpi (chip, SANE_TRUE, SW_P4P6)); in usb_mid_n600_prepare_rgb_400_dpi() 75 RIE (usb_low_set_soft_resample (chip, 1)); in usb_mid_n600_prepare_rgb_400_dpi() 76 RIE (usb_low_set_led_light_all (chip, SANE_FALSE)); in usb_mid_n600_prepare_rgb_400_dpi() 82 usb_mid_n600_prepare_rgb_300_dpi (ma1017 * chip) in usb_mid_n600_prepare_rgb_300_dpi() argument 87 RIE (usb_low_set_image_dpi (chip, SANE_TRU in usb_mid_n600_prepare_rgb_300_dpi() 95 usb_mid_n600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_200_dpi() argument 108 usb_mid_n600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_100_dpi() argument 121 usb_mid_n600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_n600_prepare_rgb_50_dpi() argument 134 usb_mid_n600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_600_dpi() argument 147 usb_mid_n600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_400_dpi() argument 160 usb_mid_n600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_300_dpi() argument 173 usb_mid_n600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_200_dpi() argument 186 usb_mid_n600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_100_dpi() argument 199 usb_mid_n600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_n600_prepare_mono_50_dpi() argument 212 usb_mid_n600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_n600_prepare_rgb() argument 245 usb_mid_n600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_n600_prepare_mono() argument 282 usb_mid_c600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_600_dpi() argument 295 usb_mid_c600_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_400_dpi() argument 308 usb_mid_c600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_300_dpi() argument 321 usb_mid_c600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_200_dpi() argument 334 usb_mid_c600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_150_dpi() argument 347 usb_mid_c600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_100_dpi() argument 360 usb_mid_c600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c600_prepare_rgb_50_dpi() argument 373 usb_mid_c600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_600_dpi() argument 386 usb_mid_c600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_400_dpi() argument 399 usb_mid_c600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_300_dpi() argument 412 usb_mid_c600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_200_dpi() argument 425 usb_mid_c600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_150_dpi() argument 438 usb_mid_c600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_100_dpi() argument 451 usb_mid_c600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c600_prepare_mono_50_dpi() argument 464 usb_mid_c600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c600_prepare_rgb() argument 500 usb_mid_c600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c600_prepare_mono() argument 543 usb_mid_c300600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_600_dpi() argument 556 usb_mid_c300600_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_400_dpi() argument 569 usb_mid_c300600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_300_dpi() argument 582 usb_mid_c300600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_200_dpi() argument 596 usb_mid_c300600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_150_dpi() argument 609 usb_mid_c300600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_100_dpi() argument 622 usb_mid_c300600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c300600_prepare_rgb_50_dpi() argument 635 usb_mid_c300600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_600_dpi() argument 648 usb_mid_c300600_prepare_mono_400_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_400_dpi() argument 661 usb_mid_c300600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_300_dpi() argument 674 usb_mid_c300600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_200_dpi() argument 687 usb_mid_c300600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_150_dpi() argument 700 usb_mid_c300600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_100_dpi() argument 713 usb_mid_c300600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c300600_prepare_mono_50_dpi() argument 726 usb_mid_c300600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c300600_prepare_rgb() argument 761 usb_mid_c300600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c300600_prepare_mono() argument 799 usb_mid_c300_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_300_dpi() argument 811 usb_mid_c300_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_200_dpi() argument 823 usb_mid_c300_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_150_dpi() argument 835 usb_mid_c300_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_100_dpi() argument 847 usb_mid_c300_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_c300_prepare_rgb_50_dpi() argument 859 usb_mid_c300_prepare_mono_300_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_300_dpi() argument 871 usb_mid_c300_prepare_mono_200_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_200_dpi() argument 883 usb_mid_c300_prepare_mono_150_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_150_dpi() argument 895 usb_mid_c300_prepare_mono_100_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_100_dpi() argument 907 usb_mid_c300_prepare_mono_50_dpi(ma1017 * chip) usb_mid_c300_prepare_mono_50_dpi() argument 919 usb_mid_c300_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_c300_prepare_rgb() argument 948 usb_mid_c300_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_c300_prepare_mono() argument 979 usb_mid_sensor_is600_mode(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_is600_mode() argument 1022 usb_mid_sensor_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_prepare_rgb() argument 1037 usb_mid_sensor_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_sensor_prepare_mono() argument 1052 usb_mid_sensor_get_dpi(ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi) usb_mid_sensor_get_dpi() argument 1093 usb_mid_motor1200_prepare_rgb_1200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_1200_dpi() argument 1114 usb_mid_motor1200_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_600_dpi() argument 1134 usb_mid_motor1200_prepare_rgb_400_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_400_dpi() argument 1153 usb_mid_motor1200_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_300_dpi() argument 1173 usb_mid_motor1200_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_200_dpi() argument 1194 usb_mid_motor1200_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_150_dpi() argument 1214 usb_mid_motor1200_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_100_dpi() argument 1233 usb_mid_motor1200_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_50_dpi() argument 1255 usb_mid_motor1200_prepare_mono_1200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_1200_dpi() argument 1273 usb_mid_motor1200_prepare_mono_600_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_600_dpi() argument 1315 usb_mid_motor1200_prepare_mono_400_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_400_dpi() argument 1334 usb_mid_motor1200_prepare_mono_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_300_dpi() argument 1376 usb_mid_motor1200_prepare_mono_200_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_200_dpi() argument 1396 usb_mid_motor1200_prepare_mono_150_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_150_dpi() argument 1414 usb_mid_motor1200_prepare_mono_100_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_100_dpi() argument 1433 usb_mid_motor1200_prepare_mono_50_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_50_dpi() argument 1455 usb_mid_motor1200_prepare_rgb_half_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_half_300_dpi() argument 1477 usb_mid_motor1200_prepare_rgb_bi_full_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_bi_full_300_dpi() argument 1499 usb_mid_motor1200_prepare_rgb_bi_full_x2300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_rgb_bi_full_x2300_dpi() argument 1521 usb_mid_motor1200_prepare_mono_half_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_half_300_dpi() argument 1542 usb_mid_motor1200_prepare_mono_bi_full_300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_bi_full_300_dpi() argument 1560 usb_mid_motor1200_prepare_mono_bi_full_x2300_dpi(ma1017 * chip) usb_mid_motor1200_prepare_mono_bi_full_x2300_dpi() argument 1578 usb_mid_motor1200_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_rgb() argument 1622 usb_mid_motor1200_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_mono() argument 1666 usb_mid_motor1200_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_calibrate_rgb() argument 1701 usb_mid_motor1200_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor1200_prepare_calibrate_mono() argument 1736 usb_mid_motor1200_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor1200_prepare_step() argument 1779 usb_mid_motor1200_prepare_home(ma1017 * chip) usb_mid_motor1200_prepare_home() argument 1797 usb_mid_motor1200_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor1200_prepare_adjust() argument 1872 usb_mid_motor600_prepare_rgb_600_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_600_dpi() argument 1892 usb_mid_motor600_prepare_rgb_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_300_dpi() argument 1912 usb_mid_motor600_prepare_rgb_200_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_200_dpi() argument 1935 usb_mid_motor600_prepare_rgb_150_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_150_dpi() argument 1954 usb_mid_motor600_prepare_rgb_100_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_100_dpi() argument 1975 usb_mid_motor600_prepare_rgb_50_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_50_dpi() argument 1994 usb_mid_motor600_prepare_mono_600_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_600_dpi() argument 2012 usb_mid_motor600_prepare_mono_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_300_dpi() argument 2030 usb_mid_motor600_prepare_mono_200_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_200_dpi() argument 2050 usb_mid_motor600_prepare_mono_150_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_150_dpi() argument 2068 usb_mid_motor600_prepare_mono_100_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_100_dpi() argument 2087 usb_mid_motor600_prepare_mono_50_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_50_dpi() argument 2106 usb_mid_motor600_prepare_rgb_half_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_half_300_dpi() argument 2128 usb_mid_motor600_prepare_rgb_bi_full_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_rgb_bi_full_300_dpi() argument 2150 usb_mid_motor600_prepare_mono_half_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_half_300_dpi() argument 2169 usb_mid_motor600_prepare_mono_bi_full_300_dpi(ma1017 * chip) usb_mid_motor600_prepare_mono_bi_full_300_dpi() argument 2188 usb_mid_motor600_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_rgb() argument 2220 usb_mid_motor600_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_mono() argument 2252 usb_mid_motor600_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_calibrate_rgb() argument 2283 usb_mid_motor600_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor600_prepare_calibrate_mono() argument 2314 usb_mid_motor600_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor600_prepare_step() argument 2357 usb_mid_motor600_prepare_home(ma1017 * chip) usb_mid_motor600_prepare_home() argument 2371 usb_mid_motor600_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor600_prepare_adjust() argument 2431 usb_mid_motor_prepare_home(ma1017 * chip) usb_mid_motor_prepare_home() argument 2440 usb_mid_motor_prepare_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_rgb() argument 2449 usb_mid_motor_prepare_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_mono() argument 2458 usb_mid_motor_prepare_adjust(ma1017 * chip, Channel channel) usb_mid_motor_prepare_adjust() argument 2467 usb_mid_motor_prepare_calibrate_rgb(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_calibrate_rgb() argument 2476 usb_mid_motor_prepare_calibrate_mono(ma1017 * chip, SANE_Word dpi) usb_mid_motor_prepare_calibrate_mono() argument 2485 usb_mid_motor_prepare_step(ma1017 * chip, SANE_Word step_count) usb_mid_motor_prepare_step() argument 2494 usb_mid_motor_rgb_capability(ma1017 * chip, SANE_Word dpi) usb_mid_motor_rgb_capability() argument 2503 usb_mid_motor_mono_capability(ma1017 * chip, SANE_Word dpi) usb_mid_motor_mono_capability() argument 2513 usb_mid_motor_get_dpi(ma1017 * chip, SANE_Word wanted_dpi, SANE_Word * dpi) usb_mid_motor_get_dpi() argument 2544 usb_mid_front_set_front_end_mode(ma1017 * chip, SANE_Byte mode) usb_mid_front_set_front_end_mode() argument 2555 usb_mid_front_enable(ma1017 * chip, SANE_Bool is_enable) usb_mid_front_enable() argument 2566 usb_mid_front_set_top_reference(ma1017 * chip, SANE_Byte top) usb_mid_front_set_top_reference() argument 2580 usb_mid_front_set_red_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_red_offset() argument 2594 usb_mid_front_set_green_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_green_offset() argument 2608 usb_mid_front_set_blue_offset(ma1017 * chip, SANE_Byte offset) usb_mid_front_set_blue_offset() argument 2634 usb_mid_front_set_red_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_red_pga() argument 2648 usb_mid_front_set_green_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_green_pga() argument 2662 usb_mid_front_set_blue_pga(ma1017 * chip, SANE_Byte pga) usb_mid_front_set_blue_pga() argument 2676 usb_mid_front_set_rgb_signal(ma1017 * chip) usb_mid_front_set_rgb_signal() argument [all...] |
| H A D | mustek_usb_low.c | 58 ma1017 *chip; in usb_low_init() local 64 chip = (ma1017 *) malloc (sizeof (ma1017)); in usb_low_init() 66 if (!chip) in usb_low_init() 68 DBG (3, "usb_low_init: couldn't malloc %ld bytes for chip\n", in usb_low_init() 73 *chip_address = chip; in usb_low_init() 76 chip->is_rowing = SANE_FALSE; in usb_low_init() 77 chip->is_opened = SANE_FALSE; in usb_low_init() 78 chip->fd = -1; in usb_low_init() 81 chip->is_opened = SANE_FALSE; in usb_low_init() 82 chip in usb_low_init() 161 usb_low_exit(ma1017 * chip) usb_low_exit() argument 179 usb_low_set_cmt_table(ma1017 * chip, SANE_Int index, Channel channel, SANE_Bool is_move_motor, SANE_Bool is_transfer) usb_low_set_cmt_table() argument 236 usb_low_get_a2(ma1017 * chip, SANE_Byte * value) usb_low_get_a2() argument 264 usb_low_start_cmt_table(ma1017 * chip) usb_low_start_cmt_table() argument 302 usb_low_stop_cmt_table(ma1017 * chip) usb_low_stop_cmt_table() argument 351 usb_low_set_test_sram_mode(ma1017 * chip, SANE_Bool is_test) usb_low_set_test_sram_mode() argument 384 usb_low_set_fix_pattern(ma1017 * chip, SANE_Bool is_fix) usb_low_set_fix_pattern() argument 417 usb_low_adjust_timing(ma1017 * chip, SANE_Byte data) usb_low_adjust_timing() argument 446 usb_low_get_a4(ma1017 * chip, SANE_Byte * value) usb_low_get_a4() argument 477 usb_low_select_timing(ma1017 * chip, SANE_Byte data) usb_low_select_timing() argument 507 usb_low_turn_frontend_mode(ma1017 * chip, SANE_Bool is_on) usb_low_turn_frontend_mode() argument 540 usb_low_get_a6(ma1017 * chip, SANE_Byte * value) usb_low_get_a6() argument 571 usb_low_set_asic_io_pins(ma1017 * chip, SANE_Byte data) usb_low_set_asic_io_pins() argument 601 usb_low_set_rgb_sel_pins(ma1017 * chip, SANE_Byte data) usb_low_set_rgb_sel_pins() argument 630 usb_low_get_a7(ma1017 * chip, SANE_Byte * value) usb_low_get_a7() argument 660 usb_low_set_timing(ma1017 * chip, SANE_Byte data) usb_low_set_timing() argument 688 usb_low_set_sram_bank(ma1017 * chip, Banksize banksize) usb_low_set_sram_bank() argument 732 usb_low_get_a8(ma1017 * chip, SANE_Byte * value) usb_low_get_a8() argument 769 usb_low_set_cmt_table_length(ma1017 * chip, SANE_Byte table_length) usb_low_set_cmt_table_length() argument 810 usb_low_get_a9(ma1017 * chip, SANE_Byte * value) usb_low_get_a9() argument 839 usb_low_set_cmt_second_position(ma1017 * chip, SANE_Byte position) usb_low_set_cmt_second_position() argument 877 usb_low_get_a10(ma1017 * chip, SANE_Byte * value) usb_low_get_a10() argument 910 usb_low_set_ccd_width(ma1017 * chip, SANE_Word ccd_width) usb_low_set_ccd_width() argument 954 usb_low_get_a11(ma1017 * chip, SANE_Byte * value) usb_low_get_a11() argument 985 usb_low_set_dummy(ma1017 * chip, SANE_Word dummy) usb_low_set_dummy() argument 1029 usb_low_get_a12(ma1017 * chip, SANE_Byte * value) usb_low_get_a12() argument 1064 usb_low_get_a13(ma1017 * chip, SANE_Byte * value) usb_low_get_a13() argument 1100 usb_low_set_image_byte_width(ma1017 * chip, SANE_Word row_size) usb_low_set_image_byte_width() argument 1144 usb_low_set_soft_resample(ma1017 * chip, SANE_Word soft_resample) usb_low_set_soft_resample() argument 1192 usb_low_set_cmt_loop_count(ma1017 * chip, SANE_Word loop_count) usb_low_set_cmt_loop_count() argument 1226 usb_low_get_a15(ma1017 * chip, SANE_Byte * value) usb_low_get_a15() argument 1260 usb_low_enable_motor(ma1017 * chip, SANE_Bool is_enable) usb_low_enable_motor() argument 1290 usb_low_set_motor_movement(ma1017 * chip, SANE_Bool is_full_step, SANE_Bool is_double_phase, SANE_Bool is_two_step) usb_low_set_motor_movement() argument 1325 usb_low_set_motor_direction(ma1017 * chip, SANE_Bool is_backward) usb_low_set_motor_direction() argument 1356 usb_low_set_motor_signal(ma1017 * chip, SANE_Byte signal) usb_low_set_motor_signal() argument 1385 usb_low_move_motor_home(ma1017 * chip, SANE_Bool is_home, SANE_Bool is_backward) usb_low_move_motor_home() argument 1425 usb_low_get_a16(ma1017 * chip, SANE_Byte * value) usb_low_get_a16() argument 1458 usb_low_set_image_dpi(ma1017 * chip, SANE_Bool is_optical600, Sampleway sampleway) usb_low_set_image_dpi() argument 1516 usb_low_set_pixel_depth(ma1017 * chip, Pixeldepth pixeldepth) usb_low_set_pixel_depth() argument 1562 usb_low_invert_image(ma1017 * chip, SANE_Bool is_invert) usb_low_invert_image() argument 1593 usb_low_get_a17(ma1017 * chip, SANE_Byte * value) usb_low_get_a17() argument 1622 usb_low_get_a18(ma1017 * chip, SANE_Byte * value) usb_low_get_a18() argument 1651 usb_low_get_a19(ma1017 * chip, SANE_Byte * value) usb_low_get_a19() argument 1680 usb_low_set_red_ref(ma1017 * chip, SANE_Byte red_ref) usb_low_set_red_ref() argument 1708 usb_low_set_green_ref(ma1017 * chip, SANE_Byte green_ref) usb_low_set_green_ref() argument 1738 usb_low_set_blue_ref(ma1017 * chip, SANE_Byte blue_ref) usb_low_set_blue_ref() argument 1768 usb_low_get_a20(ma1017 * chip, SANE_Byte * value) usb_low_get_a20() argument 1797 usb_low_get_a21(ma1017 * chip, SANE_Byte * value) usb_low_get_a21() argument 1827 usb_low_get_a22(ma1017 * chip, SANE_Byte * value) usb_low_get_a22() argument 1857 usb_low_set_red_pd(ma1017 * chip, SANE_Byte red_pd) usb_low_set_red_pd() argument 1886 usb_low_set_green_pd(ma1017 * chip, SANE_Byte green_pd) usb_low_set_green_pd() argument 1914 usb_low_set_blue_pd(ma1017 * chip, SANE_Byte blue_pd) usb_low_set_blue_pd() argument 1944 usb_low_get_a23(ma1017 * chip, SANE_Byte * value) usb_low_get_a23() argument 1973 usb_low_turn_peripheral_power(ma1017 * chip, SANE_Bool is_on) usb_low_turn_peripheral_power() argument 2003 usb_low_turn_lamp_power(ma1017 * chip, SANE_Bool is_on) usb_low_turn_lamp_power() argument 2034 usb_low_set_io_3(ma1017 * chip, SANE_Bool is_high) usb_low_set_io_3() argument 2065 usb_low_set_led_light_all(ma1017 * chip, SANE_Bool is_light_all) usb_low_set_led_light_all() argument 2097 usb_low_get_a24(ma1017 * chip, SANE_Byte * value) usb_low_get_a24() argument 2128 usb_low_set_ad_timing(ma1017 * chip, SANE_Byte data) usb_low_set_ad_timing() argument 2159 usb_low_set_serial_byte1(ma1017 * chip, SANE_Byte data) usb_low_set_serial_byte1() argument 2185 usb_low_set_serial_byte2(ma1017 * chip, SANE_Byte data) usb_low_set_serial_byte2() argument 2212 usb_low_get_a27(ma1017 * chip, SANE_Byte * value) usb_low_get_a27() argument 2244 usb_low_set_serial_format(ma1017 * chip, SANE_Byte data) usb_low_set_serial_format() argument 2275 usb_low_get_home_sensor(ma1017 * chip) usb_low_get_home_sensor() argument 2304 usb_low_start_rowing(ma1017 * chip) usb_low_start_rowing() argument 2356 usb_low_stop_rowing(ma1017 * chip) usb_low_stop_rowing() argument 2370 usb_low_wait_rowing_stop(ma1017 * chip) usb_low_wait_rowing_stop() argument 2388 usb_low_read_all_registers(ma1017 * chip) usb_low_read_all_registers() argument 2421 usb_low_get_row(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row() argument 2432 usb_low_get_row_direct(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row_direct() argument 2464 usb_low_get_row_resample(ma1017 * chip, SANE_Byte * data, SANE_Word * lines_left) usb_low_get_row_resample() argument 2578 usb_low_wait_rowing(ma1017 * chip) usb_low_wait_rowing() argument 2611 usb_low_read_rows(ma1017 * chip, SANE_Byte * data, SANE_Word byte_count) usb_low_read_rows() argument 2662 usb_low_write_reg(ma1017 * chip, SANE_Byte reg_no, SANE_Byte data) usb_low_write_reg() argument 2701 usb_low_read_reg(ma1017 * chip, SANE_Byte reg_no, SANE_Byte * data) usb_low_read_reg() argument 2816 usb_low_open(ma1017 * chip, SANE_String_Const devname) usb_low_open() argument 2881 usb_low_close(ma1017 * chip) usb_low_close() argument [all...] |
| H A D | mustek_usb_mid.h | 58 static SANE_Status usb_mid_n600_prepare_rgb (ma1017 * chip, SANE_Word dpi); 60 static SANE_Status usb_mid_n600_prepare_mono (ma1017 * chip, SANE_Word dpi); 62 static SANE_Status usb_mid_n600_prepare_rgb_600_dpi (ma1017 * chip); 64 static SANE_Status usb_mid_n600_prepare_rgb_400_dpi (ma1017 * chip); 66 static SANE_Status usb_mid_n600_prepare_rgb_300_dpi (ma1017 * chip); 68 static SANE_Status usb_mid_n600_prepare_rgb_200_dpi (ma1017 * chip); 70 static SANE_Status usb_mid_n600_prepare_rgb_100_dpi (ma1017 * chip); 72 static SANE_Status usb_mid_n600_prepare_rgb_50_dpi (ma1017 * chip); 74 static SANE_Status usb_mid_n600_prepare_mono_600_dpi (ma1017 * chip); 76 static SANE_Status usb_mid_n600_prepare_mono_400_dpi (ma1017 * chip); [all...] |
| H A D | mustek_usb2_asic.c | 53 WriteIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in WriteIOControl() argument 59 sanei_usb_control_msg (chip->fd, 0x40, 0x01, wValue, wIndex, wLength, in WriteIOControl() 71 ReadIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in ReadIOControl() argument 77 sanei_usb_control_msg (chip->fd, 0xc0, 0x01, wValue, wIndex, wLength, in ReadIOControl() 89 Mustek_ClearFIFO (PAsic chip) in Mustek_ClearFIFO() argument 99 status = WriteIOControl (chip, 0x05, 0, 4, (SANE_Byte *) (buf)); in Mustek_ClearFIFO() 103 status = WriteIOControl (chip, 0xc0, 0, 4, (SANE_Byte *) (buf)); in Mustek_ClearFIFO() 114 Mustek_SendData (PAsic chip, unsigned short reg, SANE_Byte data) in Mustek_SendData() argument 130 WriteIOControl (chip, 0xb0, 0, 4, buf); in Mustek_SendData() 146 WriteIOControl (chip, in Mustek_SendData() 177 Mustek_ReceiveData(PAsic chip, SANE_Byte * reg) Mustek_ReceiveData() argument 191 Mustek_WriteAddressLineForRegister(PAsic chip, SANE_Byte x) Mustek_WriteAddressLineForRegister() argument 210 SetRWSize(PAsic chip, SANE_Byte ReadWrite, unsigned int size) SetRWSize() argument 251 Mustek_DMARead(PAsic chip, unsigned int size, SANE_Byte * lpdata) Mustek_DMARead() argument 307 Mustek_DMAWrite(PAsic chip, unsigned int size, SANE_Byte * lpdata) Mustek_DMAWrite() argument 366 Mustek_SendData2Byte(PAsic chip, unsigned short reg, SANE_Byte data) Mustek_SendData2Byte() argument 436 LLFRamAccess(PAsic chip, LLF_RAMACCESS * RamAccess) LLFRamAccess() argument 503 LLFSetMotorCurrentAndPhase(PAsic chip, LLF_MOTOR_CURRENT_AND_PHASE * MotorCurrentAndPhase) LLFSetMotorCurrentAndPhase() argument 1562 LLFStopMotorMove(PAsic chip) LLFStopMotorMove() argument 1577 LLFSetMotorTable(PAsic chip, LLF_SETMOTORTABLE * LLF_SetMotorTable) LLFSetMotorTable() argument 1613 LLFMotorMove(PAsic chip, LLF_MOTORMOVE * LLF_MotorMove) LLFMotorMove() argument 1755 SetMotorStepTable(PAsic chip, LLF_MOTORMOVE * MotorStepsTable, unsigned short wStartY, unsigned int dwScanImageSteps, unsigned short wYResolution) SetMotorStepTable() argument 2089 SetMotorCurrent(PAsic chip, unsigned short dwMotorSpeed, LLF_MOTOR_CURRENT_AND_PHASE * CurrentPhase) SetMotorCurrent() argument 2139 MotorBackHome(PAsic chip, SANE_Byte WaitOrNoWait) MotorBackHome() argument 2188 LLFSetRamAddress(PAsic chip, unsigned int dwStartAddr, unsigned int dwEndAddr, SANE_Byte byAccessTarget) LLFSetRamAddress() argument 2223 InitTiming(PAsic chip) InitTiming() argument 2271 OpenScanChip(PAsic chip) OpenScanChip() argument 2314 CloseScanChip(PAsic chip) CloseScanChip() argument 2357 SafeInitialChip(PAsic chip) SafeInitialChip() argument 2389 DRAM_Test(PAsic chip) DRAM_Test() argument 2536 SetPowerSave(PAsic chip) SetPowerSave() argument 2556 SetLineTimeAndExposure(PAsic chip) SetLineTimeAndExposure() argument 2588 CCDTiming(PAsic chip) CCDTiming() argument 2705 IsCarriageHome(PAsic chip, SANE_Bool * LampHome, SANE_Bool * TAHome) IsCarriageHome() argument 2736 GetChipStatus(PAsic chip, SANE_Byte Selector, SANE_Byte * ChipStatus) GetChipStatus() argument 2759 SetAFEGainOffset(PAsic chip) SetAFEGainOffset() argument 2922 SetLEDTime(PAsic chip) SetLEDTime() argument 2959 SetScanMode(PAsic chip, SANE_Byte bScanBits) SetScanMode() argument 3023 SetPackAddress(PAsic chip, unsigned short wXResolution, unsigned short wWidth, unsigned short wX, double XRatioAdderDouble, double XRatioTypeDouble, SANE_Byte byClear_Pulse_Width, unsigned short * PValidPixelNumber) SetPackAddress() argument 3406 SetExtraSetting(PAsic chip, unsigned short wXResolution, unsigned short wCCD_PixelNumber, SANE_Bool isCaribrate) SetExtraSetting() argument 3536 Asic_Open(PAsic chip, SANE_Byte *pDeviceName) Asic_Open() argument 3623 Asic_Close(PAsic chip) Asic_Close() argument 3659 Asic_TurnLamp(PAsic chip, SANE_Bool isLampOn) Asic_TurnLamp() argument 3697 Asic_TurnTA(PAsic chip, SANE_Bool isTAOn) Asic_TurnTA() argument 3731 Asic_WaitUnitReady(PAsic chip) Asic_WaitUnitReady() argument 3770 Asic_Release(PAsic chip) Asic_Release() argument 3786 Asic_Initialize(PAsic chip) Asic_Initialize() argument 3818 Asic_SetWindow(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength) Asic_SetWindow() argument 4273 Asic_Reset(PAsic chip) Asic_Reset() argument 4301 Asic_SetSource(PAsic chip, LIGHTSOURCE lsLightSource) Asic_SetSource() argument 4327 Asic_ScanStart(PAsic chip) Asic_ScanStart() argument 4351 Asic_ScanStop(PAsic chip) Asic_ScanStop() argument 4407 Asic_ReadImage(PAsic chip, SANE_Byte * pBuffer, unsigned short LinesCount) Asic_ReadImage() argument 4447 Asic_CheckFunctionKey(PAsic chip, SANE_Byte * key) Asic_CheckFunctionKey() argument 4490 Asic_IsTAConnected(PAsic chip, SANE_Bool * hasTA) Asic_IsTAConnected() argument 4517 Asic_DownloadGammaTable(PAsic chip, void * lpBuffer) Asic_DownloadGammaTable() argument 4530 Asic_ReadCalibrationData(PAsic chip, void * pBuffer, unsigned int dwXferBytes, SANE_Byte bScanBits) Asic_ReadCalibrationData() argument 4596 Asic_SetMotorType(PAsic chip, SANE_Bool isMotorMove, SANE_Bool isUniformSpeed) Asic_SetMotorType() argument 4615 Asic_MotorMove(PAsic chip, SANE_Bool isForward, unsigned int dwTotalSteps) Asic_MotorMove() argument 4679 Asic_CarriageHome(PAsic chip, SANE_Bool isTA) Asic_CarriageHome() argument 4698 Asic_SetShadingTable(PAsic chip, unsigned short * lpWhiteShading, unsigned short * lpDarkShading, unsigned short wXResolution, unsigned short wWidth, unsigned short wX) Asic_SetShadingTable() argument 4804 Asic_WaitCarriageHome(PAsic chip, SANE_Bool isTA) Asic_WaitCarriageHome() argument 4834 Asic_SetCalibrate(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength, SANE_Bool isShading) Asic_SetCalibrate() argument 5245 Asic_SetAFEGainOffset(PAsic chip) Asic_SetAFEGainOffset() argument [all...] |
| H A D | mustek_usb_low.h | 175 SANE_Status (*get_row) (struct ma1017 * chip, SANE_Byte * row, 237 static SANE_Status usb_low_init (ma1017 ** chip); 239 static SANE_Status usb_low_exit (ma1017 * chip); 244 usb_low_set_cmt_table (ma1017 * chip, SANE_Int index, Channel channel, 248 static SANE_Status usb_low_get_a2 (ma1017 * chip, SANE_Byte * value); 250 static SANE_Status usb_low_start_cmt_table (ma1017 * chip); 252 static SANE_Status usb_low_stop_cmt_table (ma1017 * chip); 255 usb_low_set_test_sram_mode (ma1017 * chip, SANE_Bool is_test); 257 static SANE_Status usb_low_set_fix_pattern (ma1017 * chip, SANE_Bool is_fix); 260 static SANE_Status usb_low_adjust_timing (ma1017 * chip, SANE_Byt [all...] |
| H A D | mustek_usb_high.c | 843 RIE (usb_low_init (&dev->chip)); in usb_high_scan_init() 855 if (!dev->chip) in usb_high_scan_exit() 861 RIE (usb_low_exit (dev->chip)); in usb_high_scan_exit() 862 dev->chip = 0; in usb_high_scan_exit() 932 RIE (usb_low_open (dev->chip, dev->device_name)); in usb_high_scan_turn_power() 934 RIE (usb_low_turn_peripheral_power (dev->chip, SANE_TRUE)); in usb_high_scan_turn_power() 935 RIE (usb_low_turn_lamp_power (dev->chip, SANE_TRUE)); in usb_high_scan_turn_power() 945 RIE (usb_low_turn_lamp_power (dev->chip, SANE_FALSE)); in usb_high_scan_turn_power() 946 RIE (usb_low_close (dev->chip)); in usb_high_scan_turn_power() 967 RIE (usb_low_set_ccd_width (dev->chip, de in usb_high_scan_back_home() [all...] |
| H A D | mustek_usb2_asic.h | 227 SANE_Bool isFirstOpenChip; /* If first open chip, is TRUE */ 1201 static SANE_Status OpenScanChip (PAsic chip); 1202 static SANE_Status CloseScanChip (PAsic chip); 1203 static SANE_Status SafeInitialChip (PAsic chip); 1204 static SANE_Status DRAM_Test (PAsic chip); 1206 static SANE_Status SetPowerSave (PAsic chip); 1208 static SANE_Status SetLineTimeAndExposure (PAsic chip); 1209 static SANE_Status CCDTiming (PAsic chip); 1210 static SANE_Status IsCarriageHome (PAsic chip, SANE_Bool * LampHome, SANE_Bool * TAHome); 1211 static SANE_Status InitTiming (PAsic chip); [all...] |
| /device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
| H A D | gpiolib-of.c | 33 * established "cs-gpios" for chip selects but instead rely on 34 * "gpios" for the chip select lines. If we detect this, we redirect 87 static int of_gpiochip_match_node_and_xlate(struct gpio_chip *chip, void *data) in of_gpiochip_match_node_and_xlate() argument 91 return chip->gpiodev->dev.of_node == gpiospec->np && chip->of_xlate && chip->of_xlate(chip, gpiospec, NULL) >= 0; in of_gpiochip_match_node_and_xlate() 99 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, struct of_phandle_args *gpiospec, in of_xlate_and_get_gpiod_flags() argument 104 if (chip->of_gpio_n_cells != gpiospec->args_count) { in of_xlate_and_get_gpiod_flags() 108 ret = chip in of_xlate_and_get_gpiod_flags() 237 struct gpio_chip *chip; of_get_named_gpiod_flags() local 580 of_parse_own_gpio(struct device_node *np, struct gpio_chip *chip, unsigned int idx, const char **name, unsigned long *lflags, enum gpiod_flags *dflags) of_parse_own_gpio() argument 658 of_gpiochip_add_hog(struct gpio_chip *chip, struct device_node *hog) of_gpiochip_add_hog() argument 694 of_gpiochip_scan_gpios(struct gpio_chip *chip) of_gpiochip_scan_gpios() argument 723 of_gpiochip_remove_hog(struct gpio_chip *chip, struct device_node *hog) of_gpiochip_remove_hog() argument 735 of_gpiochip_match_node(struct gpio_chip *chip, void *data) of_gpiochip_match_node() argument 748 struct gpio_chip *chip; of_gpio_notify() local 914 of_gpiochip_init_valid_mask(struct gpio_chip *chip) of_gpiochip_init_valid_mask() argument 937 of_gpiochip_add_pin_range(struct gpio_chip *chip) of_gpiochip_add_pin_range() argument 1017 of_gpiochip_add_pin_range(struct gpio_chip *chip) of_gpiochip_add_pin_range() argument 1023 of_gpiochip_add(struct gpio_chip *chip) of_gpiochip_add() argument 1057 of_gpiochip_remove(struct gpio_chip *chip) of_gpiochip_remove() argument [all...] |
| H A D | gpio-rockchip.c | 157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction() argument 159 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_get_direction() 167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction() argument 169 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_set_direction() 319 struct irq_chip *chip = irq_desc_get_chip(desc); in rockchip_irq_demux() local 326 chained_irq_enter(chip, desc); in rockchip_irq_demux() 373 chained_irq_exit(chip, desc); in rockchip_irq_demux() 504 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in rockchip_interrupts_register() 505 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in rockchip_interrupts_register() 506 gc->chip_types[0].chip in rockchip_interrupts_register() [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/hud/ |
| H A D | hud_sensors_temp.c | 60 /* Combined chip and feature name, human readable. */ 71 sensors_chip_name *chip; member 97 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values() 100 sti->current = get_value(sti->chip, sf); in get_sensor_values() 103 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values() 108 sti->current = get_value(sti->chip, sf) * 1000; in get_sensor_values() 112 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values() 115 sti->current = get_value(sti->chip, sf); in get_sensor_values() 118 sf = sensors_get_subfeature(sti->chip, sti->feature, in get_sensor_values() 121 sti->critical = get_value(sti->chip, s in get_sensor_values() 254 create_object(const char *chipname, const char *featurename, const sensors_chip_name *chip, const sensors_feature *feature, int mode) create_object() argument 275 const sensors_chip_name *chip; build_sensor_list() local [all...] |
| /third_party/mesa3d/src/loader/ |
| H A D | pci_id_driver_map.h | 12 #define CHIPSET(chip, desc, name) chip, 18 #define CHIPSET(chip, family, family_str, name) chip, 24 #define CHIPSET(chip, name, family) chip, 30 #define CHIPSET(chip, name, family) chip, 36 #define CHIPSET(chip, name, family) chip, [all...] |
| /device/soc/rockchip/rk2206/hardware/ |
| H A D | build.py | 19 def __init__(self, chip, board): 20 self.chip = chip 39 head += "import(\"//device/rockchip/%s/sdk_liteos/board.gni\")\n" % self.chip 48 inc += " \"./lib/CMSIS/Device/%s/Include\",\n" % self.chip.upper() 50 inc += " \"./lib/bsp/%s\",\n" % self.chip.upper() 51 inc += " \"./project/%s/src\",\n" % self.chip 76 for chip in chips: 77 if src.find(chip) >= 0 and chip ! [all...] |
| /device/soc/rockchip/common/sdk_linux/include/linux/ |
| H A D | pwm.h | 72 * @hwpwm: per-chip relative index of the PWM device 74 * @chip: PWM chip providing this PWM device 75 * @chip_data: chip-private data associated with the PWM device 85 struct pwm_chip *chip; member 248 * called once per PWM device when the PWM chip is 257 int (*request)(struct pwm_chip *chip, struct pwm_device *pwm); 258 void (*free)(struct pwm_chip *chip, struct pwm_device *pwm); 259 int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_capture *result, unsigned long timeout); 260 int (*apply)(struct pwm_chip *chip, struc 456 pwmchip_add(struct pwm_chip *chip) pwmchip_add() argument 461 pwmchip_add_inversed(struct pwm_chip *chip) pwmchip_add_inversed() argument 466 pwmchip_remove(struct pwm_chip *chip) pwmchip_remove() argument 471 pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label) pwm_request_from_chip() argument 580 pwmchip_sysfs_export(struct pwm_chip *chip) pwmchip_sysfs_export() argument 584 pwmchip_sysfs_unexport(struct pwm_chip *chip) pwmchip_sysfs_unexport() argument [all...] |
| /device/soc/rockchip/common/sdk_linux/drivers/pwm/ |
| H A D | sysfs.c | 337 struct pwm_chip *chip = dev_get_drvdata(parent); in export_store() local 347 if (hwpwm >= chip->npwm) { in export_store() 351 pwm = pwm_request_from_chip(chip, hwpwm, "sysfs"); in export_store() 367 struct pwm_chip *chip = dev_get_drvdata(parent); in unexport_store() local 376 if (hwpwm >= chip->npwm) { in unexport_store() 380 ret = pwm_unexport_child(parent, &chip->pwms[hwpwm]); in unexport_store() 388 const struct pwm_chip *chip = dev_get_drvdata(parent); in npwm_show() local 390 return sprintf(buf, "%u\n", chip->npwm); in npwm_show() 438 struct pwm_chip *chip = dev_get_drvdata(parent); in pwm_class_resume_npwm() local 443 struct pwm_device *pwm = &chip in pwm_class_resume_npwm() 464 struct pwm_chip *chip = dev_get_drvdata(parent); pwm_class_suspend() local 496 struct pwm_chip *chip = dev_get_drvdata(parent); pwm_class_resume() local 515 pwmchip_sysfs_export(struct pwm_chip *chip) pwmchip_sysfs_export() argument 529 pwmchip_sysfs_unexport(struct pwm_chip *chip) pwmchip_sysfs_unexport() argument [all...] |
| H A D | pwm-rockchip.c | 40 struct pwm_chip chip;
member 72 return container_of(c, struct rockchip_pwm_chip, chip);
in to_rockchip_pwm_chip() 75 static void rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state)
in rockchip_pwm_get_state() argument 77 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip);
in rockchip_pwm_get_state() 108 static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state)
in rockchip_pwm_config() argument 110 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip);
in rockchip_pwm_config() 144 dev_err(chip->dev, "Oneshot_count value overflow.\n");
in rockchip_pwm_config() 184 static int rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, bool enable)
in rockchip_pwm_enable() argument 186 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip);
in rockchip_pwm_enable() 228 static int rockchip_pwm_apply(struct pwm_chip *chip, struc argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/sb/ |
| H A D | sb_context.cpp | 43 int sb_context::init(r600_isa *isa, sb_hw_chip chip, sb_hw_class cclass) { in init() argument 44 if (chip == HW_CHIP_UNKNOWN || cclass == HW_CLASS_UNKNOWN) in init() 49 hw_chip = chip; in init() 62 uses_mova_gpr = is_r600() && chip != HW_CHIP_RV670; in init() 64 r6xx_gpr_index_workaround = is_r600() && chip != HW_CHIP_RV670 && chip != HW_CHIP_RS780 && chip != HW_CHIP_RS880; in init() 66 switch (chip) { in init() 140 assert(!"unknown chip"); in get_hw_chip_name()
|
| /device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
| H A D | rockchip_thermal.c | 39 * the resulting TSHUT gave CRU module,let it reset the entire chip,
85 * struct chip_tsadc_table - hold information about chip-specific differences
104 * struct rockchip_tsadc_chip - hold the private data of tsadc chip
105 * @chn_id: array of sensor ids of chip corresponding to the channel
106 * @chn_num: the channel number of tsadc chip
119 * @table: the chip-specific conversion table
122 /* The sensor id of chip correspond to the ADC channel */
162 * @chip: pointer to the platform/configuration data
180 const struct rockchip_tsadc_chip *chip;
member 832 const struct chip_tsadc_table *table = &thermal->chip in rk_tsadcv1_get_trim_code() [all...] |
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_config.c | 98 uint chip; member 163 uint chip; member 207 uint chip; member 263 if (CHIPID(sih->chip) == BCM43362_CHIP_ID) { in dhd_conf_set_hw_oob_intr() 569 uint chip, chiprev; in dhd_conf_get_otp() local 572 chip = dhd->conf->chip; in dhd_conf_get_otp() 577 if (row->chip == chip && row->chiprev == chiprev) { in dhd_conf_get_otp() 584 CONFIG_TRACE("no matched chip\ in dhd_conf_get_otp() 676 uint chip, chiprev; dhd_conf_match_chip() local 698 uint devid, chip, chiprev; dhd_conf_match_module() local 746 uint chip, chiprev; dhd_conf_set_fw_name_by_chip() local 863 uint chip, chiprev; dhd_conf_set_clm_name_by_chip() local 912 uint chip, chiprev; dhd_conf_set_nv_name_by_chip() local 1025 uint chip, chiprev; dhd_conf_set_conf_name_by_chip() local 2794 uint chip = 0, rev = 0; dhd_conf_read_chiprev() local 4169 dhd_conf_set_chiprev(dhd_pub_t *dhd, uint chip, uint chiprev) dhd_conf_set_chiprev() argument [all...] |
| H A D | dhd_ccode.c | 204 uint chip;
member 246 uint chip = dhd->conf->chip, chiprev = dhd->conf->chiprev;
in dhd_ccode_map_country_list() local 252 if (row->chip == chip && row->chiprev == chiprev) {
in dhd_ccode_map_country_list()
|
| H A D | dbus_usb.c | 685 id.chip = 0xDEAD; /* Get the ID */ in dbus_usb_resetcfg() 687 id.chip = ltoh32(id.chip); in dbus_usb_resetcfg() 692 if (id.chip == POSTBOOT_ID) in dbus_usb_resetcfg() 696 if (id.chip == POSTBOOT_ID) { in dbus_usb_resetcfg() 697 DBUSERR(("%s: download done. Bootup time = %d ms postboot chip 0x%x/rev 0x%x\n", in dbus_usb_resetcfg() 698 __FUNCTION__, waittime, id.chip, id.chiprev)); in dbus_usb_resetcfg() 779 /* Get chip id and rev */ in dbus_usb_dl_writeimage() 780 id.chip = usbinfo->pub->attrib.devid; in dbus_usb_dl_writeimage() 819 if ((id.chip in dbus_usb_dl_writeimage() 885 dbus_usb_update_chipinfo(usb_info_t *usbinfo, uint32 chip) dbus_usb_update_chipinfo() argument [all...] |
| /third_party/toybox/toys/other/ |
| H A D | i2ctools.c | 89 static int i2c_open(int bus, int slave, int chip) in i2c_open() argument 95 if (slave) xioctl(fd, slave, (void *)(long)chip); in i2c_open() 240 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cdump_main() local 243 confirm("Dump chip 0x%02x on bus %d?", chip, bus); in i2cdump_main() 245 fd = i2c_open(bus, FLAG(f) ? I2C_SLAVE_FORCE : I2C_SLAVE, chip); in i2cdump_main() 269 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cget_main() local 273 confirm("Read register 0x%02x from chip 0x%02x on bus %d?", addr, chip, bus); in i2cget_main() 275 fd = i2c_open(bus, FLAG(f) ? I2C_SLAVE_FORCE : I2C_SLAVE, chip); in i2cget_main() 288 int chip = atolx_range(toys.optargs[1], 0, 0x7f); i2cset_main() local [all...] |
| /device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/ |
| H A D | drv_gpio.c | 126 gpio_drv_chip chip = GPIO_DRV_CHIP_V350; in gpio_drv_get_chip_version() local 135 chip = GPIO_DRV_CHIP_V350; in gpio_drv_get_chip_version() 140 chip = GPIO_DRV_CHIP_V350; in gpio_drv_get_chip_version() 147 HI_LOG_DBG("get chip version:0x%x\n", chip); in gpio_drv_get_chip_version() 148 return chip; in gpio_drv_get_chip_version() 152 static hi_u32 gpio_get_vir_no(hi_u32 chip, hi_u32 gpio_grp, hi_u32 gpio_bit) in gpio_get_vir_no() argument 158 if (chip == GPIO_DRV_CHIP_V350) { in gpio_get_vir_no() 455 static hi_void gpio_set_bit_irq_disable(hi_u32 chip, hi_u32 gpio_no, hi_u32 group_no, hi_u32 bit_no) in gpio_set_bit_irq_disable() argument 468 static hi_s32 gpio_set_bit_irq_enable(hi_u32 chip, hi_u3 argument 486 hi_u32 chip; hi_drv_gpio_set_bit_int_enable() local 527 hi_u32 gpio_value, chip; hi_drv_gpio_set_group_int_enable() local 913 gpio_usr_addr_remap(hi_u32 chip) gpio_usr_addr_remap() argument 996 hi_u32 i, chip; hi_drv_gpio_init() local 1041 hi_u32 i, chip, gpio_grp; hi_drv_gpio_de_init() local [all...] |
| /device/soc/rockchip/common/vendor/drivers/gpio/ |
| H A D | gpio-rockchip.c | 157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction() argument 159 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_get_direction() 167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction() argument 169 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_set_direction() 316 struct irq_chip *chip = irq_desc_get_chip(desc); in rockchip_irq_demux() local 323 chained_irq_enter(chip, desc); in rockchip_irq_demux() 370 chained_irq_exit(chip, desc); in rockchip_irq_demux() 501 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in rockchip_interrupts_register() 502 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in rockchip_interrupts_register() 503 gc->chip_types[0].chip in rockchip_interrupts_register() [all...] |
| /third_party/mesa3d/src/amd/registers/ |
| H A D | makeregheader.py | 56 def get_chip_index(chip): 58 Given a chip name, return its index in the global CHIPS list. 60 return next(idx for idx, obj in enumerate(CHIPS) if obj.name == chip) 67 oldest_chip_index = min([get_chip_index(chip) for chip in chips]) 82 chipflags = [chip.name in chips for chip in CHIPS] 87 parentflags = [chip.name in parent for chip in CHIPS] 92 for idx, chip, fla [all...] |
| /device/soc/rockchip/rk3588/kernel/drivers/pinctrl/ |
| H A D | pinctrl-rk806.c | 194 /* generic gpio chip */ 195 static int rk806_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk806_gpio_get() argument 197 struct rk806_pctrl_info *pci = gpiochip_get_data(chip); in rk806_gpio_get() 215 static void rk806_gpio_set(struct gpio_chip *chip, in rk806_gpio_set() argument 219 struct rk806_pctrl_info *pci = gpiochip_get_data(chip); in rk806_gpio_set() 234 static int rk806_gpio_direction_input(struct gpio_chip *chip, in rk806_gpio_direction_input() argument 237 return pinctrl_gpio_direction_input(chip->base + offset); in rk806_gpio_direction_input() 240 static int rk806_gpio_direction_output(struct gpio_chip *chip, in rk806_gpio_direction_output() argument 244 rk806_gpio_set(chip, offset, value); in rk806_gpio_direction_output() 245 return pinctrl_gpio_direction_output(chip in rk806_gpio_direction_output() 248 rk806_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) rk806_gpio_get_direction() argument [all...] |