Home
last modified time | relevance | path

Searched refs:dev_info (Results 1 – 25 of 2173) sorted by relevance

12345678910>>...87

/Linux-v5.4/drivers/s390/block/
Ddcssblk.c111 struct dcssblk_dev_info *dev_info; in dcssblk_release_segment() local
114 dev_info = container_of(dev, struct dcssblk_dev_info, dev); in dcssblk_release_segment()
115 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment()
119 kfree(dev_info); in dcssblk_release_segment()
130 dcssblk_assign_free_minor(struct dcssblk_dev_info *dev_info) in dcssblk_assign_free_minor() argument
135 if (dev_info == NULL) in dcssblk_assign_free_minor()
147 dev_info->gd->first_minor = minor; in dcssblk_assign_free_minor()
177 struct dcssblk_dev_info *dev_info; in dcssblk_get_segment_by_name() local
180 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name()
181 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name()
[all …]
/Linux-v5.4/drivers/power/supply/
Dds2781_battery.c53 static inline int ds2781_battery_io(struct ds2781_device_info *dev_info, in ds2781_battery_io() argument
56 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io); in ds2781_battery_io()
59 static int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, in w1_ds2781_read() argument
62 return ds2781_battery_io(dev_info, buf, addr, count, 0); in w1_ds2781_read()
65 static inline int ds2781_read8(struct ds2781_device_info *dev_info, u8 *val, in ds2781_read8() argument
68 return ds2781_battery_io(dev_info, val, addr, sizeof(u8), 0); in ds2781_read8()
71 static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val, in ds2781_read16() argument
77 ret = ds2781_battery_io(dev_info, raw, addr, sizeof(raw), 0); in ds2781_read16()
86 static inline int ds2781_read_block(struct ds2781_device_info *dev_info, in ds2781_read_block() argument
89 return ds2781_battery_io(dev_info, val, addr, count, 0); in ds2781_read_block()
[all …]
Dds2780_battery.c55 static inline int ds2780_battery_io(struct ds2780_device_info *dev_info, in ds2780_battery_io() argument
58 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io); in ds2780_battery_io()
61 static inline int ds2780_read8(struct ds2780_device_info *dev_info, u8 *val, in ds2780_read8() argument
64 return ds2780_battery_io(dev_info, val, addr, sizeof(u8), 0); in ds2780_read8()
67 static int ds2780_read16(struct ds2780_device_info *dev_info, s16 *val, in ds2780_read16() argument
73 ret = ds2780_battery_io(dev_info, raw, addr, sizeof(raw), 0); in ds2780_read16()
82 static inline int ds2780_read_block(struct ds2780_device_info *dev_info, in ds2780_read_block() argument
85 return ds2780_battery_io(dev_info, val, addr, count, 0); in ds2780_read_block()
88 static inline int ds2780_write(struct ds2780_device_info *dev_info, u8 *val, in ds2780_write() argument
91 return ds2780_battery_io(dev_info, val, addr, count, 1); in ds2780_write()
[all …]
/Linux-v5.4/drivers/edac/
Damd8131_edac.c80 static void amd8131_pcix_init(struct amd8131_dev_info *dev_info) in amd8131_pcix_init() argument
83 struct pci_dev *dev = dev_info->dev; in amd8131_pcix_init()
131 static void amd8131_pcix_exit(struct amd8131_dev_info *dev_info) in amd8131_pcix_exit() argument
134 struct pci_dev *dev = dev_info->dev; in amd8131_pcix_exit()
159 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; in amd8131_pcix_check() local
160 struct pci_dev *dev = dev_info->dev; in amd8131_pcix_check()
167 "on %s bridge\n", dev_info->ctl_name); in amd8131_pcix_check()
187 "on %s bridge\n", dev_info->ctl_name); in amd8131_pcix_check()
200 "on %s bridge\n", dev_info->ctl_name); in amd8131_pcix_check()
213 "on %s bridge\n", dev_info->ctl_name); in amd8131_pcix_check()
[all …]
Damd8111_edac.c233 static void amd8111_lpc_bridge_init(struct amd8111_dev_info *dev_info) in amd8111_lpc_bridge_init() argument
236 struct pci_dev *dev = dev_info->dev; in amd8111_lpc_bridge_init()
270 static void amd8111_lpc_bridge_exit(struct amd8111_dev_info *dev_info) in amd8111_lpc_bridge_exit() argument
278 struct amd8111_dev_info *dev_info = edac_dev->pvt_info; in amd8111_lpc_bridge_check() local
279 struct pci_dev *dev = dev_info->dev; in amd8111_lpc_bridge_check()
286 dev_info->ctl_name); in amd8111_lpc_bridge_check()
339 struct amd8111_dev_info *dev_info = &amd8111_devices[id->driver_data]; in amd8111_dev_probe() local
342 dev_info->dev = pci_get_device(PCI_VENDOR_ID_AMD, in amd8111_dev_probe()
343 dev_info->err_dev, NULL); in amd8111_dev_probe()
345 if (!dev_info->dev) { in amd8111_dev_probe()
[all …]
Dcpc925_edac.c278 void (*init)(struct cpc925_dev_info *dev_info);
279 void (*exit)(struct cpc925_dev_info *dev_info);
615 static void cpc925_cpu_init(struct cpc925_dev_info *dev_info) in cpc925_cpu_init() argument
620 apimask = __raw_readl(dev_info->vbase + REG_APIMASK_OFFSET); in cpc925_cpu_init()
632 __raw_writel(apimask, dev_info->vbase + REG_APIMASK_OFFSET); in cpc925_cpu_init()
636 static void cpc925_cpu_exit(struct cpc925_dev_info *dev_info) in cpc925_cpu_exit() argument
655 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_cpu_check() local
660 apiexcp = __raw_readl(dev_info->vbase + REG_APIEXCP_OFFSET); in cpc925_cpu_check()
667 apimask = __raw_readl(dev_info->vbase + REG_APIMASK_OFFSET); in cpc925_cpu_check()
678 static void cpc925_htlink_init(struct cpc925_dev_info *dev_info) in cpc925_htlink_init() argument
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c23 dev_info(&pf->pdev->dev, "%d: bad seid\n", seid); in i40e_dbg_find_vsi()
118 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
122 dev_info(&pf->pdev->dev, "vsi seid %d\n", seid); in i40e_dbg_dump_vsi_seid()
126 dev_info(&pf->pdev->dev, " netdev: name = %s, state = %lu, flags = 0x%08x\n", in i40e_dbg_dump_vsi_seid()
128 dev_info(&pf->pdev->dev, " features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
130 dev_info(&pf->pdev->dev, " hw_features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
132 dev_info(&pf->pdev->dev, " vlan_features = 0x%08lx\n", in i40e_dbg_dump_vsi_seid()
135 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
139 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
143 dev_info(&pf->pdev->dev, " MAC address: %pM SAN MAC: %pM Port MAC: %pM\n", in i40e_dbg_dump_vsi_seid()
[all …]
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c38 dev_info(&h->pdev->dev, "queue info\n"); in hns3_dbg_queue_info()
62 dev_info(&h->pdev->dev, "RX(%d) BASE ADD: 0x%08x%08x\n", i, in hns3_dbg_queue_info()
67 dev_info(&h->pdev->dev, "RX(%d) RING BD NUM: %u\n", i, value); in hns3_dbg_queue_info()
71 dev_info(&h->pdev->dev, "RX(%d) RING BD LEN: %u\n", i, value); in hns3_dbg_queue_info()
75 dev_info(&h->pdev->dev, "RX(%d) RING TAIL: %u\n", i, value); in hns3_dbg_queue_info()
79 dev_info(&h->pdev->dev, "RX(%d) RING HEAD: %u\n", i, value); in hns3_dbg_queue_info()
83 dev_info(&h->pdev->dev, "RX(%d) RING FBDNUM: %u\n", i, value); in hns3_dbg_queue_info()
87 dev_info(&h->pdev->dev, "RX(%d) RING PKTNUM: %u\n", i, value); in hns3_dbg_queue_info()
94 dev_info(&h->pdev->dev, "TX(%d) BASE ADD: 0x%08x%08x\n", i, in hns3_dbg_queue_info()
99 dev_info(&h->pdev->dev, "TX(%d) RING BD NUM: %u\n", i, value); in hns3_dbg_queue_info()
[all …]
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c170 dev_info(&hdev->pdev->dev, "%s: 0x%x\n", in hclge_dbg_dump_reg_common()
204 dev_info(dev, "roce_qset_mask: 0x%x\n", bitmap->bit0); in hclge_dbg_dump_dcb()
205 dev_info(dev, "nic_qs_mask: 0x%x\n", bitmap->bit1); in hclge_dbg_dump_dcb()
206 dev_info(dev, "qs_shaping_pass: 0x%x\n", bitmap->bit2); in hclge_dbg_dump_dcb()
207 dev_info(dev, "qs_bp_sts: 0x%x\n", bitmap->bit3); in hclge_dbg_dump_dcb()
214 dev_info(dev, "pri_mask: 0x%x\n", bitmap->bit0); in hclge_dbg_dump_dcb()
215 dev_info(dev, "pri_cshaping_pass: 0x%x\n", bitmap->bit1); in hclge_dbg_dump_dcb()
216 dev_info(dev, "pri_pshaping_pass: 0x%x\n", bitmap->bit2); in hclge_dbg_dump_dcb()
223 dev_info(dev, "pg_mask: 0x%x\n", bitmap->bit0); in hclge_dbg_dump_dcb()
224 dev_info(dev, "pg_cshaping_pass: 0x%x\n", bitmap->bit1); in hclge_dbg_dump_dcb()
[all …]
/Linux-v5.4/include/net/caif/
Dcfsrvl.h22 struct dev_info dev_info; member
28 struct cflayer *cfvei_create(u8 linkid, struct dev_info *dev_info);
29 struct cflayer *cfdgml_create(u8 linkid, struct dev_info *dev_info);
30 struct cflayer *cfutill_create(u8 linkid, struct dev_info *dev_info);
31 struct cflayer *cfvidl_create(u8 linkid, struct dev_info *dev_info);
32 struct cflayer *cfrfml_create(u8 linkid, struct dev_info *dev_info,
34 struct cflayer *cfdbgl_create(u8 linkid, struct dev_info *dev_info);
43 struct dev_info *dev_info,
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_roce.c28 struct be_dev_info dev_info; in _be_roce_dev_add() local
45 dev_info.dpp_unmapped_addr = pci_resource_start(pdev, 2); in _be_roce_dev_add()
46 dev_info.dpp_unmapped_len = pci_resource_len(pdev, 2); in _be_roce_dev_add()
48 dev_info.dpp_unmapped_addr = 0; in _be_roce_dev_add()
49 dev_info.dpp_unmapped_len = 0; in _be_roce_dev_add()
51 dev_info.pdev = adapter->pdev; in _be_roce_dev_add()
52 dev_info.db = adapter->db; in _be_roce_dev_add()
53 dev_info.unmapped_db = adapter->roce_db.io_addr; in _be_roce_dev_add()
54 dev_info.db_page_size = adapter->roce_db.size; in _be_roce_dev_add()
55 dev_info.db_total_size = adapter->roce_db.total_size; in _be_roce_dev_add()
[all …]
/Linux-v5.4/drivers/staging/iio/addac/
Dadt7316.c225 struct iio_dev *dev_info = dev_to_iio_dev(dev); in adt7316_show_enabled() local
226 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled()
256 struct iio_dev *dev_info = dev_to_iio_dev(dev); in adt7316_store_enabled() local
257 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled()
280 struct iio_dev *dev_info = dev_to_iio_dev(dev); in adt7316_show_select_ex_temp() local
281 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp()
294 struct iio_dev *dev_info = dev_to_iio_dev(dev); in adt7316_store_select_ex_temp() local
295 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp()
324 struct iio_dev *dev_info = dev_to_iio_dev(dev); in adt7316_show_mode() local
325 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode()
[all …]
/Linux-v5.4/drivers/mfd/
Dstw481x.c95 dev_info(&stw481x->client->dev, "voltages %s\n", in stw481x_startup()
97 dev_info(&stw481x->client->dev, "MMC level shifter %s\n", in stw481x_startup()
99 dev_info(&stw481x->client->dev, "VMMC: %s\n", in stw481x_startup()
102 dev_info(&stw481x->client->dev, "STw481x power control registers:\n"); in stw481x_startup()
120 dev_info(&stw481x->client->dev, "VCORE: %u.%uV %s\n", in stw481x_startup()
124 dev_info(&stw481x->client->dev, "VPLL: %u.%uV %s\n", in stw481x_startup()
128 dev_info(&stw481x->client->dev, "VAUX: %u.%uV %s\n", in stw481x_startup()
136 dev_info(&stw481x->client->dev, "TWARN: %s threshold, %s\n", in stw481x_startup()
140 dev_info(&stw481x->client->dev, "VMMC: %s\n", in stw481x_startup()
142 dev_info(&stw481x->client->dev, "IT WAKE UP: %s\n", in stw481x_startup()
[all …]
Dipaq-micro.c114 dev_info(micro->dev, "no message queued\n"); in micro_rx_msg()
116 dev_info(micro->dev, "expected message %02x\n", in micro_rx_msg()
248 dev_info(micro->dev, "HW version %s\n", str); in ipaq_micro_eeprom_dump()
253 dev_info(micro->dev, "serial number: %s\n", str); in ipaq_micro_eeprom_dump()
260 dev_info(micro->dev, "module ID: %s\n", str); in ipaq_micro_eeprom_dump()
265 dev_info(micro->dev, "product revision: %s\n", str); in ipaq_micro_eeprom_dump()
268 dev_info(micro->dev, "product ID: %u\n", ipaq_micro_to_u16(dump+80)); in ipaq_micro_eeprom_dump()
269 dev_info(micro->dev, "frame rate: %u fps\n", in ipaq_micro_eeprom_dump()
271 dev_info(micro->dev, "page mode: %u\n", ipaq_micro_to_u16(dump+84)); in ipaq_micro_eeprom_dump()
272 dev_info(micro->dev, "country ID: %u\n", ipaq_micro_to_u16(dump+86)); in ipaq_micro_eeprom_dump()
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_ctl_drv.c263 dev_info(&GET_DEV(dev), in adf_ctl_is_device_in_use()
352 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
359 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
390 struct adf_dev_status_info dev_info; in adf_ctl_ioctl_get_status() local
393 if (copy_from_user(&dev_info, (void __user *)arg, in adf_ctl_ioctl_get_status()
399 accel_dev = adf_devmgr_get_dev_by_id(dev_info.accel_id); in adf_ctl_ioctl_get_status()
404 dev_info.state = adf_dev_started(accel_dev) ? DEV_UP : DEV_DOWN; in adf_ctl_ioctl_get_status()
405 dev_info.num_ae = hw_data->get_num_aes(hw_data); in adf_ctl_ioctl_get_status()
406 dev_info.num_accel = hw_data->get_num_accels(hw_data); in adf_ctl_ioctl_get_status()
407 dev_info.num_logical_accel = hw_data->num_logical_accel; in adf_ctl_ioctl_get_status()
[all …]
/Linux-v5.4/net/caif/
Dcfsrvl.c47 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
55 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
124 info->dev_info = &service->dev_info; in cfservl_modemcmd()
145 info->dev_info = &service->dev_info; in cfservl_modemcmd()
163 struct dev_info *dev_info, in cfsrvl_init() argument
173 service->dev_info = *dev_info; in cfsrvl_init()
190 return servl->dev_info.id; in cfsrvl_getphyid()
196 return servl->dev_info.id == phyid; in cfsrvl_phyid_match()
Dcfdbgl.c20 struct cflayer *cfdbgl_create(u8 channel_id, struct dev_info *dev_info) in cfdbgl_create() argument
26 cfsrvl_init(dbg, channel_id, dev_info, false); in cfdbgl_create()
52 info->dev_info = &service->dev_info; in cfdbgl_transmit()
Dcfvidl.c22 struct cflayer *cfvidl_create(u8 channel_id, struct dev_info *dev_info) in cfvidl_create() argument
29 cfsrvl_init(vid, channel_id, dev_info, false); in cfvidl_create()
63 info->dev_info = &service->dev_info; in cfvidl_transmit()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c670 struct drm_amdgpu_info_device dev_info = {}; in amdgpu_info_ioctl() local
673 dev_info.device_id = dev->pdev->device; in amdgpu_info_ioctl()
674 dev_info.chip_rev = adev->rev_id; in amdgpu_info_ioctl()
675 dev_info.external_rev = adev->external_rev_id; in amdgpu_info_ioctl()
676 dev_info.pci_rev = dev->pdev->revision; in amdgpu_info_ioctl()
677 dev_info.family = adev->family; in amdgpu_info_ioctl()
678 dev_info.num_shader_engines = adev->gfx.config.max_shader_engines; in amdgpu_info_ioctl()
679 dev_info.num_shader_arrays_per_engine = adev->gfx.config.max_sh_per_se; in amdgpu_info_ioctl()
681 dev_info.gpu_counter_freq = amdgpu_asic_get_xclk(adev) * 10; in amdgpu_info_ioctl()
683 dev_info.max_engine_clock = amdgpu_dpm_get_sclk(adev, false) * 10; in amdgpu_info_ioctl()
[all …]
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
D21142.c43 dev_info(&dev->dev, "21143 negotiation status %08x, %s\n", in t21142_media_task()
56 dev_info(&dev->dev, in t21142_media_task()
64 dev_info(&dev->dev, in t21142_media_task()
73 dev_info(&dev->dev, in t21142_media_task()
93 dev_info(&dev->dev, "Testing new 21143 media %s\n", in t21142_media_task()
150 dev_info(&dev->dev, in t21142_lnk_change()
175 dev_info(&dev->dev, in t21142_lnk_change()
181 dev_info(&dev->dev, in t21142_lnk_change()
225 dev_info(&dev->dev, "21143 %s link beat %s\n", in t21142_lnk_change()
237 dev_info(&dev->dev, "21143 10baseT link beat good\n"); in t21142_lnk_change()
[all …]
/Linux-v5.4/drivers/staging/gasket/
Dgasket_core.c193 struct gasket_cdev_info *dev_info; in gasket_alloc_dev() local
223 dev_info = &gasket_dev->dev_info; in gasket_alloc_dev()
224 snprintf(dev_info->name, GASKET_NAME_MAX, "%s_%u", driver_desc->name, in gasket_alloc_dev()
226 dev_info->devt = in gasket_alloc_dev()
229 dev_info->device = in gasket_alloc_dev()
230 device_create(internal_desc->class, parent, dev_info->devt, in gasket_alloc_dev()
231 gasket_dev, dev_info->name); in gasket_alloc_dev()
234 dev_info->gasket_dev_ptr = gasket_dev; in gasket_alloc_dev()
298 gasket_dev->dev_info.name)) { in gasket_map_pci_bar()
545 gasket_dev->dev_info.ownership.is_owned); in gasket_sysfs_data_show()
[all …]
/Linux-v5.4/drivers/gpu/drm/pl111/
Dpl111_versatile.c99 dev_info(drm->dev, "enable Integrator CLCD connectors\n"); in pl111_integrator_enable()
147 dev_info(drm->dev, "disable Versatile CLCD connectors\n"); in pl111_versatile_disable()
158 dev_info(drm->dev, "enable Versatile CLCD connectors\n"); in pl111_versatile_enable()
200 dev_info(drm->dev, "disable RealView CLCD connectors\n"); in pl111_realview_clcd_disable()
209 dev_info(drm->dev, "enable RealView CLCD connectors\n"); in pl111_realview_clcd_enable()
368 dev_info(dev, "set up callbacks for Integrator PL110\n"); in pl111_versatile_init()
383 dev_info(dev, "set up callbacks for Versatile PL110\n"); in pl111_versatile_init()
394 dev_info(dev, "set up callbacks for RealView PL111\n"); in pl111_versatile_init()
398 dev_info(dev, "initializing Versatile Express PL111\n"); in pl111_versatile_init()
404 dev_info(dev, "unknown Versatile system controller\n"); in pl111_versatile_init()
/Linux-v5.4/drivers/staging/rtl8192e/rtl8192e/
Drtl_pci.c49 dev_info(&pdev->dev, in rtl92e_check_adapter()
55 dev_info(&pdev->dev, in rtl92e_check_adapter()
61 dev_info(&pdev->dev, in rtl92e_check_adapter()
70 dev_info(&pdev->dev, in rtl92e_check_adapter()
73 dev_info(&pdev->dev, in rtl92e_check_adapter()
/Linux-v5.4/drivers/soc/versatile/
Dsoc-integrator.c142 dev_info(dev, "Detected ARM core module:\n"); in integrator_soc_init()
143 dev_info(dev, " Manufacturer: %02x\n", (val >> 24)); in integrator_soc_init()
144 dev_info(dev, " Architecture: %s\n", integrator_arch_str(val)); in integrator_soc_init()
145 dev_info(dev, " FPGA: %s\n", integrator_fpga_str(val)); in integrator_soc_init()
146 dev_info(dev, " Build: %02x\n", (val >> 4) & 0xFF); in integrator_soc_init()
147 dev_info(dev, " Rev: %c\n", ('A' + (val & 0x03))); in integrator_soc_init()
/Linux-v5.4/drivers/media/usb/em28xx/
Dem28xx-i2c.c699 dev_info(&dev->intf->dev, "board has no eeprom\n"); in em28xx_i2c_eeprom()
723 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
736 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
739 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
741 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
790 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
805 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
808 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
811 dev_info(&dev->intf->dev, in em28xx_i2c_eeprom()
823 dev_info(&dev->intf->dev, "\tNo audio on board.\n"); in em28xx_i2c_eeprom()
[all …]

12345678910>>...87