Lines Matching full:temp

355 	u32 temp;  in mc417_register_write()  local
358 temp = 0x82 | MCI_REGISTER_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mc417_register_write()
359 temp = temp << 10; in mc417_register_write()
360 status = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
363 temp = temp | (0x05 << 10); in mc417_register_write()
364 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
367 temp = 0x82 | MCI_REGISTER_DATA_BYTE1 | (value & 0x0000FF00); in mc417_register_write()
368 temp = temp << 10; in mc417_register_write()
369 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
370 temp = temp | (0x05 << 10); in mc417_register_write()
371 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
374 temp = 0x82 | MCI_REGISTER_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); in mc417_register_write()
375 temp = temp << 10; in mc417_register_write()
376 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
377 temp = temp | (0x05 << 10); in mc417_register_write()
378 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
381 temp = 0x82 | MCI_REGISTER_DATA_BYTE3 | ((value & 0xFF000000) >> 16); in mc417_register_write()
382 temp = temp << 10; in mc417_register_write()
383 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
384 temp = temp | (0x05 << 10); in mc417_register_write()
385 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
388 temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE0 | ((address & 0x000000FF) << 8); in mc417_register_write()
389 temp = temp << 10; in mc417_register_write()
390 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
391 temp = temp | (0x05 << 10); in mc417_register_write()
392 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
395 temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE1 | (address & 0x0000FF00); in mc417_register_write()
396 temp = temp << 10; in mc417_register_write()
397 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
398 temp = temp | (0x05 << 10); in mc417_register_write()
399 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
402 temp = 0x82 | MCI_REGISTER_MODE | MCI_MODE_REGISTER_WRITE; in mc417_register_write()
403 temp = temp << 10; in mc417_register_write()
404 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
405 temp = temp | (0x05 << 10); in mc417_register_write()
406 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
414 u32 temp; in mc417_register_read() local
418 temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); in mc417_register_read()
419 temp = temp << 10; in mc417_register_read()
420 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
421 temp = temp | ((0x05) << 10); in mc417_register_read()
422 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
425 temp = 0x82 | MCI_REGISTER_ADDRESS_BYTE1 | (address & 0xFF00); in mc417_register_read()
426 temp = temp << 10; in mc417_register_read()
427 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
428 temp = temp | ((0x05) << 10); in mc417_register_read()
429 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
432 temp = 0x82 | MCI_REGISTER_MODE | MCI_MODE_REGISTER_READ; in mc417_register_read()
433 temp = temp << 10; in mc417_register_read()
434 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
435 temp = temp | ((0x05) << 10); in mc417_register_read()
436 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_read()
445 temp = (0x82 | MCI_REGISTER_DATA_BYTE0) << 10; in mc417_register_read()
446 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
447 temp = ((0x81 | MCI_REGISTER_DATA_BYTE0) << 10); in mc417_register_read()
448 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
449 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_register_read()
450 return_value |= ((temp & 0x03FC0000) >> 18); in mc417_register_read()
454 temp = (0x82 | MCI_REGISTER_DATA_BYTE1) << 10; in mc417_register_read()
455 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
456 temp = ((0x81 | MCI_REGISTER_DATA_BYTE1) << 10); in mc417_register_read()
457 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
458 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_register_read()
460 return_value |= ((temp & 0x03FC0000) >> 10); in mc417_register_read()
464 temp = (0x82 | MCI_REGISTER_DATA_BYTE2) << 10; in mc417_register_read()
465 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
466 temp = ((0x81 | MCI_REGISTER_DATA_BYTE2) << 10); in mc417_register_read()
467 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
468 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_register_read()
469 return_value |= ((temp & 0x03FC0000) >> 2); in mc417_register_read()
473 temp = (0x82 | MCI_REGISTER_DATA_BYTE3) << 10; in mc417_register_read()
474 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
475 temp = ((0x81 | MCI_REGISTER_DATA_BYTE3) << 10); in mc417_register_read()
476 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_register_read()
477 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_register_read()
478 return_value |= ((temp & 0x03FC0000) << 6); in mc417_register_read()
489 u32 temp; in mc417_memory_write() local
492 temp = 0x82 | MCI_MEMORY_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mc417_memory_write()
493 temp = temp << 10; in mc417_memory_write()
494 ret = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
497 temp = temp | (0x05 << 10); in mc417_memory_write()
498 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
501 temp = 0x82 | MCI_MEMORY_DATA_BYTE1 | (value & 0x0000FF00); in mc417_memory_write()
502 temp = temp << 10; in mc417_memory_write()
503 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
504 temp = temp | (0x05 << 10); in mc417_memory_write()
505 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
508 temp = 0x82 | MCI_MEMORY_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); in mc417_memory_write()
509 temp = temp << 10; in mc417_memory_write()
510 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
511 temp = temp | (0x05 << 10); in mc417_memory_write()
512 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
515 temp = 0x82 | MCI_MEMORY_DATA_BYTE3 | ((value & 0xFF000000) >> 16); in mc417_memory_write()
516 temp = temp << 10; in mc417_memory_write()
517 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
518 temp = temp | (0x05 << 10); in mc417_memory_write()
519 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
522 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_WRITE | in mc417_memory_write()
524 temp = temp << 10; in mc417_memory_write()
525 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
526 temp = temp | (0x05 << 10); in mc417_memory_write()
527 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
530 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); in mc417_memory_write()
531 temp = temp << 10; in mc417_memory_write()
532 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
533 temp = temp | (0x05 << 10); in mc417_memory_write()
534 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
537 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); in mc417_memory_write()
538 temp = temp << 10; in mc417_memory_write()
539 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
540 temp = temp | (0x05 << 10); in mc417_memory_write()
541 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_write()
551 u32 temp = 0; in mc417_memory_read() local
556 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_READ | in mc417_memory_read()
558 temp = temp << 10; in mc417_memory_read()
559 ret = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
562 temp = temp | (0x05 << 10); in mc417_memory_read()
563 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
566 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); in mc417_memory_read()
567 temp = temp << 10; in mc417_memory_read()
568 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
569 temp = temp | (0x05 << 10); in mc417_memory_read()
570 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
573 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); in mc417_memory_read()
574 temp = temp << 10; in mc417_memory_read()
575 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
576 temp = temp | (0x05 << 10); in mc417_memory_read()
577 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_memory_read()
584 temp = (0x82 | MCI_MEMORY_DATA_BYTE3) << 10; in mc417_memory_read()
585 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
586 temp = ((0x81 | MCI_MEMORY_DATA_BYTE3) << 10); in mc417_memory_read()
587 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
588 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_memory_read()
589 return_value |= ((temp & 0x03FC0000) << 6); in mc417_memory_read()
593 temp = (0x82 | MCI_MEMORY_DATA_BYTE2) << 10; in mc417_memory_read()
594 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
595 temp = ((0x81 | MCI_MEMORY_DATA_BYTE2) << 10); in mc417_memory_read()
596 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
597 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_memory_read()
598 return_value |= ((temp & 0x03FC0000) >> 2); in mc417_memory_read()
602 temp = (0x82 | MCI_MEMORY_DATA_BYTE1) << 10; in mc417_memory_read()
603 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
604 temp = ((0x81 | MCI_MEMORY_DATA_BYTE1) << 10); in mc417_memory_read()
605 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
606 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_memory_read()
607 return_value |= ((temp & 0x03FC0000) >> 10); in mc417_memory_read()
611 temp = (0x82 | MCI_MEMORY_DATA_BYTE0) << 10; in mc417_memory_read()
612 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
613 temp = ((0x81 | MCI_MEMORY_DATA_BYTE0) << 10); in mc417_memory_read()
614 set_itvc_reg(dev, ITVC_READ_DIR, temp); in mc417_memory_read()
615 get_itvc_reg(dev, ITVC_READ_DIR, &temp); in mc417_memory_read()
616 return_value |= ((temp & 0x03FC0000) >> 18); in mc417_memory_read()
849 u32 temp = 0; in mci_write_memory_to_gpio() local
852 temp = 0x82 | MCI_MEMORY_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mci_write_memory_to_gpio()
853 temp = temp << 10; in mci_write_memory_to_gpio()
854 *p_fw_image = temp; in mci_write_memory_to_gpio()
856 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
857 *p_fw_image = temp; in mci_write_memory_to_gpio()
861 temp = 0x82 | MCI_MEMORY_DATA_BYTE1 | (value & 0x0000FF00); in mci_write_memory_to_gpio()
862 temp = temp << 10; in mci_write_memory_to_gpio()
863 *p_fw_image = temp; in mci_write_memory_to_gpio()
865 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
866 *p_fw_image = temp; in mci_write_memory_to_gpio()
870 temp = 0x82 | MCI_MEMORY_DATA_BYTE2 | ((value & 0x00FF0000) >> 8); in mci_write_memory_to_gpio()
871 temp = temp << 10; in mci_write_memory_to_gpio()
872 *p_fw_image = temp; in mci_write_memory_to_gpio()
874 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
875 *p_fw_image = temp; in mci_write_memory_to_gpio()
879 temp = 0x82 | MCI_MEMORY_DATA_BYTE3 | ((value & 0xFF000000) >> 16); in mci_write_memory_to_gpio()
880 temp = temp << 10; in mci_write_memory_to_gpio()
881 *p_fw_image = temp; in mci_write_memory_to_gpio()
883 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
884 *p_fw_image = temp; in mci_write_memory_to_gpio()
888 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE2 | MCI_MODE_MEMORY_WRITE | in mci_write_memory_to_gpio()
890 temp = temp << 10; in mci_write_memory_to_gpio()
891 *p_fw_image = temp; in mci_write_memory_to_gpio()
893 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
894 *p_fw_image = temp; in mci_write_memory_to_gpio()
898 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE1 | (address & 0xFF00); in mci_write_memory_to_gpio()
899 temp = temp << 10; in mci_write_memory_to_gpio()
900 *p_fw_image = temp; in mci_write_memory_to_gpio()
902 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
903 *p_fw_image = temp; in mci_write_memory_to_gpio()
907 temp = 0x82 | MCI_MEMORY_ADDRESS_BYTE0 | ((address & 0x00FF) << 8); in mci_write_memory_to_gpio()
908 temp = temp << 10; in mci_write_memory_to_gpio()
909 *p_fw_image = temp; in mci_write_memory_to_gpio()
911 temp = temp | (0x05 << 10); in mci_write_memory_to_gpio()
912 *p_fw_image = temp; in mci_write_memory_to_gpio()