Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 25 of 34) sorted by relevance

12

/drivers/gpu/drm/amd/amdkfd/
Dkfd_interrupt.c54 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()
Dkfd_device.c57 const struct kfd_device_info *device_info; member
101 BUG_ON(supported_devices[i].device_info == NULL); in lookup_device_info()
102 return supported_devices[i].device_info; in lookup_device_info()
114 const struct kfd_device_info *device_info = in kgd2kfd_probe() local
117 if (!device_info) in kgd2kfd_probe()
125 kfd->device_info = device_info; in kgd2kfd_probe()
163 (unsigned int)1 << kfd->device_info->max_pasid_bits, in device_iommu_pasid_init()
231 kfd->device_info->mqd_size_aligned; in kgd2kfd_device_init()
Dkfd_mqd_manager.c29 switch (dev->device_info->asic_family) { in mqd_manager_init()
Dkfd_chardev.c449 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_unrgesiter()
545 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_address_watch()
652 if (dev->device_info->asic_family == CHIP_CARRIZO) { in kfd_ioctl_dbg_wave_control()
Dkfd_packet_manager.c75 (pm->dqm->dev->device_info->asic_family == CHIP_CARRIZO) ? in pm_calc_rlib_size()
366 if (pm->dqm->dev->device_info->asic_family == in pm_create_runlist_ib()
392 if (pm->dqm->dev->device_info->asic_family == in pm_create_runlist_ib()
Dkfd_kernel_queue.c296 switch (dev->device_info->asic_family) { in kernel_queue_init()
Dkfd_process_queue_manager.c187 if (num_queues >= dev->device_info->max_no_of_hqd/2) in pqm_create_queue()
/drivers/memory/
Demif.c84 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/net/hyperv/
Dnetvsc_drv.c731 struct netvsc_device_info device_info; in netvsc_set_channels() local
771 memset(&device_info, 0, sizeof(device_info)); in netvsc_set_channels()
772 device_info.num_chn = nvdev->num_chn; /* passed to RNDIS */ in netvsc_set_channels()
773 device_info.ring_size = ring_size; in netvsc_set_channels()
774 device_info.max_num_vrss_chns = max_num_vrss_chns; in netvsc_set_channels()
776 ret = rndis_filter_device_add(dev, &device_info); in netvsc_set_channels()
880 struct netvsc_device_info device_info; in netvsc_change_mtu() local
905 memset(&device_info, 0, sizeof(device_info)); in netvsc_change_mtu()
906 device_info.ring_size = ring_size; in netvsc_change_mtu()
907 device_info.num_chn = num_chn; in netvsc_change_mtu()
[all …]
Drndis_filter.c979 struct netvsc_device_info *device_info = additional_info; in rndis_filter_device_add() local
1038 memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN); in rndis_filter_device_add()
1060 device_info->link_state = rndis_device->link_state; in rndis_filter_device_add()
1064 device_info->link_state ? "down" : "up"); in rndis_filter_device_add()
1081 num_rss_qs = min(device_info->max_num_vrss_chns, net_device->max_chn); in rndis_filter_device_add()
1091 if (device_info->num_chn && device_info->num_chn < net_device->max_chn) in rndis_filter_device_add()
1092 net_device->num_chn = device_info->num_chn; in rndis_filter_device_add()
/drivers/video/fbdev/
Dssd1307fb.c67 const struct ssd1307fb_deviceinfo *device_info; member
291 if (par->device_info->need_pwm) { in ssd1307fb_init()
401 BIT(4) | (par->device_info->need_chargepump ? BIT(2) : 0)); in ssd1307fb_init()
562 par->device_info = of_device_get_match_data(&client->dev); in ssd1307fb_probe()
595 par->vcomh = par->device_info->default_vcomh; in ssd1307fb_probe()
598 par->dclk_div = par->device_info->default_dclk_div; in ssd1307fb_probe()
599 par->dclk_frq = par->device_info->default_dclk_frq; in ssd1307fb_probe()
694 if (par->device_info->need_pwm) { in ssd1307fb_probe()
715 if (par->device_info->need_pwm) { in ssd1307fb_remove()
/drivers/message/fusion/
Dmptsas.h82 u32 device_info; /* specific bits for devices */ member
100 u32 device_info; member
142 u32 device_info; /* bitfield detailed info about this device */ member
Dmptsas.c111 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/hid/intel-ish-hid/
Dishtp-hid-client.c70 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()
145 if (1 + sizeof(struct device_info) * i >= in process_recv()
149 dev_info = (struct device_info *)(payload + 1 + in process_recv()
150 sizeof(struct device_info) * i); in process_recv()
154 sizeof(struct device_info)); in process_recv()
Dishtp-hid.h54 struct device_info { struct
135 struct device_info *hid_devices;
/drivers/gpu/drm/i915/
Dintel_engine_cs.c112 struct intel_device_info *device_info = mkwrite_device_info(dev_priv); in intel_engines_init() local
147 device_info->ring_mask = mask; in intel_engines_init()
149 device_info->num_rings = hweight32(mask); in intel_engines_init()
Di915_drv.c785 struct intel_device_info *device_info; in i915_driver_init_early() local
792 device_info = mkwrite_device_info(dev_priv); in i915_driver_init_early()
793 memcpy(device_info, match_info, sizeof(*device_info)); in i915_driver_init_early()
794 device_info->device_id = dev_priv->drm.pdev->device; in i915_driver_init_early()
796 BUG_ON(device_info->gen > sizeof(device_info->gen_mask) * BITS_PER_BYTE); in i915_driver_init_early()
797 device_info->gen_mask = BIT(device_info->gen - 1); in i915_driver_init_early()
/drivers/hid/
Dhid-hyperv.c190 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/gpu/drm/i915/gvt/
Dgvt.h64 struct intel_gvt_device_info device_info; member
Dgvt.c88 gvt->device_info.max_support_vgpus = 8; in init_device_info()
/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c145 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 …]
Dmpt3sas_scsih.c1047 _scsih_is_end_device(u32 device_info) in _scsih_is_end_device() argument
1049 if (device_info & MPI2_SAS_DEVICE_INFO_END_DEVICE && in _scsih_is_end_device()
1050 ((device_info & MPI2_SAS_DEVICE_INFO_SSP_TARGET) | in _scsih_is_end_device()
1051 (device_info & MPI2_SAS_DEVICE_INFO_STP_TARGET) | in _scsih_is_end_device()
1052 (device_info & MPI2_SAS_DEVICE_INFO_SATA_DEVICE))) in _scsih_is_end_device()
1225 if (sas_device->device_info & MPI2_SAS_DEVICE_INFO_SATA_DEVICE) in scsih_change_queue_depth()
1486 u32 device_info; in _scsih_display_sata_capabilities() local
1504 device_info = le32_to_cpu(sas_device_pg0.DeviceInfo); in _scsih_display_sata_capabilities()
1509 (device_info & MPI2_SAS_DEVICE_INFO_ATAPI_DEVICE) ? "y" : "n", in _scsih_display_sata_capabilities()
1764 raid_device->device_info = in _scsih_get_volume_capabilities()
[all …]
/drivers/net/wireless/marvell/
Dmwl8k.c186 struct mwl8k_device_info *device_info; member
541 struct mwl8k_device_info *di = priv->device_info; in mwl8k_request_firmware()
2529 if (priv->device_info->fw_api_ap != api_version) { in mwl8k_cmd_get_hw_spec_ap()
2532 priv->device_info->part_name, in mwl8k_cmd_get_hw_spec_ap()
2533 priv->device_info->fw_api_ap, in mwl8k_cmd_get_hw_spec_ap()
4803 di = priv->device_info; in mwl8k_add_interface()
4901 di = priv->device_info; in mwl8k_hw_restart_work()
5717 struct mwl8k_device_info *di = priv->device_info; in mwl8k_fw_state_machine()
5857 priv->rxd_ops = priv->device_info->ap_rxd_ops; in mwl8k_probe_hw()
5965 priv->device_info->part_name, in mwl8k_probe_hw()
[all …]
/drivers/input/touchscreen/
Dcyttsp4_core.h155 u8 device_info; member
/drivers/block/drbd/
Ddrbd_nl.c3379 static void device_to_info(struct device_info *, struct drbd_device *);
3388 struct device_info device_info; in drbd_adm_dump_devices() local
3442 device_to_info(&device_info, device); in drbd_adm_dump_devices()
3443 err = device_info_to_skb(skb, &device_info, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_devices()
4298 static void device_to_info(struct device_info *info, in device_to_info()
4342 struct device_info info; in drbd_adm_new_minor()
4646 struct device_info *device_info, in notify_device_state() argument
4672 device_info_to_skb(skb, device_info, true))) in notify_device_state()

12