Lines Matching refs:opt
56 #define for_each_opt(opt, long, short) while ((opt=getopt_long(argc, argv, short ? short:"+", long,… argument
419 int opt; in cmd_dev() local
421 for_each_opt(opt, dev_options, NULL) { in cmd_dev()
422 switch (opt) { in cmd_dev()
459 int i, l, opt; in cmd_inq() local
465 for_each_opt(opt, inq_options, NULL) { in cmd_inq()
466 switch (opt) { in cmd_inq()
553 int i, n, l, opt, dd, cc, nc; in cmd_scan() local
559 for_each_opt(opt, scan_options, NULL) { in cmd_scan()
560 switch (opt) { in cmd_scan()
816 int opt, dd; in cmd_name() local
818 for_each_opt(opt, name_options, NULL) { in cmd_name()
819 switch (opt) { in cmd_name()
869 int i, opt, dd, cc = 0; in cmd_info() local
871 for_each_opt(opt, info_options, NULL) { in cmd_info()
872 switch (opt) { in cmd_info()
1005 int opt, dd; in cmd_spinq() local
1007 for_each_opt(opt, spinq_options, NULL) { in cmd_spinq()
1008 switch (opt) { in cmd_spinq()
1059 int opt, dd; in cmd_epinq() local
1061 for_each_opt(opt, epinq_options, NULL) { in cmd_epinq()
1062 switch (opt) { in cmd_epinq()
1106 int i, opt, len, dd; in cmd_cmd() local
1110 for_each_opt(opt, cmd_options, NULL) { in cmd_cmd()
1111 switch (opt) { in cmd_cmd()
1185 int opt; in cmd_con() local
1187 for_each_opt(opt, con_options, NULL) { in cmd_con()
1188 switch (opt) { in cmd_con()
1223 int dd, opt; in cmd_cc() local
1228 for_each_opt(opt, cc_options, NULL) { in cmd_cc()
1229 switch (opt) { in cmd_cc()
1284 int opt, dd; in cmd_dc() local
1286 for_each_opt(opt, dc_options, NULL) { in cmd_dc()
1287 switch (opt) { in cmd_dc()
1349 int opt, dd; in cmd_sr() local
1351 for_each_opt(opt, sr_options, NULL) { in cmd_sr()
1352 switch (opt) { in cmd_sr()
1411 int opt, dd; in cmd_rssi() local
1413 for_each_opt(opt, rssi_options, NULL) { in cmd_rssi()
1414 switch (opt) { in cmd_rssi()
1479 int opt, dd; in cmd_lq() local
1481 for_each_opt(opt, lq_options, NULL) { in cmd_lq()
1482 switch (opt) { in cmd_lq()
1548 int opt, dd; in cmd_tpl() local
1550 for_each_opt(opt, tpl_options, NULL) { in cmd_tpl()
1551 switch (opt) { in cmd_tpl()
1619 int opt, dd; in cmd_afh() local
1621 for_each_opt(opt, afh_options, NULL) { in cmd_afh()
1622 switch (opt) { in cmd_afh()
1699 int dd, opt; in cmd_cpt() local
1701 for_each_opt(opt, cpt_options, NULL) { in cmd_cpt()
1702 switch (opt) { in cmd_cpt()
1778 int opt, dd; in cmd_lp() local
1780 for_each_opt(opt, lp_options, NULL) { in cmd_lp()
1781 switch (opt) { in cmd_lp()
1871 int opt, dd; in cmd_lst() local
1873 for_each_opt(opt, lst_options, NULL) { in cmd_lst()
1874 switch (opt) { in cmd_lst()
1955 int opt, dd; in cmd_auth() local
1957 for_each_opt(opt, auth_options, NULL) { in cmd_auth()
1958 switch (opt) { in cmd_auth()
2021 int opt, dd; in cmd_enc() local
2023 for_each_opt(opt, enc_options, NULL) { in cmd_enc()
2024 switch (opt) { in cmd_enc()
2088 int opt, dd; in cmd_key() local
2090 for_each_opt(opt, key_options, NULL) { in cmd_key()
2091 switch (opt) { in cmd_key()
2154 int opt, dd; in cmd_clkoff() local
2156 for_each_opt(opt, clkoff_options, NULL) { in cmd_clkoff()
2157 switch (opt) { in cmd_clkoff()
2224 int opt, dd; in cmd_clock() local
2226 for_each_opt(opt, clock_options, NULL) { in cmd_clock()
2227 switch (opt) { in cmd_clock()
2426 int err, opt, dd; in cmd_lescan() local
2433 for_each_opt(opt, lescan_options, NULL) { in cmd_lescan()
2434 switch (opt) { in cmd_lescan()
2511 int err, opt, dd; in cmd_lecc() local
2520 for_each_opt(opt, lecc_options, NULL) { in cmd_lecc()
2521 switch (opt) { in cmd_lecc()
2584 int err, opt, dd; in cmd_lewladd() local
2588 for_each_opt(opt, lewladd_options, NULL) { in cmd_lewladd()
2589 switch (opt) { in cmd_lewladd()
2634 int err, opt, dd; in cmd_lewlrm() local
2637 for_each_opt(opt, lewlrm_options, NULL) { in cmd_lewlrm()
2638 switch (opt) { in cmd_lewlrm()
2680 int err, dd, opt; in cmd_lewlsz() local
2683 for_each_opt(opt, lewlsz_options, NULL) { in cmd_lewlsz()
2684 switch (opt) { in cmd_lewlsz()
2726 int err, dd, opt; in cmd_lewlclr() local
2728 for_each_opt(opt, lewlclr_options, NULL) { in cmd_lewlclr()
2729 switch (opt) { in cmd_lewlclr()
2769 int err, opt, dd; in cmd_ledc() local
2773 for_each_opt(opt, ledc_options, NULL) { in cmd_ledc()
2774 switch (opt) { in cmd_ledc()
2829 int opt, dd, base; in cmd_lecup() local
2837 for_each_opt(opt, lecup_options, NULL) { in cmd_lecup()
2843 switch (opt) { in cmd_lecup()
2956 int opt, i, dev_id = -1; in main() local
2959 while ((opt=getopt_long(argc, argv, "+i:h", main_options, NULL)) != -1) { in main()
2960 switch (opt) { in main()