Lines Matching refs:ppc_md
210 rc = ppc_md.nvram_write((char *)&info, sizeof(info), &tmp_index); in nvram_write_os_partition()
216 rc = ppc_md.nvram_write(buff, length, &tmp_index); in nvram_write_os_partition()
246 rc = ppc_md.nvram_read((char *)&info, sizeof(info), &tmp_index); in nvram_read_partition()
253 rc = ppc_md.nvram_read(buff, length, &tmp_index); in nvram_read_partition()
721 if (ppc_md.nvram_size == NULL) in dev_nvram_llseek()
724 ppc_md.nvram_size()); in dev_nvram_llseek()
735 if (!ppc_md.nvram_size) { in dev_nvram_read()
740 size = ppc_md.nvram_size(); in dev_nvram_read()
760 ret = ppc_md.nvram_read(tmp, count, ppos); in dev_nvram_read()
781 if (!ppc_md.nvram_size) in dev_nvram_write()
785 size = ppc_md.nvram_size(); in dev_nvram_write()
798 ret = ppc_md.nvram_write(tmp, count, ppos); in dev_nvram_write()
876 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()
1073 rc = ppc_md.nvram_write(nv_init_vals, NVRAM_BLOCK_LEN, &tmp_index); in nvram_create_partition()
1134 if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) in nvram_scan_partitions()
1136 total_size = ppc_md.nvram_size(); in nvram_scan_partitions()
1146 err = ppc_md.nvram_read(header, NVRAM_HEADER_LEN, &cur_index); in nvram_scan_partitions()
1203 if (ppc_md.nvram_size == NULL || ppc_md.nvram_size() <= 0) in nvram_init()