Lines Matching refs:platform

55   const struct Pn80tPlatform *platform;  in nxp_pn80t_open()  local
58 platform = ese->ops->opts; in nxp_pn80t_open()
61 if (!platform->initialize || !platform->release || !platform->toggle_reset || in nxp_pn80t_open()
62 !platform->wait) { in nxp_pn80t_open()
70 ns->handle = platform->initialize(board); in nxp_pn80t_open()
82 if (platform->toggle_ven) { in nxp_pn80t_open()
83 platform->toggle_ven(ns->handle, 1); in nxp_pn80t_open()
85 if (platform->toggle_power_req) { in nxp_pn80t_open()
86 platform->toggle_power_req(ns->handle, 1); in nxp_pn80t_open()
89 platform->toggle_reset(ns->handle, 1); in nxp_pn80t_open()
97 const struct Pn80tPlatform *platform = ese->ops->opts; in nxp_pn80t_reset() local
114 if (platform->toggle_reset(ns->handle, 0) < 0) { in nxp_pn80t_reset()
118 if (platform->toggle_reset(ns->handle, 1) < 0) { in nxp_pn80t_reset()
131 const struct Pn80tPlatform *platform = ese->ops->opts; in nxp_pn80t_poll() local
157 platform->wait(ns->handle, in nxp_pn80t_poll()
178 const struct Pn80tPlatform *platform = ese->ops->opts; in nxp_pn80t_send_cooldown() local
232 platform->wait(ns->handle, 25000); in nxp_pn80t_send_cooldown()
252 const struct Pn80tPlatform *platform = ese->ops->opts; in nxp_pn80t_handle_interface_call() local
280 if (platform->toggle_bootloader) { in nxp_pn80t_handle_interface_call()
281 int ret = platform->toggle_bootloader(ns->handle, buf[3]); in nxp_pn80t_handle_interface_call()
322 const struct Pn80tPlatform *platform = ese->ops->opts; in nxp_pn80t_close() local
330 platform->toggle_reset(ns->handle, 0); in nxp_pn80t_close()
331 if (platform->toggle_power_req) { in nxp_pn80t_close()
332 platform->toggle_power_req(ns->handle, 0); in nxp_pn80t_close()
334 if (platform->toggle_ven) { in nxp_pn80t_close()
335 platform->toggle_ven(ns->handle, 0); in nxp_pn80t_close()
339 platform->release(ns->handle); in nxp_pn80t_close()