Home
last modified time | relevance | path

Searched refs:dev (Results 7026 – 7050 of 26672) sorted by relevance

1...<<281282283284285286287288289290>>...1067

/openbmc/u-boot/cmd/
H A Dnand.c116 static int set_dev(int dev) in set_dev() argument
123 if (nand_curr_device == dev) in set_dev()
128 nand_curr_device = dev; in set_dev()
387 int dev = nand_curr_device; in do_nand() local
414 if (dev < 0 || dev >= CONFIG_SYS_MAX_NAND_DEVICE) in do_nand()
422 set_dev(dev); in do_nand()
505 if (set_dev(dev)) in do_nand()
574 if (set_dev(dev)) in do_nand()
597 if (set_dev(dev)) in do_nand()
769 if (set_dev(dev)) in do_nand()
[all …]
/openbmc/linux/drivers/media/rc/
H A Dati_remote.c136 #define dbginfo(dev, format, arg...) \ argument
173 dev_info(&interface->dev, in get_medion_keymap()
334 dev_err(&ati_remote->interface->dev, in ati_remote_open()
416 dev_dbg(&ati_remote->interface->dev, in ati_remote_sendpacket()
499 ati_remote_dump(&urb->dev->dev, data, urb->actual_length); in ati_remote_input_report()
504 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
513 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
525 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
642 input_sync(dev); in ati_remote_input_report()
744 idev->dev.parent = &ati_remote->interface->dev; in ati_remote_input_init()
[all …]
/openbmc/linux/sound/hda/
H A Dhdac_device.c43 struct device *dev; in snd_hdac_device_init() local
47 dev = &codec->dev; in snd_hdac_device_init()
48 device_initialize(dev); in snd_hdac_device_init()
49 dev->parent = bus->dev; in snd_hdac_device_init()
118 put_device(&codec->dev); in snd_hdac_device_init()
153 device_del(&codec->dev); in snd_hdac_device_register()
171 device_del(&codec->dev); in snd_hdac_device_unregister()
520 dev_dbg(&codec->dev, in snd_hdac_get_connections()
581 struct device *dev = &codec->dev; in snd_hdac_power_down() local
842 dev_err(&codec->dev, in snd_hdac_query_supported_pcm()
[all …]
/openbmc/linux/drivers/mfd/
H A Ddln2.c191 struct device *dev = &dln2->interface->dev; in dln2_transfer_complete() local
238 struct device *dev = &dln2->interface->dev; in dln2_rx() local
416 struct device *dev = &dln2->interface->dev; in free_rx_slot() local
434 struct device *dev = &dln2->interface->dev; in _dln2_transfer() local
457 dev_err(dev, "USB write failed: %d\n", ret); in _dln2_transfer()
521 dln2 = dev_get_drvdata(pdev->dev.parent); in dln2_transfer()
522 dln2_pdata = dev_get_platdata(&pdev->dev); in dln2_transfer()
557 struct device *dev = &dln2->interface->dev; in dln2_print_serialno() local
632 struct device *dev = &dln2->interface->dev; in dln2_start_rx_urbs() local
758 mfd_remove_devices(&interface->dev); in dln2_disconnect()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-sun6i.c544 ret = sun6i_rtc_gettime(dev, &tm_now); in sun6i_rtc_setalarm()
546 dev_err(dev, "Error in getting time\n"); in sun6i_rtc_setalarm()
552 dev_err(dev, "Date to set in the past\n"); in sun6i_rtc_setalarm()
625 dev_err(dev, "rtc is still busy.\n"); in sun6i_rtc_settime()
639 dev_err(dev, "Failed to set rtc time.\n"); in sun6i_rtc_settime()
653 dev_err(dev, "Failed to set rtc time.\n"); in sun6i_rtc_settime()
717 if (device_may_wakeup(dev)) in sun6i_rtc_suspend()
728 if (device_may_wakeup(dev)) in sun6i_rtc_resume()
748 struct device *dev = &pdev->dev; in sun6i_rtc_probe() local
794 0, dev_name(&pdev->dev), chip); in sun6i_rtc_probe()
[all …]
/openbmc/linux/drivers/hte/
H A Dhte-tegra194.c467 dev_err(chip->dev, in tegra_hte_en_dis_common()
481 dev_dbg(chip->dev, "device suspended"); in tegra_hte_en_dis_common()
691 struct device *dev; in tegra_hte_probe() local
696 dev = &pdev->dev; in tegra_hte_probe()
706 dev_set_drvdata(&pdev->dev, hte_dev); in tegra_hte_probe()
713 dev_dbg(dev, "slices:%d\n", slices); in tegra_hte_probe()
737 dev_name(dev), hte_dev); in tegra_hte_probe()
739 dev_err(dev, "request irq failed.\n"); in tegra_hte_probe()
745 gc->dev = dev; in tegra_hte_probe()
761 if (of_device_is_compatible(dev->of_node, in tegra_hte_probe()
[all …]
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxreg-hotplug.c55 struct device *dev; member
118 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_device_create()
217 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_attr_show()
261 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_attr_init()
527 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_work_handler()
604 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_set_irq()
676 pdata = dev_get_platdata(&priv->pdev->dev); in mlxreg_hotplug_unset_irq()
726 pdata = dev_get_platdata(&pdev->dev); in mlxreg_hotplug_probe()
751 priv->dev = pdev->dev.parent; in mlxreg_hotplug_probe()
765 dev_set_drvdata(&pdev->dev, priv); in mlxreg_hotplug_probe()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-img-spfi.c88 struct device *dev; member
487 dev_err(spfi->dev, in img_spfi_transfer_one()
539 spfi->dev = &pdev->dev; in img_spfi_probe()
590 host->dev.of_node = pdev->dev.of_node; in img_spfi_probe()
644 pm_runtime_set_active(spfi->dev); in img_spfi_probe()
645 pm_runtime_enable(spfi->dev); in img_spfi_probe()
654 pm_runtime_disable(spfi->dev); in img_spfi_probe()
678 pm_runtime_disable(spfi->dev); in img_spfi_remove()
724 static int img_spfi_resume(struct device *dev) in img_spfi_resume() argument
730 ret = pm_runtime_resume_and_get(dev); in img_spfi_resume()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_tables_offload.c155 dev_put(entry->dev); in nft_flow_rule_destroy()
223 struct net_device *dev; in nft_chain_offload_support() local
234 dev = hook->ops.dev; in nft_chain_offload_support()
384 struct net_device *dev, in nft_block_offload_cmd() argument
393 err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_BLOCK, &bo); in nft_block_offload_cmd()
403 struct net_device *dev = block_cb->indr.dev; in nft_indr_block_cleanup() local
441 struct net_device *dev, in nft_chain_offload_cmd() argument
458 struct net_device *dev; in nft_flow_block_chain() local
463 dev = hook->ops.dev; in nft_flow_block_chain()
484 dev = hook->ops.dev; in nft_flow_block_chain()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dlm95234.c208 struct lm95234_data *data = dev_get_drvdata(dev); in temp_show()
222 struct lm95234_data *data = dev_get_drvdata(dev); in alarm_show()
235 struct lm95234_data *data = dev_get_drvdata(dev); in type_show()
248 struct lm95234_data *data = dev_get_drvdata(dev); in type_store()
279 struct lm95234_data *data = dev_get_drvdata(dev); in tcrit2_show()
292 struct lm95234_data *data = dev_get_drvdata(dev); in tcrit2_store()
318 struct lm95234_data *data = dev_get_drvdata(dev); in tcrit2_hyst_show()
333 struct lm95234_data *data = dev_get_drvdata(dev); in tcrit1_show()
342 struct lm95234_data *data = dev_get_drvdata(dev); in tcrit1_store()
672 dev_notice(&client->dev, in lm95234_init_client()
[all …]
/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce-usb.c44 iforce_usb->out->dev = iforce_usb->usbdev; in __iforce_usb_xmit()
61 dev_warn(&iforce_usb->intf->dev, in __iforce_usb_xmit()
97 dev_err(&iforce_usb->intf->dev, in iforce_usb_get_id()
142 struct device *dev = &iforce_usb->intf->dev; in iforce_usb_irq() local
157 dev_dbg(dev, "%s - urb has status of: %d\n", in iforce_usb_irq()
225 iforce_usb->usbdev = dev; in iforce_usb_probe()
228 usb_fill_int_urb(iforce_usb->irq, dev, in iforce_usb_probe()
229 usb_rcvintpipe(dev, epirq->bEndpointAddress), in iforce_usb_probe()
233 usb_fill_int_urb(iforce_usb->out, dev, in iforce_usb_probe()
234 usb_sndintpipe(dev, epout->bEndpointAddress), in iforce_usb_probe()
[all …]
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge.h157 struct dvb_device *dev; member
200 struct ddb *dev; member
212 struct ddb *dev; member
294 struct ddb *dev; member
313 struct device *dev; member
357 void ddb_ports_detach(struct ddb *dev);
359 void ddb_buffers_free(struct ddb *dev);
364 void ddb_ports_init(struct ddb *dev);
366 int ddb_ports_attach(struct ddb *dev);
368 int ddb_init(struct ddb *dev);
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-lochnagar.c40 struct device *dev; member
155 dev_dbg(priv->dev, "Failed to prepare %s: %d\n", in lochnagar_clk_prepare()
170 dev_dbg(priv->dev, "Failed to unprepare %s: %d\n", in lochnagar_clk_unprepare()
183 dev_dbg(priv->dev, "Failed to reparent %s: %d\n", in lochnagar_clk_set_parent()
224 dev_err(priv->dev, "Invalid index %u\n", idx); in lochnagar_of_clk_hw_get()
243 struct device *dev = &pdev->dev; in lochnagar_clk_probe() local
250 of_id = of_match_device(lochnagar_of_match, dev); in lochnagar_clk_probe()
258 priv->dev = dev; in lochnagar_clk_probe()
259 priv->regmap = dev_get_regmap(dev->parent, NULL); in lochnagar_clk_probe()
278 ret = devm_clk_hw_register(dev, &lclk->hw); in lochnagar_clk_probe()
[all …]
/openbmc/linux/drivers/phy/
H A Dphy-lgm-usb.c82 dev_err(ta->phy.dev, "SRAM init failed, 0x%x\n", val); in phy_init()
134 dev_dbg(ta->phy.dev, "set vbus: %d\n", on); in phy_set_vbus()
162 dev_dbg(ta->phy.dev, "disconnected\n"); in tca_work()
169 dev_err(ta->phy.dev, "failed to set VBUS\n"); in tca_work()
190 struct device *dev = &pdev->dev; in phy_probe() local
195 ta = devm_kzalloc(dev, sizeof(*ta), GFP_KERNEL); in phy_probe()
203 phy->dev = dev; in phy_probe()
204 phy->label = dev_name(dev); in phy_probe()
216 ta->vbus = devm_regulator_get(dev, "vbus"); in phy_probe()
223 dev_err(dev, "%s reset not found\n", CTL_RESETS[i]); in phy_probe()
[all …]
/openbmc/linux/drivers/pinctrl/berlin/
H A Dberlin.c28 struct device *dev; member
66 dev_err(pctrl->dev, in berlin_pinctrl_dt_node_to_map()
73 dev_err(pctrl->dev, in berlin_pinctrl_dt_node_to_map()
81 dev_err(pctrl->dev, "can't reserve map: %d\n", ret); in berlin_pinctrl_dt_node_to_map()
90 dev_err(pctrl->dev, "can't add map: %d\n", ret); in berlin_pinctrl_dt_node_to_map()
265 devm_kcalloc(&pdev->dev, in berlin_pinctrl_build_state()
300 struct device *dev = &pdev->dev; in berlin_pinctrl_probe_regmap() local
304 pctrl = devm_kzalloc(dev, sizeof(*pctrl), GFP_KERNEL); in berlin_pinctrl_probe_regmap()
311 pctrl->dev = &pdev->dev; in berlin_pinctrl_probe_regmap()
323 dev_err(dev, "failed to register pinctrl driver\n"); in berlin_pinctrl_probe_regmap()
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-cros-ec.c27 struct device *dev; member
104 dev_err(ec->dev, "Invalid PWM type index: %d\n", index); in cros_ec_pwm_set_duty()
141 dev_err(ec->dev, "Invalid PWM type index: %d\n", index); in cros_ec_pwm_get_duty()
283 struct device *dev = &pdev->dev; in cros_ec_pwm_probe() local
284 struct device_node *np = pdev->dev.of_node; in cros_ec_pwm_probe()
290 dev_err(dev, "no parent EC device\n"); in cros_ec_pwm_probe()
294 ec_pwm = devm_kzalloc(dev, sizeof(*ec_pwm), GFP_KERNEL); in cros_ec_pwm_probe()
304 chip->dev = dev; in cros_ec_pwm_probe()
314 dev_err(dev, "Couldn't find PWMs: %d\n", ret); in cros_ec_pwm_probe()
320 dev_dbg(dev, "Probed %u PWMs\n", chip->npwm); in cros_ec_pwm_probe()
[all …]
H A Dpwm-xilinx.c215 struct device *dev = &pdev->dev; in xilinx_pwm_probe() local
216 struct device_node *np = dev->of_node; in xilinx_pwm_probe()
239 priv->map = devm_regmap_init_mmio(dev, regs, in xilinx_pwm_probe()
242 return dev_err_probe(dev, PTR_ERR(priv->map), in xilinx_pwm_probe()
247 return dev_err_probe(dev, ret, in xilinx_pwm_probe()
251 return dev_err_probe(dev, -EINVAL, in xilinx_pwm_probe()
258 return dev_err_probe(dev, ret, in xilinx_pwm_probe()
262 return dev_err_probe(dev, -EINVAL, in xilinx_pwm_probe()
272 priv->clk = devm_clk_get(dev, "s_axi_aclk"); in xilinx_pwm_probe()
274 return dev_err_probe(dev, PTR_ERR(priv->clk), in xilinx_pwm_probe()
[all …]
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-visconti.c126 struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); in visconti_pcie_link_up()
245 struct device *dev = &pdev->dev; in visconti_get_resources() local
259 pcie->refclk = devm_clk_get(dev, "ref"); in visconti_get_resources()
261 return dev_err_probe(dev, PTR_ERR(pcie->refclk), in visconti_get_resources()
264 pcie->coreclk = devm_clk_get(dev, "core"); in visconti_get_resources()
266 return dev_err_probe(dev, PTR_ERR(pcie->coreclk), in visconti_get_resources()
269 pcie->auxclk = devm_clk_get(dev, "aux"); in visconti_get_resources()
271 return dev_err_probe(dev, PTR_ERR(pcie->auxclk), in visconti_get_resources()
294 struct device *dev = &pdev->dev; in visconti_pcie_probe() local
299 pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL); in visconti_pcie_probe()
[all …]
/openbmc/linux/drivers/peci/controller/
H A Dpeci-npcm.c68 struct device *dev; member
75 struct npcm_peci *priv = dev_get_drvdata(controller->dev.parent); in npcm_peci_xfer()
104 dev_dbg(priv->dev, "addr : %#02x, tx.len : %#02x, rx.len : %#02x\n", in npcm_peci_xfer()
120 dev_dbg(priv->dev, "timeout waiting for a response\n"); in npcm_peci_xfer()
183 priv->clk = devm_clk_get_enabled(priv->dev, NULL); in npcm_peci_init_ctrl()
185 dev_err(priv->dev, "failed to get ref clock\n"); in npcm_peci_init_ctrl()
238 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in npcm_peci_probe()
242 priv->dev = &pdev->dev; in npcm_peci_probe()
243 dev_set_drvdata(&pdev->dev, priv); in npcm_peci_probe()
269 controller = devm_peci_controller_add(priv->dev, &npcm_ops); in npcm_peci_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt39016.c174 dev_err(drm_panel->dev, "Unable to enable panel: %d\n", ret); in nt39016_enable()
194 dev_err(drm_panel->dev, "Unable to disable panel: %d\n", err); in nt39016_disable()
210 mode = drm_mode_duplicate(connector->dev, in nt39016_get_modes()
245 struct device *dev = &spi->dev; in nt39016_probe() local
249 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in nt39016_probe()
255 panel->panel_info = of_device_get_match_data(dev); in nt39016_probe()
259 panel->supply = devm_regulator_get(dev, "power"); in nt39016_probe()
261 return dev_err_probe(dev, PTR_ERR(panel->supply), in nt39016_probe()
272 dev_err(dev, "Failed to setup SPI\n"); in nt39016_probe()
278 dev_err(dev, "Failed to init regmap\n"); in nt39016_probe()
[all …]
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-gpio.c13 void cx25821_set_gpiopin_direction(struct cx25821_dev *dev, in cx25821_set_gpiopin_direction() argument
42 static void cx25821_set_gpiopin_logicvalue(struct cx25821_dev *dev, in cx25821_set_gpiopin_logicvalue() argument
54 cx25821_set_gpiopin_direction(dev, pin_number, 0); in cx25821_set_gpiopin_logicvalue()
71 void cx25821_gpio_init(struct cx25821_dev *dev) in cx25821_gpio_init() argument
73 if (dev == NULL) in cx25821_gpio_init()
76 switch (dev->board) { in cx25821_gpio_init()
80 cx25821_set_gpiopin_logicvalue(dev, 5, 1); in cx25821_gpio_init()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sock_addr.sh7 type ping${1} >/dev/null 2>&1 && PING="ping${1}" || PING="ping -${1}"
8 $PING -q -c 1 -W 1 ${2%%/*} >/dev/null 2>&1
29 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
33 ip -4 addr add ${TEST_IPv4} dev ${TEST_IF}
34 ip -6 addr add ${TEST_IPv6} dev ${TEST_IF}
40 ip link del ${TEST_IF} 2>/dev/null || :
41 ip link del ${TEST_IF_PEER} 2>/dev/null || :
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset_syscon.c23 static int syscon_reboot_request(struct udevice *dev, enum sysreset_t type) in syscon_reboot_request() argument
25 struct syscon_reboot_priv *priv = dev_get_priv(dev); in syscon_reboot_request()
36 int syscon_reboot_probe(struct udevice *dev) in syscon_reboot_probe() argument
38 struct syscon_reboot_priv *priv = dev_get_priv(dev); in syscon_reboot_probe()
43 err = ofnode_read_u32(dev_ofnode(dev), "regmap", &phandle); in syscon_reboot_probe()
57 priv->offset = dev_read_u32_default(dev, "offset", 0); in syscon_reboot_probe()
58 priv->mask = dev_read_u32_default(dev, "mask", 0); in syscon_reboot_probe()
/openbmc/linux/sound/soc/intel/catpt/
H A Dsysfs.c11 static ssize_t fw_version_show(struct device *dev, in fw_version_show() argument
14 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_version_show()
18 ret = pm_runtime_resume_and_get(cdev->dev); in fw_version_show()
24 pm_runtime_mark_last_busy(cdev->dev); in fw_version_show()
25 pm_runtime_put_autosuspend(cdev->dev); in fw_version_show()
35 static ssize_t fw_info_show(struct device *dev, in fw_info_show() argument
38 struct catpt_dev *cdev = dev_get_drvdata(dev); in fw_info_show()
/openbmc/linux/sound/soc/intel/avs/boards/
H A Dprobe.c28 struct device *dev = &pdev->dev; in avs_probe_mb_probe() local
33 mach = dev_get_platdata(dev); in avs_probe_mb_probe()
35 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_probe_mb_probe()
40 card->dev = dev; in avs_probe_mb_probe()
50 return devm_snd_soc_register_card(dev, card); in avs_probe_mb_probe()

1...<<281282283284285286287288289290>>...1067