/openbmc/linux/include/trace/events/ |
H A D | siox.h | 12 unsigned int devno, size_t bufoffset), 13 TP_ARGS(smaster, sdevice, devno, bufoffset), 16 __field(unsigned int, devno) 22 __entry->devno = devno; 29 __entry->devno, 37 unsigned int devno, u8 status_clean, 39 TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset), 42 __field(unsigned int, devno) 49 __entry->devno = devno; 57 __entry->devno,
|
/openbmc/linux/arch/x86/boot/ |
H A D | edd.c | 23 static int read_mbr(u8 devno, void *buf) in read_mbr() argument 30 ireg.dl = devno; in read_mbr() 63 if (read_mbr(devno, mbrbuf_ptr)) in read_mbr_sig() 73 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument 84 ireg.dl = devno; in get_edd_info() 93 ei->device = devno; in get_edd_info() 130 int devno; in query_edd() local 160 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { in query_edd() 165 if (!get_edd_info(devno, &ei) in query_edd() 172 if (do_mbr && !read_mbr_sig(devno, &ei, mbrptr++)) in query_edd() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | blacklist.c | 118 *devno = val; in parse_busid() 180 from = ipl_info.data.ccw.dev_id.devno; in blacklist_parse_parameters() 185 from = ipl_info.data.fcp.dev_id.devno; in blacklist_parse_parameters() 246 is_blacklisted (int ssid, int devno) in is_blacklisted() argument 248 return test_bit (devno, bl_dev[ssid]); in is_blacklisted() 284 int devno; member 317 if (iter->devno == __MAX_SUBCHANNEL) { in cio_ignore_proc_seq_next() 318 iter->devno = 0; in cio_ignore_proc_seq_next() 323 iter->devno++; in cio_ignore_proc_seq_next() 338 if ((iter->devno == __MAX_SUBCHANNEL) || in cio_ignore_proc_seq_show() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | apanel.c | 229 u8 devno; in apanel_init() local 245 for ( ; (devno = readb(p)) & 0x7f; p += 4) { in apanel_init() 259 switch (devno) { in apanel_init() 261 devno = APANEL_DEV_APPBTN; in apanel_init() 264 devno = APANEL_DEV_LED; in apanel_init() 268 if (devno >= APANEL_DEV_MAX) in apanel_init() 269 pr_notice(APANEL ": unknown device %u found\n", devno); in apanel_init() 270 else if (device_chip[devno] != CHIP_NONE) in apanel_init() 272 devno); in apanel_init() 276 method, devno); in apanel_init() [all …]
|
/openbmc/u-boot/drivers/ata/ |
H A D | sata_sil3114.c | 104 u8 cmd = 0, status = 0, devno = num; in sata_identify() local 157 sata_dev_desc[devno].removable = 0; in sata_identify() 159 sata_dev_desc[devno].lba = (u32) n_sectors; in sata_identify() 160 debug("lba=0x%lx\n", sata_dev_desc[devno].lba); in sata_identify() 164 sata_dev_desc[devno].lba48 = 1; in sata_identify() 166 sata_dev_desc[devno].lba48 = 0; in sata_identify() 171 sata_dev_desc[devno].type = DEV_TYPE_HARDDISK; in sata_identify() 172 sata_dev_desc[devno].blksz = ATA_SECT_SIZE; in sata_identify() 637 pci_dev_t devno; in init_sata() local 678 cls = sil_get_device_cache_line (devno); in init_sata() [all …]
|
H A D | sata_sil.c | 21 #define virt_to_bus(devno, v) pci_virt_to_mem(devno, (void *) (v)) argument 135 u64 paddr = virt_to_bus(sata->devno, pcmd); in sil_exec_cmd() 517 pci_dev_t devno; in init_sata() local 526 devno = pci_find_devices(supported, idx++); in init_sata() 527 if (devno == -1) in init_sata() 537 sata_info.devno = devno; in init_sata() 540 sata_info.iobase[0] = (ulong)pci_map_bar(devno, in init_sata() 542 sata_info.iobase[1] = (ulong)pci_map_bar(devno, in init_sata() 544 sata_info.iobase[2] = (ulong)pci_map_bar(devno, in init_sata() 553 pci_write_config_word(devno, PCI_COMMAND, in init_sata() [all …]
|
/openbmc/u-boot/board/freescale/mx6ullevk/ |
H A D | mx6ullevk.c | 44 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 46 return devno; in board_mmc_get_env_dev() 49 int mmc_map_to_kernel_blk(int devno) in mmc_map_to_kernel_blk() argument 51 return devno; in mmc_map_to_kernel_blk()
|
/openbmc/u-boot/board/gdsys/a38x/ |
H A D | hydra.c | 60 pci_dev_t devno; in hydra_initialize() local 63 for (i = 0; (devno = pci_find_devices(hydra_supported, i)) >= 0; i++) { in hydra_initialize() 68 pci_write_config_dword(devno, PCI_COMMAND, val); in hydra_initialize() 71 pci_read_config_dword(devno, PCI_COMMAND, &val); in hydra_initialize() 82 fpga = pci_map_bar(devno, PCI_BASE_ADDRESS_0, in hydra_initialize()
|
/openbmc/linux/Documentation/arch/s390/ |
H A D | config3270.sh | 52 while read devno maj min;do 61 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR 65 echo mknod $D/$TTY$devno c $maj $min >>$SCR 66 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR 68 echo "echo t$min$GETTYLINE $TTY$devno >> $NINITTAB" >> $SCRTMP
|
/openbmc/linux/drivers/ata/ |
H A D | pata_cs5535.c | 105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode() 109 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode() 113 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode() 114 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode() 135 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode() 141 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
|
H A D | pata_radisys.c | 71 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode() 130 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode() 133 udma_enable &= ~(1 << adev->devno); in radisys_set_dmamode() 142 udma_mode &= ~(2 << (adev->devno * 4)); in radisys_set_dmamode() 144 udma_mode |= (2 << (adev->devno * 4)); in radisys_set_dmamode() 148 udma_enable |= (1 << adev->devno); in radisys_set_dmamode()
|
H A D | libata-eh.c | 452 ehi->dev_action[tdev->devno] |= in ata_eh_clear_action() 705 int devno = dev->devno; in ata_scsi_port_error_handler() local 1273 ehc->saved_xfer_mode[dev->devno] = 0; in ata_eh_detach_dev() 2864 classes[dev->devno]); in ata_eh_reset() 3107 ehc->tries[dev->devno] && in ata_eh_revalidate_and_attach() 3131 new_mask |= 1 << dev->devno; in ata_eh_revalidate_and_attach() 3624 ehc->tries[dev->devno]--; in ata_eh_handle_dev_fail() 3633 ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); in ata_eh_handle_dev_fail() 3636 if (ehc->tries[dev->devno] == 1) { in ata_eh_handle_dev_fail() 3715 ehc->tries[dev->devno] = 1; in ata_eh_recover() [all …]
|
H A D | pata_atiixp.c | 108 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_pio_timing() 109 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_pio_timing() 156 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_dmamode() 172 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_dmamode() 218 int dn = (2 * ap->port_no) + adev->devno; in atiixp_bmdma_start() 245 int dn = (2 * ap->port_no) + qc->dev->devno; in atiixp_bmdma_stop()
|
H A D | pata_artop.c | 102 int dn = adev->devno + 2 * ap->port_no; in artop6210_load_piomode() 129 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_piomode() 156 int dn = adev->devno + 2 * ap->port_no; in artop6260_load_piomode() 189 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_piomode() 208 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_dmamode() 260 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_dmamode() 265 ultra |= (mode << (4 * adev->devno)); in artop6260_set_dmamode()
|
H A D | pata_cmd64x.c | 113 int arttim = arttim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 114 int drwtim = drwtim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 202 int shift = 2 * adev->devno; in cmd64x_set_dmamode() 208 regD &= ~(0x20 << adev->devno); in cmd64x_set_dmamode() 212 regU &= ~(0x05 << adev->devno); in cmd64x_set_dmamode() 218 regU |= 1 << adev->devno; /* UDMA on */ in cmd64x_set_dmamode() 220 regU |= 4 << adev->devno; in cmd64x_set_dmamode() 222 regU &= ~ (1 << adev->devno); /* UDMA off */ in cmd64x_set_dmamode() 226 regD |= 0x20 << adev->devno; in cmd64x_set_dmamode()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | mmc_env.c | 12 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 21 int devno = (*p)->boot_dev_instance; in mmc_get_env_dev() local 28 return board_mmc_get_env_dev(devno); in mmc_get_env_dev()
|
/openbmc/u-boot/board/freescale/mx6sllevk/ |
H A D | mx6sllevk.c | 122 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 124 return devno; in board_mmc_get_env_dev() 127 int mmc_map_to_kernel_blk(int devno) in mmc_map_to_kernel_blk() argument 129 return devno; in mmc_map_to_kernel_blk()
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | soc.c | 449 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 459 int devno; in mmc_get_boot_dev() local 474 devno = (soc_sbmr & 0x00001800) >> 11; in mmc_get_boot_dev() 476 return devno; in mmc_get_boot_dev() 481 int devno = mmc_get_boot_dev(); in mmc_get_env_dev() local 484 if (devno < 0) in mmc_get_env_dev() 487 return board_mmc_get_env_dev(devno); in mmc_get_env_dev() 491 __weak int board_mmc_get_env_part(int devno) in board_mmc_get_env_part() argument 498 int devno = mmc_get_boot_dev(); in mmc_get_env_part() local 501 if (devno < 0) in mmc_get_env_part() [all …]
|
/openbmc/linux/arch/powerpc/platforms/book3s/ |
H A D | vas-api.c | 572 dev_t devno; in vas_register_coproc_api() local 596 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_register_coproc_api() 597 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api() 604 devno, NULL, name, MINOR(devno)); in vas_register_coproc_api() 607 pr_err("Unable to create coproc-%d %d\n", MINOR(devno), rc); in vas_register_coproc_api() 611 pr_devel("Added dev [%d,%d]\n", MAJOR(devno), MINOR(devno)); in vas_register_coproc_api() 626 dev_t devno; in vas_unregister_coproc_api() local 629 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_unregister_coproc_api() 630 device_destroy(coproc_device.class, devno); in vas_unregister_coproc_api()
|
/openbmc/qemu/docs/system/s390x/ |
H A D | css.rst | 9 All channel devices support the ``devno`` property, which takes a parameter 26 If the ``devno`` property is not specified for a device, QEMU will choose the 38 * a virtio-net device, cssid/ssid/devno automatically assigned:: 51 -device virtio-rng-ccw,devno=fe.0.0042 61 -device virtio-gpu-ccw,devno=fe.2.1111 71 -device virtio-mouse-ccw,devno=2.0.2222 80 -device virtio-keyboard-ccw,devno=0.0.1234
|
/openbmc/qemu/hw/s390x/ |
H A D | ipl.c | 74 VMSTATE_UINT16(devno, IplParameterBlock), 95 VMSTATE_UINT16(devno, S390IPLState), 419 ipl->iplb.scsi.devno = cpu_to_be16(ccw_dev->sch->devno); in s390_gen_initial_iplb() 425 ipl->iplb.ccw.devno = cpu_to_be16(ccw_dev->sch->devno); in s390_gen_initial_iplb() 436 ipl->iplb.ccw.devno = cpu_to_be16(ccw_dev->sch->devno); in s390_gen_initial_iplb() 530 uint16_t devno; in is_virtio_ccw_device_of_type() local 538 devno = be16_to_cpu(iplb->ccw.devno); in is_virtio_ccw_device_of_type() 545 if (sch && sch->devno == devno) { in is_virtio_ccw_device_of_type() 646 cpu_to_be16(ccw_dev->sch->devno) == ipl->iplb.ccw.devno && in s390_ipl_reset_request()
|
H A D | ipl.h | 42 uint16_t devno; member 57 uint16_t devno; member 76 uint16_t devno; member 101 uint16_t devno; member 184 uint16_t devno; member
|
/openbmc/linux/drivers/most/ |
H A D | most_cdev.c | 23 dev_t devno; member 39 dev_t devno; member 94 device_destroy(comp.class, c->devno); in destroy_cdev() 103 ida_simple_remove(&comp.minor_id, MINOR(c->devno)); in destroy_channel() 438 c->devno = MKDEV(comp.major, current_minor); in comp_probe() 441 retval = cdev_add(&c->cdev, c->devno, 1); in comp_probe() 458 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe() 500 err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev"); in most_cdev_init() 503 comp.major = MAJOR(comp.devno); in most_cdev_init() 515 unregister_chrdev_region(comp.devno, CHRDEV_REGION_SIZE); in most_cdev_init() [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/ |
H A D | soc.c | 227 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 234 int devno = 0; in mmc_get_env_dev() local 242 devno = (bt1_cfg >> 9) & 0x7; in mmc_get_env_dev() 244 return board_mmc_get_env_dev(devno); in mmc_get_env_dev()
|
/openbmc/qemu/include/hw/pci-host/ |
H A D | ppce500.h | 4 static inline int ppce500_pci_map_irq_slot(int devno, int irq_num) in ppce500_pci_map_irq_slot() argument 6 return (devno + irq_num) % 4; in ppce500_pci_map_irq_slot()
|