Home
last modified time | relevance | path

Searched refs:hport (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/drivers/staging/ozwpan/
Dozusbsvc.c96 if (usb_ctx->hport) { in oz_usb_start()
97 oz_hcd_pd_reset(usb_ctx, usb_ctx->hport); in oz_usb_start()
99 usb_ctx->hport = oz_hcd_pd_arrived(usb_ctx); in oz_usb_start()
100 if (usb_ctx->hport == NULL) { in oz_usb_start()
148 oz_hcd_pd_departed(usb_ctx->hport); in oz_usb_stop()
200 if (usb_ctx->hport) in oz_usb_heartbeat()
201 if (oz_hcd_heartbeat(usb_ctx->hport)) in oz_usb_heartbeat()
Dozusbif.h32 void oz_hcd_get_desc_cnf(void *hport, u8 req_id, u8 status,
34 void oz_hcd_control_cnf(void *hport, u8 req_id, u8 rcode,
39 void oz_hcd_data_ind(void *hport, u8 endpoint, const u8 *data, int data_len);
41 int oz_hcd_heartbeat(void *hport);
Dozhcd.h11 void oz_hcd_pd_departed(struct oz_port *hport);
12 void oz_hcd_pd_reset(void *hpd, void *hport);
Dozusbsvc1.c336 oz_hcd_data_ind(usb_ctx->hport, body->endpoint, in oz_usb_handle_ep_data()
355 oz_hcd_data_ind(usb_ctx->hport, in oz_usb_handle_ep_data()
408 oz_hcd_get_desc_cnf(usb_ctx->hport, body->req_id, in oz_usb_rx()
416 oz_hcd_control_cnf(usb_ctx->hport, body->req_id, in oz_usb_rx()
423 oz_hcd_control_cnf(usb_ctx->hport, in oz_usb_rx()
430 oz_hcd_control_cnf(usb_ctx->hport, body->req_id, in oz_usb_rx()
459 oz_hcd_data_ind(usb_ctx->hport, ep_num, data, len); in oz_usb_farewell()
Dozusbsvc.h19 void *hport; member
Dozhcd.c619 struct oz_port *hport; in oz_hcd_pd_arrived() local
652 hport = &ozhcd->ports[i]; in oz_hcd_pd_arrived()
653 hport->out_ep[0] = ep; in oz_hcd_pd_arrived()
660 return hport; in oz_hcd_pd_arrived()
729 void oz_hcd_pd_reset(void *hpd, void *hport) in oz_hcd_pd_reset() argument
733 struct oz_port *port = hport; in oz_hcd_pd_reset()
749 void oz_hcd_get_desc_cnf(void *hport, u8 req_id, u8 status, const u8 *desc, in oz_hcd_get_desc_cnf() argument
752 struct oz_port *port = hport; in oz_hcd_get_desc_cnf()
889 void oz_hcd_control_cnf(void *hport, u8 req_id, u8 rcode, const u8 *data, in oz_hcd_control_cnf() argument
892 struct oz_port *port = hport; in oz_hcd_control_cnf()
[all …]
/linux-4.1.27/include/linux/
Drio_drv.h152 return rio_mport_read_config_32(rdev->net->hport, rdev->destid, in rio_read_config_32()
168 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
184 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
200 return rio_mport_write_config_16(rdev->net->hport, rdev->destid, in rio_write_config_16()
215 return rio_mport_read_config_8(rdev->net->hport, rdev->destid, in rio_read_config_8()
230 return rio_mport_write_config_8(rdev->net->hport, rdev->destid, in rio_write_config_8()
247 return rio_mport_send_doorbell(rdev->net->hport, rdev->destid, data); in rio_send_doorbell()
Drio.h312 struct rio_mport *hport; /* primary port for accessing net */ member
/linux-4.1.27/drivers/rapidio/
Drio.c727 return rio_mport_chk_dev_access(rdev->net->hport, in rio_chk_dev_access()
1379 rc = rio_lock_device(rdev->net->hport, rdev->destid, in rio_route_add_entry()
1388 rc = rio_std_route_add_entry(rdev->net->hport, rdev->destid, in rio_route_add_entry()
1392 rc = ops->add_entry(rdev->net->hport, rdev->destid, in rio_route_add_entry()
1401 rio_unlock_device(rdev->net->hport, rdev->destid, in rio_route_add_entry()
1432 rc = rio_lock_device(rdev->net->hport, rdev->destid, in rio_route_get_entry()
1441 rc = rio_std_route_get_entry(rdev->net->hport, rdev->destid, in rio_route_get_entry()
1445 rc = ops->get_entry(rdev->net->hport, rdev->destid, in rio_route_get_entry()
1454 rio_unlock_device(rdev->net->hport, rdev->destid, in rio_route_get_entry()
1480 rc = rio_lock_device(rdev->net->hport, rdev->destid, in rio_route_clr_table()
[all …]
Drio-scan.c212 struct rio_mport *port = net->hport; in rio_clear_locks()
908 net->hport = port; in rio_alloc_net()
1079 rio_lock_device(net->hport, rdev->destid, in rio_build_route_tables()
1082 i < RIO_MAX_ROUTE_ENTRIES(net->hport->sys_size); in rio_build_route_tables()
1090 rio_unlock_device(net->hport, rdev->destid, rdev->hopcount); in rio_build_route_tables()
Drio-sysfs.c47 for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rdev->net->hport->sys_size); in routes_show()
/linux-4.1.27/drivers/net/
Drionet.c402 unsigned char netid = rdev->net->hport->id; in rionet_remove_dev()
529 unsigned char netid = rdev->net->hport->id; in rionet_add_dev()
543 rio_local_read_config_32(rdev->net->hport, RIO_SRC_OPS_CAR, in rionet_add_dev()
545 rio_local_read_config_32(rdev->net->hport, RIO_DST_OPS_CAR, in rionet_add_dev()
550 DRV_NAME, rdev->net->hport->name); in rionet_add_dev()
561 rc = rionet_setup_netdev(rdev->net->hport, ndev); in rionet_add_dev()
/linux-4.1.27/drivers/rapidio/switches/
Dtsi57x.c217 struct rio_mport *mport = rdev->net->hport; in tsi57x_em_handler()