Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-viperboard.c267 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_setdir() local
270 gbmsg->cmd = VPRBRD_GPIOB_CMD_SETDIR; in vprbrd_gpiob_setdir()
271 gbmsg->val = cpu_to_be16(dir << offset); in vprbrd_gpiob_setdir()
272 gbmsg->mask = cpu_to_be16(0x0001 << offset); in vprbrd_gpiob_setdir()
276 0x0000, gbmsg, sizeof(struct vprbrd_gpiob_msg), in vprbrd_gpiob_setdir()
293 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_get() local
303 0x0000, gbmsg, sizeof(struct vprbrd_gpiob_msg), in vprbrd_gpiob_get()
305 val = gbmsg->val; in vprbrd_gpiob_get()
325 struct vprbrd_gpiob_msg *gbmsg = (struct vprbrd_gpiob_msg *)vb->buf; in vprbrd_gpiob_set() local
335 gbmsg->cmd = VPRBRD_GPIOB_CMD_SETVAL; in vprbrd_gpiob_set()
[all …]