/drivers/s390/char/ |
H A D | tty3270.c | 123 static void tty3270_set_timer(struct tty3270 *tp, int expires) argument 126 del_timer(&tp->timer); 128 mod_timer(&tp->timer, jiffies + expires); 135 tty3270_update_prompt(struct tty3270 *tp, char *input, int count) argument 140 line = tp->prompt; 144 line->string[5] = tp->inattr; 145 if (count > tp->view.cols * 2 - 11) 146 count = tp->view.cols * 2 - 11; 150 if (count < tp->view.cols * 2 - 11) { 153 off = tp 162 tty3270_create_prompt(struct tty3270 *tp) argument 193 tty3270_update_status(struct tty3270 * tp) argument 204 tty3270_create_status(struct tty3270 * tp) argument 227 tty3270_update_string(struct tty3270 *tp, struct string *line, int nr) argument 243 tty3270_rebuild_update(struct tty3270 *tp) argument 274 tty3270_alloc_string(struct tty3270 *tp, size_t size) argument 305 tty3270_blank_line(struct tty3270 *tp) argument 327 struct tty3270 *tp; local 343 tty3270_update(struct tty3270 *tp) argument 431 tty3270_rcl_add(struct tty3270 *tp, char *input, int len) argument 453 struct tty3270 *tp; local 481 struct tty3270 *tp; local 493 struct tty3270 *tp; local 516 struct tty3270 *tp; local 540 struct tty3270 *tp; local 608 tty3270_issue_read(struct tty3270 *tp, int lock) argument 638 struct tty3270 *tp; local 649 struct tty3270 *tp; local 656 tty3270_irq(struct tty3270 *tp, struct raw3270_request *rq, struct irb *irb) argument 682 struct tty3270 *tp; local 735 tty3270_free_view(struct tty3270 *tp) argument 754 tty3270_alloc_screen(struct tty3270 *tp) argument 782 tty3270_free_screen(struct tty3270 *tp) argument 797 struct tty3270 *tp; local 826 struct tty3270 *tp; local 851 struct tty3270 *tp; local 938 struct tty3270 *tp; local 963 tty3270_put_character(struct tty3270 *tp, char ch) argument 989 tty3270_convert_line(struct tty3270 *tp, int line_nr) argument 1096 tty3270_cr(struct tty3270 *tp) argument 1105 tty3270_lf(struct tty3270 *tp) argument 1126 tty3270_ri(struct tty3270 *tp) argument 1138 tty3270_insert_characters(struct tty3270 *tp, int n) argument 1169 tty3270_delete_characters(struct tty3270 *tp, int n) argument 1190 tty3270_erase_characters(struct tty3270 *tp, int n) argument 1213 tty3270_erase_line(struct tty3270 *tp, int mode) argument 1243 tty3270_erase_display(struct tty3270 *tp, int mode) argument 1273 tty3270_set_attributes(struct tty3270 *tp) argument 1327 tty3270_getpar(struct tty3270 *tp, int ix) argument 1333 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy) argument 1367 tty3270_escape_sequence(struct tty3270 *tp, char ch) argument 1516 tty3270_do_write(struct tty3270 *tp, const unsigned char *buf, int count) argument 1592 struct tty3270 *tp; local 1610 struct tty3270 *tp; local 1626 struct tty3270 *tp; local 1659 struct tty3270 *tp; local 1683 struct tty3270 *tp; local 1697 struct tty3270 *tp; local 1724 struct tty3270 *tp; local 1738 struct tty3270 *tp; local [all...] |
/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 119 static void get_current_temps(struct bbc_cpu_temperature *tp) argument 121 tp->prev_amb_temp = tp->curr_amb_temp; 122 bbc_i2c_readb(tp->client, 123 (unsigned char *) &tp->curr_amb_temp, 125 tp->prev_cpu_temp = tp->curr_cpu_temp; 126 bbc_i2c_readb(tp->client, 127 (unsigned char *) &tp->curr_cpu_temp, 131 tp 137 do_envctrl_shutdown(struct bbc_cpu_temperature *tp) argument 169 analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) argument 224 analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) argument 279 analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) argument 292 struct bbc_cpu_temperature *tp; local 425 struct bbc_cpu_temperature *tp; local 449 struct bbc_cpu_temperature *tp; local 526 destroy_one_temp(struct bbc_cpu_temperature *tp) argument 534 struct bbc_cpu_temperature *tp, *tpos; local [all...] |
/drivers/net/ethernet/dec/tulip/ |
H A D | pnic2.c | 82 struct tulip_private *tp = netdev_priv(dev); local 83 void __iomem *ioaddr = tp->base_addr; 91 mod_timer(&tp->timer, RUN_AT(next_tick)); 98 struct tulip_private *tp = netdev_priv(dev); local 99 void __iomem *ioaddr = tp->base_addr; 111 if (tp->sym_advertise & 0x0100) csr14 |= 0x00020000; 114 if (tp->sym_advertise & 0x0080) csr14 |= 0x00010000; 117 if (tp->sym_advertise & 0x0020) csr14 |= 0x00000040; 130 tp->nway = tp 172 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | interrupt.c | 61 struct tulip_private *tp = netdev_priv(dev); local 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { 67 entry = tp->dirty_rx % RX_RING_SIZE; 68 if (tp->rx_buffers[entry].skb == NULL) { 72 skb = tp->rx_buffers[entry].skb = 77 mapping = pci_map_single(tp->pdev, skb->data, PKT_BUF_SZ, 79 tp->rx_buffers[entry].mapping = mapping; 81 tp 102 struct tulip_private *tp = netdev_priv(dev); local 108 struct tulip_private *tp = container_of(napi, struct tulip_private, napi); local 361 struct tulip_private *tp = netdev_priv(dev); local 486 struct tulip_private *tp = netdev_priv(dev); local 512 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | 21142.c | 30 struct tulip_private *tp = local 32 struct net_device *dev = tp->dev; 33 void __iomem *ioaddr = tp->base_addr; 53 } else if (tp->nwayset) { 59 } else if (tp->medialock) { 95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { 96 tp->csr6 &= 0x00D5; 97 tp->csr6 |= new_csr6; 99 tulip_restart_rxtx(tp); 107 mod_timer(&tp 113 struct tulip_private *tp = netdev_priv(dev); local 141 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | timer.c | 19 struct tulip_private *tp = local 21 struct net_device *dev = tp->dev; 22 void __iomem *ioaddr = tp->base_addr; 34 switch (tp->chip_id) { 43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ 53 mleaf = &tp->mtable->mleaf[tp->cur_index]; 87 if (tp->medialock) 90 if (--tp->cur_index < 0) { 92 tp 143 struct tulip_private *tp = netdev_priv(dev); local 160 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | tulip_core.c | 130 struct tulip_private *tp = netdev_priv(dev); local 133 schedule_work(&tp->media_work); 276 static void tulip_set_power_state (struct tulip_private *tp, argument 279 if (tp->flags & HAS_ACPI) { 281 pci_read_config_dword (tp->pdev, CFDD, &tmp); 288 pci_write_config_dword (tp->pdev, CFDD, newtmp); 296 struct tulip_private *tp = netdev_priv(dev); local 297 void __iomem *ioaddr = tp->base_addr; 303 napi_enable(&tp->napi); 307 tulip_set_power_state (tp, 540 struct tulip_private *tp = netdev_priv(dev); local 617 struct tulip_private *tp = netdev_priv(dev); local 667 struct tulip_private *tp = netdev_priv(dev); local 713 tulip_clean_tx_ring(struct tulip_private *tp) argument 751 struct tulip_private *tp = netdev_priv(dev); local 796 struct tulip_private *tp = netdev_priv(dev); local 833 struct tulip_private *tp = netdev_priv(dev); local 853 struct tulip_private *tp = netdev_priv(dev); local 882 struct tulip_private *tp = netdev_priv(dev); local 895 struct tulip_private *tp = netdev_priv(dev); local 912 struct tulip_private *tp = netdev_priv(dev); local 1016 struct tulip_private *tp = netdev_priv(dev); local 1045 struct tulip_private *tp = netdev_priv(dev); local 1071 struct tulip_private *tp = netdev_priv(dev); local 1198 struct tulip_private *tp = netdev_priv(dev); local 1308 struct tulip_private *tp; local 1818 struct tulip_private *tp = netdev_priv(dev); local 1850 struct tulip_private *tp = netdev_priv(dev); local 1884 struct tulip_private *tp = netdev_priv(dev); local 1934 struct tulip_private *tp; local [all...] |
H A D | pnic.c | 21 struct tulip_private *tp = netdev_priv(dev); local 22 void __iomem *ioaddr = tp->base_addr; 24 u32 new_csr6 = tp->csr6 & ~0x40C40200; 31 tp->nwayset = 1; 37 tp->full_duplex = 1; 43 if (tp->csr6 != new_csr6) { 44 tp->csr6 = new_csr6; 46 tulip_restart_rxtx(tp); 54 struct tulip_private *tp = netdev_priv(dev); local 55 void __iomem *ioaddr = tp 90 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | media.c | 50 struct tulip_private *tp = netdev_priv(dev); local 54 void __iomem *ioaddr = tp->base_addr; 61 if (tp->chip_id == COMET && phy_id == 30) { 67 spin_lock_irqsave(&tp->mii_lock, flags); 68 if (tp->chip_id == LC82C168) { 77 spin_unlock_irqrestore(&tp->mii_lock, flags); 106 spin_unlock_irqrestore(&tp->mii_lock, flags); 112 struct tulip_private *tp = netdev_priv(dev); local 115 void __iomem *ioaddr = tp->base_addr; 122 if (tp 170 struct tulip_private *tp = netdev_priv(dev); local 405 struct tulip_private *tp = netdev_priv(dev); local 452 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | eeprom.c | 94 * @tp: Ptr to the tulip private data. 105 static void __devinit tulip_build_fake_mediatable(struct tulip_private *tp) argument 108 if (tp->flags & NEEDS_FAKE_MEDIA_TABLE) { 121 tp->mtable = kmalloc(sizeof(struct mediatable) + 124 if (tp->mtable == NULL) 127 tp->mtable->defaultmedia = 0x800; 128 tp->mtable->leafcount = 1; 129 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ 130 tp->mtable->has_nonmii = 0; 131 tp 155 struct tulip_private *tp = netdev_priv(dev); local 346 struct tulip_private *tp = netdev_priv(dev); local [all...] |
/drivers/net/tokenring/ |
H A D | tms380tr.c | 124 static void tms380tr_cancel_tx_queue(struct net_local* tp); 129 static unsigned char tms380tr_chk_ssb(struct net_local *tp, unsigned short IrqType); 149 static void tms380tr_init_ipb(struct net_local *tp); 175 static void tms380tr_update_rcv_stats(struct net_local *tp, 248 struct net_local *tp = netdev_priv(dev); local 252 spin_lock_init(&tp->lock); 253 init_timer(&tp->timer); 276 tp->timer.expires = jiffies + 30*HZ; 277 tp->timer.function = tms380tr_timer_end_wait; 278 tp 320 struct net_local *tp = netdev_priv(dev); local 334 struct net_local *tp = netdev_priv(dev); local 369 struct net_local *tp = netdev_priv(dev); local 465 tms380tr_init_ipb(struct net_local *tp) argument 486 struct net_local *tp; local 530 struct net_local *tp = netdev_priv(dev); local 562 struct net_local *tp = netdev_priv(dev); local 588 struct net_local *tp = netdev_priv(dev); local 609 struct net_local *tp = netdev_priv(dev); local 706 struct net_local *tp = netdev_priv(dev); local 735 struct net_local *tp; local 827 struct net_local *tp = netdev_priv(dev); local 850 tms380tr_chk_ssb(struct net_local *tp, unsigned short IrqType) argument 911 struct net_local *tp = netdev_priv(dev); local 1106 struct net_local *tp = netdev_priv(dev); local 1154 struct net_local *tp = netdev_priv(dev); local 1164 struct net_local *tp = netdev_priv(dev); local 1250 struct net_local *tp = netdev_priv(dev); local 1401 struct net_local *tp = netdev_priv(dev); local 1514 struct net_local *tp = netdev_priv(dev); local 1639 struct net_local *tp = netdev_priv(dev); local 1709 struct net_local *tp = netdev_priv(dev); local 1863 struct net_local *tp = netdev_priv(dev); local 1914 tms380tr_cancel_tx_queue(struct net_local* tp) argument 1949 struct net_local *tp = netdev_priv(dev); local 2019 struct net_local *tp = netdev_priv(dev); local 2190 tms380tr_update_rcv_stats(struct net_local *tp, unsigned char DataPtr[], unsigned int Length) argument 2203 struct net_local *tp = netdev_priv(dev); local 2233 struct net_local *tp; local [all...] |
H A D | smctr.c | 131 struct net_local *tp); 328 struct net_local *tp = netdev_priv(dev); local 336 tp->iscpb_ptr = (ISCPBlock *)(tp->ram_access + ((__u32)64 * 0x400) 340 tp->scgb_ptr = (SCGBlock *)smctr_malloc(dev, sizeof(SCGBlock)); 341 PARAGRAPH_BOUNDRY(tp->sh_mem_used); 343 tp->sclb_ptr = (SCLBlock *)smctr_malloc(dev, sizeof(SCLBlock)); 344 PARAGRAPH_BOUNDRY(tp->sh_mem_used); 346 tp->acb_head = (ACBlock *)smctr_malloc(dev, 347 sizeof(ACBlock)*tp 455 struct net_local *tp = netdev_priv(dev); local 481 struct net_local *tp = netdev_priv(dev); local 632 struct net_local *tp = netdev_priv(dev); local 695 struct net_local *tp = netdev_priv(dev); local 717 struct net_local *tp = netdev_priv(dev); local 754 struct net_local *tp = netdev_priv(dev); local 825 struct net_local *tp = netdev_priv(dev); local 839 struct net_local *tp = netdev_priv(dev); local 851 struct net_local *tp = netdev_priv(dev); local 871 struct net_local *tp = netdev_priv(dev); local 902 struct net_local *tp = netdev_priv(dev); local 928 struct net_local *tp = netdev_priv(dev); local 1157 struct net_local *tp = netdev_priv(dev); local 1275 struct net_local *tp = netdev_priv(dev); local 1360 struct net_local *tp = netdev_priv(dev); local 1384 struct net_local *tp = netdev_priv(dev); local 1392 struct net_local *tp = netdev_priv(dev); local 1460 smctr_hardware_send_packet(struct net_device *dev, struct net_local *tp) argument 1516 struct net_local *tp = netdev_priv(dev); local 1560 struct net_local *tp = netdev_priv(dev); local 1644 struct net_local *tp = netdev_priv(dev); local 1720 struct net_local *tp = netdev_priv(dev); local 1772 struct net_local *tp = netdev_priv(dev); local 1822 struct net_local *tp = netdev_priv(dev); local 1880 struct net_local *tp = netdev_priv(dev); local 1910 struct net_local *tp = netdev_priv(dev); local 1949 struct net_local *tp = netdev_priv(dev); local 1988 struct net_local *tp; local 2468 struct net_local *tp = netdev_priv(dev); local 2484 struct net_local *tp = netdev_priv(dev); local 2500 struct net_local *tp = netdev_priv(dev); local 2657 struct net_local *tp = netdev_priv(dev); local 2745 struct net_local *tp = netdev_priv(dev); local 2761 struct net_local *tp = netdev_priv(dev); local 2779 struct net_local *tp = netdev_priv(dev); local 2799 struct net_local *tp = netdev_priv(dev); local 2821 struct net_local *tp = netdev_priv(dev); local 2890 struct net_local *tp = netdev_priv(dev); local 2914 struct net_local *tp = netdev_priv(dev); local 2944 struct net_local *tp = netdev_priv(dev); local 2968 struct net_local *tp = netdev_priv(dev); local 3078 struct net_local *tp = netdev_priv(dev); local 3137 struct net_local *tp = netdev_priv(dev); local 3221 struct net_local *tp = netdev_priv(dev); local 3246 struct net_local *tp = netdev_priv(dev); local 3271 struct net_local *tp = netdev_priv(dev); local 3289 struct net_local *tp = netdev_priv(dev); local 3315 struct net_local *tp = netdev_priv(dev); local 3346 struct net_local *tp = netdev_priv(dev); local 3384 struct net_local *tp = netdev_priv(dev); local 3424 struct net_local *tp = netdev_priv(dev); local 3476 struct net_local *tp = netdev_priv(dev); local 3607 { struct net_local *tp = netdev_priv(dev); local 3631 struct net_local *tp = netdev_priv(dev); local 3688 struct net_local *tp = netdev_priv(dev); local 3909 struct net_local *tp = netdev_priv(dev); local 4301 struct net_local *tp = netdev_priv(dev); local 4320 struct net_local *tp = netdev_priv(dev); local 4338 struct net_local *tp = netdev_priv(dev); local 4430 struct net_local *tp = netdev_priv(dev); local 4495 struct net_local *tp = netdev_priv(dev); local 4576 struct net_local *tp = netdev_priv(dev); local 4601 struct net_local *tp = netdev_priv(dev); local 4897 struct net_local *tp = netdev_priv(dev); local 4981 struct net_local *tp = netdev_priv(dev); local 5045 struct net_local *tp = netdev_priv(dev); local 5058 struct net_local *tp = netdev_priv(dev); local 5119 struct net_local *tp = netdev_priv(dev); local 5133 struct net_local *tp = netdev_priv(dev); local 5155 struct net_local *tp = netdev_priv(dev); local 5185 struct net_local *tp = netdev_priv(dev); local 5213 struct net_local *tp = netdev_priv(dev); local 5256 struct net_local *tp = netdev_priv(dev); local 5283 struct net_local *tp = netdev_priv(dev); local 5296 struct net_local *tp = netdev_priv(dev); local 5307 struct net_local *tp = netdev_priv(dev); local 5343 struct net_local *tp = netdev_priv(dev); local 5364 struct net_local *tp = netdev_priv(dev); local 5419 struct net_local *tp = netdev_priv(dev); local 5460 struct net_local *tp = netdev_priv(dev); local 5502 struct net_local *tp = netdev_priv(dev); local 5540 struct net_local *tp = netdev_priv(dev); local 5576 struct net_local *tp = netdev_priv(dev); local 5601 struct net_local *tp = netdev_priv(dev); local 5665 { struct net_local *tp = netdev_priv(dev); local 5704 { struct net_local *tp = netdev_priv(dev); local [all...] |
H A D | tmspci.c | 97 struct net_local *tp; local 140 tp = netdev_priv(dev); 141 tp->setnselout = tms_pci_setnselout_pins; 143 tp->sifreadb = tms_pci_sifreadb; 144 tp->sifreadw = tms_pci_sifreadw; 145 tp->sifwriteb = tms_pci_sifwriteb; 146 tp->sifwritew = tms_pci_sifwritew; 148 memcpy(tp->ProductID, cardinfo->name, PROD_ID_SIZE + 1); 150 tp->tmspriv = cardinfo; 206 struct net_local *tp local [all...] |
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | tp.c | 1 /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */ 4 #include "tp.h" 53 void t1_tp_destroy(struct petp *tp) argument 55 kfree(tp); 60 struct petp *tp = kzalloc(sizeof(*tp), GFP_KERNEL); local 62 if (!tp) 65 tp->adapter = adapter; 67 return tp; 70 void t1_tp_intr_enable(struct petp *tp) argument 91 t1_tp_intr_disable(struct petp *tp) argument 110 t1_tp_intr_clear(struct petp *tp) argument 124 t1_tp_intr_handler(struct petp *tp) argument 139 set_csum_offload(struct petp *tp, u32 csum_bit, int enable) argument 150 t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) argument 155 t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) argument 164 t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk) argument [all...] |
H A D | tp.h | 1 /* $Date: 2005/03/07 23:59:05 $ $RCSfile: tp.h,v $ $Revision: 1.20 $ */ 60 void t1_tp_destroy(struct petp *tp); 62 void t1_tp_intr_disable(struct petp *tp); 63 void t1_tp_intr_enable(struct petp *tp); 64 void t1_tp_intr_clear(struct petp *tp); 65 int t1_tp_intr_handler(struct petp *tp); 68 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable); 69 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable); 70 int t1_tp_set_coalescing_size(struct petp *tp, unsigned int size); 71 int t1_tp_reset(struct petp *tp, struc [all...] |
H A D | Makefile | 8 cxgb-objs := cxgb2.o espi.o tp.o pm3393.o sge.o subr.o \
|
/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 82 #define tg3_flag(tp, flag) \ 83 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 84 #define tg3_flag_set(tp, flag) \ 85 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 86 #define tg3_flag_clear(tp, flag) \ 87 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 122 #define TG3_MAX_MTU(tp) \ 123 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 129 #define TG3_RX_STD_RING_SIZE(tp) \ 130 (tg3_flag(tp, LRG_PROD_RING_CA 416 tg3_write32(struct tg3 *tp, u32 off, u32 val) argument 421 tg3_read32(struct tg3 *tp, u32 off) argument 426 tg3_ape_write32(struct tg3 *tp, u32 off, u32 val) argument 431 tg3_ape_read32(struct tg3 *tp, u32 off) argument 436 tg3_write_indirect_reg32(struct tg3 *tp, u32 off, u32 val) argument 446 tg3_write_flush_reg32(struct tg3 *tp, u32 off, u32 val) argument 452 tg3_read_indirect_reg32(struct tg3 *tp, u32 off) argument 464 tg3_write_indirect_mbox(struct tg3 *tp, u32 off, u32 val) argument 494 tg3_read_indirect_mbox(struct tg3 *tp, u32 off) argument 511 _tw32_flush(struct tg3 *tp, u32 off, u32 val, u32 usec_wait) argument 530 tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) argument 537 tg3_write32_tx_mbox(struct tg3 *tp, u32 off, u32 val) argument 547 tg3_read32_mbox_5906(struct tg3 *tp, u32 off) argument 552 tg3_write32_mbox_5906(struct tg3 *tp, u32 off, u32 val) argument 568 tg3_write_mem(struct tg3 *tp, u32 off, u32 val) argument 593 tg3_read_mem(struct tg3 *tp, u32 off, u32 *val) argument 620 tg3_ape_lock_init(struct tg3 *tp) argument 650 tg3_ape_lock(struct tg3 *tp, int locknum) argument 703 tg3_ape_unlock(struct tg3 *tp, int locknum) argument 733 tg3_ape_send_event(struct tg3 *tp, u32 event) argument 773 tg3_ape_driver_state_change(struct tg3 *tp, int kind) argument 830 tg3_disable_ints(struct tg3 *tp) argument 840 tg3_enable_ints(struct tg3 *tp) argument 873 struct tg3 *tp = tnapi->tp; local 902 struct tg3 *tp = tnapi->tp; local 916 tg3_switch_clocks(struct tg3 *tp) argument 951 tg3_readphy(struct tg3 *tp, int reg, u32 *val) argument 1000 tg3_writephy(struct tg3 *tp, int reg, u32 val) argument 1049 tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) argument 1072 tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) argument 1095 tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) argument 1106 tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) argument 1117 tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) argument 1130 tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) argument 1147 tg3_bmcr_reset(struct tg3 *tp) argument 1180 struct tg3 *tp = bp->priv; local 1195 struct tg3 *tp = bp->priv; local 1213 tg3_mdio_config_5785(struct tg3 *tp) argument 1294 tg3_mdio_start(struct tg3 *tp) argument 1305 tg3_mdio_init(struct tg3 *tp) argument 1410 tg3_mdio_fini(struct tg3 *tp) argument 1420 tg3_generate_fw_event(struct tg3 *tp) argument 1434 tg3_wait_for_event_ack(struct tg3 *tp) argument 1461 tg3_phy_gather_ump_data(struct tg3 *tp, u32 *data) argument 1496 tg3_ump_link_report(struct tg3 *tp) argument 1518 tg3_stop_fw(struct tg3 *tp) argument 1534 tg3_write_sig_pre_reset(struct tg3 *tp, int kind) argument 1567 tg3_write_sig_post_reset(struct tg3 *tp, int kind) argument 1591 tg3_write_sig_legacy(struct tg3 *tp, int kind) argument 1616 tg3_poll_fw(struct tg3 *tp) argument 1660 tg3_link_report(struct tg3 *tp) argument 1720 tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) argument 1763 struct tg3 *tp = netdev_priv(dev); local 1843 tg3_phy_init(struct tg3 *tp) argument 1891 tg3_phy_start(struct tg3 *tp) argument 1913 tg3_phy_stop(struct tg3 *tp) argument 1921 tg3_phy_fini(struct tg3 *tp) argument 1929 tg3_phy_set_extloopbk(struct tg3 *tp) argument 1959 tg3_phy_fet_toggle_apd(struct tg3 *tp, bool enable) argument 1979 tg3_phy_toggle_apd(struct tg3 *tp, bool enable) argument 2014 tg3_phy_toggle_automdix(struct tg3 *tp, int enable) argument 2055 tg3_phy_set_wirespeed(struct tg3 *tp) argument 2069 tg3_phy_apply_otp(struct tg3 *tp) argument 2106 tg3_phy_eee_adjust(struct tg3 *tp, u32 current_link_up) argument 2149 tg3_phy_eee_enable(struct tg3 *tp) argument 2168 tg3_wait_macro_done(struct tg3 *tp) argument 2186 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) argument 2252 tg3_phy_reset_chanpat(struct tg3 *tp) argument 2272 tg3_phy_reset_5703_4_5(struct tg3 *tp) argument 2342 tg3_phy_reset(struct tg3 *tp) argument 2496 tg3_set_function_status(struct tg3 *tp, u32 newstat) argument 2519 tg3_pwrsrc_switch_to_vmain(struct tg3 *tp) argument 2544 tg3_pwrsrc_die_with_vmain(struct tg3 *tp) argument 2568 tg3_pwrsrc_switch_to_vaux(struct tg3 *tp) argument 2645 tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) argument 2670 tg3_frob_aux_power(struct tg3 *tp, bool include_wol) argument 2714 tg3_5700_link_polarity(struct tg3 *tp, u32 speed) argument 2727 tg3_power_down_phy(struct tg3 *tp, bool do_low_power) argument 2803 tg3_nvram_lock(struct tg3 *tp) argument 2826 tg3_nvram_unlock(struct tg3 *tp) argument 2837 tg3_enable_nvram_access(struct tg3 *tp) argument 2847 tg3_disable_nvram_access(struct tg3 *tp) argument 2856 tg3_nvram_read_using_eeprom(struct tg3 *tp, u32 offset, u32 *val) argument 2898 tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) argument 2917 tg3_nvram_phys_addr(struct tg3 *tp, u32 addr) argument 2932 tg3_nvram_logical_addr(struct tg3 *tp, u32 addr) argument 2953 tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) argument 2986 tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) argument 2995 tg3_nvram_write_block_using_eeprom(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3045 tg3_nvram_write_block_unbuffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3144 tg3_nvram_write_block_buffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3199 tg3_nvram_write_block(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3254 tg3_halt_cpu(struct tg3 *tp, u32 offset) argument 3305 tg3_load_firmware_cpu(struct tg3 *tp, u32 cpu_base, u32 cpu_scratch_base, int cpu_scratch_size, struct fw_info *info) argument 3351 tg3_load_5701_a0_firmware_fix(struct tg3 *tp) argument 3406 tg3_load_tso_firmware(struct tg3 *tp) argument 3471 __tg3_set_mac_addr(struct tg3 *tp, int skip_mac_1) argument 3507 tg3_enable_register_access(struct tg3 *tp) argument 3517 tg3_power_up(struct tg3 *tp) argument 3536 tg3_power_down_prepare(struct tg3 *tp) argument 3774 tg3_power_down(struct tg3 *tp) argument 3782 tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u16 *speed, u8 *duplex) argument 3829 tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) argument 3902 tg3_phy_copper_begin(struct tg3 *tp) argument 3975 tg3_init_5401phy_dsp(struct tg3 *tp) argument 3994 tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) argument 4038 tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) argument 4060 tg3_setup_copper_phy(struct tg3 *tp, int force_reset) argument 4416 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) argument 4668 fiber_autoneg(struct tg3 *tp, u32 *txflags, u32 *rxflags) argument 4713 tg3_init_bcm8002(struct tg3 *tp) argument 4763 tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) argument 4908 tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) argument 4973 tg3_setup_fiber_phy(struct tg3 *tp, int force_reset) argument 5082 tg3_setup_fiber_mii_phy(struct tg3 *tp, int force_reset) argument 5254 tg3_serdes_parallel_detect(struct tg3 *tp) argument 5314 tg3_setup_phy(struct tg3 *tp, int force_reset) argument 5379 tg3_irq_sync(struct tg3 *tp) argument 5384 tg3_rd32_loop(struct tg3 *tp, u32 *dst, u32 off, u32 len) argument 5393 tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs) argument 5443 tg3_dump_state(struct tg3 *tp) argument 5507 tg3_tx_recover(struct tg3 *tp) argument 5537 struct tg3 *tp = tnapi->tp; local 5625 tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) argument 5647 tg3_alloc_rx_data(struct tg3 *tp, struct tg3_rx_prodring_set *tpr, u32 opaque_key, u32 dest_idx_unmasked) argument 5714 struct tg3 *tp = tnapi->tp; local 5781 struct tg3 *tp = tnapi->tp; local 5971 tg3_poll_link(struct tg3 *tp) argument 5995 tg3_rx_prodring_xfer(struct tg3 *tp, struct tg3_rx_prodring_set *dpr, struct tg3_rx_prodring_set *spr) argument 6123 struct tg3 *tp = tnapi->tp; local 6172 tg3_reset_task_schedule(struct tg3 *tp) argument 6178 tg3_reset_task_cancel(struct tg3 *tp) argument 6188 struct tg3 *tp = tnapi->tp; local 6245 tg3_process_error(struct tg3 *tp) argument 6282 struct tg3 *tp = tnapi->tp; local 6327 tg3_napi_disable(struct tg3 *tp) argument 6335 tg3_napi_enable(struct tg3 *tp) argument 6343 tg3_napi_init(struct tg3 *tp) argument 6352 tg3_napi_fini(struct tg3 *tp) argument 6360 tg3_netif_stop(struct tg3 *tp) argument 6367 tg3_netif_start(struct tg3 *tp) argument 6380 tg3_irq_quiesce(struct tg3 *tp) argument 6398 tg3_full_lock(struct tg3 *tp, int irq_sync) argument 6405 tg3_full_unlock(struct tg3 *tp) argument 6416 struct tg3 *tp = tnapi->tp; local 6435 struct tg3 *tp = tnapi->tp; local 6457 struct tg3 *tp = tnapi->tp; local 6506 struct tg3 *tp = tnapi->tp; local 6559 struct tg3 *tp = tnapi->tp; local 6574 struct tg3 *tp = netdev_priv(dev); local 6583 struct tg3 *tp = netdev_priv(dev); local 6602 tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, int len) argument 6628 struct tg3 *tp = tnapi->tp; local 6728 struct tg3 *tp = tnapi->tp; local 6782 tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb) argument 6825 struct tg3 *tp = netdev_priv(dev); local 7037 tg3_mac_loopback(struct tg3 *tp, bool enable) argument 7065 tg3_phy_lpbk_set(struct tg3 *tp, u32 speed, bool extlpbk) argument 7160 struct tg3 *tp = netdev_priv(dev); local 7187 struct tg3 *tp = netdev_priv(dev); local 7205 tg3_rx_prodring_free(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7246 tg3_rx_prodring_alloc(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7342 tg3_rx_prodring_fini(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7361 tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7404 tg3_free_rings(struct tg3 *tp) argument 7438 tg3_init_rings(struct tg3 *tp) argument 7476 tg3_free_consistent(struct tg3 *tp) argument 7521 tg3_alloc_consistent(struct tg3 *tp) argument 7626 tg3_stop_block(struct tg3 *tp, unsigned long ofs, u32 enable_bit, int silent) argument 7670 tg3_abort_hw(struct tg3 *tp, int silent) argument 7734 tg3_save_pci_state(struct tg3 *tp) argument 7740 tg3_restore_pci_state(struct tg3 *tp) argument 7801 tg3_chip_reset(struct tg3 *tp) argument 8048 tg3_halt(struct tg3 *tp, int kind, int silent) argument 8081 struct tg3 *tp = netdev_priv(dev); local 8114 tg3_set_bdinfo(struct tg3 *tp, u32 bdinfo_addr, dma_addr_t mapping, u32 maxlen_flags, u32 nic_addr) argument 8134 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) argument 8204 tg3_rings_reset(struct tg3 *tp) argument 8331 tg3_setup_rxbd_thresholds(struct tg3 *tp) argument 8394 tg3_set_multi(struct tg3 *tp, unsigned int accept_all) argument 8405 struct tg3 *tp = netdev_priv(dev); local 8457 tg3_rss_init_dflt_indir_tbl(struct tg3 *tp) argument 8466 tg3_rss_check_indir_tbl(struct tg3 *tp) argument 8488 tg3_rss_write_indir_tbl(struct tg3 *tp) argument 8506 tg3_reset_hw(struct tg3 *tp, int reset_phy) argument 9361 tg3_init_hw(struct tg3 *tp, int reset_phy) argument 9377 tg3_periodic_fetch_stats(struct tg3 *tp) argument 9432 tg3_chk_missed_msi(struct tg3 *tp) argument 9457 struct tg3 *tp = (struct tg3 *) __opaque; local 9582 tg3_timer_init(struct tg3 *tp) argument 9602 tg3_timer_start(struct tg3 *tp) argument 9611 tg3_timer_stop(struct tg3 *tp) argument 9630 tg3_full_unlock(tp); variable 9631 tg3_timer_stop(tp); variable 9633 tg3_napi_enable(tp); variable 9642 struct tg3 *tp = container_of(work, struct tg3, reset_task); local 9684 tg3_request_irq(struct tg3 *tp, int irq_num) argument 9714 tg3_test_interrupt(struct tg3 *tp) argument 9791 tg3_test_msi(struct tg3 *tp) argument 9849 tg3_request_firmware(struct tg3 *tp) argument 9880 tg3_enable_msix(struct tg3 *tp) argument 9934 tg3_ints_init(struct tg3 *tp) argument 9968 tg3_ints_fini(struct tg3 *tp) argument 9982 struct tg3 *tp = netdev_priv(dev); local 10118 struct tg3 *tp = netdev_priv(dev); local 10166 tg3_calc_crc_errors(struct tg3 *tp) argument 10194 tg3_get_estats(struct tg3 *tp, struct tg3_ethtool_stats *estats) argument 10278 tg3_get_nstats(struct tg3 *tp, struct rtnl_link_stats64 *stats) argument 10342 struct tg3 *tp = netdev_priv(dev); local 10360 struct tg3 *tp = netdev_priv(dev); local 10367 struct tg3 *tp = netdev_priv(dev); local 10430 struct tg3 *tp = netdev_priv(dev); local 10489 struct tg3 *tp = netdev_priv(dev); local 10555 struct tg3 *tp = netdev_priv(dev); local 10642 struct tg3 *tp = netdev_priv(dev); local 10652 struct tg3 *tp = netdev_priv(dev); local 10666 struct tg3 *tp = netdev_priv(dev); local 10689 struct tg3 *tp = netdev_priv(dev); local 10695 struct tg3 *tp = netdev_priv(dev); local 10701 struct tg3 *tp = netdev_priv(dev); local 10735 struct tg3 *tp = netdev_priv(dev); local 10756 struct tg3 *tp = netdev_priv(dev); local 10802 struct tg3 *tp = netdev_priv(dev); local 10819 struct tg3 *tp = netdev_priv(dev); local 10934 struct tg3 *tp = netdev_priv(dev); local 10963 struct tg3 *tp = netdev_priv(dev); local 10973 struct tg3 *tp = netdev_priv(dev); local 10984 struct tg3 *tp = netdev_priv(dev); local 11021 struct tg3 *tp = netdev_priv(dev); local 11056 struct tg3 *tp = netdev_priv(dev); local 11064 tg3_vpd_readblock(struct tg3 *tp, u32 *vpdlen) argument 11150 tg3_test_nvram(struct tg3 *tp) argument 11332 tg3_test_link(struct tg3 *tp) argument 11356 tg3_test_registers(struct tg3 *tp) argument 11576 tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) argument 11595 tg3_test_memory(struct tg3 *tp) argument 11687 tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback) argument 11903 tg3_test_loopback(struct tg3 *tp, u64 *data, bool do_extlpbk) argument 12017 struct tg3 *tp = netdev_priv(dev); local 12105 struct tg3 *tp = netdev_priv(dev); local 12161 struct tg3 *tp = netdev_priv(dev); local 12169 struct tg3 *tp = netdev_priv(dev); local 12256 struct tg3 *tp = netdev_priv(dev); local 12270 struct tg3 *tp = netdev_priv(dev); local 12280 tg3_set_mtu(struct net_device *dev, struct tg3 *tp, int new_mtu) argument 12303 struct tg3 *tp = netdev_priv(dev); local 12364 tg3_get_eeprom_size(struct tg3 *tp) argument 12398 tg3_get_nvram_size(struct tg3 *tp) argument 12431 tg3_get_nvram_info(struct tg3 *tp) argument 12482 tg3_nvram_get_pagesize(struct tg3 *tp, u32 nvmcfg1) argument 12509 tg3_get_5752_nvram_info(struct tg3 *tp) argument 12550 tg3_get_5755_nvram_info(struct tg3 *tp) argument 12606 tg3_get_5787_nvram_info(struct tg3 *tp) argument 12644 tg3_get_5761_nvram_info(struct tg3 *tp) argument 12719 tg3_get_5906_nvram_info(struct tg3 *tp) argument 12726 tg3_get_57780_nvram_info(struct tg3 *tp) argument 12799 tg3_get_5717_nvram_info(struct tg3 *tp) argument 12877 tg3_get_5720_nvram_info(struct tg3 *tp) argument 12990 tg3_nvram_init(struct tg3 *tp) argument 13124 tg3_lookup_by_subsys(struct tg3 *tp) argument 13138 tg3_get_eeprom_hw_cfg(struct tg3 *tp) argument 13338 tg3_issue_otp_command(struct tg3 *tp, u32 cmd) argument 13361 tg3_read_otp_phycfg(struct tg3 *tp) argument 13387 tg3_phy_init_link_config(struct tg3 *tp) argument 13414 tg3_phy_probe(struct tg3 *tp) argument 13525 tg3_read_vpd(struct tg3 *tp) argument 13645 tg3_fw_img_is_valid(struct tg3 *tp, u32 offset) argument 13658 tg3_read_bc_ver(struct tg3 *tp) argument 13710 tg3_read_hwsb_ver(struct tg3 *tp) argument 13726 tg3_read_sb_ver(struct tg3 *tp, u32 val) argument 13781 tg3_read_mgmtfw_ver(struct tg3 *tp) argument 13833 tg3_read_dash_ver(struct tg3 *tp) argument 13869 tg3_read_fw_ver(struct tg3 *tp) argument 13908 tg3_rx_ret_ring_size(struct tg3 *tp) argument 13925 tg3_find_peer(struct tg3 *tp) argument 13953 tg3_detect_asic_rev(struct tg3 *tp, u32 misc_ctrl_reg) argument 14030 tg3_get_invariants(struct tg3 *tp) argument 14796 tg3_get_macaddr_sparc(struct tg3 *tp) argument 14813 tg3_get_default_macaddr_sparc(struct tg3 *tp) argument 14823 tg3_get_device_address(struct tg3 *tp) argument 14902 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) argument 15043 tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dma, int size, int to_device) argument 15130 tg3_test_dma(struct tg3 *tp) argument 15320 tg3_init_bufmgr_config(struct tg3 *tp) argument 15376 tg3_phy_string(struct tg3 *tp) argument 15407 tg3_bus_string(struct tg3 *tp, char *str) argument 15443 tg3_init_coal(struct tg3 *tp) argument 15478 struct tg3 *tp; local 15858 struct tg3 *tp = netdev_priv(dev); local 15891 struct tg3 *tp = netdev_priv(dev); local 15944 struct tg3 *tp = netdev_priv(dev); local 15993 struct tg3 *tp = netdev_priv(netdev); local 16042 struct tg3 *tp = netdev_priv(netdev); local 16084 struct tg3 *tp = netdev_priv(netdev); local [all...] |
/drivers/net/ethernet/sis/ |
H A D | sis190.c | 400 struct sis190_private *tp = netdev_priv(dev); local 402 mdio_write(tp->mmio_addr, phy_id, reg, val); 407 struct sis190_private *tp = netdev_priv(dev); local 409 return mdio_read(tp->mmio_addr, phy_id, reg); 487 static struct sk_buff *sis190_alloc_rx_skb(struct sis190_private *tp, argument 490 u32 rx_buf_sz = tp->rx_buf_sz; 494 skb = netdev_alloc_skb(tp->dev, rx_buf_sz); 497 mapping = pci_map_single(tp->pci_dev, skb->data, tp->rx_buf_sz, 499 if (pci_dma_mapping_error(tp 512 sis190_rx_fill(struct sis190_private *tp, struct net_device *dev, u32 start, u32 end) argument 531 sis190_try_rx_copy(struct sis190_private *tp, struct sk_buff **sk_buff, int pkt_size, dma_addr_t addr) argument 574 sis190_rx_interrupt(struct net_device *dev, struct sis190_private *tp, void __iomem *ioaddr) argument 683 sis190_tx_interrupt(struct net_device *dev, struct sis190_private *tp, void __iomem *ioaddr) argument 735 struct sis190_private *tp = netdev_priv(dev); local 774 struct sis190_private *tp = netdev_priv(dev); local 783 sis190_free_rx_skb(struct sis190_private *tp, struct sk_buff **sk_buff, struct RxDesc *desc) argument 795 sis190_rx_clear(struct sis190_private *tp) argument 806 sis190_init_ring_indexes(struct sis190_private *tp) argument 813 struct sis190_private *tp = netdev_priv(dev); local 834 struct sis190_private *tp = netdev_priv(dev); local 882 struct sis190_private *tp = netdev_priv(dev); local 915 struct sis190_private *tp = local 1024 struct sis190_private *tp = netdev_priv(dev); local 1032 struct sis190_private *tp = netdev_priv(dev); local 1039 struct sis190_private *tp = netdev_priv(dev); local 1049 sis190_set_rxbufsize(struct sis190_private *tp, struct net_device *dev) argument 1064 struct sis190_private *tp = netdev_priv(dev); local 1108 sis190_tx_clear(struct sis190_private *tp) argument 1129 struct sis190_private *tp = netdev_priv(dev); local 1159 struct sis190_private *tp = netdev_priv(dev); local 1178 struct sis190_private *tp = netdev_priv(dev); local 1267 struct sis190_private *tp = netdev_priv(dev); local 1319 sis190_init_phy(struct net_device *dev, struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument 1357 sis190_mii_probe_88e1111_fixup(struct sis190_private *tp) argument 1386 struct sis190_private *tp = netdev_priv(dev); local 1440 struct sis190_private *tp = netdev_priv(dev); local 1448 struct sis190_private *tp = netdev_priv(dev); local 1458 struct sis190_private *tp; local 1547 struct sis190_private *tp = netdev_priv(dev); local 1573 sis190_set_rgmii(struct sis190_private *tp, u8 reg) argument 1581 struct sis190_private *tp = netdev_priv(dev); local 1624 struct sis190_private *tp = netdev_priv(dev); local 1678 struct sis190_private *tp = netdev_priv(dev); local 1717 struct sis190_private *tp = netdev_priv(dev); local 1742 struct sis190_private *tp = netdev_priv(dev); local 1749 struct sis190_private *tp = netdev_priv(dev); local 1757 struct sis190_private *tp = netdev_priv(dev); local 1773 struct sis190_private *tp = netdev_priv(dev); local 1786 struct sis190_private *tp = netdev_priv(dev); local 1793 struct sis190_private *tp = netdev_priv(dev); local 1800 struct sis190_private *tp = netdev_priv(dev); local 1819 struct sis190_private *tp = netdev_priv(dev); local 1854 struct sis190_private *tp; local 1926 struct sis190_private *tp = netdev_priv(dev); local [all...] |
/drivers/net/ethernet/realtek/ |
H A D | r8169.c | 64 #define TX_SLOTS_AVAIL(tp) \ 65 (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx) 68 #define TX_FRAGS_READY_FOR(tp,nr_frags) \ 69 (TX_SLOTS_AVAIL(tp) >= (nr_frags + 1)) 725 void (*phy_reset_enable)(struct rtl8169_private *tp); 727 unsigned int (*phy_reset_pending)(struct rtl8169_private *tp); 729 int (*do_ioctl)(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd); 776 static void rtl_lock_work(struct rtl8169_private *tp) argument 778 mutex_lock(&tp 781 rtl_unlock_work(struct rtl8169_private *tp) argument 799 ocp_read(struct rtl8169_private *tp, u8 mask, u16 reg) argument 813 ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) argument 827 rtl8168_oob_notify(struct rtl8169_private *tp, u8 cmd) argument 848 rtl8168_get_ocp_reg(struct rtl8169_private *tp) argument 853 rtl8168_driver_start(struct rtl8169_private *tp) argument 869 rtl8168_driver_stop(struct rtl8169_private *tp) argument 885 r8168dp_check_dash(struct rtl8169_private *tp) argument 1015 rtl_writephy(struct rtl8169_private *tp, int location, u32 val) argument 1020 rtl_readphy(struct rtl8169_private *tp, int location) argument 1025 rtl_patchphy(struct rtl8169_private *tp, int reg_addr, int value) argument 1030 rtl_w1w0_phy(struct rtl8169_private *tp, int reg_addr, int p, int m) argument 1041 struct rtl8169_private *tp = netdev_priv(dev); local 1048 struct rtl8169_private *tp = netdev_priv(dev); local 1195 rtl_get_events(struct rtl8169_private *tp) argument 1202 rtl_ack_events(struct rtl8169_private *tp, u16 bits) argument 1210 rtl_irq_disable(struct rtl8169_private *tp) argument 1218 rtl_irq_enable(struct rtl8169_private *tp, u16 bits) argument 1229 rtl_irq_enable_all(struct rtl8169_private *tp) argument 1234 rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) argument 1243 rtl8169_tbi_reset_pending(struct rtl8169_private *tp) argument 1250 rtl8169_xmii_reset_pending(struct rtl8169_private *tp) argument 1265 rtl8169_tbi_reset_enable(struct rtl8169_private *tp) argument 1272 rtl8169_xmii_reset_enable(struct rtl8169_private *tp) argument 1280 rtl_link_chg_patch(struct rtl8169_private *tp) argument 1326 __rtl8169_check_link_status(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr, bool pm) argument 1346 rtl8169_check_link_status(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr) argument 1355 __rtl8169_get_wol(struct rtl8169_private *tp) argument 1384 struct rtl8169_private *tp = netdev_priv(dev); local 1394 __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) argument 1426 struct rtl8169_private *tp = netdev_priv(dev); local 1443 rtl_lookup_firmware_name(struct rtl8169_private *tp) argument 1451 struct rtl8169_private *tp = netdev_priv(dev); local 1471 struct rtl8169_private *tp = netdev_priv(dev); local 1494 struct rtl8169_private *tp = netdev_priv(dev); local 1573 struct rtl8169_private *tp = netdev_priv(dev); local 1590 struct rtl8169_private *tp = netdev_priv(dev); local 1606 struct rtl8169_private *tp = netdev_priv(dev); local 1621 struct rtl8169_private *tp = netdev_priv(dev); local 1653 struct rtl8169_private *tp = netdev_priv(dev); local 1663 rtl8169_tx_vlan_tag(struct rtl8169_private *tp, struct sk_buff *skb) argument 1682 struct rtl8169_private *tp = netdev_priv(dev); local 1703 struct rtl8169_private *tp = netdev_priv(dev); local 1710 struct rtl8169_private *tp = netdev_priv(dev); local 1723 struct rtl8169_private *tp = netdev_priv(dev); local 1735 struct rtl8169_private *tp = netdev_priv(dev); local 1742 struct rtl8169_private *tp = netdev_priv(dev); local 1775 struct rtl8169_private *tp = netdev_priv(dev); local 1816 struct rtl8169_private *tp = netdev_priv(dev); local 1862 rtl8169_get_mac_version(struct rtl8169_private *tp, struct net_device *dev, u8 default_version) argument 1966 rtl8169_print_mac_version(struct rtl8169_private *tp) argument 1976 rtl_writephy_batch(struct rtl8169_private *tp, const struct phy_reg *regs, int len) argument 2012 rtl_fw_format_ok(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2063 rtl_fw_data_ok(struct rtl8169_private *tp, struct net_device *dev, struct rtl_fw_phy_action *pa) argument 2122 rtl_check_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2138 rtl_phy_write_fw(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2217 rtl_release_firmware(struct rtl8169_private *tp) argument 2226 rtl_apply_firmware(struct rtl8169_private *tp) argument 2235 rtl_apply_firmware_cond(struct rtl8169_private *tp, u8 reg, u16 val) argument 2243 rtl8169s_hw_phy_config(struct rtl8169_private *tp) argument 2310 rtl8169sb_hw_phy_config(struct rtl8169_private *tp) argument 2321 rtl8169scd_hw_phy_config_quirk(struct rtl8169_private *tp) argument 2334 rtl8169scd_hw_phy_config(struct rtl8169_private *tp) argument 2381 rtl8169sce_hw_phy_config(struct rtl8169_private *tp) argument 2434 rtl8168bb_hw_phy_config(struct rtl8169_private *tp) argument 2447 rtl8168bef_hw_phy_config(struct rtl8169_private *tp) argument 2458 rtl8168cp_1_hw_phy_config(struct rtl8169_private *tp) argument 2471 rtl8168cp_2_hw_phy_config(struct rtl8169_private *tp) argument 2486 rtl8168c_1_hw_phy_config(struct rtl8169_private *tp) argument 2515 rtl8168c_2_hw_phy_config(struct rtl8169_private *tp) argument 2543 rtl8168c_3_hw_phy_config(struct rtl8169_private *tp) argument 2565 rtl8168c_4_hw_phy_config(struct rtl8169_private *tp) argument 2570 rtl8168d_1_hw_phy_config(struct rtl8169_private *tp) argument 2682 rtl8168d_2_hw_phy_config(struct rtl8169_private *tp) argument 2785 rtl8168d_3_hw_phy_config(struct rtl8169_private *tp) argument 2846 rtl8168d_4_hw_phy_config(struct rtl8169_private *tp) argument 2862 rtl8168e_1_hw_phy_config(struct rtl8169_private *tp) argument 2935 rtl8168e_2_hw_phy_config(struct rtl8169_private *tp) argument 3020 rtl8168f_1_hw_phy_config(struct rtl8169_private *tp) argument 3087 rtl8168f_2_hw_phy_config(struct rtl8169_private *tp) argument 3111 rtl8102e_hw_phy_config(struct rtl8169_private *tp) argument 3128 rtl8105e_hw_phy_config(struct rtl8169_private *tp) argument 3156 struct rtl8169_private *tp = netdev_priv(dev); local 3247 rtl_phy_work(struct rtl8169_private *tp) argument 3275 rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) argument 3284 struct rtl8169_private *tp = netdev_priv(dev); local 3299 rtl8169_phy_reset(struct net_device *dev, struct rtl8169_private *tp) argument 3313 rtl_tbi_enabled(struct rtl8169_private *tp) argument 3321 rtl8169_init_phy(struct net_device *dev, struct rtl8169_private *tp) argument 3357 rtl_rar_set(struct rtl8169_private *tp, u8 *addr) argument 3395 struct rtl8169_private *tp = netdev_priv(dev); local 3410 struct rtl8169_private *tp = netdev_priv(dev); local 3416 rtl_xmii_ioctl(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd) argument 3435 rtl_tbi_ioctl(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd) argument 3440 rtl_disable_msi(struct pci_dev *pdev, struct rtl8169_private *tp) argument 3448 rtl_init_mdio_ops(struct rtl8169_private *tp) argument 3469 rtl_wol_suspend_quirk(struct rtl8169_private *tp) argument 3487 rtl_wol_pll_power_down(struct rtl8169_private *tp) argument 3500 r810x_phy_power_down(struct rtl8169_private *tp) argument 3506 r810x_phy_power_up(struct rtl8169_private *tp) argument 3512 r810x_pll_power_down(struct rtl8169_private *tp) argument 3520 r810x_pll_power_up(struct rtl8169_private *tp) argument 3525 r8168_phy_power_up(struct rtl8169_private *tp) argument 3552 r8168_phy_power_down(struct rtl8169_private *tp) argument 3583 r8168_pll_power_down(struct rtl8169_private *tp) argument 3622 r8168_pll_power_up(struct rtl8169_private *tp) argument 3648 rtl_generic_op(struct rtl8169_private *tp, void (*op)(struct rtl8169_private *)) argument 3655 rtl_pll_power_down(struct rtl8169_private *tp) argument 3660 rtl_pll_power_up(struct rtl8169_private *tp) argument 3665 rtl_init_pll_power_ops(struct rtl8169_private *tp) argument 3712 rtl_init_rxcfg(struct rtl8169_private *tp) argument 3748 rtl8169_init_ring_indexes(struct rtl8169_private *tp) argument 3753 rtl_hw_jumbo_enable(struct rtl8169_private *tp) argument 3762 rtl_hw_jumbo_disable(struct rtl8169_private *tp) argument 3771 r8168c_hw_jumbo_enable(struct rtl8169_private *tp) argument 3780 r8168c_hw_jumbo_disable(struct rtl8169_private *tp) argument 3789 r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) argument 3796 r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) argument 3803 r8168e_hw_jumbo_enable(struct rtl8169_private *tp) argument 3813 r8168e_hw_jumbo_disable(struct rtl8169_private *tp) argument 3823 r8168b_0_hw_jumbo_enable(struct rtl8169_private *tp) argument 3829 r8168b_0_hw_jumbo_disable(struct rtl8169_private *tp) argument 3835 r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) argument 3844 r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) argument 3853 rtl_init_jumbo_ops(struct rtl8169_private *tp) argument 3903 rtl_hw_reset(struct rtl8169_private *tp) argument 3919 rtl_request_uncached_firmware(struct rtl8169_private *tp) argument 3957 rtl_request_firmware(struct rtl8169_private *tp) argument 3963 rtl_rx_close(struct rtl8169_private *tp) argument 3970 rtl8169_hw_reset(struct rtl8169_private *tp) argument 3998 rtl_set_rx_tx_config_registers(struct rtl8169_private *tp) argument 4009 struct rtl8169_private *tp = netdev_priv(dev); local 4016 rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp, void __iomem *ioaddr) argument 4072 struct rtl8169_private *tp = netdev_priv(dev); local 4122 struct rtl8169_private *tp = netdev_priv(dev); local 4551 struct rtl8169_private *tp = netdev_priv(dev); local 4752 struct rtl8169_private *tp = netdev_priv(dev); local 4817 struct rtl8169_private *tp = netdev_priv(dev); local 4840 rtl8169_free_rx_databuff(struct rtl8169_private *tp, void **data_buff, struct RxDesc *desc) argument 4871 rtl8169_alloc_rx_data(struct rtl8169_private *tp, struct RxDesc *desc) argument 4907 rtl8169_rx_clear(struct rtl8169_private *tp) argument 4924 rtl8169_rx_fill(struct rtl8169_private *tp) argument 4952 struct rtl8169_private *tp = netdev_priv(dev); local 4975 rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, unsigned int n) argument 4999 rtl8169_tx_clear(struct rtl8169_private *tp) argument 5006 rtl_reset_work(struct rtl8169_private *tp) argument 5031 struct rtl8169_private *tp = netdev_priv(dev); local 5036 rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) argument 5087 rtl8169_tso_csum(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) argument 5112 struct rtl8169_private *tp = netdev_priv(dev); local 5211 struct rtl8169_private *tp = netdev_priv(dev); local 5261 rtl_tx(struct net_device *dev, struct rtl8169_private *tp) argument 5346 rtl8169_try_rx_copy(void *data, struct rtl8169_private *tp, int pkt_size, dma_addr_t addr) argument 5365 rtl_rx(struct net_device *dev, struct rtl8169_private *tp, u32 budget) argument 5467 struct rtl8169_private *tp = netdev_priv(dev); local 5487 rtl_slow_event_work(struct rtl8169_private *tp) argument 5531 struct rtl8169_private *tp = local 5556 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); local 5589 struct rtl8169_private *tp = netdev_priv(dev); local 5600 struct rtl8169_private *tp = netdev_priv(dev); local 5628 struct rtl8169_private *tp = netdev_priv(dev); local 5659 struct rtl8169_private *tp = netdev_priv(dev); local 5667 struct rtl8169_private *tp = netdev_priv(dev); local 5748 struct rtl8169_private *tp = netdev_priv(dev); local 5781 struct rtl8169_private *tp = netdev_priv(dev); local 5811 struct rtl8169_private *tp = netdev_priv(dev); local 5829 struct rtl8169_private *tp = netdev_priv(dev); local 5843 struct rtl8169_private *tp = netdev_priv(dev); local 5862 struct rtl8169_private *tp = netdev_priv(dev); local 5883 struct rtl8169_private *tp = netdev_priv(dev); local 5908 rtl_wol_shutdown_quirk(struct rtl8169_private *tp) argument 5931 struct rtl8169_private *tp = netdev_priv(dev); local 5959 struct rtl8169_private *tp = netdev_priv(dev); local 6041 rtl_try_msi(struct rtl8169_private *tp, const struct rtl_cfg_info *cfg) argument 6067 struct rtl8169_private *tp; local [all...] |
H A D | 8139too.c | 639 static void rtl8139_start_thread(struct rtl8139_private *tp); 716 struct rtl8139_private *tp = netdev_priv(dev); local 720 assert (tp->pci_dev != NULL); 721 pdev = tp->pci_dev; 723 if (tp->mmio_addr) 724 pci_iounmap (pdev, tp->mmio_addr); 755 struct rtl8139_private *tp; local 766 dev = alloc_etherdev (sizeof (*tp)); 772 tp = netdev_priv(dev); 773 tp 922 struct rtl8139_private *tp = netdev_priv(dev); local 968 struct rtl8139_private *tp; local 1137 struct rtl8139_private *tp = netdev_priv(dev); local 1255 struct rtl8139_private *tp = netdev_priv(dev); local 1298 struct rtl8139_private *tp = netdev_priv(dev); local 1341 struct rtl8139_private *tp = netdev_priv(dev); local 1391 struct rtl8139_private *tp = netdev_priv(dev); local 1401 struct rtl8139_private *tp = netdev_priv(dev); local 1468 struct rtl8139_private *tp = netdev_priv(dev); local 1484 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) argument 1500 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) argument 1586 rtl8139_thread_iter(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1629 struct rtl8139_private *tp = local 1651 rtl8139_start_thread(struct rtl8139_private *tp) argument 1665 rtl8139_tx_clear(struct rtl8139_private *tp) argument 1675 struct rtl8139_private *tp = local 1720 struct rtl8139_private *tp = netdev_priv(dev); local 1732 struct rtl8139_private *tp = netdev_priv(dev); local 1776 rtl8139_tx_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1848 rtl8139_rx_err(u32 rx_status, struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1943 rtl8139_isr_ack(struct rtl8139_private *tp) argument 1961 rtl8139_rx(struct net_device *dev, struct rtl8139_private *tp, int budget) argument 2105 rtl8139_weird_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr, int status, int link_changed) argument 2144 struct rtl8139_private *tp = container_of(napi, struct rtl8139_private, napi); local 2175 struct rtl8139_private *tp = netdev_priv(dev); local 2251 struct rtl8139_private *tp = netdev_priv(dev); local 2274 struct rtl8139_private *tp = netdev_priv(dev); local 2324 struct rtl8139_private *tp = netdev_priv(dev); local 2358 struct rtl8139_private *tp = netdev_priv(dev); local 2398 struct rtl8139_private *tp = netdev_priv(dev); local 2407 struct rtl8139_private *tp = netdev_priv(dev); local 2416 struct rtl8139_private *tp = netdev_priv(dev); local 2426 struct rtl8139_private *tp = netdev_priv(dev); local 2432 struct rtl8139_private *tp = netdev_priv(dev); local 2438 struct rtl8139_private *tp = netdev_priv(dev); local 2444 struct rtl8139_private *tp = netdev_priv(dev); local 2450 struct rtl8139_private *tp; local 2460 struct rtl8139_private *tp; local 2486 struct rtl8139_private *tp = netdev_priv(dev); local 2518 struct rtl8139_private *tp = netdev_priv(dev); local 2535 struct rtl8139_private *tp = netdev_priv(dev); local 2569 struct rtl8139_private *tp = netdev_priv(dev); local 2617 struct rtl8139_private *tp = netdev_priv(dev); local 2629 struct rtl8139_private *tp = netdev_priv(dev); local [all...] |
/drivers/net/ethernet/3com/ |
H A D | typhoon.c | 461 typhoon_hello(struct typhoon *tp) argument 463 struct basic_ring *ring = &tp->cmdRing; 470 if(spin_trylock(&tp->command_lock)) { 476 iowrite32(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); 477 spin_unlock(&tp->command_lock); 482 typhoon_process_response(struct typhoon *tp, int resp_size, argument 485 struct typhoon_indexes *indexes = tp->indexes; 487 u8 *base = tp->respRing.ringBase; 518 typhoon_media_status(tp->dev, resp); 520 typhoon_hello(tp); 552 typhoon_num_free_cmd(struct typhoon *tp) argument 561 typhoon_num_free_resp(struct typhoon *tp) argument 577 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, int num_resp, struct resp_desc *resp) argument 715 struct typhoon *tp = netdev_priv(dev); local 862 struct typhoon *tp = netdev_priv(dev); local 899 typhoon_do_get_stats(struct typhoon *tp) argument 953 struct typhoon *tp = netdev_priv(dev); local 972 struct typhoon *tp = netdev_priv(dev); local 1001 struct typhoon *tp = netdev_priv(dev); local 1059 struct typhoon *tp = netdev_priv(dev); local 1109 struct typhoon *tp = netdev_priv(dev); local 1123 struct typhoon *tp = netdev_priv(dev); local 1179 typhoon_init_interface(struct typhoon *tp) argument 1249 typhoon_init_rings(struct typhoon *tp) argument 1268 typhoon_request_firmware(struct typhoon *tp) argument 1326 typhoon_download_firmware(struct typhoon *tp) argument 1467 typhoon_boot_3XP(struct typhoon *tp, u32 initial_status) argument 1503 typhoon_clean_tx(struct typhoon *tp, struct transmit_ring *txRing, volatile __le32 * index) argument 1539 typhoon_tx_complete(struct typhoon *tp, struct transmit_ring *txRing, volatile __le32 * index) argument 1556 typhoon_recycle_rx_skb(struct typhoon *tp, u32 idx) argument 1583 typhoon_alloc_rx_skb(struct typhoon *tp, u32 idx) argument 1629 typhoon_rx(struct typhoon *tp, struct basic_ring *rxRing, volatile __le32 * ready, volatile __le32 * cleared, int budget) argument 1706 typhoon_fill_free_ring(struct typhoon *tp) argument 1722 struct typhoon *tp = container_of(napi, struct typhoon, napi); local 1764 struct typhoon *tp = netdev_priv(dev); local 1785 typhoon_free_rx_rings(struct typhoon *tp) argument 1801 typhoon_sleep(struct typhoon *tp, pci_power_t state, __le16 events) argument 1838 typhoon_wakeup(struct typhoon *tp, int wait_type) argument 1859 typhoon_start_runtime(struct typhoon *tp) argument 1951 typhoon_stop_runtime(struct typhoon *tp, int wait_type) argument 2014 struct typhoon *tp = netdev_priv(dev); local 2042 struct typhoon *tp = netdev_priv(dev); local 2091 struct typhoon *tp = netdev_priv(dev); local 2119 struct typhoon *tp = netdev_priv(dev); local 2148 struct typhoon *tp = netdev_priv(dev); local 2265 struct typhoon *tp; local 2516 struct typhoon *tp = netdev_priv(dev); local [all...] |
/drivers/input/mouse/ |
H A D | trackpoint.c | 76 struct trackpoint_data *tp = psmouse->private; local 78 unsigned char value = *(unsigned char *)((char *)tp + attr->field_offset); 89 struct trackpoint_data *tp = psmouse->private; local 91 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); 117 struct trackpoint_data *tp = psmouse->private; local 119 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); 207 struct trackpoint_data *tp = psmouse->private; local 224 trackpoint_write(&psmouse->ps2dev, TP_SENS, tp->sensitivity); 225 trackpoint_write(&psmouse->ps2dev, TP_INERTIA, tp->inertia); 226 trackpoint_write(&psmouse->ps2dev, TP_SPEED, tp 253 trackpoint_defaults(struct trackpoint_data *tp) argument [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 83 struct sym_tcb *tp = &np->target[target]; local 84 dev_info(&tp->starget->dev, "%s: ", label); 915 struct sym_tcb *tp = &np->target[i]; local 917 tp->usrflags |= (SYM_DISC_ENABLED | SYM_TAGS_ENABLED); 918 tp->usrtags = SYM_SETUP_MAX_TAG; 919 tp->usr_width = np->maxwide; 920 tp->usr_period = 9; 922 sym_nvram_setup_target(tp, i, nvram); 924 if (!tp->usrtags) 925 tp 1421 struct sym_tcb *tp = &np->target[cp->target]; local 1658 struct sym_tcb *tp = &np->target[cp->target]; local 1890 struct sym_tcb *tp = &np->target[i]; local 1949 struct sym_tcb *tp = &np->target[target]; local 2048 sym_announce_transfer_rate(struct sym_tcb *tp) argument 2077 struct sym_tcb *tp = &np->target[target]; local 2107 struct sym_tcb *tp = &np->target[target]; local 2140 struct sym_tcb *tp = &np->target[target]; local 3281 struct sym_tcb *tp = NULL; /* gcc isn't quite smart enough yet */ local 3753 sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs) argument 4032 sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument 4071 struct sym_tcb *tp = &np->target[target]; local 4169 sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument 4269 sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument 4333 sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument 4364 sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) argument 4379 struct sym_tcb *tp = &np->target[target]; local 4650 struct sym_tcb *tp = &np->target[tn]; local 4775 struct sym_tcb *tp = &np->target[cp->target]; local 4971 struct sym_tcb *tp = &np->target[tn]; local 5055 struct sym_tcb *tp = &np->target[tn]; local 5102 struct sym_tcb *tp = &np->target[tn]; local 5139 struct sym_tcb *tp; local 5279 struct sym_tcb *tp; local 5360 struct sym_tcb *tp; local 5489 struct sym_tcb *tp; local 5803 struct sym_tcb *tp; local [all...] |
H A D | sym_glue.c | 268 struct sym_tcb *tp = &np->target[cp->target]; local 282 if ((len & 1) && (tp->head.wval & EWS)) { 303 struct sym_tcb *tp; local 311 tp = &np->target[sdev->id]; 316 lp = sym_lp(tp, sdev->lun); 715 static void sym_tune_dev_queuing(struct sym_tcb *tp, int lun, u_short reqtags) argument 717 struct sym_lcb *lp = sym_lp(tp, lun); 731 dev_info(&tp->starget->dev, 740 struct sym_tcb *tp = &np->target[sdev->id]; local 759 if (tp 800 struct sym_tcb *tp = &np->target[sdev->id]; local 838 struct sym_tcb *tp = &np->target[sdev->id]; local 911 struct sym_tcb *tp; local 1984 struct sym_tcb *tp = &np->target[starget->id]; local 1994 struct sym_tcb *tp = &np->target[starget->id]; local 2009 struct sym_tcb *tp = &np->target[starget->id]; local 2024 struct sym_tcb *tp = &np->target[starget->id]; local [all...] |
/drivers/scsi/ |
H A D | esp_scsi.c | 508 static int esp_need_to_nego_wide(struct esp_target_data *tp) argument 510 struct scsi_target *target = tp->starget; 512 return spi_width(target) != tp->nego_goal_width; 515 static int esp_need_to_nego_sync(struct esp_target_data *tp) argument 517 struct scsi_target *target = tp->starget; 520 if (!spi_offset(target) && !tp->nego_goal_offset) 523 if (spi_offset(target) == tp->nego_goal_offset && 524 spi_period(target) == tp->nego_goal_period) 682 struct esp_target_data *tp; local 708 tp 1108 struct esp_target_data *tp; local 1223 struct esp_target_data *tp = &esp->target[cmd->device->id]; local 1360 esp_setsync(struct esp *esp, struct esp_target_data *tp, u8 scsi_period, u8 scsi_offset, u8 esp_stp, u8 esp_soff) argument 1403 struct esp_target_data *tp; local 1440 esp_msgin_sdtr(struct esp *esp, struct esp_target_data *tp) argument 1491 esp_msgin_wdtr(struct esp *esp, struct esp_target_data *tp) argument 1544 struct esp_target_data *tp; local 2022 struct esp_target_data *tp = &esp->target[i]; local 2362 struct esp_target_data *tp = &esp->target[starget->id]; local 2372 struct esp_target_data *tp = &esp->target[starget->id]; local 2380 struct esp_target_data *tp = &esp->target[dev->id]; local 2402 struct esp_target_data *tp = &esp->target[dev->id]; local 2652 struct esp_target_data *tp = &esp->target[target->id]; local 2665 struct esp_target_data *tp = &esp->target[target->id]; local 2675 struct esp_target_data *tp = &esp->target[target->id]; local [all...] |