Lines Matching refs:opt
3132 char *opt; in stmmac_cmdline_opt() local
3136 while ((opt = strsep(&str, ",")) != NULL) { in stmmac_cmdline_opt()
3137 if (!strncmp(opt, "debug:", 6)) { in stmmac_cmdline_opt()
3138 if (kstrtoint(opt + 6, 0, &debug)) in stmmac_cmdline_opt()
3140 } else if (!strncmp(opt, "phyaddr:", 8)) { in stmmac_cmdline_opt()
3141 if (kstrtoint(opt + 8, 0, &phyaddr)) in stmmac_cmdline_opt()
3143 } else if (!strncmp(opt, "dma_txsize:", 11)) { in stmmac_cmdline_opt()
3144 if (kstrtoint(opt + 11, 0, &dma_txsize)) in stmmac_cmdline_opt()
3146 } else if (!strncmp(opt, "dma_rxsize:", 11)) { in stmmac_cmdline_opt()
3147 if (kstrtoint(opt + 11, 0, &dma_rxsize)) in stmmac_cmdline_opt()
3149 } else if (!strncmp(opt, "buf_sz:", 7)) { in stmmac_cmdline_opt()
3150 if (kstrtoint(opt + 7, 0, &buf_sz)) in stmmac_cmdline_opt()
3152 } else if (!strncmp(opt, "tc:", 3)) { in stmmac_cmdline_opt()
3153 if (kstrtoint(opt + 3, 0, &tc)) in stmmac_cmdline_opt()
3155 } else if (!strncmp(opt, "watchdog:", 9)) { in stmmac_cmdline_opt()
3156 if (kstrtoint(opt + 9, 0, &watchdog)) in stmmac_cmdline_opt()
3158 } else if (!strncmp(opt, "flow_ctrl:", 10)) { in stmmac_cmdline_opt()
3159 if (kstrtoint(opt + 10, 0, &flow_ctrl)) in stmmac_cmdline_opt()
3161 } else if (!strncmp(opt, "pause:", 6)) { in stmmac_cmdline_opt()
3162 if (kstrtoint(opt + 6, 0, &pause)) in stmmac_cmdline_opt()
3164 } else if (!strncmp(opt, "eee_timer:", 10)) { in stmmac_cmdline_opt()
3165 if (kstrtoint(opt + 10, 0, &eee_timer)) in stmmac_cmdline_opt()
3167 } else if (!strncmp(opt, "chain_mode:", 11)) { in stmmac_cmdline_opt()
3168 if (kstrtoint(opt + 11, 0, &chain_mode)) in stmmac_cmdline_opt()