Home
last modified time | relevance | path

Searched refs:devm_mutex_init (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/leds/
H A Dleds-spi-byte.c93 ret = devm_mutex_init(dev, &led->mutex); in spi_byte_probe()
H A Dleds-an30259a.c286 err = devm_mutex_init(&client->dev, &chip->mutex); in an30259a_probe()
H A Dleds-aw2013.c342 ret = devm_mutex_init(&client->dev, &chip->mutex); in aw2013_probe()
H A Dleds-aw200xx.c586 ret = devm_mutex_init(&client->dev, &chip->mutex); in aw200xx_probe()
H A Dleds-lm3532.c703 ret = devm_mutex_init(&client->dev, &drvdata->lock); in lm3532_probe()
/linux/include/linux/
H A Dmutex.h144 #define devm_mutex_init(dev, mutex) \ macro
/linux/drivers/iio/adc/
H A Dsophgo-cv1800b-adc.c197 ret = devm_mutex_init(dev, &saradc->lock); in cv1800b_adc_probe()
/linux/drivers/gpio/
H A Dgpio-cgbc.c173 ret = devm_mutex_init(dev, &gpio->lock); in cgbc_gpio_probe()
H A Dgpio-sloppy-logic-analyzer.c237 ret = devm_mutex_init(dev, &priv->blob_lock); in gpio_la_poll_probe()
H A Dgpio-virtuser.c816 ret = devm_mutex_init(dev, &data->consumer_lock); in gpio_virtuser_dbgfs_init_line_attrs()
/linux/drivers/platform/x86/intel/
H A Dvbtn.c298 err = devm_mutex_init(&device->dev, &priv->mutex); in intel_vbtn_probe()
/linux/drivers/firmware/
H A Dturris-mox-rwtm.c458 ret = devm_mutex_init(dev, &rwtm->busy); in turris_mox_rwtm_probe()
/linux/drivers/acpi/
H A Dbattery.c1229 result = devm_mutex_init(&device->dev, &battery->lock); in acpi_battery_add()
1233 result = devm_mutex_init(&device->dev, &battery->sysfs_lock); in acpi_battery_add()
/linux/drivers/leds/flash/
H A Dleds-sy7802.c492 ret = devm_mutex_init(dev, &chip->mutex); in sy7802_probe()
/linux/drivers/leds/rgb/
H A Dleds-ktd202x.c557 ret = devm_mutex_init(dev, &chip->mutex); in ktd202x_probe()
/linux/drivers/iio/dac/
H A Dad8460.c815 ret = devm_mutex_init(dev, &state->lock); in ad8460_probe()
/linux/drivers/pinctrl/
H A Dpinctrl-aw9523.c979 ret = devm_mutex_init(dev, &awi->i2c_lock); in aw9523_probe()
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c3027 err = devm_mutex_init(&ofdev->dev, &dev->mdio_lock); in emac_probe()
3031 err = devm_mutex_init(&ofdev->dev, &dev->link_lock); in emac_probe()
/linux/drivers/platform/x86/
H A Dideapad-laptop.c2161 err = devm_mutex_init(&pdev->dev, &priv->vpc_mutex); in ideapad_acpi_add()