Home
last modified time | relevance | path

Searched refs:dev (Results 16076 – 16100 of 26794) sorted by relevance

1...<<641642643644645646647648649650>>...1072

/openbmc/linux/arch/arm/mach-orion5x/
H A Dboard-mss2.c27 static int __init mss2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in mss2_pci_map_irq() argument
34 irq = orion5x_pci_map_irq(dev, slot, pin); in mss2_pci_map_irq()
/openbmc/linux/drivers/clk/tegra/
H A Dcvb.h52 tegra_cvb_add_opp_table(struct device *dev, const struct cvb_table *cvb_tables,
56 void tegra_cvb_remove_opp_table(struct device *dev,
/openbmc/linux/sound/soc/codecs/
H A Dwm8804.h67 int wm8804_probe(struct device *dev, struct regmap *regmap);
68 void wm8804_remove(struct device *dev);
H A Dcs42l51-i2c.c34 return cs42l51_probe(&i2c->dev, devm_regmap_init_i2c(i2c, &config)); in cs42l51_i2c_probe()
39 cs42l51_remove(&i2c->dev); in cs42l51_i2c_remove()
/openbmc/linux/drivers/rtc/
H A Drtc-starfire.c28 static int starfire_read_time(struct device *dev, struct rtc_time *tm) in starfire_read_time() argument
42 rtc = devm_rtc_allocate_device(&pdev->dev); in starfire_rtc_probe()
/openbmc/linux/tools/net/ynl/
H A Dynl-regen.sh18 pushd ${search:-$KDIR} >>/dev/null
37 popd >>/dev/null
/openbmc/linux/include/linux/usb/
H A Dtypec_retimer.h34 static inline struct typec_retimer *typec_retimer_get(struct device *dev) in typec_retimer_get() argument
36 return fwnode_typec_retimer_get(dev_fwnode(dev)); in typec_retimer_get()
/openbmc/linux/include/sound/
H A Dgraph_card.h24 int audio_graph_parse_of(struct asoc_simple_priv *priv, struct device *dev);
25 int audio_graph2_parse_of(struct asoc_simple_priv *priv, struct device *dev,
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c78 dma_unmap_page(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()
82 dma_unmap_single(tx_ring->dev, tx_swbd->dma, in enetc_unmap_tx_buff()
281 if (dma_mapping_error(tx_ring->dev, dma)) in enetc_map_tx_buffs()
326 dev_err(tx_ring->dev, "DMA map error"); in enetc_map_tx_buffs()
574 dev_err(tx_ring->dev, "DMA map error"); in enetc_map_tx_tso_buffs()
1784 struct device *dev, size_t bd_count) in enetc_alloc_tx_resource() argument
1788 res->dev = dev; in enetc_alloc_tx_resource()
1869 struct device *dev, size_t bd_count, in enetc_alloc_rx_resource() argument
1874 res->dev = dev; in enetc_alloc_rx_resource()
3010 bdr->dev = priv->dev; in enetc_alloc_msix()
[all …]
/openbmc/linux/crypto/async_tx/
H A Dasync_raid6_recov.c31 unmap = dmaengine_get_unmap_data(dma->dev, 3, GFP_NOWAIT); in async_sum_product()
34 struct device *dev = dma->dev; in async_sum_product() local
41 unmap->addr[0] = dma_map_page(dev, srcs[0], src_offs[0], in async_sum_product()
43 unmap->addr[1] = dma_map_page(dev, srcs[1], src_offs[1], in async_sum_product()
47 unmap->addr[2] = dma_map_page(dev, dest, d_off, in async_sum_product()
99 unmap = dmaengine_get_unmap_data(dma->dev, 3, GFP_NOWAIT); in async_mult()
103 struct device *dev = dma->dev; in async_mult() local
109 unmap->addr[0] = dma_map_page(dev, src, s_off, in async_mult()
112 unmap->addr[1] = dma_map_page(dev, dest, d_off, in async_mult()
/openbmc/linux/drivers/md/
H A Ddm-log.c370 struct dm_dev *dev) in create_log_context() argument
430 if (!dev) { in create_log_context()
439 lc->log_dev = dev; in create_log_context()
452 if (buf_size > bdev_nr_bytes(dev->bdev)) { in create_log_context()
454 dev->name, (unsigned long long)buf_size); in create_log_context()
489 if (!dev) in create_log_context()
504 if (!dev) in create_log_context()
550 struct dm_dev *dev; in disk_ctr() local
557 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); in disk_ctr()
561 r = create_log_context(log, ti, argc - 1, argv + 1, dev); in disk_ctr()
[all …]
/openbmc/linux/drivers/soc/ixp4xx/
H A Dixp4xx-npe.c508 int npe_load_firmware(struct npe *npe, const char *name, struct device *dev) in npe_load_firmware() argument
536 if ((err = request_firmware(&fw_entry, name, dev)) != 0) in npe_load_firmware()
688 struct device *dev = &pdev->dev; in ixp4xx_npe_probe() local
689 struct device_node *np = dev->of_node; in ixp4xx_npe_probe()
697 return dev_err_probe(dev, PTR_ERR(rmap), in ixp4xx_npe_probe()
710 dev_info(dev, "NPE%d at %pR not available\n", in ixp4xx_npe_probe()
714 npe->regs = devm_ioremap_resource(dev, res); in ixp4xx_npe_probe()
720 dev_info(dev, "NPE%d at %pR does not reset\n", in ixp4xx_npe_probe()
725 dev_info(dev, "NPE%d at %pR registered\n", i, res); in ixp4xx_npe_probe()
734 devm_of_platform_populate(dev); in ixp4xx_npe_probe()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c133 struct device *dev = &param->ctx->mdp_dev->pdev->dev; in mdp_try_fmt_mplane() local
145 dev_dbg(dev, "%d: pixelformat %c%c%c%c invalid", ctx_id, in mdp_try_fmt_mplane()
177 dev_dbg(dev, "%d: size change: %ux%u to %ux%u", ctx_id, in mdp_try_fmt_mplane()
181 dev_dbg(dev, "%d num of planes change: %u to %u", ctx_id, in mdp_try_fmt_mplane()
204 dev_dbg(dev, "%d: p%u, bpl:%u [%u, %u], sizeimage:%u [%u, %u]", in mdp_try_fmt_mplane()
234 struct device *dev = &ctx->mdp_dev->pdev->dev; in mdp_try_crop() local
239 dev_dbg(dev, "%d target:%d, set:(%d,%d) %ux%u", ctx->id, in mdp_try_crop()
257 dev_dbg(dev, "%d align:%u,%u, bound:%ux%u", ctx->id, in mdp_try_crop()
278 dev_dbg(dev, "%d crop:(%d,%d) %ux%u", ctx->id, in mdp_try_crop()
/openbmc/linux/Documentation/driver-api/driver-model/
H A Ddevres.rst71 static void dmam_coherent_release(struct device *dev, void *res)
75 dma_free_coherent(dev, this->size, this->vaddr, this->dma_handle);
78 dmam_alloc_coherent(dev, size, dma_handle, gfp)
94 devres_add(dev, dr);
109 d = devm_kzalloc(dev, sizeof(*d), GFP_KERNEL);
153 if (!devres_open_group(dev, NULL, GFP_KERNEL))
165 devres_remove_group(dev, NULL);
169 devres_release_group(dev, NULL);
189 if (!devres_open_group(dev, my_midlayer_create_something, GFP_KERNEL))
194 devres_close_group(dev, my_midlayer_create_something);
[all …]
/openbmc/linux/drivers/acpi/
H A Dutils.c856 static int acpi_dev_match_cb(struct device *dev, const void *data) in acpi_dev_match_cb() argument
858 struct acpi_device *adev = to_acpi_device(dev); in acpi_dev_match_cb()
903 struct device *dev; in acpi_dev_present() local
909 dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb); in acpi_dev_present()
910 put_device(dev); in acpi_dev_present()
911 return !!dev; in acpi_dev_present()
934 struct device *start = adev ? &adev->dev : NULL; in acpi_dev_get_next_match_dev()
936 struct device *dev; in acpi_dev_get_next_match_dev() local
942 dev = bus_find_device(&acpi_bus_type, start, &match, acpi_dev_match_cb); in acpi_dev_get_next_match_dev()
944 return dev ? to_acpi_device(dev) : NULL; in acpi_dev_get_next_match_dev()
/openbmc/linux/drivers/edac/
H A Dcpc925_edac.c807 dev_info->edac_dev->dev = &dev_info->pdev->dev; in cpc925_add_edac_devices()
810 dev_info->edac_dev->dev_name = dev_name(&dev_info->pdev->dev); in cpc925_add_edac_devices()
849 edac_device_del_device(dev_info->edac_dev->dev); in cpc925_del_edac_devices()
918 if (!devres_open_group(&pdev->dev, cpc925_probe, GFP_KERNEL)) { in cpc925_probe()
930 if (!devm_request_mem_region(&pdev->dev, in cpc925_probe()
939 vbase = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in cpc925_probe()
967 mci->pdev = &pdev->dev; in cpc925_probe()
969 mci->dev_name = dev_name(&pdev->dev); in cpc925_probe()
1006 devm_release_mem_region(&pdev->dev, r->start, resource_size(r)); in cpc925_probe()
1008 devres_release_group(&pdev->dev, cpc925_probe); in cpc925_probe()
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-dust.rst55 $ sudo blockdev --getsz /dev/vdb1
63 $ sudo dmsetup create dust1 --table '0 33552384 dust /dev/vdb1 0 512'
69 $ sudo dmsetup create dust1 --table '0 33552384 dust /dev/vdb1 0 4096'
78 $ sudo dd if=/dev/mapper/dust1 of=/dev/null bs=512 count=128 iflag=direct
82 $ sudo dd if=/dev/zero of=/dev/mapper/dust1 bs=512 count=128 oflag=direct
122 $ sudo dd if=/dev/mapper/dust1 of=/dev/null bs=512 count=1 skip=67 iflag=direct
123 dd: error reading '/dev/mapper/dust1': Input/output error
131 $ sudo dd if=/dev/zero of=/dev/mapper/dust1 bs=512 count=128 oflag=direct
/openbmc/linux/sound/pci/
H A Dad1889.c250 dev_err(chip->card->dev, "[%s] Link is not ready.\n", in snd_ad1889_ac97_ready()
254 dev_dbg(chip->card->dev, "[%s] ready after %d ms\n", __func__, 400 - retry); in snd_ad1889_ac97_ready()
377 dev_dbg(chip->card->dev, in snd_ad1889_playback_prepare()
424 dev_dbg(chip->card->dev, in snd_ad1889_capture_prepare()
580 dev_dbg(chip->card->dev, in snd_ad1889_interrupt()
614 snd_pcm_set_managed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, &chip->pci->dev, in snd_ad1889_pcm_init()
803 if (dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(32))) { in snd_ad1889_create()
804 dev_err(card->dev, "error setting 32-bit DMA mask.\n"); in snd_ad1889_create()
824 if (devm_request_irq(&pci->dev, pci->irq, snd_ad1889_interrupt, in snd_ad1889_create()
826 dev_err(card->dev, "cannot obtain IRQ %d\n", pci->irq); in snd_ad1889_create()
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c302 int atl1c_read_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, in atl1c_read_phy_core() argument
317 val = FIELDX(MDIO_EXTN_DEVAD, dev) | FIELDX(MDIO_EXTN_REG, reg); in atl1c_read_phy_core()
351 int atl1c_write_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, in atl1c_write_phy_core() argument
366 val = FIELDX(MDIO_EXTN_DEVAD, dev) | FIELDX(MDIO_EXTN_REG, reg); in atl1c_write_phy_core()
583 dev_err(&pdev->dev, in atl1c_phy_reset()
604 dev_err(&pdev->dev, "Error get phy ID\n"); in atl1c_phy_init()
612 dev_err(&pdev->dev, in atl1c_phy_init()
631 dev_err(&pdev->dev, "Wrong Media type %d\n", in atl1c_phy_init()
740 dev_dbg(&pdev->dev, "phy autoneg failed\n"); in atl1c_phy_to_ps_link()
751 dev_dbg(&pdev->dev, in atl1c_phy_to_ps_link()
[all …]
/openbmc/linux/drivers/mtd/spi-nor/
H A Dspansion.c96 dev_dbg(nor->dev, "error %d clearing SR\n", ret); in spansion_nor_clear_sr()
118 dev_err(nor->dev, "Erase Error occurred\n"); in cypress_nor_sr_ready_and_clear_reg()
120 dev_err(nor->dev, "Programming Error occurred\n"); in cypress_nor_sr_ready_and_clear_reg()
227 dev_dbg(nor->dev, "error %d reading JEDEC ID after enabling 8D-8D-8D mode\n", ret); in cypress_nor_octal_dtr_en()
271 dev_dbg(nor->dev, "error %d reading JEDEC ID after disabling 8D-8D-8D mode\n", ret); in cypress_nor_octal_dtr_dis()
319 dev_err(nor->dev, "CFR1: Read back test failed\n"); in cypress_nor_quad_enable_volatile_reg()
556 params->vreg_offset = devm_kmalloc(nor->dev, sizeof(u32), GFP_KERNEL); in s25fs256t_post_sfdp_fixup()
609 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s25hx_t_post_sfdp_fixup()
927 dev_err(nor->dev, "Erase Error occurred\n"); in spansion_nor_sr_ready_and_clear()
929 dev_err(nor->dev, "Programming Error occurred\n"); in spansion_nor_sr_ready_and_clear()
[all …]
/openbmc/linux/drivers/xen/
H A Dgntdev-dmabuf.c245 dma_unmap_sgtable(attach->dev, sgt, in dmabuf_exp_ops_detach()
266 attach->dev); in dmabuf_exp_ops_map_dma_buf()
285 if (dma_map_sgtable(attach->dev, sgt, dir, in dmabuf_exp_ops_map_dma_buf()
296 pr_debug("Failed to map sg table for dev %p\n", attach->dev); in dmabuf_exp_ops_map_dma_buf()
351 struct device *dev; member
376 if (args->dev->driver && args->dev->driver->owner) in dmabuf_exp_from_pages()
377 exp_info.owner = args->dev->driver->owner; in dmabuf_exp_from_pages()
467 args.dev = priv->dma_dev; in dmabuf_exp_from_refs()
566 dmabuf_imp_to_refs(struct gntdev_dmabuf_priv *priv, struct device *dev, in dmabuf_imp_to_refs() argument
590 attach = dma_buf_attach(dma_buf, dev); in dmabuf_imp_to_refs()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dmite.c755 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring()
781 static int mite_setup(struct comedi_device *dev, struct mite *mite, in mite_setup() argument
797 dev->mmio = pci_ioremap_bar(mite->pcidev, 1); in mite_setup()
798 if (!dev->mmio) in mite_setup()
805 dev_dbg(dev->class_dev, in mite_setup()
832 dev_warn(dev->class_dev, in mite_setup()
843 dev_dbg(dev->class_dev, in mite_setup()
847 dev_dbg(dev->class_dev, in mite_setup()
875 struct mite *mite_attach(struct comedi_device *dev, bool use_win1) in mite_attach() argument
877 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in mite_attach()
[all …]
/openbmc/linux/Documentation/dev-tools/
H A Dtesting-overview.rst28 KUnit (Documentation/dev-tools/kunit/index.rst) is an entirely in-kernel system
44 Documentation/dev-tools/kunit/style.rst
47 kselftest (Documentation/dev-tools/kselftest.rst), on the other hand, is
74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be
79 Documentation/dev-tools/kcov.rst is a feature which can be built in to the
97 Documentation/dev-tools/kmemleak.rst
99 use-after-free errors. See Documentation/dev-tools/kasan.rst
101 overflows. See Documentation/dev-tools/ubsan.rst
102 * KCSAN detects data races. See Documentation/dev-tools/kcsan.rst
129 examining the code. See the Documentation/dev-tools/sparse.rst documentation
[all …]
/openbmc/linux/net/sched/
H A Dem_meta.c139 static inline int int_dev(struct net_device *dev, struct meta_obj *dst) in int_dev() argument
141 if (unlikely(dev == NULL)) in int_dev()
144 dst->value = dev->ifindex; in int_dev()
150 if (unlikely(dev == NULL)) in var_dev()
153 dst->value = (unsigned long) dev->name; in var_dev()
154 dst->len = strlen(dev->name); in var_dev()
160 *err = int_dev(skb->dev, dst); in META_COLLECTOR()
165 *err = var_dev(skb->dev, dst); in META_COLLECTOR()
326 struct net_device *dev; in META_COLLECTOR() local
329 dev = dev_get_by_index_rcu(sock_net(skb->sk), in META_COLLECTOR()
[all …]
/openbmc/linux/drivers/iio/pressure/
H A Dzpa2326.c138 dev_err(idev->dev.parent, fmt "\n", ##__VA_ARGS__)
141 dev_warn(idev->dev.parent, fmt "\n", ##__VA_ARGS__)
144 dev_dbg(idev->dev.parent, fmt "\n", ##__VA_ARGS__)
167 bool zpa2326_isreg_readable(struct device *dev, unsigned int reg) in zpa2326_isreg_readable() argument
196 bool zpa2326_isreg_precious(struct device *dev, unsigned int reg) in zpa2326_isreg_precious() argument
421 dev_err(indio_dev->dev.parent, in zpa2326_config_oneshot()
667 err = pm_runtime_get_sync(indio_dev->dev.parent); in zpa2326_resume()
669 pm_runtime_put(indio_dev->dev.parent); in zpa2326_resume()
696 struct device *parent = indio_dev->dev.parent; in zpa2326_suspend()
1304 trig->dev.parent); in zpa2326_set_trigger_state()
[all …]

1...<<641642643644645646647648649650>>...1072