Home
last modified time | relevance | path

Searched refs:pdpram_blk (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/staging/ft1000/ft1000-usb/
Dft1000_debug.c116 void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist) in ft1000_free_buffer() argument
122 list_add_tail(&pdpram_blk->list, plist); in ft1000_free_buffer()
232 struct dpram_blk *pdpram_blk; in ft1000_destroy_dev() local
259 pdpram_blk = list_entry(info->app_info[i].app_sqlist.next, struct dpram_blk, list); in ft1000_destroy_dev()
260 list_del(&pdpram_blk->list); in ft1000_destroy_dev()
261 ft1000_free_buffer(pdpram_blk, &freercvpool); in ft1000_destroy_dev()
666 struct dpram_blk *pdpram_blk; in ft1000_ioctl() local
696 pdpram_blk = list_entry(info->app_info[i].app_sqlist.next, struct dpram_blk, list); in ft1000_ioctl()
697 list_del(&pdpram_blk->list); in ft1000_ioctl()
701 msglen = ntohs(*(u16 *)pdpram_blk->pbuffer) + PSEUDOSZ; in ft1000_ioctl()
[all …]
Dft1000_hw.c701 struct dpram_blk *pdpram_blk; in init_ft1000_netdev() local
780 pdpram_blk = kmalloc(sizeof(struct dpram_blk), GFP_KERNEL); in init_ft1000_netdev()
781 if (pdpram_blk == NULL) { in init_ft1000_netdev()
786 pdpram_blk->pbuffer = kmalloc(MAX_CMD_SQSIZE, GFP_KERNEL); in init_ft1000_netdev()
787 if (pdpram_blk->pbuffer == NULL) { in init_ft1000_netdev()
789 kfree(pdpram_blk); in init_ft1000_netdev()
793 list_add_tail(&pdpram_blk->list, &freercvpool); in init_ft1000_netdev()
801 pdpram_blk = list_entry(cur, struct dpram_blk, list); in init_ft1000_netdev()
802 list_del(&pdpram_blk->list); in init_ft1000_netdev()
803 kfree(pdpram_blk->pbuffer); in init_ft1000_netdev()
[all …]
Dft1000_usb.h177 void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);