Lines Matching refs:ff_path_dtp
301 this->ff_path_dtp = (char **) bs_calloc(n, sizeof(char *)); in pb_phy_initcom()
308 this->ff_path_dtp[d] = (char *)bs_calloc(flen, sizeof(char)); in pb_phy_initcom()
310 sprintf(this->ff_path_dtp[d], "%s/%s.d%i.dtp", pb_com_path, p, d); in pb_phy_initcom()
313 if ((pb_create_fifo_if_not_there(this->ff_path_dtp[d]) != 0) in pb_phy_initcom()
324 if ((this->ff_dtp[d] = open(this->ff_path_dtp[d], O_RDONLY)) == -1) { in pb_phy_initcom()
342 if (this->ff_path_dtp[d]) { in pb_phy_free_one_device()
343 remove(this->ff_path_dtp[d]); in pb_phy_free_one_device()
344 free(this->ff_path_dtp[d]); in pb_phy_free_one_device()
345 this->ff_path_dtp[d] = NULL; in pb_phy_free_one_device()
386 if (this->ff_path_dtp) { in pb_phy_disconnect_devices()
387 free(this->ff_path_dtp); in pb_phy_disconnect_devices()
388 this->ff_path_dtp = NULL; in pb_phy_disconnect_devices()
477 this->ff_path_dtp = NULL; in pb_dev_init_com()
495 this->ff_path_dtp = (char *) bs_calloc(flen, sizeof(char)); in pb_dev_init_com()
497 sprintf(this->ff_path_dtp, "%s/%s.d%i.dtp", pb_com_path, p, d); in pb_dev_init_com()
500 if ((pb_create_fifo_if_not_there(this->ff_path_dtp) != 0) in pb_dev_init_com()
511 if (((this->ff_dtp = open(this->ff_path_dtp, O_WRONLY )) == -1)) { in pb_dev_init_com()
557 if (this->ff_path_dtp) { in pb_dev_clean_up()
563 remove(this->ff_path_dtp); in pb_dev_clean_up()
564 free(this->ff_path_dtp); in pb_dev_clean_up()
565 this->ff_path_dtp = NULL; in pb_dev_clean_up()