Lines Matching refs:func
689 int func, size; in dhd_sd_blocksize() local
700 func = strtol(argv[1], &endptr, 0); in dhd_sd_blocksize()
715 if ((ret = dhd_var_getbuf(dhd, cmd->name, &func, sizeof(func), &ptr)) >= 0) in dhd_sd_blocksize()
716 printf("Function %d block size: %d\n", func, *(int*)ptr); in dhd_sd_blocksize()
718 printf("Setting function %d block size to %d\n", func, size); in dhd_sd_blocksize()
719 size &= 0x0000ffff; size |= (func << 16); in dhd_sd_blocksize()
797 sdreg.func = strtol((ptr+1), &ptr, 0); in dhd_sdreg()
798 if (*ptr || ((sdreg.func != 2) && sdreg.func != 4)) { in dhd_sdreg()
804 sdreg.func = 4; in dhd_sdreg()
819 printf("0x%0*x\n", (2 * sdreg.func), *(int *)ptr); in dhd_sdreg()
1850 sdreg.func = strtoul(*argv++, &endptr, 0); in dhd_sd_reg()