Lines Matching refs:hubdev_info
21 void hubiio_crb_error_handler(struct hubdev_info *hubdev_info);
26 struct hubdev_info *hubdev_info; in hub_eint_handler() local
32 hubdev_info = (struct hubdev_info *)arg; in hub_eint_handler()
33 nasid = hubdev_info->hdi_nasid; in hub_eint_handler()
44 (void)hubiio_crb_error_handler(hubdev_info); in hub_eint_handler()
69 void hubiio_crb_free(struct hubdev_info *hubdev_info, int crbnum) in hubiio_crb_free() argument
77 icrbb.ii_icrb0_b_regval = REMOTE_HUB_L(hubdev_info->hdi_nasid, in hubiio_crb_free()
80 REMOTE_HUB_S(hubdev_info->hdi_nasid, IIO_ICRB_B(crbnum), in hubiio_crb_free()
85 REMOTE_HUB_S(hubdev_info->hdi_nasid, IIO_ICDR, (IIO_ICDR_PND | crbnum)); in hubiio_crb_free()
86 while (REMOTE_HUB_L(hubdev_info->hdi_nasid, IIO_ICDR) & IIO_ICDR_PND) in hubiio_crb_free()
112 void hubiio_crb_error_handler(struct hubdev_info *hubdev_info) in hubiio_crb_error_handler() argument
124 nasid = hubdev_info->hdi_nasid; in hubiio_crb_error_handler()
168 hubiio_crb_free(hubdev_info, i); in hubiio_crb_error_handler()
186 void hub_error_init(struct hubdev_info *hubdev_info) in hub_error_init() argument
190 "SN_hub_error", hubdev_info)) { in hub_error_init()
192 hubdev_info); in hub_error_init()
207 void ice_error_init(struct hubdev_info *hubdev_info) in ice_error_init() argument
212 (void *)hubdev_info)) { in ice_error_init()
214 hubdev_info); in ice_error_init()