Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 43) sorted by relevance

12

/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
Dtnetw_sdio.c36 extern int tiwlan_sdio_init(struct sdio_func *func);
48 void SDIO_SetFunc( struct sdio_func *func ) in SDIO_SetFunc() argument
50 tiwlan_func = func; in SDIO_SetFunc()
91 struct sdio_func *func = (struct sdio_func *)Handle; in SDIO_Start() local
93 if (func) { in SDIO_Start()
96 if (tiwlan_sdio_init(func)) { in SDIO_Start()
108 struct sdio_func *func = (struct sdio_func *)Handle; in SDIO_Reset() local
110 if (func && func->card) { in SDIO_Reset()
111 sdio_release_host(func); in SDIO_Reset()
112 sdio_reset_comm(func->card); in SDIO_Reset()
[all …]
Dchip_stat.c103 struct sdio_func *func; in export_wifi_chip_id() local
105 func = SDIO_GetFunc(); in export_wifi_chip_id()
106 if (!func) in export_wifi_chip_id()
114 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
120 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
126 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
132 SDIO_SyncWrite(func, &req); in export_wifi_chip_id()
139 SDIO_SyncRead(func, &req); in export_wifi_chip_id()
Dmmc_tnetw1150_api.c369 struct sdio_func *func = (struct sdio_func *) sdioHandle; in config_partition() local
389 sdio_writeb(func, data, br_offset, &rc); in config_partition()
400 sdio_writeb(func, data, br_offset, &rc); in config_partition()
412 data = sdio_readb(func, br_offset, &rc); in config_partition()
419 rc = sdio_memcpy_fromio(func, &id1, 0x1ce34, 4); /* Dm: Important - DO NOT REMOVE !!! */ in config_partition()
506 struct sdio_func *func = (struct sdio_func *) sdioHandle; in SDIO_TNETW_Set_ELP_Reg() local
522 sdio_writeb(func, data1, br_offset, &rc); in SDIO_TNETW_Set_ELP_Reg()
533 struct sdio_func *func = (struct sdio_func *) sdioHandle; in SDIO_TNETW_Get_ELP_Reg() local
537 *(u8*)data = sdio_readb_ext(func, br_offset, &rc, 0x01); in SDIO_TNETW_Get_ELP_Reg()
Desta_drv.c1850 static void tiwlan_sdio_irq(struct sdio_func *func) in tiwlan_sdio_irq() argument
1863 int tiwlan_sdio_init(struct sdio_func *func) in tiwlan_sdio_init() argument
1867 rc = sdio_enable_func(func); in tiwlan_sdio_init()
1871 rc = sdio_set_block_size(func, 512); in tiwlan_sdio_init()
1873 sdio_disable_func(func); in tiwlan_sdio_init()
1878 static int tiwlan_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) in tiwlan_sdio_probe() argument
1883 if (func->vendor != VENDOR_ID_TI || func->device != DEVICE_ID_TI_WLAN) in tiwlan_sdio_probe()
1888 func->vendor, func->device); in tiwlan_sdio_probe()
1897 sdio_claim_host(func); in tiwlan_sdio_probe()
1899 rc = tiwlan_sdio_init(func); in tiwlan_sdio_probe()
[all …]
/system/wlan/ti/lib/
Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) in shListFindItem() argument
22 if( func ) { in shListFindItem()
23 if( func( val, item->data ) ) { in shListFindItem()
78 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func ) in shListDelItem() argument
87 if( func && item->data ) { in shListDelItem()
88 func( (void *)(item->data) ); in shListDelItem()
131 shListCmp func ) in shListInsBeforeItem() argument
135 if( func == NULL ) in shListInsBeforeItem()
143 if( func( val, iptr->data, etal ) ) in shListInsBeforeItem()
156 void shListDelAllItems( SHLIST *head, shListFree func ) in shListDelAllItems() argument
[all …]
Dshlist.h19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
25 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func );
28 shListCmp func );
30 void shListDelAllItems( SHLIST *head, shListFree func );
31 void shListPrintAllItems( SHLIST *head, shListPrint func );
/system/core/netcfg/
Dnetcfg.c93 void *func; member
107 int (*func)(char *a0) = _func; in call_func() local
108 return func(args[0]); in call_func()
111 int (*func)(char *a0, char *a1) = _func; in call_func() local
112 return func(args[0], args[1]); in call_func()
115 int (*func)(char *a0, char *a1, char *a2) = _func; in call_func() local
116 return func(args[0], args[1], args[2]); in call_func()
157 if(call_func(CMDS[n].func, nargs, argv)) { in main()
/system/core/sh/
Dmkbuiltins97 func=$1
107 echo 'int '"$func"'(int, char **);' >&4
112 specials="$specials $2 $func"
117 echo ' { "'$1'", '"$func"' },' >&3
Dvar.c81 void (*func)(const char *); member
177 vp->func = ip->func; in initvar()
288 if (vp->func && (flags & VNOFUNC) == 0) in setvareq()
289 (*vp->func)(s + vp->name_len + 1); in setvareq()
309 vp->func = NULL; in setvareq()
675 if (vp->func && (vp->flags & VNOFUNC) == 0) in poplocalvars()
676 (*vp->func)(lvp->text + vp->name_len + 1); in poplocalvars()
Dexec.h50 union node *func; member
Dexec.c404 commandtext(&ps, cmdp->param.func); in printentry()
793 freefunc(cmdp->param.func); in deletefuncs()
898 freefunc(cmdp->param.func); in addcmdentry()
912 defun(char *name, union node *func) in defun() argument
918 entry.u.func = copyfunc(func); in defun()
935 freefunc(cmdp->param.func); in unsetfunc()
/system/core/init/
Dinit_parser.c55 #define KEYWORD(symbol, flags, nargs, func) \ argument
56 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
60 int (*func)(int nargs, char **args); member
71 #define kw_func(kw) (keyword_info[kw].func)
284 void service_for_each(void (*func)(struct service *svc)) in service_for_each()
290 func(svc); in service_for_each()
295 void (*func)(struct service *svc)) in service_for_each_class()
302 func(svc); in service_for_each_class()
308 void (*func)(struct service *svc)) in service_for_each_flags()
315 func(svc); in service_for_each_flags()
[all …]
Dinit.h31 int (*func)(int nargs, char **args); member
118 void service_for_each(void (*func)(struct service *svc));
120 void (*func)(struct service *svc));
122 void (*func)(struct service *svc));
Dinit_parser.h27 void (*func)(struct action *act));
31 void queue_builtin_action(int (*func)(int nargs, char **args), char *name);
/system/core/adb/
Dfdevent.h39 fdevent *fdevent_create(int fd, fd_func func, void *arg);
48 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
76 fd_func func; member
Dfdevent.c397 fdevent *fdevent_create(int fd, fd_func func, void *arg) in fdevent_create() argument
401 fdevent_install(fde, fd, func, arg); in fdevent_create()
415 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) in fdevent_install() argument
420 fde->func = func; in fdevent_install()
502 fde->func(fde->fd, events, fde->arg); in fdevent_loop()
Dtransport_local.c191 void* (*func)(void *); in local_init() local
194 func = client_socket_thread; in local_init()
196 func = server_socket_thread; in local_init()
201 if(adb_thread_create(&thr, func, (void *)port)) { in local_init()
Dsysdeps.h68 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* ar… in adb_thread_create() argument
70 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); in adb_thread_create()
184 fdevent *fdevent_create(int fd, fd_func func, void *arg);
186 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
201 fd_func func; member
Dservices.c41 void (*func)(int fd, void *cookie); member
50 sti->func(sti->fd, sti->cookie); in service_bootstrap_func()
242 static int create_service_thread(void (*func)(int, void *), void *cookie) in create_service_thread()
255 sti->func = func; in create_service_thread()
/system/wlan/ti/wilink_6_1/platforms/hw/linux/
DSdioAdapter.c71 static int sdio_wifi_probe(struct sdio_func *func, in sdio_wifi_probe() argument
76 printk("%s: %d\n", __FUNCTION__, func->class); in sdio_wifi_probe()
78 if (func->class != SDIO_CLASS_WLAN) in sdio_wifi_probe()
81 sdio_claim_host(func); in sdio_wifi_probe()
83 rc = sdio_enable_func(func); in sdio_wifi_probe()
86 rc = sdio_set_block_size(func, 512); in sdio_wifi_probe()
93 tiwlan_func = func; in sdio_wifi_probe()
97 sdio_disable_func(func); in sdio_wifi_probe()
99 sdio_release_host(func); in sdio_wifi_probe()
104 static void sdio_wifi_remove(struct sdio_func *func) in sdio_wifi_remove() argument
/system/core/fastboot/
Dengine.c76 int (*func)(Action *a, int status, char *resp); member
115 a->func = cb_default; in queue_action()
218 a->func = invert ? cb_reject : cb_require; in fb_queue_require()
238 a->func = cb_display; in fb_queue_display()
250 a->func = cb_do_nothing; in fb_queue_reboot()
293 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
297 status = a->func(a, status, status ? fb_get_error() : ""); in fb_execute_queue()
301 status = a->func(a, status, status ? fb_get_error() : resp); in fb_execute_queue()
/system/core/toolbox/
Dtoolbox.c25 int (*func)(int, char**); member
51 return tools[i].func(argc, argv); in main()
/system/core/libpixelflinger/
Dpixelflinger.cpp549 static void ggl_alphaFuncx(void* con, GGLenum func, GGLclampx ref) in ggl_alphaFuncx() argument
552 if ((func < GGL_NEVER) || (func > GGL_ALWAYS)) { in ggl_alphaFuncx()
557 if (c->state.alpha_test.func != func) { in ggl_alphaFuncx()
558 c->state.alpha_test.func = func; in ggl_alphaFuncx()
565 static void ggl_depthFunc(void* con, GGLenum func) in ggl_depthFunc() argument
568 if ((func < GGL_NEVER) || (func > GGL_ALWAYS)) { in ggl_depthFunc()
572 if (c->state.depth_test.func != func) { in ggl_depthFunc()
573 c->state.depth_test.func = func; in ggl_depthFunc()
802 c->state.alpha_test.func = GGL_ALWAYS; in ggl_init_context()
803 c->state.depth_test.func = GGL_LESS; in ggl_init_context()
Dpicker.cpp115 p |= GGL_BUILD_NEEDS(c->state.alpha_test.func, P_ALPHA_TEST); in ggl_pick()
121 p |= GGL_BUILD_NEEDS(c->state.depth_test.func, P_DEPTH_TEST); in ggl_pick()
/system/extras/tests/bionic/libc/common/
Dtest_pthread_mutex.c47 panic(const char* func, const char* format, ...) in panic() argument
50 fprintf(stderr, "%s: ", func); in panic()
61 error(int errcode, const char* func, const char* format, ...) in error() argument
64 fprintf(stderr, "%s: ", func); in error()

12