Searched refs:max_seconds (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/pds_core/ |
H A D | dev.c | 127 static int pdsc_devcmd_wait(struct pdsc *pdsc, u8 opcode, int max_seconds) in pdsc_devcmd_wait() argument 139 max_wait = start_time + (max_seconds * HZ); in pdsc_devcmd_wait() 159 dev_err(dev, "DEVCMD %d %s timeout, done %d timeout %d max_seconds=%d\n", in pdsc_devcmd_wait() 161 max_seconds); in pdsc_devcmd_wait() 177 union pds_core_dev_comp *comp, int max_seconds) in pdsc_devcmd_locked() 186 err = pdsc_devcmd_wait(pdsc, cmd->opcode, max_seconds); in pdsc_devcmd_locked() 197 union pds_core_dev_comp *comp, int max_seconds) in pdsc_devcmd() 202 err = pdsc_devcmd_locked(pdsc, cmd, comp, max_seconds); in pdsc_devcmd() 176 pdsc_devcmd_locked(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, union pds_core_dev_comp *comp, int max_seconds) pdsc_devcmd_locked() argument 196 pdsc_devcmd(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, union pds_core_dev_comp *comp, int max_seconds) pdsc_devcmd() argument
|
H A D | core.h | 279 union pds_core_dev_comp *comp, int max_seconds); 281 union pds_core_dev_comp *comp, int max_seconds);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 457 static int __ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds, in __ionic_dev_cmd_wait() argument 470 * but don't wait any longer than max_seconds. in __ionic_dev_cmd_wait() 472 max_wait = jiffies + (max_seconds * HZ); in __ionic_dev_cmd_wait() 500 ionic_opcode_to_str(opcode), opcode, max_seconds); in __ionic_dev_cmd_wait() 531 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds) in ionic_dev_cmd_wait() argument 533 return __ionic_dev_cmd_wait(ionic, max_seconds, true); in ionic_dev_cmd_wait() 536 int ionic_dev_cmd_wait_nomsg(struct ionic *ionic, unsigned long max_seconds) in ionic_dev_cmd_wait_nomsg() argument 538 return __ionic_dev_cmd_wait(ionic, max_seconds, false); in ionic_dev_cmd_wait_nomsg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 320 int ionic_dev_cmd_wait(struct ionic *ionic, unsigned long max_seconds) in ionic_dev_cmd_wait() argument 332 * but don't wait any longer than max_seconds. in ionic_dev_cmd_wait() 334 max_wait = jiffies + (max_seconds * HZ); in ionic_dev_cmd_wait() 369 ionic_opcode_to_str(opcode), opcode, max_seconds); in ionic_dev_cmd_wait()
|
Completed in 3 milliseconds