Lines Matching defs:p50_gpio
61 struct p50_gpio {
122 static int p50_wait_ec(struct p50_gpio *p50, int mask, int expected)
138 static int p50_read_mbox_reg(struct p50_gpio *p50, int reg)
159 static int p50_write_mbox_reg(struct p50_gpio *p50, int reg, int val)
183 static int p50_wait_mbox_idle(struct p50_gpio *p50)
201 static int p50_send_mbox_cmd(struct p50_gpio *p50, int cmd, int param, int data)
257 struct p50_gpio *p50 = gpiochip_get_data(gc);
273 struct p50_gpio *p50 = gpiochip_get_data(gc);
284 struct p50_gpio *p50;
375 struct p50_gpio *p50 = platform_get_drvdata(pdev);