Home
last modified time | relevance | path

Searched refs:vi (Results 1 – 6 of 6) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_common.c171 dhd_doiovar(dhd_pub_t *dhd_pub, const bcm_iovar_t *vi, uint32 actionid, const char *name, in dhd_doiovar() argument
179 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0) in dhd_doiovar()
341 const bcm_iovar_t *vi = NULL; in dhd_iovar_op() local
355 if ((vi = bcm_iovar_lookup(dhd_iovars, name)) == NULL) { in dhd_iovar_op()
371 if (vi->type == IOVT_VOID) in dhd_iovar_op()
373 else if (vi->type == IOVT_BUFFER) in dhd_iovar_op()
379 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid); in dhd_iovar_op()
380 bcmerror = dhd_doiovar(dhd_pub, vi, actionid, name, params, plen, arg, len, val_size); in dhd_iovar_op()
Ddhd_sdio.c1687 dhdsdio_doiovar(dhd_bus_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, in dhdsdio_doiovar() argument
1697 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0) in dhdsdio_doiovar()
1717 if (vi->varid == IOV_SLEEP) { in dhdsdio_doiovar()
2273 const bcm_iovar_t *vi = NULL; in dhd_bus_iovar_op() local
2290 if ((vi = bcm_iovar_lookup(dhdsdio_iovars, name)) == NULL) { in dhd_bus_iovar_op()
2358 if (vi->type == IOVT_VOID) in dhd_bus_iovar_op()
2360 else if (vi->type == IOVT_BUFFER) in dhd_bus_iovar_op()
2366 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid); in dhd_bus_iovar_op()
2367 bcmerror = dhdsdio_doiovar(bus, vi, actionid, name, params, plen, arg, len, val_size); in dhd_bus_iovar_op()
/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c990 const bcm_iovar_t *vi; in bcm_iovar_lookup() local
1002 for (vi = table; vi->name; vi++) { in bcm_iovar_lookup()
1003 if (!strcmp(vi->name, lookup_name)) in bcm_iovar_lookup()
1004 return vi; in bcm_iovar_lookup()
1012 bcm_iovar_lencheck(const bcm_iovar_t *vi, void *arg, int len, bool set) in bcm_iovar_lencheck() argument
1017 switch (vi->type) { in bcm_iovar_lencheck()
1033 if (len < vi->minlen) { in bcm_iovar_lencheck()
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdh_sdmmc.c401 const bcm_iovar_t *vi = NULL; in sdioh_iovar_op() local
417 if ((vi = bcm_iovar_lookup(sdioh_iovars, name)) == NULL) { in sdioh_iovar_op()
422 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0) in sdioh_iovar_op()
431 if (vi->type == IOVT_VOID) in sdioh_iovar_op()
433 else if (vi->type == IOVT_BUFFER) in sdioh_iovar_op()
443 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid); in sdioh_iovar_op()
Dbcmsdspi.c263 const bcm_iovar_t *vi = NULL; in sdioh_iovar_op() local
279 if ((vi = bcm_iovar_lookup(sdioh_iovars, name)) == NULL) { in sdioh_iovar_op()
284 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0) in sdioh_iovar_op()
293 if (vi->type == IOVT_VOID) in sdioh_iovar_op()
295 else if (vi->type == IOVT_BUFFER) in sdioh_iovar_op()
305 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid); in sdioh_iovar_op()
Dbcmsdstd.c370 const bcm_iovar_t *vi = NULL; in sdioh_iovar_op() local
386 if ((vi = bcm_iovar_lookup(sdioh_iovars, name)) == NULL) { in sdioh_iovar_op()
391 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0) in sdioh_iovar_op()
400 if (vi->type == IOVT_VOID) in sdioh_iovar_op()
402 else if (vi->type == IOVT_BUFFER) in sdioh_iovar_op()
412 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid); in sdioh_iovar_op()