/openbmc/linux/drivers/hwmon/ |
H A D | asc7621.c | 125 dev_err(&client->dev, in read_byte() 136 dev_err(&client->dev, in write_byte() 167 SETUP_SHOW_DATA_PARAM(dev, attr); in show_u8() 175 SETUP_STORE_DATA_PARAM(dev, attr); in store_u8() 196 SETUP_SHOW_DATA_PARAM(dev, attr); in show_bitmask() 207 SETUP_STORE_DATA_PARAM(dev, attr); in store_bitmask() 236 SETUP_SHOW_DATA_PARAM(dev, attr); in show_fan16() 297 SETUP_SHOW_DATA_PARAM(dev, attr); in show_in10() 315 SETUP_SHOW_DATA_PARAM(dev, attr); in show_in8() 350 SETUP_SHOW_DATA_PARAM(dev, attr); in show_temp8() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 293 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getdrvinfo() 312 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_get_link_ksettings() 399 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_set_link_ksettings() 420 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_getmsglevel() 426 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_setmsglevel() 433 if (!netif_running(dev)) in stmmac_check_if_running() 440 struct stmmac_priv *priv = netdev_priv(dev); in stmmac_ethtool_get_regs_len() 915 netdev_warn(priv->dev, in stmmac_ethtool_op_set_eee() 1003 return __stmmac_get_coalesce(dev, ec, -1); in stmmac_get_coalesce() 1089 return __stmmac_set_coalesce(dev, ec, -1); in stmmac_set_coalesce() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-mt65xx.c | 288 struct device *dev; member 1152 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 1164 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 1206 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 1211 dma_unmap_single(i2c->dev, rpaddr, in mtk_i2c_do_transfer() 1401 i2c->adap.dev.of_node = pdev->dev.of_node; in mtk_i2c_probe() 1402 i2c->dev = &pdev->dev; in mtk_i2c_probe() 1403 i2c->adap.dev.parent = &pdev->dev; in mtk_i2c_probe() 1466 ret = dma_set_mask(&pdev->dev, in mtk_i2c_probe() 1484 dev_name(&pdev->dev), i2c); in mtk_i2c_probe() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-most | 1 What: /sys/bus/most/devices/<dev>/description 11 What: /sys/bus/most/devices/<dev>/interface 19 What: /sys/bus/most/devices/<dev>/dci 29 What: /sys/bus/most/devices/<dev>/dci/arb_address 38 What: /sys/bus/most/devices/<dev>/dci/arb_value 79 What: /sys/bus/most/devices/<dev>/dci/mep_hash0 87 What: /sys/bus/most/devices/<dev>/dci/mep_hash1 95 What: /sys/bus/most/devices/<dev>/dci/mep_hash2 111 What: /sys/bus/most/devices/<dev>/dci/ni_state 143 What: /sys/bus/most/devices/<dev>/dci/sync_ep [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-rockchip-sfc.c | 173 struct device *dev; member 198 dev_err(sfc->dev, "SFC reset never finished\n"); in rockchip_sfc_reset() 203 dev_dbg(sfc->dev, "reset\n"); in rockchip_sfc_reset() 258 dev_dbg(sfc->dev, "sfc wait tx fifo timeout\n"); in rockchip_sfc_wait_txfifo_ready() 479 dev_err(sfc->dev, "wait sfc idle timeout\n"); in rockchip_sfc_xfer_done() 559 struct device *dev = &pdev->dev; in rockchip_sfc_probe() local 570 host->dev.of_node = pdev->dev.of_node; in rockchip_sfc_probe() 576 sfc->dev = dev; in rockchip_sfc_probe() 582 sfc->clk = devm_clk_get(&pdev->dev, "clk_sfc"); in rockchip_sfc_probe() 600 dev_warn(dev, "Unable to set dma mask\n"); in rockchip_sfc_probe() [all …]
|
H A D | spi-coldfire-qspi.c | 329 dev_dbg(&spi->dev, in mcfqspi_setup() 345 pdata = dev_get_platdata(&pdev->dev); in mcfqspi_probe() 358 dev_dbg(&pdev->dev, "spi_alloc_host failed\n"); in mcfqspi_probe() 372 dev_dbg(&pdev->dev, "platform_get_irq failed\n"); in mcfqspi_probe() 380 dev_dbg(&pdev->dev, "request_irq failed\n"); in mcfqspi_probe() 386 dev_dbg(&pdev->dev, "clk_get failed\n"); in mcfqspi_probe() 411 pm_runtime_enable(&pdev->dev); in mcfqspi_probe() 424 pm_runtime_disable(&pdev->dev); in mcfqspi_probe() 439 pm_runtime_disable(&pdev->dev); in mcfqspi_remove() 447 static int mcfqspi_suspend(struct device *dev) in mcfqspi_suspend() argument [all …]
|
/openbmc/linux/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 325 dev_dbg(drvdata->dev, "initializing\n"); in hwicap_initialize_hwicap() 330 dev_dbg(drvdata->dev, "Reset...\n"); in hwicap_initialize_hwicap() 333 dev_dbg(drvdata->dev, "Desync...\n"); in hwicap_initialize_hwicap() 349 dev_dbg(drvdata->dev, "Desync...\n"); in hwicap_initialize_hwicap() 644 dev_set_drvdata(dev, (void *)drvdata); in hwicap_setup() 665 drvdata->dev = dev; in hwicap_setup() 668 dev_err(dev, "ioremap() failed\n"); in hwicap_setup() 688 dev_err(dev, "cdev_add() failed\n"); in hwicap_setup() 792 family = pdev->dev.platform_data; in hwicap_drv_probe() 811 struct device *dev = &pdev->dev; in hwicap_drv_remove() local [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-cipher.c | 188 if (dma_mapping_error(ce->dev, rctx->addr_key)) { in sun8i_ce_cipher_prepare() 189 dev_err(ce->dev, "Cannot DMA MAP KEY\n"); in sun8i_ce_cipher_prepare() 206 if (dma_mapping_error(ce->dev, rctx->addr_iv)) { in sun8i_ce_cipher_prepare() 207 dev_err(ce->dev, "Cannot DMA MAP IV\n"); in sun8i_ce_cipher_prepare() 217 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sun8i_ce_cipher_prepare() 225 dev_err(ce->dev, "Invalid sg number %d\n", nr_sgs); in sun8i_ce_cipher_prepare() 247 dev_err(ce->dev, "remaining len %d\n", len); in sun8i_ce_cipher_prepare() 262 dev_err(ce->dev, "remaining len %d\n", len); in sun8i_ce_cipher_prepare() 441 err = pm_runtime_get_sync(op->ce->dev); in sun8i_ce_cipher_init() 447 pm_runtime_put_noidle(op->ce->dev); in sun8i_ce_cipher_init() [all …]
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1-core.c | 32 struct device *dev; member 488 grp->pins = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups() 490 grp->pin_ids = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups() 528 func->groups = devm_kcalloc(info->dev, in imx1_pinctrl_parse_functions() 550 struct device_node *np = pdev->dev.of_node; in imx1_pinctrl_parse_dt() 571 info->functions = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt() 575 info->groups = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt() 605 info->dev = &pdev->dev; in imx1_pinctrl_core_probe() 622 pctl_desc->name = dev_name(&pdev->dev); in imx1_pinctrl_core_probe() 633 ipctl->dev = info->dev; in imx1_pinctrl_core_probe() [all …]
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-as3645a.c | 382 struct device *dev = &flash->client->dev; in as3645a_setup() local 414 dev_dbg(dev, "AS_CONTROL_REG: %02x\n", in as3645a_setup() 422 struct device *dev = &flash->client->dev; in as3645a_detect() local 503 dev_warn(&flash->client->dev, in as3645a_parse_node() 517 dev_err(&flash->client->dev, in as3645a_parse_node() 525 dev_err(&flash->client->dev, in as3645a_parse_node() 533 dev_err(&flash->client->dev, in as3645a_parse_node() 546 dev_warn(&flash->client->dev, in as3645a_parse_node() 557 dev_err(&flash->client->dev, in as3645a_parse_node() 627 dev_err(&flash->client->dev, in as3645a_led_class_setup() [all …]
|
/openbmc/linux/drivers/dma/mediatek/ |
H A D | mtk-uart-apdma.c | 278 pm_runtime_put_noidle(chan->device->dev); in mtk_uart_apdma_alloc_chan_resources() 304 pm_runtime_put_noidle(mtkd->ddev.dev); in mtk_uart_apdma_alloc_chan_resources() 319 pm_runtime_put_sync(mtkd->ddev.dev); in mtk_uart_apdma_free_chan_resources() 520 mtkd->ddev.dev = &pdev->dev; in mtk_uart_apdma_probe() 525 dev_info(&pdev->dev, in mtk_uart_apdma_probe() 551 pm_runtime_enable(&pdev->dev); in mtk_uart_apdma_probe() 569 pm_runtime_disable(&pdev->dev); in mtk_uart_apdma_probe() 579 of_dma_controller_free(pdev->dev.of_node); in mtk_uart_apdma_remove() 585 pm_runtime_disable(&pdev->dev); in mtk_uart_apdma_remove() 595 if (!pm_runtime_suspended(dev)) in mtk_uart_apdma_suspend() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | sata_highbank.c | 27 #define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f)) argument 181 struct device_node *np = dev->of_node; in highbank_set_em_messages() 191 dev_err(dev, "failed to get GPIO %d\n", i); in highbank_set_em_messages() 217 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_read() local 227 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_write() local 328 struct device_node *sata_node = dev->of_node; in highbank_initialize_phys() 453 struct device *dev = &pdev->dev; in ahci_highbank_probe() local 467 dev_err(dev, "no mmio space\n"); in ahci_highbank_probe() 493 dev_err(dev, "can't map %pR\n", mem); in ahci_highbank_probe() 502 ahci_save_initial_config(dev, hpriv); in ahci_highbank_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-ilitek-ili9341.c | 179 struct device *dev; member 303 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_init() local 367 struct device *dev = (&ili->panel)->dev; in ili9341_dpi_power_on() local 377 dev_err(dev, "unable to enable vcc\n"); in ili9341_dpi_power_on() 440 struct drm_device *drm = connector->dev; in ili9341_dpi_get_modes() 498 if (!drm_dev_enter(pipe->crtc.dev, &idx)) in ili9341_dbi_enable() 605 struct device *dev = &spi->dev; in ili9341_dbi_probe() local 615 dev_err(dev, "get optional vcc failed\n"); in ili9341_dbi_probe() 662 struct device *dev = &spi->dev; in ili9341_dpi_probe() local 695 ili->conf = device_get_match_data(dev); in ili9341_dpi_probe() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 323 devm_kfree(up->port.dev, up->dma); in mtk8250_set_termios() 456 pm_runtime_get_sync(port->dev); in mtk8250_do_pm() 544 if (pdev->dev.of_node) { in mtk8250_probe() 557 uart.port.dev = &pdev->dev; in mtk8250_probe() 582 pm_runtime_set_active(&pdev->dev); in mtk8250_probe() 583 pm_runtime_enable(&pdev->dev); in mtk8250_probe() 592 pm_runtime_get_sync(&pdev->dev); in mtk8250_remove() 596 pm_runtime_disable(&pdev->dev); in mtk8250_remove() 597 pm_runtime_put_noidle(&pdev->dev); in mtk8250_remove() 610 pinctrl_pm_select_sleep_state(dev); in mtk8250_suspend() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-davinci.c | 166 return dev_get_platdata(&pdev->dev); in davinci_gpio_get_pdata() 197 struct device *dev = &pdev->dev; in davinci_gpio_probe() local 205 dev->platform_data = pdata; in davinci_gpio_probe() 214 dev_err(dev, "How many GPIOs?\n"); in davinci_gpio_probe() 229 dev_err(dev, "Too many IRQs!\n"); in davinci_gpio_probe() 247 chips->chip.label = dev_name(dev); in davinci_gpio_probe() 258 chips->chip.parent = dev; in davinci_gpio_probe() 489 struct device *dev = &pdev->dev; in davinci_gpio_irq_setup() local 504 dev); in davinci_gpio_irq_setup() 510 clk = devm_clk_get(dev, "gpio"); in davinci_gpio_irq_setup() [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | opt3001.c | 75 struct device *dev; member 262 dev_err(opt->dev, "failed to read register %02x\n", in opt3001_get_lux() 273 dev_err(opt->dev, "failed to write register %02x\n", in opt3001_get_lux() 295 dev_err(opt->dev, "failed to read register %02x\n", in opt3001_get_lux() 366 dev_err(opt->dev, "failed to read register %02x\n", in opt3001_set_int_time() 744 struct device *dev = &client->dev; in opt3001_probe() local 751 iio = devm_iio_device_alloc(dev, sizeof(*opt)); in opt3001_probe() 757 opt->dev = dev; in opt3001_probe() 777 ret = devm_iio_device_register(dev, iio); in opt3001_probe() 779 dev_err(dev, "failed to register IIO device\n"); in opt3001_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 53 if (h->dev && h->dev->ops && h->dev->ops->get_status) in hns_nic_get_link() 128 if (!h->dev || !h->dev->ops || !h->dev->ops->get_info) in hns_nic_get_link_ksettings() 211 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings() 351 ret = h->dev->ops->start ? h->dev->ops->start(h) : 0; in __lb_up() 384 ndev = skb->dev; in __lb_other_process() 405 ndev = ring_data->napi.dev; in __lb_other_process() 498 skb->dev = ndev; in __lb_run_test() 565 if (h->dev->ops->stop) in __lb_down() 566 h->dev->ops->stop(h); in __lb_down() 721 ops = h->dev->ops; in hns_set_pauseparam() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | omap-serial.c | 128 struct device *dev; member 1391 if (device_may_wakeup(dev)) in serial_omap_suspend() 1403 if (device_may_wakeup(dev)) in serial_omap_resume() 1440 dev_warn(up->dev, in omap_serial_fill_features_erratas() 1494 struct device *dev) in serial_omap_probe_rs485() argument 1555 if (pdev->dev.of_node) { in serial_omap_probe() 1576 up->dev = &pdev->dev; in serial_omap_probe() 1577 up->port.dev = &pdev->dev; in serial_omap_probe() 1586 if (pdev->dev.of_node) in serial_omap_probe() 1617 dev_warn(&pdev->dev, in serial_omap_probe() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | hdac_hda.c | 226 dev_err(dai->dev, in hdac_hda_dai_hw_params() 408 dev_err(&hdev->dev, "hdac link not found\n"); in hdac_hda_codec_probe() 440 pm_runtime_get_noresume(&hdev->dev); in hdac_hda_codec_probe() 452 dev_err(&hdev->dev, "regmap init failed\n"); in hdac_hda_codec_probe() 464 dev_dbg(&hdev->dev, "no patch file found\n"); in hdac_hda_codec_probe() 490 pm_runtime_allow(&hdev->dev); in hdac_hda_codec_probe() 497 pm_runtime_put(&hdev->dev); in hdac_hda_codec_probe() 498 pm_runtime_suspend(&hdev->dev); in hdac_hda_codec_probe() 508 pm_runtime_put(&hdev->dev); in hdac_hda_codec_probe() 524 dev_err(&hdev->dev, "hdac link not found\n"); in hdac_hda_codec_remove() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | mt2060.c | 449 struct mt2060_priv *dev; in mt2060_probe() local 453 dev_dbg(&client->dev, "\n"); in mt2060_probe() 461 dev = devm_kzalloc(&client->dev, sizeof(*dev), GFP_KERNEL); in mt2060_probe() 462 if (!dev) { in mt2060_probe() 470 dev->cfg = &dev->config; in mt2060_probe() 471 dev->i2c = client->adapter; in mt2060_probe() 473 dev->client = client; in mt2060_probe() 475 dev->sleep = true; in mt2060_probe() 494 mt2060_calibrate(dev); in mt2060_probe() 502 fe->tuner_priv = dev; in mt2060_probe() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | lp8727_charger.c | 85 struct device *dev; member 231 dev_err(pchg->dev, "can not read INT registers\n"); in lp8727_delayed_func() 264 dev_warn(pchg->dev, "invalid irq number: %d\n", irq); in lp8727_setup_irq() 509 struct device_node *np = dev->of_node; in lp8727_parse_dt() 528 pdata->ac = lp8727_parse_charge_pdata(dev, child); in lp8727_parse_dt() 531 pdata->usb = lp8727_parse_charge_pdata(dev, child); in lp8727_parse_dt() 552 if (cl->dev.of_node) { in lp8727_probe() 553 pdata = lp8727_parse_dt(&cl->dev); in lp8727_probe() 557 pdata = dev_get_platdata(&cl->dev); in lp8727_probe() 565 pchg->dev = &cl->dev; in lp8727_probe() [all …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | test-component.c | 24 struct device *dev; member 39 #define mile_stone_x(dev) dev_info(dev, "%s()", __func__) argument 98 dev_info(dai->dev, "format : %s", str); in test_dai_set_fmt() 282 rtd->card->snd_card->dev, in test_component_pcm_construct() 489 mile_stone_x(rtd->dev); in test_component_be_hw_params_fixup() 531 struct device *dev = &pdev->dev; in test_driver_probe() local 543 dev_err(dev, "no port exits\n"); in test_driver_probe() 554 priv->dev = dev; in test_driver_probe() 560 dev_set_drvdata(dev, priv); in test_driver_probe() 633 mile_stone_x(dev); in test_driver_probe() [all …]
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | aer_inject.c | 36 u8 dev; member 106 int domain = pci_domain_nr(dev->bus); in __find_aer_error_by_dev() 109 return __find_aer_error(domain, dev->bus->number, dev->devfn); in __find_aer_error_by_dev() 323 struct pci_dev *dev, *rpdev; in aer_inject() local 333 if (!dev) in aer_inject() 335 rpdev = pcie_find_root_port(dev); in aer_inject() 338 rpdev = dev->rcec; in aer_inject() 345 pos_cap_err = dev->aer_cap; in aer_inject() 388 err = __find_aer_error_by_dev(dev); in aer_inject() 457 ret = pci_bus_set_aer_ops(dev->bus); in aer_inject() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-rz-mtu3.c | 268 pm_runtime_put_sync(rz_mtu3_pwm->chip.dev); in rz_mtu3_pwm_disable() 277 rc = pm_runtime_resume_and_get(chip->dev); in rz_mtu3_pwm_get_state() 310 pm_runtime_put(chip->dev); in rz_mtu3_pwm_get_state() 402 pm_runtime_put(chip->dev); in rz_mtu3_pwm_config() 469 pm_runtime_disable(rz_mtu3_pwm->chip.dev); in rz_mtu3_pwm_pm_disable() 477 struct device *dev = &pdev->dev; in rz_mtu3_pwm_probe() local 492 rz_mtu3_pwm->channel_data[j].mtu->dev = dev; in rz_mtu3_pwm_probe() 516 pm_runtime_set_active(&pdev->dev); in rz_mtu3_pwm_probe() 517 pm_runtime_enable(&pdev->dev); in rz_mtu3_pwm_probe() 518 rz_mtu3_pwm->chip.dev = &pdev->dev; in rz_mtu3_pwm_probe() [all …]
|
/openbmc/linux/tools/testing/selftests/net/openvswitch/ |
H A D | openvswitch.sh | 189 which perf >/dev/null 2>&1 || return $ksft_skip 202 ip netns exec client ip addr add 172.31.110.10/24 dev c1 206 ip netns exec server ip addr add 172.31.110.20/24 dev s1 273 which arping >/dev/null 2>&1 || return $ksft_skip 286 ip netns exec client ip addr add 172.31.110.10/24 dev c1 314 which nc >/dev/null 2>/dev/null || return $ksft_skip 419 which nc >/dev/null 2>/dev/null || return $ksft_skip 511 >/dev/null 2>&1 && return 1 522 &> /dev/null && return 1 554 if ! lsmod | grep openvswitch >/dev/null 2>&1; then [all …]
|