Lines Matching refs:p
1724 struct platform_device *p; in ptp_ocp_register_spi() local
1737 p = platform_device_register_resndata(&pdev->dev, info->name, id, in ptp_ocp_register_spi()
1740 if (IS_ERR(p)) in ptp_ocp_register_spi()
1741 return PTR_ERR(p); in ptp_ocp_register_spi()
1743 bp_assign_entry(bp, r, p); in ptp_ocp_register_spi()
1770 struct platform_device *p; in ptp_ocp_register_i2c() local
1787 p = ptp_ocp_i2c_bus(bp->pdev, r, id); in ptp_ocp_register_i2c()
1788 if (IS_ERR(p)) in ptp_ocp_register_i2c()
1789 return PTR_ERR(p); in ptp_ocp_register_i2c()
1791 bp_assign_entry(bp, r, p); in ptp_ocp_register_i2c()
2063 struct ptp_ocp_serial_port *p = (struct ptp_ocp_serial_port *)r->extra; in ptp_ocp_register_serial() local
2070 if (p) in ptp_ocp_register_serial()
2071 port.baud = p->baud; in ptp_ocp_register_serial()
3188 const char *p; in clock_source_show() local
3192 p = ptp_ocp_select_name_from_val(ptp_ocp_clock, select >> 16); in clock_source_show()
3194 return sysfs_emit(buf, "%s\n", p); in clock_source_show()