Searched refs:bled (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/aacraid/ |
D | rx.c | 462 static int aac_rx_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_rx_restart_adapter() argument 467 AAC_OPTION_MU_RESET) || (bled >= 0) || (bled == -2)) { in aac_rx_restart_adapter() 468 if (bled) in aac_rx_restart_adapter() 470 dev->name, dev->id, bled); in aac_rx_restart_adapter() 472 bled = aac_adapter_sync_cmd(dev, IOP_RESET_ALWAYS, in aac_rx_restart_adapter() 474 if (!bled && (var != 0x00000001) && (var != 0x3803000F)) in aac_rx_restart_adapter() 475 bled = -EINVAL; in aac_rx_restart_adapter() 477 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter() 478 bled = aac_adapter_sync_cmd(dev, IOP_RESET, in aac_rx_restart_adapter() 481 if (bled && (bled != -ETIMEDOUT)) in aac_rx_restart_adapter() [all …]
|
D | src.c | 768 static int aac_src_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_src_restart_adapter() argument 773 if (bled < 0) in aac_src_restart_adapter() 776 if (bled) in aac_src_restart_adapter() 777 dev_err(&dev->pdev->dev, "adapter kernel panic'd %x.\n", bled); in aac_src_restart_adapter() 782 if (bled >= 2 && dev->sa_firmware && reset_type & HW_IOP_RESET) in aac_src_restart_adapter()
|
D | commsup.c | 1475 int bled; in _aac_reset_adapter() local 1503 bled = forced ? 0 : aac_adapter_check_health(aac); in _aac_reset_adapter() 1504 retval = aac_adapter_restart(aac, bled, reset_type); in _aac_reset_adapter() 1655 int bled; in aac_reset_adapter() local 1679 bled = forced ? forced : in aac_reset_adapter() 1681 retval = _aac_reset_adapter(aac, bled, reset_type); in aac_reset_adapter()
|
D | sa.c | 247 static int aac_sa_restart_adapter(struct aac_dev *dev, int bled, u8 reset_type) in aac_sa_restart_adapter() argument
|
D | aacraid.h | 905 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))
|
/drivers/video/backlight/ |
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()
|
/drivers/platform/x86/ |
D | asus-laptop.c | 250 struct asus_led bled; member 645 if (!IS_ERR_OR_NULL(asus->bled.led.dev)) in asus_led_exit() 646 led_classdev_unregister(&asus->bled.led); in asus_led_exit() 713 r = asus_led_register(asus, &asus->bled, "asus::bluetooth", in asus_led_init()
|