Home
last modified time | relevance | path

Searched refs:dev (Results 17001 – 17025 of 26800) sorted by relevance

1...<<681682683684685686687688689690>>...1072

/openbmc/qemu/hw/misc/
H A Dmips_cmgcr.c189 static void mips_gcr_reset(DeviceState *dev) in mips_gcr_reset() argument
191 MIPSGCRState *s = MIPS_GCR(dev); in mips_gcr_reset()
225 static void mips_gcr_realize(DeviceState *dev, Error **errp) in mips_gcr_realize() argument
227 MIPSGCRState *s = MIPS_GCR(dev); in mips_gcr_realize()
/openbmc/qemu/hw/arm/
H A Dbcm2838_peripherals.c62 static void bcm2838_peripherals_realize(DeviceState *dev, Error **errp) in bcm2838_peripherals_realize() argument
68 BCM2838PeripheralState *s = BCM2838_PERIPHERALS(dev); in bcm2838_peripherals_realize()
69 BCMSocPeripheralBaseState *s_base = BCM_SOC_PERIPHERALS_BASE(dev); in bcm2838_peripherals_realize()
72 bcm_soc_peripherals_common_realize(dev, errp); in bcm2838_peripherals_realize()
/openbmc/qemu/hw/nvram/
H A Deeprom93xx.c297 eeprom_t *eeprom93xx_new(DeviceState *dev, uint16_t nwords) in eeprom93xx_new() argument
324 vmstate_register_any(VMSTATE_IF(dev), &vmstate_eeprom, eeprom); in eeprom93xx_new()
328 void eeprom93xx_free(DeviceState *dev, eeprom_t *eeprom) in eeprom93xx_free() argument
332 vmstate_unregister(VMSTATE_IF(dev), &vmstate_eeprom, eeprom); in eeprom93xx_free()
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_perfmon.c128 int v3d_perfmon_create_ioctl(struct drm_device *dev, void *data, in v3d_perfmon_create_ioctl() argument
177 int v3d_perfmon_destroy_ioctl(struct drm_device *dev, void *data, in v3d_perfmon_destroy_ioctl() argument
196 int v3d_perfmon_get_values_ioctl(struct drm_device *dev, void *data, in v3d_perfmon_get_values_ioctl() argument
199 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_perfmon_get_values_ioctl()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_fs.c3410 return dev; in _ffs_do_find_dev()
3426 return dev; in _ffs_get_single_dev()
3440 if (dev) in _ffs_find_dev()
3441 return dev; in _ffs_find_dev()
3510 opts->dev = dev; in ffs_alloc_inst()
3603 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in _ffs_alloc_dev()
3604 if (!dev) in _ffs_alloc_dev()
3610 kfree(dev); in _ffs_alloc_dev()
3617 return dev; in _ffs_alloc_dev()
3629 strscpy(dev->name, name, ARRAY_SIZE(dev->name)); in ffs_name_dev()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c2589 kfree(dev); in mce_device_release()
2595 struct device *dev; in mce_device_create() local
2603 if (dev) in mce_device_create()
2606 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in mce_device_create()
2607 if (!dev) in mce_device_create()
2609 dev->id = cpu; in mce_device_create()
2610 dev->bus = &mce_subsys; in mce_device_create()
2613 err = device_register(dev); in mce_device_create()
2615 put_device(dev); in mce_device_create()
2640 device_unregister(dev); in mce_device_create()
[all …]
/openbmc/linux/sound/synth/emux/
H A Demux_oss.c55 struct snd_seq_device *dev; in snd_emux_init_seq_oss() local
59 sizeof(struct snd_seq_oss_reg), &dev) < 0) in snd_emux_init_seq_oss()
62 emu->oss_synth = dev; in snd_emux_init_seq_oss()
63 strcpy(dev->name, emu->name); in snd_emux_init_seq_oss()
64 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_emux_init_seq_oss()
72 snd_device_register(emu->card, dev); in snd_emux_init_seq_oss()
/openbmc/linux/tools/power/pm-graph/config/
H A Dexample.cfg75 dev: false
101 # Call Loop Max Gap (dev mode only)
105 # Call Loop Max Length (dev mode only)
114 # Override default dev timeline entries:
115 # Do not use the internal default functions for dev timeline entries (def: false)
117 override-dev-timeline-functions: true
/openbmc/linux/drivers/mtd/tests/
H A Dpagetest.c24 static int dev = -EINVAL; variable
25 module_param(dev, int, S_IRUGO);
26 MODULE_PARM_DESC(dev, "MTD device number to use");
328 if (dev < 0) { in mtd_pagetest_init()
334 pr_info("MTD device: %d\n", dev); in mtd_pagetest_init()
336 mtd = get_mtd_device(NULL, dev); in mtd_pagetest_init()
/openbmc/u-boot/board/freescale/mx6sxsabresd/
H A Dmx6sxsabresd.c150 struct udevice *dev; in power_init_board() local
154 dev = pfuze_common_init(); in power_init_board()
155 if (!dev) in power_init_board()
158 ret = pfuze_mode_init(dev, APS_PFM); in power_init_board()
163 reg = pmic_reg_read(dev, PFUZE100_VGEN5VOL); in power_init_board()
166 pmic_reg_write(dev, PFUZE100_VGEN5VOL, reg); in power_init_board()
/openbmc/u-boot/board/CZ.NIC/turris_mox/
H A Dturris_mox.c163 struct udevice *dev; in mox_do_spi() local
167 "spi_generic_drv", "moxtet@1", &dev, in mox_do_spi()
266 static int sw_multi_read(struct mii_dev *bus, int sw, int dev, int reg) in sw_multi_read() argument
268 bus->write(bus, sw, 0, 0, SW_SMI_CMD_R(dev, reg)); in sw_multi_read()
273 static void sw_multi_write(struct mii_dev *bus, int sw, int dev, int reg, in sw_multi_write() argument
277 bus->write(bus, sw, 0, 0, SW_SMI_CMD_W(dev, reg)); in sw_multi_write()
/openbmc/linux/drivers/media/usb/gspca/
H A Dsn9c2028.c68 rc = usb_control_msg(gspca_dev->dev, in sn9c2028_command()
69 usb_sndctrlpipe(gspca_dev->dev, 0), in sn9c2028_command()
86 rc = usb_control_msg(gspca_dev->dev, in sn9c2028_read1()
87 usb_rcvctrlpipe(gspca_dev->dev, 0), in sn9c2028_read1()
103 rc = usb_control_msg(gspca_dev->dev, in sn9c2028_read4()
104 usb_rcvctrlpipe(gspca_dev->dev, 0), in sn9c2028_read4()
/openbmc/linux/net/rds/
H A Dib.h247 struct ib_device *dev; member
266 #define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev)
325 static inline void rds_ib_dma_sync_sg_for_cpu(struct ib_device *dev, in rds_ib_dma_sync_sg_for_cpu() argument
334 ib_dma_sync_single_for_cpu(dev, sg_dma_address(sg), in rds_ib_dma_sync_sg_for_cpu()
340 static inline void rds_ib_dma_sync_sg_for_device(struct ib_device *dev, in rds_ib_dma_sync_sg_for_device() argument
349 ib_dma_sync_single_for_device(dev, sg_dma_address(sg), in rds_ib_dma_sync_sg_for_device()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_qp.c243 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in qib_notify_error_qp() local
245 spin_lock(&dev->rdi.pending_lock); in qib_notify_error_qp()
250 spin_unlock(&dev->rdi.pending_lock); in qib_notify_error_qp()
369 struct qib_ibdev *dev = to_idev(qp->ibqp.device); in qib_flush_qp_waiters() local
371 spin_lock(&dev->rdi.pending_lock); in qib_flush_qp_waiters()
374 spin_unlock(&dev->rdi.pending_lock); in qib_flush_qp_waiters()
/openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/initrdscripts/files/
H A Dgxp-obmc-init.sh14 mount dev dev -tdevtmpfs
196 rodev=/dev/mtdblock${rofs#mtd}
197 rwdev=/dev/mtdblock${rwfs#mtd}
302 if test -n "${imagebasename}" && ls /"${imagebasename}"* > /dev/null 2>&1
335 if ls $image* > /dev/null 2>&1
/openbmc/linux/drivers/net/
H A Dmhi_net.c172 struct mhi_net_dev *mhi_netdev = dev_get_drvdata(&mhi_dev->dev); in mhi_net_dl_callback()
239 struct mhi_net_dev *mhi_netdev = dev_get_drvdata(&mhi_dev->dev); in mhi_net_ul_callback()
311 dev_set_drvdata(&mhi_dev->dev, mhi_netdev); in mhi_net_newlink()
348 dev_set_drvdata(&mhi_dev->dev, NULL); in mhi_net_dellink()
363 SET_NETDEV_DEV(ndev, &mhi_dev->dev); in mhi_net_probe()
376 struct mhi_net_dev *mhi_netdev = dev_get_drvdata(&mhi_dev->dev); in mhi_net_remove()
/openbmc/linux/drivers/media/tuners/
H A Dqm1d1c0042.c122 dev_warn(&state->i2c->dev, "(%s) failed. [adap%d-fe%d]\n", in qm1d1c0042_wakeup()
141 dev_warn(&state->i2c->dev, in qm1d1c0042_set_config()
312 dev_warn(&state->i2c->dev, "(%s) failed. [adap%d-fe%d]\n", in qm1d1c0042_sleep()
382 dev_warn(&state->i2c->dev, "(%s) failed. [adap%d-fe%d]\n", in qm1d1c0042_init()
415 cfg = client->dev.platform_data; in qm1d1c0042_probe()
422 dev_info(&client->dev, "Sharp QM1D1C0042 attached.\n"); in qm1d1c0042_probe()
/openbmc/linux/sound/soc/samsung/
H A Didma.c352 buf->dev.dev = pcm->card->dev; in preallocate_idma_buffer()
356 buf->dev.type = SNDRV_DMA_TYPE_CONTINUOUS; in preallocate_idma_buffer()
373 ret = dma_coerce_mask_and_coherent(card->dev, DMA_BIT_MASK(32)); in idma_new()
412 return devm_snd_soc_register_component(&pdev->dev, &asoc_idma_platform, in asoc_idma_platform_probe()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c93 queue_work(buf->ctx->dev->core_workqueue, &buf->ctx->msg_queue.core_work); in vdec_msg_queue_qbuf()
244 struct mtk_vcodec_dec_dev *dev = ctx->dev; in vdec_msg_queue_core_work() local
265 mtk_vcodec_set_curr_ctx(dev, ctx, MTK_VDEC_CORE); in vdec_msg_queue_core_work()
269 mtk_vcodec_set_curr_ctx(dev, NULL, MTK_VDEC_CORE); in vdec_msg_queue_core_work()
278 queue_work(ctx->dev->core_workqueue, &msg_queue->core_work); in vdec_msg_queue_core_work()
/openbmc/linux/drivers/media/radio/
H A Dradio-shark.c238 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds() argument
249 retval = led_classdev_register(dev, &shark->leds[i]); in shark_register_leds()
280 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds() argument
326 dev_err(&intf->dev, "Invalid radioSHARK device\n"); in usb_shark_probe()
340 retval = shark_register_leds(shark, &intf->dev); in usb_shark_probe()
345 retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev); in usb_shark_probe()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c70 dev_err(pdev->dev, "Set Configuration - bad device state\n"); in cdnsp_ep0_set_config()
96 dev_err(pdev->dev, "Invalid device address %d\n", addr); in cdnsp_ep0_set_address()
103 dev_err(pdev->dev, "Can't Set Address from Configured State\n"); in cdnsp_ep0_set_address()
318 dev_warn(pdev->dev, "WARN Incorrect wValue %04x\n", wValue); in cdnsp_ep0_handle_feature_endpoint()
353 dev_err(pdev->dev, "Set SEL should be 6 bytes, got %d\n", in cdnsp_ep0_set_sel()
426 dev_err(pdev->dev, "ERR: Setup detected in unattached state\n"); in cdnsp_setup_analyze()
/openbmc/linux/drivers/bus/mhi/host/
H A Ddebugfs.c130 static int mhi_device_info_show(struct device *dev, void *data) in mhi_device_info_show() argument
134 if (dev->bus != &mhi_bus_type) in mhi_device_info_show()
137 mhi_dev = to_mhi_device(dev); in mhi_device_info_show()
163 mhi_device_info_show(&mhi_cntrl->mhi_dev->dev, m); in mhi_debugfs_devices_show()
164 device_for_each_child(&mhi_cntrl->mhi_dev->dev, m, mhi_device_info_show); in mhi_debugfs_devices_show()
380 debugfs_create_dir(dev_name(&mhi_cntrl->mhi_dev->dev), in mhi_create_debugfs()
/openbmc/linux/drivers/base/regmap/
H A Dregmap-spi-avmm.c363 struct device *dev = &br->spi->dev; in br_do_rx_and_pkt_phy_parse() local
398 dev_err(dev, "%s channel num != 0\n", in br_do_rx_and_pkt_phy_parse()
490 dev_err(dev, "%s transfer buffer is full but rx doesn't end\n", in br_do_rx_and_pkt_phy_parse()
679 map = __regmap_init(&spi->dev, &regmap_spi_avmm_bus, in __regmap_init_spi_avmm()
702 map = __devm_regmap_init(&spi->dev, &regmap_spi_avmm_bus, in __devm_regmap_init_spi_avmm()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_bpf.c259 nfct = __bpf_nf_ct_alloc_entry(dev_net(ctx->rxq->dev), bpf_tuple, tuple__sz, in bpf_xdp_ct_alloc()
294 caller_net = dev_net(ctx->rxq->dev); in bpf_xdp_ct_lookup()
327 net = skb->dev ? dev_net(skb->dev) : sock_net(skb->sk); in bpf_skb_ct_alloc()
362 caller_net = skb->dev ? dev_net(skb->dev) : sock_net(skb->sk); in bpf_skb_ct_lookup()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c267 struct drm_device *dev = drm->dev; in nouveau_ttm_init() local
302 ret = ttm_device_init(&drm->ttm.bdev, &nouveau_bo_driver, drm->dev->dev, in nouveau_ttm_init()
303 dev->anon_inode->i_mapping, in nouveau_ttm_init()
304 dev->vma_offset_manager, in nouveau_ttm_init()

1...<<681682683684685686687688689690>>...1072