Searched refs:channel_fd (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/libpcp/common/ |
H A D | libpcp.c | 76 static int pcp_get_prop(int channel_fd, int prop, unsigned int *val); 85 static int pcp_cleanup(int channel_fd); 191 int channel_fd; in pcp_init() local 212 if ((channel_fd = open(dev_path, O_RDWR|O_EXCL)) < 0) { in pcp_init() 229 if (ioctl(channel_fd, VLDC_IOCTL_OPT_OP, &op) != 0) { in pcp_init() 230 (void) close(channel_fd); in pcp_init() 240 if (pcp_get_prop(channel_fd, GLVC_XPORT_OPT_MTU_SZ, in pcp_init() 242 (void) close(channel_fd); in pcp_init() 268 (void) close(channel_fd); in pcp_init() 272 return (channel_fd); in pcp_init() [all …]
|
H A D | libpcp.h | 90 int pcp_send_recv(int channel_fd, pcp_msg_t *req_msg, pcp_msg_t *resp_msg, 92 int pcp_close(int channel_fd);
|
/titanic_50/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 212 int channel_fd; in piclsbl_handler() local 297 if ((channel_fd = (*pcp_init_ptr)(LED_CHANNEL)) < 0) { in piclsbl_handler() 303 if ((channel_fd = (*pcp_init_ptr)(LED_CHANNEL)) >= 0) in piclsbl_handler() 325 if ((*pcp_send_recv_ptr)(channel_fd, &send_msg, &recv_msg, in piclsbl_handler() 330 if ((*pcp_send_recv_ptr)(channel_fd, &send_msg, &recv_msg, in piclsbl_handler() 370 (*pcp_close_ptr)(channel_fd); in piclsbl_handler()
|