/linux-2.6.39/drivers/scsi/mpt2sas/ |
D | mpt2sas_debug.h | 76 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument 79 CMD; \ 82 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument 90 #define dprintk(IOC, CMD) \ argument 91 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG) 93 #define dsgprintk(IOC, CMD) \ argument 94 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SG) 96 #define devtprintk(IOC, CMD) \ argument 97 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EVENTS) 99 #define dewtprintk(IOC, CMD) \ argument [all …]
|
/linux-2.6.39/drivers/message/fusion/ |
D | mptdebug.h | 68 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) \ argument 71 CMD; \ 74 #define MPT_CHECK_LOGGING(IOC, CMD, BITS) argument 82 #define dprintk(IOC, CMD) \ argument 83 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG) 85 #define dsgprintk(IOC, CMD) \ argument 86 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_SG) 88 #define devtprintk(IOC, CMD) \ argument 89 MPT_CHECK_LOGGING(IOC, CMD, MPT_DEBUG_EVENTS) 91 #define devtverboseprintk(IOC, CMD) \ argument [all …]
|
/linux-2.6.39/drivers/scsi/ |
D | scsi_logging.h | 46 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 50 CMD; \ 54 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument 62 #define SCSI_LOG_ERROR_RECOVERY(LEVEL,CMD) \ argument 63 SCSI_CHECK_LOGGING(SCSI_LOG_ERROR_SHIFT, SCSI_LOG_ERROR_BITS, LEVEL,CMD); 64 #define SCSI_LOG_TIMEOUT(LEVEL,CMD) \ argument 65 SCSI_CHECK_LOGGING(SCSI_LOG_TIMEOUT_SHIFT, SCSI_LOG_TIMEOUT_BITS, LEVEL,CMD); 66 #define SCSI_LOG_SCAN_BUS(LEVEL,CMD) \ argument 67 SCSI_CHECK_LOGGING(SCSI_LOG_SCAN_SHIFT, SCSI_LOG_SCAN_BITS, LEVEL,CMD); 68 #define SCSI_LOG_MLQUEUE(LEVEL,CMD) \ argument [all …]
|
/linux-2.6.39/drivers/block/paride/ |
D | friq.c | 40 #define CMD(x) w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\ macro 57 CMD(r); in friq_read_regr() 72 CMD(r); in friq_write_regr() 83 case 0: CMD(regr); in friq_read_block_int() 93 CMD(regr+0xc0); in friq_read_block_int() 103 case 2: CMD(regr+0x80); in friq_read_block_int() 111 case 3: CMD(regr+0x80); in friq_read_block_int() 119 case 4: CMD(regr+0x80); in friq_read_block_int() 144 case 1: CMD(8); w2(5); in friq_write_block() 152 case 2: CMD(0xc8); w2(5); in friq_write_block() [all …]
|
/linux-2.6.39/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 264 status_OK = CMD(0x80); in do_read_onechip() 278 map_write (map, CMD(0xb0), cmd_addr); in do_read_onechip() 284 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 295 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip() 297 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 311 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip() 325 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() 331 map_write(map, CMD(0xff), cmd_addr); in do_read_onechip() 374 map_write(map, CMD(0xd0), cmd_addr); in do_read_onechip() 375 map_write(map, CMD(0x70), cmd_addr); in do_read_onechip() [all …]
|
D | cfi_cmdset_0001.c | 756 map_word status, status_OK = CMD(0x80), status_PWS = CMD(0x01); in chip_ready() 798 map_write(map, CMD(0xB0), adr); in chip_ready() 805 map_write(map, CMD(0x70), adr); in chip_ready() 816 map_write(map, CMD(0xd0), adr); in chip_ready() 818 map_write(map, CMD(0x70), adr); in chip_ready() 1010 map_write(map, CMD(0xd0), adr); in put_chip() 1011 map_write(map, CMD(0x70), adr); in put_chip() 1059 map_write(map, CMD(0xff), adr); in xip_enable() 1086 map_word status, OK = CMD(0x80); in xip_wait_for_operation() 1113 map_write(map, CMD(0xb0), adr); in xip_wait_for_operation() [all …]
|
D | cfi_cmdset_0002.c | 295 cfi->sector_erase_cmd = CMD(0x50); in fixup_sst39vf_rev_b() 699 map_write(map, CMD(0xB0), chip->in_progress_block_addr); in get_chip() 814 map_write(map, CMD(0xf0), adr); in xip_enable() 840 map_word status, OK = CMD(0x80); in xip_udelay() 859 map_write(map, CMD(0xb0), adr); in xip_udelay() 877 if (!map_word_bitsset(map, status, CMD(0x40))) in xip_udelay() 881 map_write(map, CMD(0xf0), adr); in xip_udelay() 999 map_write(map, CMD(0xf0), cmd_addr); in do_read_onechip() 1231 map_write( map, CMD(0xF0), chip->start ); in do_write_oneword() 1416 map_write(map, CMD(0x25), cmd_adr); in do_write_buffer() [all …]
|
/linux-2.6.39/drivers/scsi/pm8001/ |
D | pm8001_sas.h | 71 #define PM8001_CHECK_LOGGING(HBA, LEVEL, CMD) \ argument 75 CMD; \ 79 #define PM8001_EH_DBG(HBA, CMD) \ argument 80 PM8001_CHECK_LOGGING(HBA, PM8001_EH_LOGGING, CMD) 82 #define PM8001_INIT_DBG(HBA, CMD) \ argument 83 PM8001_CHECK_LOGGING(HBA, PM8001_INIT_LOGGING, CMD) 85 #define PM8001_DISC_DBG(HBA, CMD) \ argument 86 PM8001_CHECK_LOGGING(HBA, PM8001_DISC_LOGGING, CMD) 88 #define PM8001_IO_DBG(HBA, CMD) \ argument 89 PM8001_CHECK_LOGGING(HBA, PM8001_IO_LOGGING, CMD) [all …]
|
/linux-2.6.39/include/linux/mtd/ |
D | pfow.h | 108 map_write(map, CMD(cmd_code), map->pfow_base + PFOW_COMMAND_CODE); in send_pfow_command() 109 map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)), in send_pfow_command() 111 map_write(map, CMD(adr>>bits_per_chip), in send_pfow_command() 114 map_write(map, CMD(len & ((1<<bits_per_chip) - 1)), in send_pfow_command() 116 map_write(map, CMD(len>>bits_per_chip), in send_pfow_command() 123 map_write(map, CMD(LPDDR_START_EXECUTION), in send_pfow_command()
|
/linux-2.6.39/drivers/video/msm/ |
D | mddi.c | 107 mddi_writel(MDDI_CMD_LINK_ACTIVE, CMD); in mddi_activate_link() 120 mddi_writel(MDDI_CMD_FORCE_NEW_REV_PTR, CMD); in mddi_reset_rev_encap_ptr() 331 mddi_writel(MDDI_CMD_FORCE_NEW_REV_PTR, CMD); in mddi_init_rev_encap() 339 mddi_writel(MDDI_CMD_POWERDOWN, CMD); in mddi_set_auto_hibernate() 341 mddi_writel(MDDI_CMD_HIBERNATE | !!on, CMD); in mddi_set_auto_hibernate() 363 mddi_writel(MDDI_CMD_PERIODIC_REV_ENCAP, CMD); in mddi_init_registers() 382 mddi_writel(MDDI_CMD_DISP_IGNORE, CMD); in mddi_init_registers() 397 mddi_writel(MDDI_CMD_RESET, CMD); in mddi_suspend() 417 mddi_writel(MDDI_CMD_LINK_ACTIVE, CMD); in mddi_resume() 418 mddi_writel(MDDI_CMD_SEND_RTD, CMD); in mddi_resume() [all …]
|
/linux-2.6.39/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 85 map_write(map, CMD(LPDDR_INFO_QUERY), in lpddr_info_query() 87 map_write(map, CMD(adr & ((1 << bits_per_chip) - 1)), in lpddr_info_query() 89 map_write(map, CMD(adr >> bits_per_chip), in lpddr_info_query() 91 map_write(map, CMD(LPDDR_START_EXECUTION), in lpddr_info_query() 115 if (!map_word_equal(map, CMD('P'), pfow_val[0])) in lpddr_pfow_present() 118 if (!map_word_equal(map, CMD('F'), pfow_val[1])) in lpddr_pfow_present() 121 if (!map_word_equal(map, CMD('O'), pfow_val[2])) in lpddr_pfow_present() 124 if (!map_word_equal(map, CMD('W'), pfow_val[3])) in lpddr_pfow_present()
|
/linux-2.6.39/sound/pci/ |
D | atiixp.c | 508 if (atiixp_update(chip, CMD, ATI_REG_CMD_POWERDOWN, 0)) in snd_atiixp_aclink_reset() 512 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SOFT_RESET, ATI_REG_CMD_AC_SOFT_RESET); in snd_atiixp_aclink_reset() 513 atiixp_read(chip, CMD); in snd_atiixp_aclink_reset() 515 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SOFT_RESET, 0); in snd_atiixp_aclink_reset() 518 while (! (atiixp_read(chip, CMD) & ATI_REG_CMD_ACLINK_ACTIVE)) { in snd_atiixp_aclink_reset() 520 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SYNC|ATI_REG_CMD_AC_RESET, in snd_atiixp_aclink_reset() 522 atiixp_read(chip, CMD); in snd_atiixp_aclink_reset() 524 atiixp_update(chip, CMD, ATI_REG_CMD_AC_RESET, ATI_REG_CMD_AC_RESET); in snd_atiixp_aclink_reset() 532 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SYNC|ATI_REG_CMD_AC_RESET, in snd_atiixp_aclink_reset() 543 atiixp_update(chip, CMD, in snd_atiixp_aclink_down() [all …]
|
D | atiixp_modem.c | 484 if (atiixp_update(chip, CMD, ATI_REG_CMD_POWERDOWN, 0)) in snd_atiixp_aclink_reset() 488 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SOFT_RESET, ATI_REG_CMD_AC_SOFT_RESET); in snd_atiixp_aclink_reset() 489 atiixp_read(chip, CMD); in snd_atiixp_aclink_reset() 491 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SOFT_RESET, 0); in snd_atiixp_aclink_reset() 494 while (! (atiixp_read(chip, CMD) & ATI_REG_CMD_ACLINK_ACTIVE)) { in snd_atiixp_aclink_reset() 496 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SYNC|ATI_REG_CMD_AC_RESET, in snd_atiixp_aclink_reset() 498 atiixp_read(chip, CMD); in snd_atiixp_aclink_reset() 500 atiixp_update(chip, CMD, ATI_REG_CMD_AC_RESET, ATI_REG_CMD_AC_RESET); in snd_atiixp_aclink_reset() 508 atiixp_update(chip, CMD, ATI_REG_CMD_AC_SYNC|ATI_REG_CMD_AC_RESET, in snd_atiixp_aclink_reset() 519 atiixp_update(chip, CMD, in snd_atiixp_aclink_down() [all …]
|
/linux-2.6.39/drivers/staging/spectra/ |
D | lld_cdma.c | 73 info.pcmds[info.pcmds_num].CMD = cmd; in CDMA_Data_CMD() 123 info.pcmds[info.pcmds_num].CMD = MEMCOPY_CMD; in CDMA_MemCopy_CMD() 157 switch (info.pcmds[i].CMD) { 161 info.pcmds[i].CMD); 166 info.pcmds[i].CMD); 171 info.pcmds[i].CMD); 176 info.pcmds[i].CMD); 181 info.pcmds[i].CMD); 186 info.pcmds[i].CMD); 191 info.pcmds[i].CMD); [all …]
|
D | lld_mtd.c | 534 PendingCMD[i].CMD = 0; in mtd_CDMA_Flash_Init() 568 u8 CMD; /* cmd parameter */ in mtd_CDMA_Execute_CMDs() local 582 PendingCMD[i].CMD = DUMMY_CMD; in mtd_CDMA_Execute_CMDs() 603 CMD = PendingCMD[i].CMD; 609 switch (CMD) { 644 PendingCMD[i].CMD = 0;
|
D | lld_emu.c | 627 PendingCMD[i].CMD = 0; in emu_CDMA_Flash_Init() 661 u8 CMD; /* cmd parameter */ in emu_CDMA_Execute_CMDs() local 675 PendingCMD[i].CMD = DUMMY_CMD; in emu_CDMA_Execute_CMDs() 695 CMD = PendingCMD[i].CMD; 701 switch (CMD) { 736 PendingCMD[i].CMD = 0;
|
/linux-2.6.39/Documentation/dvb/ |
D | get_dvb_firmware | 270 my $CMD = "\000\001\000\222\177\000"; 274 print $FW "$CMD\001$PAD"; 275 print $FW "$CMD\001$PAD"; 277 print $FW "$CMD\000$PAD"; 278 print $FW "$CMD\001$PAD"; 280 print $FW "$CMD\001$PAD"; 281 print $FW "$CMD\000$PAD"; 685 open(CMD, "md5sum \"$filename\"|"); 686 $testhash = <CMD>; 689 close CMD;
|
/linux-2.6.39/drivers/staging/msm/ |
D | mddihosti.c | 313 mddi_host_reg_out(CMD, MDDI_CMD_POWERUP); in mddi_report_state_change() 384 mddi_host_reg_out(CMD, MDDI_CMD_LINK_ACTIVE); in mddi_report_state_change() 389 mddi_host_reg_out(CMD, MDDI_CMD_HIBERNATE); in mddi_report_state_change() 390 mddi_host_reg_out(CMD, MDDI_CMD_LINK_ACTIVE); in mddi_report_state_change() 479 mddi_host_reg_out(CMD, in mddi_host_timer_service() 1091 mddi_host_reg_out(CMD, 0xC00); in mddi_process_rev_packets() 1135 mddi_host_reg_out(CMD, MDDI_CMD_LINK_ACTIVE); in mddi_issue_reverse_encapsulation() 1140 mddi_host_reg_out(CMD, in mddi_issue_reverse_encapsulation() 1169 mddi_host_reg_out(CMD, in mddi_issue_reverse_encapsulation() 1176 mddi_host_reg_out(CMD, in mddi_issue_reverse_encapsulation() [all …]
|
/linux-2.6.39/drivers/scsi/fcoe/ |
D | libfcoe.h | 9 #define LIBFCOE_CHECK_LOGGING(LEVEL, CMD) \ argument 13 CMD; \
|
D | fcoe.h | 50 #define FCOE_CHECK_LOGGING(LEVEL, CMD) \ argument 54 CMD; \
|
/linux-2.6.39/Documentation/hwmon/ |
D | abituguru-datasheet | 34 ports are holding for detection. We will refer to 0xE0 as CMD (command-port) 37 If DATA holds 0x00 or 0x08 and CMD holds 0x00 or 0xAC an uGuru could be 43 turned up which will hold 0x00 instead of 0xAC at the CMD port, thus we also 44 have to test CMD for two different values. On these uGuru's DATA will initially 45 hold 0x09 and will only hold 0x08 after reading CMD first, so CMD must be read 89 Next CMD _must_ be read and should hold 0xAC, usually CMD will hold 0xAC the 90 first read but sometimes it takes a while before CMD holds 0xAC and thus it 93 After reading CMD, DATA should hold 0x08 which means that the uGuru is ready 109 Once DATA holds 0x08 again write the sensor address to CMD. 118 DATA holds 0x01 read the byte from CMD. [all …]
|
/linux-2.6.39/drivers/scsi/bnx2fc/ |
D | bnx2fc_debug.h | 14 #define BNX2FC_CHK_LOGGING(LEVEL, CMD) \ argument 18 CMD; \
|
/linux-2.6.39/drivers/ata/ |
D | pata_cmd64x.c | 392 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_643), 0 }, 393 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_646), 1 }, 394 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_648), 4 }, 395 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_649), 5 },
|
/linux-2.6.39/drivers/scsi/libfc/ |
D | fc_libfc.h | 34 #define FC_CHECK_LOGGING(LEVEL, CMD) \ argument 38 CMD; \
|
/linux-2.6.39/drivers/ide/ |
D | cmd64x.c | 416 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_643), 0 }, 417 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_646), 1 }, 418 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_648), 2 }, 419 { PCI_VDEVICE(CMD, PCI_DEVICE_ID_CMD_649), 3 },
|