Searched refs:gbmsg (Results 1 – 1 of 1) sorted by relevance
257 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_setdir() local260 gbmsg->cmd = VPRBRD_GPIOB_CMD_SETDIR; in vprbrd_gpiob_setdir()261 gbmsg->val = cpu_to_be16(dir << offset); in vprbrd_gpiob_setdir()262 gbmsg->mask = cpu_to_be16(0x0001 << offset); in vprbrd_gpiob_setdir()266 0x0000, gbmsg, sizeof(struct vprbrd_gpiob_msg), in vprbrd_gpiob_setdir()282 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_get() local292 0x0000, gbmsg, sizeof(struct vprbrd_gpiob_msg), in vprbrd_gpiob_get()294 val = gbmsg->val; in vprbrd_gpiob_get()313 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_set() local323 gbmsg->cmd = VPRBRD_GPIOB_CMD_SETVAL; in vprbrd_gpiob_set()[all …]