Searched defs:dev_info (Results 1 - 25 of 39) sorted by relevance

12

/drivers/md/
H A Dlinear.h4 struct dev_info { struct
13 struct dev_info disks[0];
/drivers/net/ethernet/emulex/benet/
H A Dbe_roce.c32 struct be_dev_info dev_info; local
49 dev_info.dpp_unmapped_addr = pci_resource_start(pdev, 2);
50 dev_info.dpp_unmapped_len = pci_resource_len(pdev, 2);
52 dev_info.dpp_unmapped_addr = 0;
53 dev_info.dpp_unmapped_len = 0;
55 dev_info.pdev = adapter->pdev;
56 dev_info.db = adapter->db;
57 dev_info.unmapped_db = adapter->roce_db.io_addr;
58 dev_info.db_page_size = adapter->roce_db.size;
59 dev_info
[all...]
/drivers/uio/
H A Duio_cif.c29 static irqreturn_t hilscher_handler(int irq, struct uio_info *dev_info) argument
31 void __iomem *plx_intscr = dev_info->mem[0].internal_addr
H A Duio_aec.c54 static irqreturn_t aectc_irq(int irq, struct uio_info *dev_info) argument
56 void __iomem *int_flag = dev_info->priv + INTA_DRVR_ADDR;
62 status = ioread8(dev_info->priv + MAILBOX);
71 dev_info(&pdev->dev, "PCI-TC board vendor: %x%x number: %x%x"
H A Duio_netx.c33 static irqreturn_t netx_handler(int irq, struct uio_info *dev_info) argument
35 void __iomem *int_enable_reg = dev_info->mem[0].internal_addr
37 void __iomem *int_status_reg = dev_info->mem[0].internal_addr
105 dev_info(&dev->dev, "Found %s card, registered UIO device.\n",
H A Duio_pdrv_genirq.c63 static irqreturn_t uio_pdrv_genirq_handler(int irq, struct uio_info *dev_info) argument
65 struct uio_pdrv_genirq_platdata *priv = dev_info->priv;
79 static int uio_pdrv_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) argument
81 struct uio_pdrv_genirq_platdata *priv = dev_info->priv;
95 enable_irq(dev_info->irq);
98 disable_irq_nosync(dev_info->irq);
H A Duio_dmem_genirq.c108 static irqreturn_t uio_dmem_genirq_handler(int irq, struct uio_info *dev_info) argument
110 struct uio_dmem_genirq_platdata *priv = dev_info->priv;
122 static int uio_dmem_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) argument
124 struct uio_dmem_genirq_platdata *priv = dev_info->priv;
137 enable_irq(dev_info->irq);
140 disable_irq(dev_info->irq);
/drivers/edac/
H A Damd8131_edac.c93 static void amd8131_pcix_init(struct amd8131_dev_info *dev_info) argument
96 struct pci_dev *dev = dev_info->dev;
144 static void amd8131_pcix_exit(struct amd8131_dev_info *dev_info) argument
147 struct pci_dev *dev = dev_info->dev;
172 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; local
173 struct pci_dev *dev = dev_info->dev;
180 "on %s bridge\n", dev_info->ctl_name);
200 "on %s bridge\n", dev_info->ctl_name);
213 "on %s bridge\n", dev_info->ctl_name);
226 "on %s bridge\n", dev_info
251 struct amd8131_dev_info *dev_info; local
315 struct amd8131_dev_info *dev_info; local
[all...]
H A Damd8111_edac.c246 static void amd8111_lpc_bridge_init(struct amd8111_dev_info *dev_info) argument
249 struct pci_dev *dev = dev_info->dev;
283 static void amd8111_lpc_bridge_exit(struct amd8111_dev_info *dev_info) argument
291 struct amd8111_dev_info *dev_info = edac_dev->pvt_info; local
292 struct pci_dev *dev = dev_info->dev;
299 dev_info->ctl_name);
352 struct amd8111_dev_info *dev_info = &amd8111_devices[id->driver_data]; local
355 dev_info->dev = pci_get_device(PCI_VENDOR_ID_AMD,
356 dev_info->err_dev, NULL);
358 if (!dev_info
424 struct amd8111_dev_info *dev_info; local
[all...]
H A De7xxx_edac.c133 const struct e7xxx_dev_info *dev_info; member in struct:e7xxx_pvt
465 pvt->dev_info = &e7xxx_devs[dev_idx];
467 pvt->dev_info->err_dev, pvt->bridge_ck);
477 mci->ctl_name = pvt->dev_info->ctl_name;
/drivers/crypto/qat/qat_common/
H A Dadf_ctl_drv.c375 struct adf_dev_status_info dev_info; local
378 if (copy_from_user(&dev_info, (void __user *)arg,
384 accel_dev = adf_devmgr_get_dev_by_id(dev_info.accel_id);
386 pr_err("QAT: Device %d not found\n", dev_info.accel_id);
390 dev_info.state = adf_dev_started(accel_dev) ? DEV_UP : DEV_DOWN;
391 dev_info.num_ae = hw_data->get_num_aes(hw_data);
392 dev_info.num_accel = hw_data->get_num_accels(hw_data);
393 dev_info.num_logical_accel = hw_data->num_logical_accel;
394 dev_info.banks_per_accel = hw_data->num_banks
396 strlcpy(dev_info
[all...]
/drivers/net/wireless/hostap/
H A Dhostap_cs.c23 static char *dev_info = "hostap_cs"; variable
437 PDEBUG(DEBUG_HW, "%s: setting Vcc=33 (constant)\n", dev_info);
584 PDEBUG(DEBUG_EXTRA, "%s: CS_EVENT_PM_SUSPEND\n", dev_info);
607 PDEBUG(DEBUG_EXTRA, "%s: CS_EVENT_PM_RESUME\n", dev_info);
H A Dhostap_pci.c23 static char *dev_info = "hostap_pci"; variable
347 dev_info);
H A Dhostap_plx.c26 static char *dev_info = "hostap_plx"; variable
272 dev_info);
355 dev_info, cis[0], cis[1], cis[2], cis[3], cis[4], cis[5]);
381 "cor_offset=0x%x\n", dev_info,
385 "attr_mem\n", dev_info);
397 dev_info, manfid1, manfid2);
414 " not supported card\n", dev_info, manfid1, manfid2);
418 printk(KERN_WARNING "%s: invalid CIS data\n", dev_info);
424 "errors during CIS verification\n", dev_info);
477 "0x%02x, was=0x%02x)\n", dev_info,
[all...]
/drivers/iio/light/
H A Dapds9300.c392 struct iio_dev *dev_info = private; local
393 struct apds9300_data *data = iio_priv(dev_info);
395 iio_push_event(dev_info,
/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c453 static struct ocrdma_dev *ocrdma_add(struct be_dev_info *dev_info) argument
467 memcpy(&dev->nic_info, dev_info, sizeof(*dev_info));
/drivers/staging/wlan-ng/
H A Dprism2sta.c83 static char *dev_info = "prism2_usb"; variable
1901 pr_err("%s: Memory allocation failure.\n", dev_info);
1908 wlandev->nsdname = dev_info;
/drivers/staging/xgifb/
H A DXGIfb.h55 struct vb_device_info dev_info; member in struct:xgifb_video_info
/drivers/usb/host/
H A Dhwa-hc.c94 dev_info(dev, "Wireless USB Cluster ID set to 0x%02x\n", cluster_id);
425 struct hwa_dev_info *dev_info; local
429 dev_info = kzalloc(sizeof(struct hwa_dev_info), GFP_KERNEL);
430 if (!dev_info)
432 uwb_mas_bm_copy_le(dev_info->bmDeviceAvailability,
434 dev_info->bDeviceAddress = wusb_dev->addr;
444 dev_info->wPHYRates = wusb_dev->wusb_cap_descr->wPHYRates;
446 dev_info->wPHYRates = cpu_to_le16(USB_WIRELESS_PHY_53);
452 dev_info, sizeof(struct hwa_dev_info),
454 kfree(dev_info);
[all...]
/drivers/usb/wusbcore/
H A Dwusbhc.h187 * @dev_info This array has ports_max elements. It is used to
264 struct wusb_dev_info *dev_info; /* for Set Device Info mgmt */ member in struct:wusbhc
/drivers/char/
H A Dmem.c798 struct backing_dev_info *dev_info; member in struct:memdev
833 if (dev->dev_info)
834 filp->f_mapping->backing_dev_info = dev->dev_info;
837 if (dev->dev_info == &directly_mappable_cdev_bdi)
/drivers/net/wireless/ath/ath9k/
H A Dinit.c33 static char *dev_info = "ath9k"; variable
1008 pr_info("%s: Driver unloaded\n", dev_info);
/drivers/power/
H A Dds2780_battery.c63 static inline int ds2780_battery_io(struct ds2780_device_info *dev_info, argument
66 return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io);
69 static inline int ds2780_read8(struct ds2780_device_info *dev_info, u8 *val, argument
72 return ds2780_battery_io(dev_info, val, addr, sizeof(u8), 0);
75 static int ds2780_read16(struct ds2780_device_info *dev_info, s16 *val, argument
81 ret = ds2780_battery_io(dev_info, raw, addr, sizeof(raw), 0);
90 static inline int ds2780_read_block(struct ds2780_device_info *dev_info, argument
93 return ds2780_battery_io(dev_info, val, addr, count, 0);
96 static inline int ds2780_write(struct ds2780_device_info *dev_info, u8 *val, argument
99 return ds2780_battery_io(dev_info, va
112 ds2780_save_eeprom(struct ds2780_device_info *dev_info, int reg) argument
128 ds2780_set_sense_register(struct ds2780_device_info *dev_info, u8 conductance) argument
142 ds2780_get_rsgain_register(struct ds2780_device_info *dev_info, u16 *rsgain) argument
149 ds2780_set_rsgain_register(struct ds2780_device_info *dev_info, u16 rsgain) argument
163 ds2780_get_voltage(struct ds2780_device_info *dev_info, int *voltage_uV) argument
191 ds2780_get_temperature(struct ds2780_device_info *dev_info, int *temperature) argument
222 ds2780_get_current(struct ds2780_device_info *dev_info, enum current_types type, int *current_uA) argument
267 ds2780_get_accumulated_current(struct ds2780_device_info *dev_info, int *accumulated_current) argument
304 ds2780_get_capacity(struct ds2780_device_info *dev_info, int *capacity) argument
318 ds2780_get_status(struct ds2780_device_info *dev_info, int *status) argument
342 ds2780_get_charge_now(struct ds2780_device_info *dev_info, int *charge_now) argument
364 ds2780_get_control_register(struct ds2780_device_info *dev_info, u8 *control_reg) argument
370 ds2780_set_control_register(struct ds2780_device_info *dev_info, u8 control_reg) argument
388 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
458 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
477 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
512 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
530 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
550 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
567 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
593 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
611 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
637 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
654 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
690 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
707 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); local
761 struct ds2780_device_info *dev_info; local
822 struct ds2780_device_info *dev_info = platform_get_drvdata(pdev); local
[all...]
H A Dds2781_battery.c61 static inline int ds2781_battery_io(struct ds2781_device_info *dev_info, argument
64 return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io);
67 static int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, argument
70 return ds2781_battery_io(dev_info, buf, addr, count, 0);
73 static inline int ds2781_read8(struct ds2781_device_info *dev_info, u8 *val, argument
76 return ds2781_battery_io(dev_info, val, addr, sizeof(u8), 0);
79 static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val, argument
85 ret = ds2781_battery_io(dev_info, raw, addr, sizeof(raw), 0);
94 static inline int ds2781_read_block(struct ds2781_device_info *dev_info, argument
97 return ds2781_battery_io(dev_info, va
100 ds2781_write(struct ds2781_device_info *dev_info, u8 *val, int addr, size_t count) argument
116 ds2781_save_eeprom(struct ds2781_device_info *dev_info, int reg) argument
132 ds2781_set_sense_register(struct ds2781_device_info *dev_info, u8 conductance) argument
146 ds2781_get_rsgain_register(struct ds2781_device_info *dev_info, u16 *rsgain) argument
153 ds2781_set_rsgain_register(struct ds2781_device_info *dev_info, u16 rsgain) argument
167 ds2781_get_voltage(struct ds2781_device_info *dev_info, int *voltage_uV) argument
196 ds2781_get_temperature(struct ds2781_device_info *dev_info, int *temp) argument
223 ds2781_get_current(struct ds2781_device_info *dev_info, enum current_types type, int *current_uA) argument
268 ds2781_get_accumulated_current(struct ds2781_device_info *dev_info, int *accumulated_current) argument
305 ds2781_get_capacity(struct ds2781_device_info *dev_info, int *capacity) argument
319 ds2781_get_status(struct ds2781_device_info *dev_info, int *status) argument
344 ds2781_get_charge_now(struct ds2781_device_info *dev_info, int *charge_now) argument
366 ds2781_get_control_register(struct ds2781_device_info *dev_info, u8 *control_reg) argument
372 ds2781_set_control_register(struct ds2781_device_info *dev_info, u8 control_reg) argument
390 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
460 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
479 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
514 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
532 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
552 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
569 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
595 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
613 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
639 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
654 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
688 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
704 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); local
756 struct ds2781_device_info *dev_info; local
815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev); local
[all...]
/drivers/s390/block/
H A Ddcssblk.c87 struct dcssblk_dev_info *dev_info; local
90 dev_info = container_of(dev, struct dcssblk_dev_info, dev);
91 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) {
95 kfree(dev_info);
106 dcssblk_assign_free_minor(struct dcssblk_dev_info *dev_info) argument
111 if (dev_info == NULL)
123 dev_info->gd->first_minor = minor;
153 struct dcssblk_dev_info *dev_info; local
156 list_for_each_entry(dev_info, &dcssblk_devices, lh) {
157 list_for_each_entry(entry, &dev_info
169 dcssblk_find_highest_addr(struct dcssblk_dev_info *dev_info) argument
186 dcssblk_find_lowest_addr(struct dcssblk_dev_info *dev_info) argument
210 dcssblk_is_continuous(struct dcssblk_dev_info *dev_info) argument
314 struct dcssblk_dev_info *dev_info; local
323 struct dcssblk_dev_info *dev_info; local
418 struct dcssblk_dev_info *dev_info; local
427 struct dcssblk_dev_info *dev_info; local
479 struct dcssblk_dev_info *dev_info; local
518 struct dcssblk_dev_info *dev_info; local
705 struct dcssblk_dev_info *dev_info; local
769 struct dcssblk_dev_info *dev_info; local
787 struct dcssblk_dev_info *dev_info = disk->private_data; local
810 struct dcssblk_dev_info *dev_info; local
873 struct dcssblk_dev_info *dev_info; local
895 struct dcssblk_dev_info *dev_info; local
937 struct dcssblk_dev_info *dev_info; local
964 struct dcssblk_dev_info *dev_info; local
[all...]

Completed in 566 milliseconds

12