Lines Matching refs:layer
32 struct cflayer layer; member
54 struct cfusbl *usbl = container_of(layr, struct cfusbl, layer); in cfusbl_transmit()
92 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create()
94 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create()
95 this->layer.receive = cfusbl_receive; in cfusbl_create()
96 this->layer.transmit = cfusbl_transmit; in cfusbl_create()
97 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create()
98 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create()
99 this->layer.id = phyid; in cfusbl_create()
118 static void cfusbl_release(struct cflayer *layer) in cfusbl_release() argument
120 kfree(layer); in cfusbl_release()
132 struct cflayer *layer, *link_support; in cfusbl_device_notify() local
182 &layer, &caif_usb_type.func); in cfusbl_device_notify()
190 strscpy(layer->name, dev->name, sizeof(layer->name)); in cfusbl_device_notify()