Lines Matching full:api
58 const struct fpga_driver_api *api = in fpga_get_status() local
59 (const struct fpga_driver_api *)dev->api; in fpga_get_status()
61 return api->get_status(dev); in fpga_get_status()
74 const struct fpga_driver_api *api = in fpga_reset() local
75 (const struct fpga_driver_api *)dev->api; in fpga_reset()
77 return api->reset(dev); in fpga_reset()
93 const struct fpga_driver_api *api = in fpga_load() local
94 (const struct fpga_driver_api *)dev->api; in fpga_load()
96 return api->load(dev, image_ptr, img_size); in fpga_load()
109 const struct fpga_driver_api *api = in fpga_on() local
110 (const struct fpga_driver_api *)dev->api; in fpga_on()
112 if (api->on == NULL) { in fpga_on()
116 return api->on(dev); in fpga_on()
128 const struct fpga_driver_api *api = in fpga_get_info() local
129 (const struct fpga_driver_api *)dev->api; in fpga_get_info()
131 return api->get_info(dev); in fpga_get_info()
144 const struct fpga_driver_api *api = in fpga_off() local
145 (const struct fpga_driver_api *)dev->api; in fpga_off()
147 if (api->off == NULL) { in fpga_off()
151 return api->off(dev); in fpga_off()