Lines Matching refs:gamsg

87 	struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf;  in vprbrd_gpioa_get()  local
95 gamsg->cmd = VPRBRD_GPIOA_CMD_GETIN; in vprbrd_gpioa_get()
96 gamsg->clk = 0x00; in vprbrd_gpioa_get()
97 gamsg->offset = offset; in vprbrd_gpioa_get()
98 gamsg->t1 = 0x00; in vprbrd_gpioa_get()
99 gamsg->t2 = 0x00; in vprbrd_gpioa_get()
100 gamsg->invert = 0x00; in vprbrd_gpioa_get()
101 gamsg->pwmlevel = 0x00; in vprbrd_gpioa_get()
102 gamsg->outval = 0x00; in vprbrd_gpioa_get()
103 gamsg->risefall = 0x00; in vprbrd_gpioa_get()
104 gamsg->answer = 0x00; in vprbrd_gpioa_get()
105 gamsg->__fill = 0x00; in vprbrd_gpioa_get()
109 0x0000, gamsg, sizeof(struct vprbrd_gpioa_msg), in vprbrd_gpioa_get()
116 0x0000, gamsg, sizeof(struct vprbrd_gpioa_msg), in vprbrd_gpioa_get()
118 answer = gamsg->answer & 0x01; in vprbrd_gpioa_get()
137 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_set() local
147 gamsg->cmd = VPRBRD_GPIOA_CMD_SETOUT; in vprbrd_gpioa_set()
148 gamsg->clk = 0x00; in vprbrd_gpioa_set()
149 gamsg->offset = offset; in vprbrd_gpioa_set()
150 gamsg->t1 = 0x00; in vprbrd_gpioa_set()
151 gamsg->t2 = 0x00; in vprbrd_gpioa_set()
152 gamsg->invert = 0x00; in vprbrd_gpioa_set()
153 gamsg->pwmlevel = 0x00; in vprbrd_gpioa_set()
154 gamsg->outval = value; in vprbrd_gpioa_set()
155 gamsg->risefall = 0x00; in vprbrd_gpioa_set()
156 gamsg->answer = 0x00; in vprbrd_gpioa_set()
157 gamsg->__fill = 0x00; in vprbrd_gpioa_set()
162 0x0000, 0x0000, gamsg, in vprbrd_gpioa_set()
178 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_direction_input() local
184 gamsg->cmd = VPRBRD_GPIOA_CMD_SETIN; in vprbrd_gpioa_direction_input()
185 gamsg->clk = gpioa_clk; in vprbrd_gpioa_direction_input()
186 gamsg->offset = offset; in vprbrd_gpioa_direction_input()
187 gamsg->t1 = 0x00; in vprbrd_gpioa_direction_input()
188 gamsg->t2 = 0x00; in vprbrd_gpioa_direction_input()
189 gamsg->invert = 0x00; in vprbrd_gpioa_direction_input()
190 gamsg->pwmlevel = 0x00; in vprbrd_gpioa_direction_input()
191 gamsg->outval = 0x00; in vprbrd_gpioa_direction_input()
192 gamsg->risefall = 0x00; in vprbrd_gpioa_direction_input()
193 gamsg->answer = 0x00; in vprbrd_gpioa_direction_input()
194 gamsg->__fill = 0x00; in vprbrd_gpioa_direction_input()
198 0x0000, gamsg, sizeof(struct vprbrd_gpioa_msg), in vprbrd_gpioa_direction_input()
215 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_direction_output() local
225 gamsg->cmd = VPRBRD_GPIOA_CMD_SETOUT; in vprbrd_gpioa_direction_output()
226 gamsg->clk = 0x00; in vprbrd_gpioa_direction_output()
227 gamsg->offset = offset; in vprbrd_gpioa_direction_output()
228 gamsg->t1 = 0x00; in vprbrd_gpioa_direction_output()
229 gamsg->t2 = 0x00; in vprbrd_gpioa_direction_output()
230 gamsg->invert = 0x00; in vprbrd_gpioa_direction_output()
231 gamsg->pwmlevel = 0x00; in vprbrd_gpioa_direction_output()
232 gamsg->outval = value; in vprbrd_gpioa_direction_output()
233 gamsg->risefall = 0x00; in vprbrd_gpioa_direction_output()
234 gamsg->answer = 0x00; in vprbrd_gpioa_direction_output()
235 gamsg->__fill = 0x00; in vprbrd_gpioa_direction_output()
239 0x0000, gamsg, sizeof(struct vprbrd_gpioa_msg), in vprbrd_gpioa_direction_output()