Home
last modified time | relevance | path

Searched refs:sdreg (Results 1 – 2 of 2) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dsdiovar.h31 typedef struct sdreg { struct
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c887 sdreg_t sdreg; in dhd_sdreg() local
893 bzero(&sdreg, sizeof(sdreg)); in dhd_sdreg()
905 sdreg.offset = strtoul(argv[1], &ptr, 0); in dhd_sdreg()
913 sdreg.func = strtol((ptr+1), &ptr, 0); in dhd_sdreg()
914 if (*ptr || ((sdreg.func != 2) && sdreg.func != 4)) { in dhd_sdreg()
920 sdreg.func = 4; in dhd_sdreg()
925 sdreg.value = strtoul(argv[2], &ptr, 0); in dhd_sdreg()
933 ret = dhd_var_getbuf(dhd, argv[0], &sdreg, sizeof(sdreg), (void**)&ptr); in dhd_sdreg()
935 printf("0x%0*x\n", (2 * sdreg.func), *(int *)ptr); in dhd_sdreg()
937 ret = dhd_var_setbuf(dhd, argv[0], &sdreg, sizeof(sdreg)); in dhd_sdreg()
[all …]