Searched refs:bled (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/scsi/aacraid/ |
H A D | rx.c | 472 static int aac_rx_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_rx_restart_adapter() argument 477 AAC_OPTION_MU_RESET) || (bled >= 0) || (bled == -2)) { in aac_rx_restart_adapter() 478 if (bled) in aac_rx_restart_adapter() 480 dev->name, dev->id, bled); in aac_rx_restart_adapter() 482 bled = aac_adapter_sync_cmd(dev, IOP_RESET_ALWAYS, in aac_rx_restart_adapter() 484 if (!bled && (var != 0x00000001) && (var != 0x3803000F)) in aac_rx_restart_adapter() 485 bled = -EINVAL; in aac_rx_restart_adapter() 487 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter() 488 bled = aac_adapter_sync_cmd(dev, IOP_RESET, in aac_rx_restart_adapter() 491 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter() [all …]
|
H A D | src.c | 789 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument 794 if (bled < 0) in aac_src_restart_adapter() 797 if (bled) in aac_src_restart_adapter() 798 dev_err(&dev->pdev->dev, "adapter kernel panic'd %x.\n", bled); in aac_src_restart_adapter() 803 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter()
|
H A D | commsup.c | 1482 int bled; in _aac_reset_adapter() local 1508 bled = forced ? 0 : aac_adapter_check_health(aac); in _aac_reset_adapter() 1509 retval = aac_adapter_restart(aac, bled, reset_type); in _aac_reset_adapter() 1633 int bled; in aac_reset_adapter() local 1656 bled = forced ? forced : in aac_reset_adapter() 1658 retval = _aac_reset_adapter(aac, bled, reset_type); in aac_reset_adapter()
|
H A D | sa.c | 255 static int aac_sa_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_sa_restart_adapter() argument
|
H A D | aacraid.h | 903 int (*adapter_restart)(struct aac_dev *dev, int bled, u8 reset_type); 1693 #define aac_adapter_restart(dev, bled, reset_type) \ argument 1694 ((dev)->a_ops.adapter_restart(dev, bled, reset_type))
|
/linux/drivers/video/backlight/ |
H A D | lm3639_bl.c | 36 struct backlight_device *bled; member 345 pchip->bled = in lm3639_probe() 349 if (IS_ERR(pchip->bled)) { in lm3639_probe() 351 ret = PTR_ERR(pchip->bled); in lm3639_probe() 355 ret = device_create_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_probe() 388 device_remove_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_probe() 401 if (pchip->bled) in lm3639_remove() 402 device_remove_file(&(pchip->bled->dev), &dev_attr_bled_mode); in lm3639_remove()
|
/linux/drivers/platform/x86/ |
H A D | asus-laptop.c | 248 struct asus_led bled; member 643 led_classdev_unregister(&asus->bled.led); in asus_led_exit() 705 r = asus_led_register(asus, &asus->bled, "asus::bluetooth", in asus_led_init()
|