Home
last modified time | relevance | path

Searched refs:bled (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/scsi/aacraid/
Drx.c476 static int aac_rx_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_rx_restart_adapter() argument
481 AAC_OPTION_MU_RESET) || (bled >= 0) || (bled == -2)) { in aac_rx_restart_adapter()
482 if (bled) in aac_rx_restart_adapter()
484 dev->name, dev->id, bled); in aac_rx_restart_adapter()
486 bled = aac_adapter_sync_cmd(dev, IOP_RESET_ALWAYS, in aac_rx_restart_adapter()
488 if (!bled && (var != 0x00000001) && (var != 0x3803000F)) in aac_rx_restart_adapter()
489 bled = -EINVAL; in aac_rx_restart_adapter()
491 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter()
492 bled = aac_adapter_sync_cmd(dev, IOP_RESET, in aac_rx_restart_adapter()
495 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter()
[all …]
Dsrc.c782 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument
787 if (bled < 0) in aac_src_restart_adapter()
790 if (bled) in aac_src_restart_adapter()
791 dev_err(&dev->pdev->dev, "adapter kernel panic'd %x.\n", bled); in aac_src_restart_adapter()
796 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter()
Dcommsup.c1488 int bled; in _aac_reset_adapter() local
1516 bled = forced ? 0 : aac_adapter_check_health(aac); in _aac_reset_adapter()
1517 retval = aac_adapter_restart(aac, bled, reset_type); in _aac_reset_adapter()
1668 int bled; in aac_reset_adapter() local
1692 bled = forced ? forced : in aac_reset_adapter()
1694 retval = _aac_reset_adapter(aac, bled, reset_type); in aac_reset_adapter()
Dsa.c261 static int aac_sa_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_sa_restart_adapter() argument
Daacraid.h918 int (*adapter_restart)(struct aac_dev *dev, int bled, u8 reset_type);
1706 #define aac_adapter_restart(dev, bled, reset_type) \ argument
1707 ((dev)->a_ops.adapter_restart(dev, bled, reset_type))
/Linux-v4.19/drivers/video/backlight/
Dlm3639_bl.c40 struct backlight_device *bled; member
349 pchip->bled = in lm3639_probe()
353 if (IS_ERR(pchip->bled)) { in lm3639_probe()
355 ret = PTR_ERR(pchip->bled); in lm3639_probe()
359 ret = device_create_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_probe()
392 device_remove_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_probe()
407 if (pchip->bled) in lm3639_remove()
408 device_remove_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_remove()
/Linux-v4.19/drivers/platform/x86/
Dasus-laptop.c265 struct asus_led bled; member
660 if (!IS_ERR_OR_NULL(asus->bled.led.dev)) in asus_led_exit()
661 led_classdev_unregister(&asus->bled.led); in asus_led_exit()
728 r = asus_led_register(asus, &asus->bled, "asus::bluetooth", in asus_led_init()