Lines Matching refs:layer
33 struct cflayer layer; member
55 struct cfusbl *usbl = container_of(layr, struct cfusbl, layer); in cfusbl_transmit()
93 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create()
95 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create()
96 this->layer.receive = cfusbl_receive; in cfusbl_create()
97 this->layer.transmit = cfusbl_transmit; in cfusbl_create()
98 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create()
99 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create()
100 this->layer.id = phyid; in cfusbl_create()
119 static void cfusbl_release(struct cflayer *layer) in cfusbl_release() argument
121 kfree(layer); in cfusbl_release()
133 struct cflayer *layer, *link_support; in cfusbl_device_notify() local
183 &layer, &caif_usb_type.func); in cfusbl_device_notify()
191 strscpy(layer->name, dev->name, sizeof(layer->name)); in cfusbl_device_notify()