Lines Matching refs:chip_id
44 unsigned int chip_id; member
676 coproc->chip_id = chipid; in nx_add_coprocs_list()
713 unsigned int i, chip_id; in nx_open_percpu_txwins() local
718 chip_id = cpu_to_chip_id(i); in nx_open_percpu_txwins()
730 if (coproc->chip_id == chip_id) { in nx_open_percpu_txwins()
765 static int __init vas_cfg_coproc_info(struct device_node *dn, int chip_id, in vas_cfg_coproc_info() argument
852 nx_add_coprocs_list(coproc, chip_id); in vas_cfg_coproc_info()
870 static int __init nx_coproc_init(int chip_id, int ct_842, int ct_gzip) in nx_coproc_init() argument
875 ret = opal_nx_coproc_init(chip_id, ct_842); in nx_coproc_init()
878 ret = opal_nx_coproc_init(chip_id, ct_gzip); in nx_coproc_init()
883 chip_id, ret); in nx_coproc_init()
891 static int __init find_nx_device_tree(struct device_node *dn, int chip_id, in find_nx_device_tree() argument
898 ret = vas_cfg_coproc_info(dn, chip_id, vasid, type, ct); in find_nx_device_tree()
908 int chip_id, vasid, ret = 0; in nx_powernv_probe_vas() local
912 chip_id = of_get_ibm_chip_id(pn); in nx_powernv_probe_vas()
913 if (chip_id < 0) { in nx_powernv_probe_vas()
918 vasid = chip_to_vas_id(chip_id); in nx_powernv_probe_vas()
920 pr_err("Unable to map chip_id %d to vasid\n", chip_id); in nx_powernv_probe_vas()
925 ret = find_nx_device_tree(dn, chip_id, vasid, NX_CT_842, in nx_powernv_probe_vas()
929 ret = find_nx_device_tree(dn, chip_id, vasid, in nx_powernv_probe_vas()
946 ret = nx_coproc_init(chip_id, ct_842, ct_gzip); in nx_powernv_probe_vas()
955 int chip_id; in nx842_powernv_probe() local
957 chip_id = of_get_ibm_chip_id(dn); in nx842_powernv_probe()
958 if (chip_id < 0) { in nx842_powernv_probe()
979 nx_add_coprocs_list(coproc, chip_id); in nx842_powernv_probe()
981 pr_info("coprocessor found on chip %d, CT %d CI %d\n", chip_id, ct, ci); in nx842_powernv_probe()
987 chip_id, ct, nx842_ct); in nx842_powernv_probe()