Home
last modified time | relevance | path

Searched refs:ledtest (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc.c4953 diag_ledtest_send(struct bfa_diag_s *diag, struct bfa_diag_ledtest_s *ledtest) in diag_ledtest_send() argument
4957 msg = (struct bfi_diag_ledtest_req_s *)diag->ledtest.mbcmd.msg; in diag_ledtest_send()
4966 if (ledtest->freq) in diag_ledtest_send()
4967 ledtest->freq = 500 / ledtest->freq; in diag_ledtest_send()
4969 if (ledtest->freq == 0) in diag_ledtest_send()
4970 ledtest->freq = 1; in diag_ledtest_send()
4972 bfa_trc(diag, ledtest->freq); in diag_ledtest_send()
4974 msg->cmd = (u8) ledtest->cmd; in diag_ledtest_send()
4975 msg->color = (u8) ledtest->color; in diag_ledtest_send()
4977 msg->led = ledtest->led; in diag_ledtest_send()
[all …]
Dbfa_ioc.h613 struct bfa_diag_led_s ledtest; member
654 struct bfa_diag_ledtest_s *ledtest);
Dbfad_bsg.h635 struct bfa_diag_ledtest_s ledtest; member
Dbfad_bsg.c1755 &iocmd->ledtest); in bfad_iocmd_diag_led()