Home
last modified time | relevance | path

Searched refs:n_r (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/net/fc/
Diph5526_novram.c77 t = readl(fi->n_r.ptr_novram_hw_control_reg); \
79 writel(t, fi->n_r.ptr_novram_hw_control_reg); \
90 t = readl(fi->n_r.ptr_novram_hw_control_reg); \
92 writel(t, fi->n_r.ptr_novram_hw_control_reg); \
149 val = (readl(fi->n_r.ptr_novram_hw_status_reg) & NVDO) ? 1 : 0; \
183 fi->n_r.data[i] = iph5526_nr_get(fi, i); in iph5526_nr_do_init()
184 chksum += fi->n_r.data[i]; in iph5526_nr_do_init()
190 if (fi->n_r.data[IPH5526_NOVRAM_SIZE - 4] != FF_MAGIC) in iph5526_nr_do_init()
192 if (fi->n_r.data[IPH5526_NOVRAM_SIZE - 3] != DB_MAGIC) in iph5526_nr_do_init()
194 if (fi->n_r.data[IPH5526_NOVRAM_SIZE - 2] != DL_MAGIC) in iph5526_nr_do_init()
[all …]
Dtach_structs.h390 struct iph5526_novram n_r; member
Diph5526.c2229 fi->n_r.ptr_novram_hw_control_reg = fi->i_r.ptr_ichip_hw_control_reg;
2230 fi->n_r.ptr_novram_hw_status_reg = fi->i_r.ptr_ichip_hw_status_reg;
2235 fi->g.my_node_name_high = (fi->n_r.data[off] << 16) | fi->n_r.data[off+1];
2236 fi->g.my_node_name_low = (fi->n_r.data[off+2] << 16) | fi->n_r.data[off+3];
2237 fi->g.my_port_name_high = (fi->n_r.data[off+4] << 16) | fi->n_r.data[off+5];
2238 fi->g.my_port_name_low = (fi->n_r.data[off+6] << 16) | fi->n_r.data[off+7];