• Home
  • Raw
  • Download

Lines Matching refs:regval

284 	u32 regval;  in cx23885_mc417_init()  local
289 regval = MC417_SPD_CTL(MC417_SPD_CTL_FAST) | in cx23885_mc417_init()
292 cx_write(MC417_CTL, regval); in cx23885_mc417_init()
295 regval = MC417_MIRDY; in cx23885_mc417_init()
296 cx_write(MC417_OEN, regval); in cx23885_mc417_init()
299 regval = MC417_MIWR | MC417_MIRD | MC417_MICS; in cx23885_mc417_init()
300 cx_write(MC417_RWD, regval); in cx23885_mc417_init()
320 u32 regval; in mc417_register_write() local
328 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE0 | in mc417_register_write()
330 cx_write(MC417_RWD, regval); in mc417_register_write()
333 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
334 cx_write(MC417_RWD, regval); in mc417_register_write()
337 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE1 | in mc417_register_write()
339 cx_write(MC417_RWD, regval); in mc417_register_write()
340 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
341 cx_write(MC417_RWD, regval); in mc417_register_write()
344 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE2 | in mc417_register_write()
346 cx_write(MC417_RWD, regval); in mc417_register_write()
347 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
348 cx_write(MC417_RWD, regval); in mc417_register_write()
351 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE3 | in mc417_register_write()
353 cx_write(MC417_RWD, regval); in mc417_register_write()
354 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
355 cx_write(MC417_RWD, regval); in mc417_register_write()
358 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_ADDRESS_BYTE0 | in mc417_register_write()
360 cx_write(MC417_RWD, regval); in mc417_register_write()
361 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
362 cx_write(MC417_RWD, regval); in mc417_register_write()
365 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_ADDRESS_BYTE1 | in mc417_register_write()
367 cx_write(MC417_RWD, regval); in mc417_register_write()
368 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
369 cx_write(MC417_RWD, regval); in mc417_register_write()
372 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_MODE | in mc417_register_write()
374 cx_write(MC417_RWD, regval); in mc417_register_write()
375 regval |= MC417_MICS | MC417_MIWR; in mc417_register_write()
376 cx_write(MC417_RWD, regval); in mc417_register_write()
385 u32 regval; in mc417_register_read() local
395 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_ADDRESS_BYTE0 | in mc417_register_read()
397 cx_write(MC417_RWD, regval); in mc417_register_read()
398 regval |= MC417_MICS | MC417_MIWR; in mc417_register_read()
399 cx_write(MC417_RWD, regval); in mc417_register_read()
402 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_ADDRESS_BYTE1 | in mc417_register_read()
404 cx_write(MC417_RWD, regval); in mc417_register_read()
405 regval |= MC417_MICS | MC417_MIWR; in mc417_register_read()
406 cx_write(MC417_RWD, regval); in mc417_register_read()
409 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_MODE | in mc417_register_read()
411 cx_write(MC417_RWD, regval); in mc417_register_read()
412 regval |= MC417_MICS | MC417_MIWR; in mc417_register_read()
413 cx_write(MC417_RWD, regval); in mc417_register_read()
422 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE0; in mc417_register_read()
423 cx_write(MC417_RWD, regval); in mc417_register_read()
430 regval = MC417_MIWR | MC417_MIRDY | MCI_REGISTER_DATA_BYTE0; in mc417_register_read()
431 cx_write(MC417_RWD, regval); in mc417_register_read()
438 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_register_read()
439 cx_write(MC417_RWD, regval); in mc417_register_read()
442 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE1; in mc417_register_read()
443 cx_write(MC417_RWD, regval); in mc417_register_read()
444 regval = MC417_MIWR | MC417_MIRDY | MCI_REGISTER_DATA_BYTE1; in mc417_register_read()
445 cx_write(MC417_RWD, regval); in mc417_register_read()
448 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_register_read()
449 cx_write(MC417_RWD, regval); in mc417_register_read()
452 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE2; in mc417_register_read()
453 cx_write(MC417_RWD, regval); in mc417_register_read()
454 regval = MC417_MIWR | MC417_MIRDY | MCI_REGISTER_DATA_BYTE2; in mc417_register_read()
455 cx_write(MC417_RWD, regval); in mc417_register_read()
458 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_register_read()
459 cx_write(MC417_RWD, regval); in mc417_register_read()
462 regval = MC417_MIRD | MC417_MIRDY | MCI_REGISTER_DATA_BYTE3; in mc417_register_read()
463 cx_write(MC417_RWD, regval); in mc417_register_read()
464 regval = MC417_MIWR | MC417_MIRDY | MCI_REGISTER_DATA_BYTE3; in mc417_register_read()
465 cx_write(MC417_RWD, regval); in mc417_register_read()
468 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_register_read()
469 cx_write(MC417_RWD, regval); in mc417_register_read()
478 u32 regval; in mc417_memory_write() local
486 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE0 | in mc417_memory_write()
488 cx_write(MC417_RWD, regval); in mc417_memory_write()
491 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
492 cx_write(MC417_RWD, regval); in mc417_memory_write()
495 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE1 | in mc417_memory_write()
497 cx_write(MC417_RWD, regval); in mc417_memory_write()
498 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
499 cx_write(MC417_RWD, regval); in mc417_memory_write()
502 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE2 | in mc417_memory_write()
504 cx_write(MC417_RWD, regval); in mc417_memory_write()
505 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
506 cx_write(MC417_RWD, regval); in mc417_memory_write()
509 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE3 | in mc417_memory_write()
511 cx_write(MC417_RWD, regval); in mc417_memory_write()
512 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
513 cx_write(MC417_RWD, regval); in mc417_memory_write()
516 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE2 | in mc417_memory_write()
518 cx_write(MC417_RWD, regval); in mc417_memory_write()
519 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
520 cx_write(MC417_RWD, regval); in mc417_memory_write()
523 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE1 | in mc417_memory_write()
525 cx_write(MC417_RWD, regval); in mc417_memory_write()
526 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
527 cx_write(MC417_RWD, regval); in mc417_memory_write()
530 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE0 | in mc417_memory_write()
532 cx_write(MC417_RWD, regval); in mc417_memory_write()
533 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_write()
534 cx_write(MC417_RWD, regval); in mc417_memory_write()
543 u32 regval; in mc417_memory_read() local
553 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE2 | in mc417_memory_read()
555 cx_write(MC417_RWD, regval); in mc417_memory_read()
556 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_read()
557 cx_write(MC417_RWD, regval); in mc417_memory_read()
560 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE1 | in mc417_memory_read()
562 cx_write(MC417_RWD, regval); in mc417_memory_read()
563 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_read()
564 cx_write(MC417_RWD, regval); in mc417_memory_read()
567 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_ADDRESS_BYTE0 | in mc417_memory_read()
569 cx_write(MC417_RWD, regval); in mc417_memory_read()
570 regval |= MC417_MICS | MC417_MIWR; in mc417_memory_read()
571 cx_write(MC417_RWD, regval); in mc417_memory_read()
580 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE3; in mc417_memory_read()
581 cx_write(MC417_RWD, regval); in mc417_memory_read()
584 regval = MC417_MIWR | MC417_MIRDY | MCI_MEMORY_DATA_BYTE3; in mc417_memory_read()
585 cx_write(MC417_RWD, regval); in mc417_memory_read()
592 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_memory_read()
593 cx_write(MC417_RWD, regval); in mc417_memory_read()
596 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE2; in mc417_memory_read()
597 cx_write(MC417_RWD, regval); in mc417_memory_read()
598 regval = MC417_MIWR | MC417_MIRDY | MCI_MEMORY_DATA_BYTE2; in mc417_memory_read()
599 cx_write(MC417_RWD, regval); in mc417_memory_read()
602 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_memory_read()
603 cx_write(MC417_RWD, regval); in mc417_memory_read()
606 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE1; in mc417_memory_read()
607 cx_write(MC417_RWD, regval); in mc417_memory_read()
608 regval = MC417_MIWR | MC417_MIRDY | MCI_MEMORY_DATA_BYTE1; in mc417_memory_read()
609 cx_write(MC417_RWD, regval); in mc417_memory_read()
612 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_memory_read()
613 cx_write(MC417_RWD, regval); in mc417_memory_read()
616 regval = MC417_MIRD | MC417_MIRDY | MCI_MEMORY_DATA_BYTE0; in mc417_memory_read()
617 cx_write(MC417_RWD, regval); in mc417_memory_read()
618 regval = MC417_MIWR | MC417_MIRDY | MCI_MEMORY_DATA_BYTE0; in mc417_memory_read()
619 cx_write(MC417_RWD, regval); in mc417_memory_read()
622 regval = MC417_MIWR | MC417_MIRD | MC417_MICS | MC417_MIRDY; in mc417_memory_read()
623 cx_write(MC417_RWD, regval); in mc417_memory_read()