Lines Matching refs:nic
228 static void dmfe_init_dm910x(struct nic *nic);
229 static void dmfe_descriptor_init(struct nic *, unsigned long ioaddr);
231 static void send_filter_frame(struct nic *nic);
232 static void dm9132_id_table(struct nic *nic);
238 static void dmfe_set_phyxcer(struct nic *nic);
240 static void dmfe_parse_srom(struct nic *nic);
241 static void dmfe_program_DM9801(struct nic *nic, int);
242 static void dmfe_program_DM9802(struct nic *nic);
244 static void dmfe_reset(struct nic *nic) in dmfe_reset() argument
264 dmfe_init_dm910x(nic); in dmfe_reset()
276 static void dmfe_init_dm910x(struct nic *nic) in dmfe_init_dm910x() argument
290 dmfe_parse_srom(nic); in dmfe_init_dm910x()
303 dmfe_set_phyxcer(nic); in dmfe_init_dm910x()
310 dmfe_descriptor_init(nic, ioaddr); in dmfe_init_dm910x()
323 dm9132_id_table(nic); /* DM9132 */ in dmfe_init_dm910x()
325 send_filter_frame(nic); /* DM9102/DM9102A */ in dmfe_init_dm910x()
343 static int dmfe_poll(struct nic *nic, int retrieve) in dmfe_poll() argument
373 nic->packetlen = rxlen; in dmfe_poll()
374 memcpy(nic->packet, rxb + (entry * RX_ALLOC_SIZE), in dmfe_poll()
375 nic->packetlen); in dmfe_poll()
383 static void dmfe_irq(struct nic *nic __unused, irq_action_t action __unused) in dmfe_irq()
398 static void dmfe_transmit(struct nic *nic, in dmfe_transmit() argument
412 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); in dmfe_transmit()
437 static void dmfe_disable ( struct nic *nic __unused ) { in dmfe_disable()
451 static int dmfe_probe ( struct nic *nic, struct pci_device *pci ) { in dmfe_probe() argument
489 nic->node_addr[i] = db->srom[20 + i]; in dmfe_probe()
492 DBG ( "%s: %s at ioaddr %4.4lx\n", pci->driver_name, eth_ntoa ( nic->node_addr ), BASE ); in dmfe_probe()
497 dmfe_reset(nic); in dmfe_probe()
499 nic->irqno = 0; in dmfe_probe()
500 nic->ioaddr = pci->ioaddr; in dmfe_probe()
503 nic->nic_op = &dmfe_operations; in dmfe_probe()
513 static void dmfe_descriptor_init(struct nic *nic __unused, unsigned long ioaddr) in dmfe_descriptor_init()
576 static void dm9132_id_table(struct nic *nic __unused) in dm9132_id_table()
594 addrptr = (u16 *) nic->node_addr; in dm9132_id_table()
627 static void send_filter_frame(struct nic *nic) in send_filter_frame() argument
641 ptxb[0] = nic->node_addr[0]; in send_filter_frame()
642 ptxb[1] = nic->node_addr[1]; in send_filter_frame()
643 ptxb[4] = nic->node_addr[2]; in send_filter_frame()
644 ptxb[5] = nic->node_addr[3]; in send_filter_frame()
645 ptxb[8] = nic->node_addr[4]; in send_filter_frame()
646 ptxb[9] = nic->node_addr[5]; in send_filter_frame()
704 static u8 dmfe_sense_speed(struct nic *nic __unused)
759 static void dmfe_set_phyxcer(struct nic *nic __unused) in dmfe_set_phyxcer()
824 static void dmfe_process_mode(struct nic *nic __unused)
1023 static void dmfe_parse_srom(struct nic *nic) in dmfe_parse_srom() argument
1135 dmfe_program_DM9801(nic, tmp_reg); in dmfe_parse_srom()
1139 dmfe_program_DM9802(nic); in dmfe_parse_srom()
1149 static void dmfe_program_DM9801(struct nic *nic __unused, int HPNA_rev) in dmfe_program_DM9801()
1188 static void dmfe_program_DM9802(struct nic *nic __unused) in dmfe_program_DM9802()