/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_interrupt.c | 54 kfd->device_info->ih_ring_entry_size, in kfd_interrupt_init() 61 KFD_INTERRUPT_RING_SIZE * kfd->device_info->ih_ring_entry_size; in kfd_interrupt_init() 114 kfd->device_info->ih_ring_entry_size) { in enqueue_ih_ring_entry() 122 kfd->device_info->ih_ring_entry_size); in enqueue_ih_ring_entry() 124 wptr = (wptr + kfd->device_info->ih_ring_entry_size) % in enqueue_ih_ring_entry() 150 kfd->device_info->ih_ring_entry_size); in dequeue_ih_ring_entry() 152 rptr = (rptr + kfd->device_info->ih_ring_entry_size) % in dequeue_ih_ring_entry() 171 dev->device_info->ih_ring_entry_size, in interrupt_wq() 175 dev->device_info->event_interrupt_class->interrupt_wq(dev, in interrupt_wq() 184 wanted |= dev->device_info->event_interrupt_class->interrupt_isr(dev, in interrupt_is_wanted()
|
D | kfd_device.c | 57 const struct kfd_device_info *device_info; member 101 WARN_ON(!supported_devices[i].device_info); in lookup_device_info() 102 return supported_devices[i].device_info; in lookup_device_info() 117 const struct kfd_device_info *device_info = in kgd2kfd_probe() local 120 if (!device_info) { in kgd2kfd_probe() 130 kfd->device_info = device_info; in kgd2kfd_probe() 169 (unsigned int)(1 << kfd->device_info->max_pasid_bits), in device_iommu_pasid_init() 236 kfd->device_info->mqd_size_aligned; in kgd2kfd_device_init()
|
D | kfd_mqd_manager.c | 29 switch (dev->device_info->asic_family) { in mqd_manager_init()
|
D | kfd_chardev.c | 449 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_register() 500 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_unregister() 545 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_address_watch() 653 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_wave_control()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 994 struct netvsc_device_info device_info; in netvsc_set_channels() local 1013 memset(&device_info, 0, sizeof(device_info)); in netvsc_set_channels() 1014 device_info.num_chn = count; in netvsc_set_channels() 1015 device_info.ring_size = ring_size; in netvsc_set_channels() 1016 device_info.send_sections = nvdev->send_section_cnt; in netvsc_set_channels() 1017 device_info.send_section_size = nvdev->send_section_size; in netvsc_set_channels() 1018 device_info.recv_sections = nvdev->recv_section_cnt; in netvsc_set_channels() 1019 device_info.recv_section_size = nvdev->recv_section_size; in netvsc_set_channels() 1025 ret = netvsc_attach(net, &device_info); in netvsc_set_channels() 1027 device_info.num_chn = orig; in netvsc_set_channels() [all …]
|
D | netvsc.c | 301 const struct netvsc_device_info *device_info) in netvsc_init_buf() argument 311 buf_size = device_info->recv_sections * device_info->recv_section_size; in netvsc_init_buf() 398 buf_size = device_info->send_sections * device_info->send_section_size; in netvsc_init_buf() 542 const struct netvsc_device_info *device_info) in netvsc_connect_vsp() argument 593 ret = netvsc_init_buf(device, net_device, device_info); in netvsc_connect_vsp() 1313 const struct netvsc_device_info *device_info) in netvsc_device_add() argument 1316 int ring_size = device_info->ring_size; in netvsc_device_add() 1372 ret = netvsc_connect_vsp(device, net_device, device_info); in netvsc_device_add()
|
D | rndis_filter.c | 1205 struct netvsc_device_info *device_info) in rndis_filter_device_add() argument 1225 net_device = netvsc_device_add(dev, device_info); in rndis_filter_device_add() 1256 memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN); in rndis_filter_device_add() 1289 net_device->num_chn = min(net_device->max_chn, device_info->num_chn); in rndis_filter_device_add()
|
/drivers/memory/ |
D | emif.c | 84 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show() 347 const struct ddr_device_info *device_info) in get_addressing_table() argument 351 type = device_info->type; in get_addressing_table() 352 density = device_info->density; in get_addressing_table() 851 if (emif->plat_data->device_info->cs1_used) { in get_temperature_level() 928 type = emif->plat_data->device_info->type; in setup_temperature_sensitive_regs() 1110 type = emif->plat_data->device_info->type; in setup_interrupts() 1141 const struct ddr_device_info *device_info; in emif_onetime_settings() local 1143 device_info = emif->plat_data->device_info; in emif_onetime_settings() 1144 addressing = get_addressing_table(device_info); in emif_onetime_settings() [all …]
|
/drivers/gpu/drm/i915/gvt/ |
D | mmio.c | 54 (reg >= 0 && reg < gvt->device_info.mmio_size) 57 (reg >= gvt->device_info.gtt_start_offset \ 58 && reg < gvt->device_info.gtt_start_offset + gvt_ggtt_sz(gvt)) 82 offset -= gvt->device_info.gtt_start_offset; in failsafe_emulate_mmio_rw() 295 const struct intel_gvt_device_info *info = &gvt->device_info; in intel_vgpu_reset_mmio() 329 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in intel_vgpu_init_mmio()
|
D | firmware.c | 72 struct intel_gvt_device_info *info = &gvt->device_info; in expose_firmware_sysfs() 158 struct intel_gvt_device_info *info = &gvt->device_info; in verify_firmware() 213 struct intel_gvt_device_info *info = &gvt->device_info; in intel_gvt_load_firmware()
|
D | gtt.c | 267 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in gtt_get_entry64() 292 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in gtt_set_entry64() 798 ((spt)->vgpu->gvt->device_info.gtt_entry_size_shift) 1066 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in sync_oos_page() 1345 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in ppgtt_handle_guest_write_page_table_bytes() 1403 const struct intel_gvt_device_info *info = &gvt->device_info; in gen8_mm_alloc_page_table() 1812 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in emulate_gtt_mmio_read() 1840 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in intel_vgpu_emulate_gtt_mmio_read() 1855 const struct intel_gvt_device_info *info = &gvt->device_info; in emulate_gtt_mmio_write() 1913 const struct intel_gvt_device_info *info = &vgpu->gvt->device_info; in intel_vgpu_emulate_gtt_mmio_write() [all …]
|
D | cmd_parser.c | 481 (s->vgpu->gvt->device_info.gmadr_bytes_in_cmd >> 2) 839 if (offset + 4 > gvt->device_info.mmio_size) { in cmd_reg_handler() 930 int gmadr_bytes = gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_lrm() 954 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_srm() 1008 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_pipe_control() 1351 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in get_gma_bb_from_cmd() 1370 u32 max_surface_size = vgpu->gvt->device_info.max_surface_size; in cmd_address_audit() 1414 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_mi_store_data_imm() 1462 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_mi_op_2f() 1503 int gmadr_bytes = s->vgpu->gvt->device_info.gmadr_bytes_in_cmd; in cmd_handler_mi_flush_dw()
|
D | mpt.h | 120 unsigned long offset = vgpu->gvt->device_info.msi_cap_offset; in intel_gvt_hypervisor_inject_msi()
|
D | gvt.c | 108 struct intel_gvt_device_info *info = &gvt->device_info; in init_device_info()
|
/drivers/message/fusion/ |
D | mptsas.h | 82 u32 device_info; /* specific bits for devices */ member 100 u32 device_info; member 142 u32 device_info; /* bitfield detailed info about this device */ member
|
D | mptsas.c | 111 struct mptsas_devinfo *device_info); 117 struct mptsas_devinfo *device_info, u32 form, u32 form_specific); 436 (attached->device_info & in mptsas_is_end_device() 438 ((attached->device_info & in mptsas_is_end_device() 440 (attached->device_info & in mptsas_is_end_device() 442 (attached->device_info & in mptsas_is_end_device() 555 u64 sas_address, u32 device_info, u16 slot, u64 enclosure_logical_id) in mptsas_add_device_component() argument 588 sas_info->device_info = device_info; in mptsas_add_device_component() 639 sas_device.id, sas_device.sas_address, sas_device.device_info, in mptsas_add_device_component_by_fw() 778 phy_info->attached.device_info, in mptsas_add_device_component_starget() [all …]
|
/drivers/video/fbdev/ |
D | ssd1307fb.c | 69 const struct ssd1307fb_deviceinfo *device_info; member 294 if (par->device_info->need_pwm) { in ssd1307fb_init() 404 BIT(4) | (par->device_info->need_chargepump ? BIT(2) : 0)); in ssd1307fb_init() 568 par->device_info = of_device_get_match_data(&client->dev); in ssd1307fb_probe() 615 par->vcomh = par->device_info->default_vcomh; in ssd1307fb_probe() 618 par->dclk_div = par->device_info->default_dclk_div; in ssd1307fb_probe() 619 par->dclk_frq = par->device_info->default_dclk_frq; in ssd1307fb_probe() 715 if (par->device_info->need_pwm) { in ssd1307fb_probe() 739 if (par->device_info->need_pwm) { in ssd1307fb_remove()
|
/drivers/hid/intel-ish-hid/ |
D | ishtp-hid-client.c | 70 struct device_info *dev_info; in process_recv() 127 sizeof(struct device_info), in process_recv() 136 if (1 + sizeof(struct device_info) * i >= in process_recv() 140 1 + sizeof(struct device_info) in process_recv() 144 if (1 + sizeof(struct device_info) * i >= in process_recv() 148 dev_info = (struct device_info *)(payload + 1 + in process_recv() 149 sizeof(struct device_info) * i); in process_recv() 153 sizeof(struct device_info)); in process_recv()
|
D | ishtp-hid.h | 54 struct device_info { struct 135 struct device_info *hid_devices;
|
/drivers/hid/ |
D | hid-hyperv.c | 190 struct synthhid_device_info *device_info) in mousevsc_on_receive_device_info() argument 198 input_device->hid_dev_info = device_info->hid_dev_info; in mousevsc_on_receive_device_info() 199 desc = &device_info->hid_descriptor; in mousevsc_on_receive_device_info()
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 145 u32 device_info; in _transport_set_identify() local 172 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _transport_set_identify() 181 switch (device_info & MPI2_SAS_DEVICE_INFO_MASK_DEVICE_TYPE) { in _transport_set_identify() 197 if (device_info & MPI2_SAS_DEVICE_INFO_SSP_INITIATOR) in _transport_set_identify() 199 if (device_info & MPI2_SAS_DEVICE_INFO_STP_INITIATOR) in _transport_set_identify() 201 if (device_info & MPI2_SAS_DEVICE_INFO_SMP_INITIATOR) in _transport_set_identify() 203 if (device_info & MPI2_SAS_DEVICE_INFO_SATA_HOST) in _transport_set_identify() 207 if (device_info & MPI2_SAS_DEVICE_INFO_SSP_TARGET) in _transport_set_identify() 209 if (device_info & MPI2_SAS_DEVICE_INFO_STP_TARGET) in _transport_set_identify() 211 if (device_info & MPI2_SAS_DEVICE_INFO_SMP_TARGET) in _transport_set_identify() [all …]
|
D | mpt3sas_scsih.c | 1053 _scsih_is_end_device(u32 device_info) in _scsih_is_end_device() argument 1055 if (device_info & MPI2_SAS_DEVICE_INFO_END_DEVICE && in _scsih_is_end_device() 1056 ((device_info & MPI2_SAS_DEVICE_INFO_SSP_TARGET) | in _scsih_is_end_device() 1057 (device_info & MPI2_SAS_DEVICE_INFO_STP_TARGET) | in _scsih_is_end_device() 1058 (device_info & MPI2_SAS_DEVICE_INFO_SATA_DEVICE))) in _scsih_is_end_device() 1250 if (sas_device->device_info & MPI2_SAS_DEVICE_INFO_SATA_DEVICE) in scsih_change_queue_depth() 1511 u32 device_info; in _scsih_display_sata_capabilities() local 1529 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_display_sata_capabilities() 1534 (device_info & MPI2_SAS_DEVICE_INFO_ATAPI_DEVICE) ? "y" : "n", in _scsih_display_sata_capabilities() 1789 raid_device->device_info = in _scsih_get_volume_capabilities() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_drv.c | 860 struct intel_device_info *device_info; in i915_driver_init_early() local 867 device_info = mkwrite_device_info(dev_priv); in i915_driver_init_early() 868 memcpy(device_info, match_info, sizeof(*device_info)); in i915_driver_init_early() 869 device_info->device_id = dev_priv->drm.pdev->device; in i915_driver_init_early() 871 BUG_ON(device_info->gen > sizeof(device_info->gen_mask) * BITS_PER_BYTE); in i915_driver_init_early() 872 device_info->gen_mask = BIT(device_info->gen - 1); in i915_driver_init_early()
|
D | intel_engine_cs.c | 240 struct intel_device_info *device_info = mkwrite_device_info(dev_priv); in intel_engines_init_mmio() local 269 device_info->ring_mask = mask; in intel_engines_init_mmio() 277 device_info->num_rings = hweight32(mask); in intel_engines_init_mmio()
|
/drivers/net/wireless/marvell/ |
D | mwl8k.c | 186 struct mwl8k_device_info *device_info; member 544 struct mwl8k_device_info *di = priv->device_info; in mwl8k_request_firmware() 2534 if (priv->device_info->fw_api_ap != api_version) { in mwl8k_cmd_get_hw_spec_ap() 2537 priv->device_info->part_name, in mwl8k_cmd_get_hw_spec_ap() 2538 priv->device_info->fw_api_ap, in mwl8k_cmd_get_hw_spec_ap() 4808 di = priv->device_info; in mwl8k_add_interface() 4906 di = priv->device_info; in mwl8k_hw_restart_work() 5722 struct mwl8k_device_info *di = priv->device_info; in mwl8k_fw_state_machine() 5862 priv->rxd_ops = priv->device_info->ap_rxd_ops; in mwl8k_probe_hw() 5970 priv->device_info->part_name, in mwl8k_probe_hw() [all …]
|