Home
last modified time | relevance | path

Searched refs:dev (Results 6601 – 6625 of 26672) sorted by relevance

1...<<261262263264265266267268269270>>...1067

/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c38 return container_of(dev, struct pscsi_dev_virt, dev); in PSCSI_DEV()
285 struct pscsi_dev_virt *pdv = PSCSI_DEV(dev); in pscsi_add_device_to_list()
298 dev->dev_attrib.hw_block_size = in pscsi_add_device_to_list()
300 dev->dev_attrib.hw_max_sectors = in pscsi_add_device_to_list()
307 pscsi_set_inquiry_info(sd, &dev->t10_wwn); in pscsi_add_device_to_list()
325 pscsi_tape_read_blocksize(dev, sd); in pscsi_add_device_to_list()
343 return &pdv->dev; in pscsi_alloc_device()
378 ret = pscsi_add_device_to_list(dev, sd); in pscsi_create_type_disk()
409 ret = pscsi_add_device_to_list(dev, sd); in pscsi_create_type_nondisk()
423 struct se_hba *hba = dev->se_hba; in pscsi_configure_device()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c3094 struct device *dev = &adapter->pdev->dev; in netxen_create_sysfs_entries() local
3099 dev_warn(dev, in netxen_create_sysfs_entries()
3108 struct device *dev = &adapter->pdev->dev; in netxen_remove_sysfs_entries() local
3120 dev = &pdev->dev; in netxen_create_diag_entries()
3136 struct device *dev = &pdev->dev; in netxen_remove_diag_entries() local
3190 dev = ifa->ifa_dev ? ifa->ifa_dev->dev : NULL; in netxen_list_config_ip()
3192 if (dev == NULL) in netxen_list_config_ip()
3208 dev = vlan_dev_real_dev(dev); in netxen_list_config_ip()
3346 dev = vlan_dev_real_dev(dev); in netxen_netdev_event()
3384 dev = ifa->ifa_dev ? ifa->ifa_dev->dev : NULL; in netxen_inetaddr_event()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1017 struct device *dev = ethsw->dev; in dpaa2_switch_free_fd() local
1040 struct device *dev = ethsw->dev; in dpaa2_switch_build_single_fd() local
1583 dev_name(dev), dev); in dpaa2_switch_setup_irqs()
2293 switchdev_work->dev = dev; in dpaa2_switch_port_event()
2370 struct device *dev = ethsw->dev; in dpaa2_switch_build_linear_skb() local
2475 struct device *dev = ethsw->dev; in dpaa2_switch_setup_fqs() local
2502 struct device *dev = ethsw->dev; in dpaa2_switch_free_bufs() local
2519 struct device *dev = ethsw->dev; in dpaa2_switch_add_bufs() local
2641 struct device *dev = ethsw->dev; in dpaa2_switch_setup_dpbp() local
3225 dev = &sw_dev->dev; in dpaa2_switch_remove()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_summary.h22 int yaffs_summary_init(struct yaffs_dev *dev);
23 void yaffs_summary_deinit(struct yaffs_dev *dev);
25 int yaffs_summary_add(struct yaffs_dev *dev,
28 int yaffs_summary_fetch(struct yaffs_dev *dev,
31 int yaffs_summary_read(struct yaffs_dev *dev,
34 void yaffs_summary_gc(struct yaffs_dev *dev, int blk);
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dpch.c10 u32 pch_common_sir_read(struct udevice *dev, int idx) in pch_common_sir_read() argument
14 dm_pci_write_config32(dev, SATA_SIRI, idx); in pch_common_sir_read()
15 dm_pci_read_config32(dev, SATA_SIRD, &data); in pch_common_sir_read()
20 void pch_common_sir_write(struct udevice *dev, int idx, u32 value) in pch_common_sir_write() argument
22 dm_pci_write_config32(dev, SATA_SIRI, idx); in pch_common_sir_write()
23 dm_pci_write_config32(dev, SATA_SIRD, value); in pch_common_sir_write()
/openbmc/linux/arch/arm/mach-orion5x/
H A Dmpp.c18 u32 dev; in orion5x_variant() local
21 orion5x_pcie_id(&dev, &rev); in orion5x_variant()
23 if (dev == MV88F5181_DEV_ID) in orion5x_variant()
26 if (dev == MV88F5182_DEV_ID) in orion5x_variant()
29 if (dev == MV88F5281_DEV_ID) in orion5x_variant()
33 "(dev %#x rev %#x)\n", dev, rev); in orion5x_variant()
/openbmc/linux/drivers/media/i2c/
H A Dov5695.c957 pm_runtime_put(&client->dev); in ov5695_s_stream()
962 pm_runtime_put(&client->dev); in ov5695_s_stream()
976 struct device *dev = &ov5695->client->dev; in __ov5695_power_on() local
1015 struct device *dev = &ov5695->client->dev; in __ov5695_power_off() local
1155 pm_runtime_put(&client->dev); in ov5695_set_ctrl()
1224 dev_err(&ov5695->client->dev, in ov5695_initialize_controls()
1242 struct device *dev = &ov5695->client->dev; in ov5695_check_sensor_id() local
1272 struct device *dev = &client->dev; in ov5695_probe() local
1343 pm_runtime_set_active(dev); in ov5695_probe()
1344 pm_runtime_enable(dev); in ov5695_probe()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dsoundcard.h850 #define MIXER_READ(dev) _SIOR('M', dev, int) argument
880 #define MIXER_WRITE(dev) _SIOWR('M', dev, int) argument
1063 #define SEQ_LOAD_GMINSTR(dev, instr) argument
1064 #define SEQ_LOAD_GMDRUM(dev, drum) argument
1116 _seqbuf[_seqbufptr+2] = (dev);\
1131 _seqbuf[_seqbufptr+1] = (dev);\
1156 _seqbuf[_seqbufptr+1] = (dev);\
1178 #define SEQ_SYSEX(dev, buf, len) \ argument
1219 #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) argument
1221 #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128) argument
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dad7877.c465 struct ad7877 *ts = dev_get_drvdata(dev); in SHOW()
474 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_disable_store()
495 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_dac_show()
504 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_dac_store()
525 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio3_show()
534 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio3_store()
556 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio4_show()
678 dev_dbg(&spi->dev, "no IRQ?\n"); in ad7877_probe()
735 input_dev->dev.parent = &spi->dev; in ad7877_probe()
761 dev_name(&spi->dev), input_dev->name); in ad7877_probe()
[all …]
/openbmc/linux/drivers/dma/sh/
H A Dusb-dmac.c99 struct device *dev; member
207 dev_dbg(chan->vc.chan.device->dev, in usb_dmac_chan_start_sg()
426 dev_warn(chan->device->dev, in usb_dmac_prep_slave_sg()
726 dev_name(dmac->dev), index); in usb_dmac_chan_probe()
778 dmac->dev = &pdev->dev; in usb_dmac_probe()
796 pm_runtime_enable(&pdev->dev); in usb_dmac_probe()
833 engine->dev = &pdev->dev; in usb_dmac_probe()
851 pm_runtime_put(&pdev->dev); in usb_dmac_probe()
857 pm_runtime_put(&pdev->dev); in usb_dmac_probe()
858 pm_runtime_disable(&pdev->dev); in usb_dmac_probe()
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-master-gpio.c25 struct device *dev; member
354 dev_dbg(master->dev, in read_one_response()
413 dev_err(master->dev, in issue_term()
447 dev_dbg(master->dev, in poll_for_response()
489 dev_warn(master->dev, in poll_for_response()
766 of_node_put(dev_of_node(master->dev)); in fsi_master_gpio_release()
781 master->dev = &pdev->dev; in fsi_master_gpio_probe()
782 master->master.dev.parent = master->dev; in fsi_master_gpio_probe()
783 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_gpio_probe()
795 gpio = devm_gpiod_get(&pdev->dev, "data", 0); in fsi_master_gpio_probe()
[all …]
/openbmc/qemu/hw/sparc64/
H A Dsun4u.c306 DeviceState *dev; in ebus_realize() local
343 dev = DEVICE(isa_dev); in ebus_realize()
426 DeviceState *dev; in prom_init() local
432 s = SYS_BUS_DEVICE(dev); in prom_init()
519 DeviceState *dev; in ram_init() local
525 s = SYS_BUS_DEVICE(dev); in ram_init()
527 d = SUN4U_RAM(dev); in ram_init()
567 DeviceState *iommu, *dev; in sun4uv_init() local
674 s = SYS_BUS_DEVICE(dev); in sun4uv_init()
678 nvram = NVRAM(dev); in sun4uv_init()
[all …]
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Ddma.c183 dma_free_coherent(&hci->master.dev, in hci_dma_cleanup()
187 dma_free_coherent(&hci->master.dev, in hci_dma_cleanup()
353 dma_unmap_single(&hci->master.dev, in hci_dma_unmap_xfer()
395 dma_map_single(&hci->master.dev, in hci_dma_queue_xfer()
523 dev_err(&hci->master.dev, in hci_dma_xfer_done()
577 struct i3c_dev_desc *dev, in hci_dma_recycle_ibi_slot() argument
588 struct i3c_dev_desc *dev; in hci_dma_process_ibi() local
660 if (!dev) { in hci_dma_process_ibi()
661 dev_err(&hci->master.dev, in hci_dma_process_ibi()
714 slot->dev = dev; in hci_dma_process_ibi()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_omap.c407 pm_runtime_get_sync(port->dev); in omap_8250_set_termios()
533 pm_runtime_get_sync(port->dev); in omap_8250_pm()
585 dev_warn(up->port.dev, in omap_serial_fill_features_erratas()
713 pm_runtime_get_sync(port->dev); in omap_8250_startup()
773 pm_runtime_get_sync(port->dev); in omap_8250_shutdown()
806 pm_runtime_get_sync(port->dev); in omap_8250_throttle()
823 pm_runtime_get_sync(port->dev); in omap_8250_unthrottle()
1420 up.port.dev = &pdev->dev; in omap8250_probe()
1494 dev_warn(&pdev->dev, in omap8250_probe()
1511 pm_runtime_enable(&pdev->dev); in omap8250_probe()
[all …]
/openbmc/linux/include/drm/
H A Ddrm_probe_helper.h19 void drm_kms_helper_poll_init(struct drm_device *dev);
20 void drm_kms_helper_poll_fini(struct drm_device *dev);
21 bool drm_helper_hpd_irq_event(struct drm_device *dev);
23 void drm_kms_helper_hotplug_event(struct drm_device *dev);
26 void drm_kms_helper_poll_disable(struct drm_device *dev);
27 void drm_kms_helper_poll_enable(struct drm_device *dev);
28 void drm_kms_helper_poll_reschedule(struct drm_device *dev);
/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_driver.c15 static int mdev_probe(struct device *dev) in mdev_probe() argument
18 container_of(dev->driver, struct mdev_driver, driver); in mdev_probe()
22 return drv->probe(to_mdev_device(dev)); in mdev_probe()
25 static void mdev_remove(struct device *dev) in mdev_remove() argument
28 container_of(dev->driver, struct mdev_driver, driver); in mdev_remove()
31 drv->remove(to_mdev_device(dev)); in mdev_remove()
34 static int mdev_match(struct device *dev, struct device_driver *drv) in mdev_match() argument
/openbmc/linux/include/trace/events/
H A Dswiotlb.h11 TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size),
12 TP_ARGS(dev, dev_addr, size),
15 __string(dev_name, dev_name(dev))
23 __assign_str(dev_name, dev_name(dev));
24 __entry->dma_mask = (dev->dma_mask ? *dev->dma_mask : 0);
27 __entry->force = is_swiotlb_force_bounce(dev);
/openbmc/linux/sound/soc/amd/raven/
H A Dacp3x-pcm-dma.c220 adata = dev_get_drvdata(component->dev); in acp3x_dma_open()
376 if (!pdev->dev.platform_data) { in acp3x_audio_probe()
402 dev_set_drvdata(&pdev->dev, adata); in acp3x_audio_probe()
418 pm_runtime_use_autosuspend(&pdev->dev); in acp3x_audio_probe()
419 pm_runtime_mark_last_busy(&pdev->dev); in acp3x_audio_probe()
420 pm_runtime_set_active(&pdev->dev); in acp3x_audio_probe()
421 pm_runtime_enable(&pdev->dev); in acp3x_audio_probe()
427 pm_runtime_disable(&pdev->dev); in acp3x_audio_remove()
437 adata = dev_get_drvdata(dev); in acp3x_resume()
487 adata = dev_get_drvdata(dev); in acp3x_pcm_runtime_suspend()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-armada38x.c214 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time()
245 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_time()
262 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_alarm()
283 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_alarm()
307 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_alarm_irq_enable()
399 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_offset()
416 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_set_offset()
498 rtc->data = of_device_get_match_data(&pdev->dev); in armada38x_rtc_probe()
530 device_init_wakeup(&pdev->dev, 1); in armada38x_rtc_probe()
546 if (device_may_wakeup(dev)) { in armada38x_rtc_suspend()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dmain.c179 dev_err(wdev->dev, "PDS: malformed file (legacy format?)\n"); in wfx_send_pds()
186 dev_err(wdev->dev, "PDS:%d: corrupted file\n", chunk_num); in wfx_send_pds()
190 dev_info(wdev->dev, "PDS:%d: skip unknown data\n", chunk_num); in wfx_send_pds()
194 dev_warn(wdev->dev, "PDS:%d: unexpectedly large chunk\n", chunk_num); in wfx_send_pds()
196 dev_warn(wdev->dev, "PDS:%d: unexpected content\n", chunk_num); in wfx_send_pds()
225 ret = request_firmware(&pds, wdev->pdata.file_pds, wdev->dev); in wfx_send_pdata_pds()
263 SET_IEEE80211_DEV(hw, dev); in wfx_init_common()
304 wdev->dev = dev; in wfx_init_common()
325 if (devm_add_action_or_reset(dev, wfx_free_common, wdev)) in wfx_init_common()
413 dev_err(wdev->dev, "misconfigured IRQ?\n"); in wfx_probe()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcs42xx8.c235 dev_err(component->dev, "unsupported dai format\n"); in cs42xx8_set_dai_fmt()
293 dev_err(component->dev, in cs42xx8_hw_params()
528 dev_set_drvdata(dev, cs42xx8); in cs42xx8_probe()
541 cs42xx8->clk = devm_clk_get(dev, "mclk"); in cs42xx8_probe()
543 dev_err(dev, "failed to get the clock: %ld\n", in cs42xx8_probe()
553 ret = devm_regulator_bulk_get(dev, in cs42xx8_probe()
579 dev_err(dev, "unmatched chip ID: %d\n", in cs42xx8_probe()
585 dev_info(dev, "found device, revision %X\n", in cs42xx8_probe()
610 static int cs42xx8_runtime_resume(struct device *dev) in cs42xx8_runtime_resume() argument
617 dev_err(dev, "failed to enable mclk: %d\n", ret); in cs42xx8_runtime_resume()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dsimplefb.c129 struct device_node *np = pdev->dev.of_node; in simplefb_parse_dt()
165 dev_err(&pdev->dev, "Invalid format value\n"); in simplefb_parse_dt()
221 struct device_node *np = pdev->dev.of_node; in simplefb_clocks_get()
225 if (dev_get_platdata(&pdev->dev) || !np) in simplefb_clocks_get()
265 dev_err(&pdev->dev, in simplefb_clocks_enable()
327 struct device_node *np = pdev->dev.of_node; in simplefb_regulators_get()
333 if (dev_get_platdata(&pdev->dev) || !np) in simplefb_regulators_get()
385 dev_err(&pdev->dev, in simplefb_regulators_enable()
426 if (dev_get_platdata(&pdev->dev)) in simplefb_probe()
428 else if (pdev->dev.of_node) in simplefb_probe()
[all …]
/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c74 struct device *dev; member
111 dev_err(priv->dev, "signature mismatch!\n"); in tusb320_check_signature()
147 dev_err(priv->dev, in tusb320l_set_mode()
167 dev_err(priv->dev, in tusb320l_set_mode()
180 dev_err(priv->dev, in tusb320_reset()
189 dev_err(priv->dev, in tusb320_reset()
281 struct device *dev = priv->dev; in tusb320_typec_irq_handler() local
379 dev_err(priv->dev, "error during i2c read!\n"); in tusb320_state_update_handler()
523 priv->dev = &client->dev; in tusb320_probe()
534 match_data = device_get_match_data(&client->dev); in tusb320_probe()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c175 dev_dbg_ratelimited(hdev->dev, in hl_device_open()
189 dev_dbg_ratelimited(hdev->dev, in hl_device_open()
191 dev_name(hdev->dev)); in hl_device_open()
197 dev_dbg_ratelimited(hdev->dev, in hl_device_open()
199 dev_name(hdev->dev)); in hl_device_open()
207 dev_name(hdev->dev)); in hl_device_open()
404 *dev = NULL; in create_hdev()
470 *dev = hdev; in create_hdev()
539 dev_info(&pdev->dev, HL_NAME in hl_pci_probe()
685 dev_t dev; in hl_init() local
[all …]
/openbmc/linux/drivers/hwmon/
H A Dtmp513.c398 struct tmp51x_data *data = dev_get_drvdata(dev); in tmp51x_read()
623 static int tmp51x_vbus_range_to_reg(struct device *dev, in tmp51x_vbus_range_to_reg() argument
666 ret = tmp51x_vbus_range_to_reg(dev, data); in tmp51x_read_properties()
672 ret = tmp51x_pga_gain_to_reg(dev, data); in tmp51x_read_properties()
704 if (dev->of_node) in tmp51x_configure()
705 return tmp51x_read_properties(dev, data); in tmp51x_configure()
714 struct device *dev = &client->dev; in tmp51x_probe() local
719 data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); in tmp51x_probe()
725 ret = tmp51x_configure(dev, data); in tmp51x_probe()
733 dev_err(dev, "failed to allocate register map\n"); in tmp51x_probe()
[all …]

1...<<261262263264265266267268269270>>...1067