/openbmc/linux/drivers/video/fbdev/intelfb/ |
H A D | intelfbdrv.c | 434 if (dinfo->fbmem_gart && dinfo->gtt_fb_mem) { in cleanup() 744 dinfo->fb.virtual = dinfo->aperture.virtual + (dinfo->fb.offset << 12); in intelfb_pci_register() 745 dinfo->fb_start = dinfo->fb.offset << 12; in intelfb_pci_register() 755 dinfo->fb.physical, dinfo->fb.offset, dinfo->fb.size, in intelfb_pci_register() 761 dinfo->ring.physical, dinfo->ring.size, in intelfb_pci_register() 764 dinfo->cursor.physical, dinfo->cursor.size, in intelfb_pci_register() 818 update_dinfo(dinfo, &dinfo->initial_var); in intelfb_pci_register() 1141 dinfo->info->fix.visual = dinfo->visual; in update_dinfo() 1166 dinfo->pitch = dinfo->initial_pitch; in update_dinfo() 1170 dinfo->info->fix.visual = dinfo->visual; in update_dinfo() [all …]
|
H A D | intelfb_i2c.c | 57 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_setscl() local 68 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_setsda() local 79 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_getscl() local 91 struct intelfb_info *dinfo = chan->dinfo; in intelfb_gpio_getsda() local 107 chan->dinfo = dinfo; in intelfb_setup_i2c_bus() 162 intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].ddc_bus, in intelfb_create_i2c_busses() 164 intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].i2c_bus, in intelfb_create_i2c_busses() 200 if (dinfo->output[i].i2c_bus.dinfo) { in intelfb_delete_i2c_busses() 202 dinfo->output[i].i2c_bus.dinfo = NULL; in intelfb_delete_i2c_busses() 204 if (dinfo->output[i].ddc_bus.dinfo) { in intelfb_delete_i2c_busses() [all …]
|
H A D | intelfbhw.c | 1488 if (dinfo->ring_tail >= dinfo->ring_head) in get_ring_space() 1490 (dinfo->ring_tail - dinfo->ring_head); in get_ring_space() 1515 dinfo->ring_space = get_ring_space(dinfo); in wait_ring() 1579 dinfo->ring_space = get_ring_space(dinfo); in refresh_ring() 1616 dinfo->accel, dinfo->ring_active); in intelfbhw_2d_stop() 1635 dinfo->accel, dinfo->ring_active); in intelfbhw_2d_start() 1695 dinfo->ring_tail, dinfo->ring_space); in intelfbhw_do_fillrect() 1842 if (dinfo->mobile || IS_I9XX(dinfo)) { in intelfbhw_cursor_init() 1874 if (dinfo->mobile || IS_I9XX(dinfo)) { in intelfbhw_cursor_hide() 1903 if (dinfo->mobile || IS_I9XX(dinfo)) { in intelfbhw_cursor_show() [all …]
|
H A D | intelfbhw.h | 535 writel((n), (u32 __iomem *)(dinfo->ring.virtual + dinfo->ring_tail));\ 536 dinfo->ring_tail += 4; \ 537 dinfo->ring_tail &= dinfo->ring_tail_mask; \ 541 if (dinfo->ring_space < (n) * 4) \ 542 wait_ring(dinfo,(n) * 4); \ 543 dinfo->ring_space -= (n) * 4; \ 578 extern int intelfbhw_mode_to_hw(struct intelfb_info *dinfo, 583 extern void intelfbhw_do_sync(struct intelfb_info *dinfo); 584 extern void intelfbhw_2d_stop(struct intelfb_info *dinfo); 585 extern void intelfbhw_2d_start(struct intelfb_info *dinfo); [all …]
|
H A D | intelfb.h | 249 struct intelfb_info *dinfo; member 365 #define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G) || \ argument 366 ((dinfo)->chipset == INTEL_915GM) || \ 367 ((dinfo)->chipset == INTEL_945G) || \ 368 ((dinfo)->chipset == INTEL_945GM) || \ 369 ((dinfo)->chipset == INTEL_945GME) || \ 370 ((dinfo)->chipset == INTEL_965G) || \ 371 ((dinfo)->chipset == INTEL_965GM)) 378 extern void intelfb_create_i2c_busses(struct intelfb_info *dinfo); 379 extern void intelfb_delete_i2c_busses(struct intelfb_info *dinfo);
|
/openbmc/qemu/hw/arm/ |
H A D | gumstix.c | 59 DriveInfo *dinfo; in connex_init() local 63 dinfo = drive_get(IF_PFLASH, 0, 0); in connex_init() 64 if (!dinfo && !qtest_enabled()) { in connex_init() 72 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in connex_init() 82 DriveInfo *dinfo; in verdex_init() local 86 dinfo = drive_get(IF_PFLASH, 0, 0); in verdex_init() 87 if (!dinfo && !qtest_enabled()) { in verdex_init() 95 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in verdex_init()
|
H A D | xlnx-zcu102.c | 105 DriveInfo *dinfo; in bbram_attach_drive() local 108 dinfo = drive_get_by_index(IF_PFLASH, 2); in bbram_attach_drive() 109 blk = dinfo ? blk_by_legacy_dinfo(dinfo) : NULL; in bbram_attach_drive() 117 DriveInfo *dinfo; in efuse_attach_drive() local 120 dinfo = drive_get_by_index(IF_PFLASH, 3); in efuse_attach_drive() 121 blk = dinfo ? blk_by_legacy_dinfo(dinfo) : NULL; in efuse_attach_drive() 199 DriveInfo *dinfo = drive_get(IF_MTD, 0, i); in xlnx_zcu102_init() local 206 if (dinfo) { in xlnx_zcu102_init() 208 blk_by_legacy_dinfo(dinfo), &error_fatal); in xlnx_zcu102_init() 222 DriveInfo *dinfo = drive_get(IF_MTD, 0, XLNX_ZYNQMP_NUM_SPIS + i); in xlnx_zcu102_init() local [all …]
|
H A D | versatilepb.c | 197 DriveInfo *dinfo; in versatile_init() local 313 dinfo = drive_get(IF_SD, 0, 0); in versatile_init() 314 if (dinfo) { in versatile_init() 318 qdev_prop_set_drive_err(card, "drive", blk_by_legacy_dinfo(dinfo), in versatile_init() 325 dinfo = drive_get(IF_SD, 0, 1); in versatile_init() 326 if (dinfo) { in versatile_init() 330 qdev_prop_set_drive_err(card, "drive", blk_by_legacy_dinfo(dinfo), in versatile_init() 390 dinfo = drive_get(IF_PFLASH, 0, 0); in versatile_init() 393 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in versatile_init()
|
H A D | mainstone.c | 119 DriveInfo *dinfo; in mainstone_common_init() local 131 dinfo = drive_get(IF_PFLASH, 0, i); in mainstone_common_init() 135 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in mainstone_common_init()
|
H A D | omap_sx1.c | 114 DriveInfo *dinfo; in sx1_init() local 155 if ((dinfo = drive_get(IF_PFLASH, 0, fl_idx)) != NULL) { in sx1_init() 158 blk_by_legacy_dinfo(dinfo), in sx1_init() 164 (dinfo = drive_get(IF_PFLASH, 0, fl_idx)) != NULL) { in sx1_init() 177 blk_by_legacy_dinfo(dinfo), in sx1_init()
|
H A D | msf2-som.c | 50 DriveInfo *dinfo = drive_get(IF_MTD, 0, 0); in emcraft_sf2_s2s010_init() local 87 if (dinfo) { in emcraft_sf2_s2s010_init() 89 blk_by_legacy_dinfo(dinfo), &error_fatal); in emcraft_sf2_s2s010_init()
|
H A D | collie.c | 59 DriveInfo *dinfo = drive_get(IF_PFLASH, 0, i); in collie_init() local 62 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in collie_init()
|
H A D | sabrelite.c | 80 DriveInfo *dinfo = drive_get(IF_MTD, 0, 0); in sabrelite_init() local 83 if (dinfo) { in sabrelite_init() 85 blk_by_legacy_dinfo(dinfo), in sabrelite_init()
|
H A D | tosa.c | 61 DriveInfo *dinfo; in tosa_microdrive_attach() local 63 dinfo = drive_get(IF_IDE, 0, 0); in tosa_microdrive_attach() 64 if (!dinfo || dinfo->media_cd) in tosa_microdrive_attach() 66 md = dscm1xxxx_init(dinfo); in tosa_microdrive_attach()
|
/openbmc/qemu/hw/riscv/ |
H A D | boot.c | 349 struct fw_dynamic_info dinfo; in riscv_rom_copy_firmware_info() local 352 if (sizeof(dinfo.magic) == 4) { in riscv_rom_copy_firmware_info() 353 dinfo.magic = cpu_to_le32(FW_DYNAMIC_INFO_MAGIC_VALUE); in riscv_rom_copy_firmware_info() 354 dinfo.version = cpu_to_le32(FW_DYNAMIC_INFO_VERSION); in riscv_rom_copy_firmware_info() 356 dinfo.next_addr = cpu_to_le32(kernel_entry); in riscv_rom_copy_firmware_info() 359 dinfo.version = cpu_to_le64(FW_DYNAMIC_INFO_VERSION); in riscv_rom_copy_firmware_info() 361 dinfo.next_addr = cpu_to_le64(kernel_entry); in riscv_rom_copy_firmware_info() 363 dinfo.options = 0; in riscv_rom_copy_firmware_info() 364 dinfo.boot_hart = 0; in riscv_rom_copy_firmware_info() 365 dinfo_len = sizeof(dinfo); in riscv_rom_copy_firmware_info() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | xt_DSCP.c | 32 const struct xt_DSCP_info *dinfo = par->targinfo; in dscp_tg() local 35 if (dscp != dinfo->dscp) { in dscp_tg() 40 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg() 49 const struct xt_DSCP_info *dinfo = par->targinfo; in dscp_tg6() local 52 if (dscp != dinfo->dscp) { in dscp_tg6() 57 dinfo->dscp << XT_DSCP_SHIFT); in dscp_tg6()
|
/openbmc/qemu/hw/microblaze/ |
H A D | petalogix_ml605_mmu.c | 78 DriveInfo *dinfo; in petalogix_ml605_init() local 105 dinfo = drive_get(IF_PFLASH, 0, 0); in petalogix_ml605_init() 109 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in petalogix_ml605_init() 185 dinfo = drive_get(IF_MTD, 0, i); in petalogix_ml605_init() 189 if (dinfo) { in petalogix_ml605_init() 191 blk_by_legacy_dinfo(dinfo), in petalogix_ml605_init()
|
H A D | petalogix_s3adsp1800_mmu.c | 64 DriveInfo *dinfo; in petalogix_s3adsp1800_init() local 86 dinfo = drive_get(IF_PFLASH, 0, 0); in petalogix_s3adsp1800_init() 89 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in petalogix_s3adsp1800_init()
|
/openbmc/linux/fs/quota/ |
H A D | quota_v2.c | 92 struct v2_disk_dqinfo dinfo; in v2_read_file_info() local 112 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, in v2_read_file_info() 141 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info() 142 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info() 147 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info() 148 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info() 196 struct v2_disk_dqinfo dinfo; in v2_write_file_info() local 205 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in v2_write_file_info() 206 dinfo.dqi_igrace = cpu_to_le32(info->dqi_igrace); in v2_write_file_info() 208 dinfo.dqi_flags = cpu_to_le32(0); in v2_write_file_info() [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_diag.c | 168 struct smcd_diag_dmbinfo dinfo; in __smc_diag_dump() local 171 memset(&dinfo, 0, sizeof(dinfo)); in __smc_diag_dump() 173 dinfo.linkid = *((u32 *)conn->lgr->id); in __smc_diag_dump() 174 dinfo.peer_gid = conn->lgr->peer_gid; in __smc_diag_dump() 175 dinfo.my_gid = smcd->ops->get_local_gid(smcd); in __smc_diag_dump() 176 dinfo.token = conn->rmb_desc->token; in __smc_diag_dump() 177 dinfo.peer_token = conn->peer_token; in __smc_diag_dump() 179 if (nla_put(skb, SMC_DIAG_DMBINFO, sizeof(dinfo), &dinfo) < 0) in __smc_diag_dump()
|
/openbmc/qemu/hw/sparc64/ |
H A D | niagara.c | 102 DriveInfo *dinfo = drive_get(IF_PFLASH, 0, 0); in niagara_init() local 138 if (dinfo) { in niagara_init() 139 BlockBackend *blk = blk_by_legacy_dinfo(dinfo); in niagara_init() 146 dinfo->is_default = 1; in niagara_init()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | ps3fb.c | 110 struct gpu_driver_info *dinfo; member 975 struct gpu_driver_info *dinfo; in ps3fb_probe() local 1052 if (!dinfo) { in ps3fb_probe() 1058 ps3fb.dinfo = dinfo; in ps3fb_probe() 1063 dinfo->memory_size, dinfo->hardware_channel, in ps3fb_probe() 1064 dinfo->nvcore_frequency/1000000, in ps3fb_probe() 1065 dinfo->memory_frequency/1000000); in ps3fb_probe() 1069 dinfo->version_driver); in ps3fb_probe() 1199 iounmap((u8 __force __iomem *)ps3fb.dinfo); in ps3fb_probe() 1218 ps3fb.dinfo->irq.mask = 0; in ps3fb_shutdown() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | md-autodetect.c | 204 struct mdu_disk_info_s dinfo = { in md_setup_drive() local 210 dinfo.number = i; in md_setup_drive() 211 dinfo.raid_disk = i; in md_setup_drive() 212 dinfo.state = in md_setup_drive() 216 md_add_new_disk(mddev, &dinfo); in md_setup_drive()
|
/openbmc/qemu/ |
H A D | blockdev.c | 115 DriveInfo *dinfo; in override_max_devs() local 150 if (!dinfo) { in blockdev_mark_auto_del() 181 if (dinfo && dinfo->auto_del) { in blockdev_auto_del() 230 if (dinfo && dinfo->type == type in drive_get() 231 && dinfo->bus == bus && dinfo->unit == unit) { in drive_get() 263 if (dinfo->is_default || dinfo->type == IF_VIRTIO in drive_check_orphaned() 264 || dinfo->type == IF_XEN || dinfo->type == IF_NONE) { in drive_check_orphaned() 272 if_name[dinfo->type], dinfo->bus, dinfo->unit); in drive_check_orphaned() 302 if (dinfo && dinfo->type == type && dinfo->bus > max_bus) { in drive_get_max_bus() 1013 dinfo = g_malloc0(sizeof(*dinfo)); in drive_new() [all …]
|
/openbmc/qemu/hw/sh4/ |
H A D | r2d.c | 242 DriveInfo *dinfo; in r2d_init() local 286 dinfo = drive_get(IF_IDE, 0, 0); in r2d_init() 294 mmio_ide_init_drives(dev, dinfo, NULL); in r2d_init() 305 dinfo = drive_get(IF_PFLASH, 0, 0); in r2d_init() 307 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, in r2d_init()
|