/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 = dev_alloc_skb(PKT_BUF_SZ); 76 mapping = pci_map_single(tp->pdev, skb->data, PKT_BUF_SZ, 78 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 668 struct tulip_private *tp = netdev_priv(dev); local 714 tulip_clean_tx_ring(struct tulip_private *tp) argument 752 struct tulip_private *tp = netdev_priv(dev); local 797 struct tulip_private *tp = netdev_priv(dev); local 834 struct tulip_private *tp = netdev_priv(dev); local 854 struct tulip_private *tp = netdev_priv(dev); local 883 struct tulip_private *tp = netdev_priv(dev); local 896 struct tulip_private *tp = netdev_priv(dev); local 913 struct tulip_private *tp = netdev_priv(dev); local 1017 struct tulip_private *tp = netdev_priv(dev); local 1046 struct tulip_private *tp = netdev_priv(dev); local 1072 struct tulip_private *tp = netdev_priv(dev); local 1199 struct tulip_private *tp = netdev_priv(dev); local 1309 struct tulip_private *tp; local 1821 struct tulip_private *tp = netdev_priv(dev); local 1853 struct tulip_private *tp = netdev_priv(dev); local 1887 struct tulip_private *tp = netdev_priv(dev); local 1937 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 | 125 static void tms380tr_cancel_tx_queue(struct net_local* tp); 130 static unsigned char tms380tr_chk_ssb(struct net_local *tp, unsigned short IrqType); 150 static void tms380tr_init_ipb(struct net_local *tp); 176 static void tms380tr_update_rcv_stats(struct net_local *tp, 249 struct net_local *tp = netdev_priv(dev); local 253 spin_lock_init(&tp->lock); 254 init_timer(&tp->timer); 277 tp->timer.expires = jiffies + 30*HZ; 278 tp->timer.function = tms380tr_timer_end_wait; 279 tp 321 struct net_local *tp = netdev_priv(dev); local 335 struct net_local *tp = netdev_priv(dev); local 370 struct net_local *tp = netdev_priv(dev); local 466 tms380tr_init_ipb(struct net_local *tp) argument 487 struct net_local *tp; local 531 struct net_local *tp = netdev_priv(dev); local 563 struct net_local *tp = netdev_priv(dev); local 589 struct net_local *tp = netdev_priv(dev); local 610 struct net_local *tp = netdev_priv(dev); local 707 struct net_local *tp = netdev_priv(dev); local 736 struct net_local *tp; local 828 struct net_local *tp = netdev_priv(dev); local 851 tms380tr_chk_ssb(struct net_local *tp, unsigned short IrqType) argument 912 struct net_local *tp = netdev_priv(dev); local 1107 struct net_local *tp = netdev_priv(dev); local 1155 struct net_local *tp = netdev_priv(dev); local 1165 struct net_local *tp = netdev_priv(dev); local 1251 struct net_local *tp = netdev_priv(dev); local 1402 struct net_local *tp = netdev_priv(dev); local 1515 struct net_local *tp = netdev_priv(dev); local 1685 struct net_local *tp = netdev_priv(dev); local 1755 struct net_local *tp = netdev_priv(dev); local 1909 struct net_local *tp = netdev_priv(dev); local 1960 tms380tr_cancel_tx_queue(struct net_local* tp) argument 1995 struct net_local *tp = netdev_priv(dev); local 2065 struct net_local *tp = netdev_priv(dev); local 2236 tms380tr_update_rcv_stats(struct net_local *tp, unsigned char DataPtr[], unsigned int Length) argument 2249 struct net_local *tp = netdev_priv(dev); local 2279 struct net_local *tp; local [all...] |
H A D | smctr.c | 132 struct net_local *tp); 329 struct net_local *tp = netdev_priv(dev); local 337 tp->iscpb_ptr = (ISCPBlock *)(tp->ram_access + ((__u32)64 * 0x400) 341 tp->scgb_ptr = (SCGBlock *)smctr_malloc(dev, sizeof(SCGBlock)); 342 PARAGRAPH_BOUNDRY(tp->sh_mem_used); 344 tp->sclb_ptr = (SCLBlock *)smctr_malloc(dev, sizeof(SCLBlock)); 345 PARAGRAPH_BOUNDRY(tp->sh_mem_used); 347 tp->acb_head = (ACBlock *)smctr_malloc(dev, 348 sizeof(ACBlock)*tp 456 struct net_local *tp = netdev_priv(dev); local 482 struct net_local *tp = netdev_priv(dev); local 633 struct net_local *tp = netdev_priv(dev); local 696 struct net_local *tp = netdev_priv(dev); local 718 struct net_local *tp = netdev_priv(dev); local 755 struct net_local *tp = netdev_priv(dev); local 826 struct net_local *tp = netdev_priv(dev); local 840 struct net_local *tp = netdev_priv(dev); local 852 struct net_local *tp = netdev_priv(dev); local 872 struct net_local *tp = netdev_priv(dev); local 903 struct net_local *tp = netdev_priv(dev); local 929 struct net_local *tp = netdev_priv(dev); local 1158 struct net_local *tp = netdev_priv(dev); local 1276 struct net_local *tp = netdev_priv(dev); local 1361 struct net_local *tp = netdev_priv(dev); local 1385 struct net_local *tp = netdev_priv(dev); local 1393 struct net_local *tp = netdev_priv(dev); local 1461 smctr_hardware_send_packet(struct net_device *dev, struct net_local *tp) argument 1517 struct net_local *tp = netdev_priv(dev); local 1561 struct net_local *tp = netdev_priv(dev); local 1645 struct net_local *tp = netdev_priv(dev); local 1721 struct net_local *tp = netdev_priv(dev); local 1773 struct net_local *tp = netdev_priv(dev); local 1823 struct net_local *tp = netdev_priv(dev); local 1881 struct net_local *tp = netdev_priv(dev); local 1911 struct net_local *tp = netdev_priv(dev); local 1950 struct net_local *tp = netdev_priv(dev); local 1989 struct net_local *tp; local 2469 struct net_local *tp = netdev_priv(dev); local 2485 struct net_local *tp = netdev_priv(dev); local 2501 struct net_local *tp = netdev_priv(dev); local 2658 struct net_local *tp = netdev_priv(dev); local 2746 struct net_local *tp = netdev_priv(dev); local 2762 struct net_local *tp = netdev_priv(dev); local 2780 struct net_local *tp = netdev_priv(dev); local 2800 struct net_local *tp = netdev_priv(dev); local 2822 struct net_local *tp = netdev_priv(dev); local 2891 struct net_local *tp = netdev_priv(dev); local 2915 struct net_local *tp = netdev_priv(dev); local 2945 struct net_local *tp = netdev_priv(dev); local 2969 struct net_local *tp = netdev_priv(dev); local 3079 struct net_local *tp = netdev_priv(dev); local 3138 struct net_local *tp = netdev_priv(dev); local 3222 struct net_local *tp = netdev_priv(dev); local 3247 struct net_local *tp = netdev_priv(dev); local 3272 struct net_local *tp = netdev_priv(dev); local 3290 struct net_local *tp = netdev_priv(dev); local 3316 struct net_local *tp = netdev_priv(dev); local 3347 struct net_local *tp = netdev_priv(dev); local 3385 struct net_local *tp = netdev_priv(dev); local 3425 struct net_local *tp = netdev_priv(dev); local 3477 struct net_local *tp = netdev_priv(dev); local 3608 { struct net_local *tp = netdev_priv(dev); local 3632 struct net_local *tp = netdev_priv(dev); local 3689 struct net_local *tp = netdev_priv(dev); local 3910 struct net_local *tp = netdev_priv(dev); local 4302 struct net_local *tp = netdev_priv(dev); local 4321 struct net_local *tp = netdev_priv(dev); local 4339 struct net_local *tp = netdev_priv(dev); local 4431 struct net_local *tp = netdev_priv(dev); local 4496 struct net_local *tp = netdev_priv(dev); local 4577 struct net_local *tp = netdev_priv(dev); local 4602 struct net_local *tp = netdev_priv(dev); local 4898 struct net_local *tp = netdev_priv(dev); local 4982 struct net_local *tp = netdev_priv(dev); local 5046 struct net_local *tp = netdev_priv(dev); local 5059 struct net_local *tp = netdev_priv(dev); local 5120 struct net_local *tp = netdev_priv(dev); local 5134 struct net_local *tp = netdev_priv(dev); local 5156 struct net_local *tp = netdev_priv(dev); local 5186 struct net_local *tp = netdev_priv(dev); local 5214 struct net_local *tp = netdev_priv(dev); local 5257 struct net_local *tp = netdev_priv(dev); local 5284 struct net_local *tp = netdev_priv(dev); local 5297 struct net_local *tp = netdev_priv(dev); local 5308 struct net_local *tp = netdev_priv(dev); local 5344 struct net_local *tp = netdev_priv(dev); local 5365 struct net_local *tp = netdev_priv(dev); local 5420 struct net_local *tp = netdev_priv(dev); local 5461 struct net_local *tp = netdev_priv(dev); local 5503 struct net_local *tp = netdev_priv(dev); local 5541 struct net_local *tp = netdev_priv(dev); local 5577 struct net_local *tp = netdev_priv(dev); local 5602 struct net_local *tp = netdev_priv(dev); local 5666 { struct net_local *tp = netdev_priv(dev); local 5705 { struct net_local *tp = netdev_priv(dev); local [all...] |
H A D | tmspci.c | 98 struct net_local *tp; local 141 tp = netdev_priv(dev); 142 tp->setnselout = tms_pci_setnselout_pins; 144 tp->sifreadb = tms_pci_sifreadb; 145 tp->sifreadw = tms_pci_sifreadw; 146 tp->sifwriteb = tms_pci_sifwriteb; 147 tp->sifwritew = tms_pci_sifwritew; 149 memcpy(tp->ProductID, cardinfo->name, PROD_ID_SIZE + 1); 151 tp->tmspriv = cardinfo; 207 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 | 83 #define tg3_flag(tp, flag) \ 84 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 85 #define tg3_flag_set(tp, flag) \ 86 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 87 #define tg3_flag_clear(tp, flag) \ 88 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 123 #define TG3_MAX_MTU(tp) \ 124 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 130 #define TG3_RX_STD_RING_SIZE(tp) \ 131 (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 897 struct tg3 *tp = tnapi->tp; local 911 tg3_switch_clocks(struct tg3 *tp) argument 946 tg3_readphy(struct tg3 *tp, int reg, u32 *val) argument 995 tg3_writephy(struct tg3 *tp, int reg, u32 val) argument 1044 tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) argument 1067 tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) argument 1090 tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) argument 1101 tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) argument 1112 tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) argument 1125 tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) argument 1142 tg3_bmcr_reset(struct tg3 *tp) argument 1175 struct tg3 *tp = bp->priv; local 1190 struct tg3 *tp = bp->priv; local 1208 tg3_mdio_config_5785(struct tg3 *tp) argument 1289 tg3_mdio_start(struct tg3 *tp) argument 1300 tg3_mdio_init(struct tg3 *tp) argument 1405 tg3_mdio_fini(struct tg3 *tp) argument 1415 tg3_generate_fw_event(struct tg3 *tp) argument 1429 tg3_wait_for_event_ack(struct tg3 *tp) argument 1456 tg3_ump_link_report(struct tg3 *tp) argument 1503 tg3_stop_fw(struct tg3 *tp) argument 1519 tg3_write_sig_pre_reset(struct tg3 *tp, int kind) argument 1552 tg3_write_sig_post_reset(struct tg3 *tp, int kind) argument 1576 tg3_write_sig_legacy(struct tg3 *tp, int kind) argument 1601 tg3_poll_fw(struct tg3 *tp) argument 1645 tg3_link_report(struct tg3 *tp) argument 1705 tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) argument 1748 struct tg3 *tp = netdev_priv(dev); local 1828 tg3_phy_init(struct tg3 *tp) argument 1876 tg3_phy_start(struct tg3 *tp) argument 1898 tg3_phy_stop(struct tg3 *tp) argument 1906 tg3_phy_fini(struct tg3 *tp) argument 1914 tg3_phy_set_extloopbk(struct tg3 *tp) argument 1944 tg3_phy_fet_toggle_apd(struct tg3 *tp, bool enable) argument 1964 tg3_phy_toggle_apd(struct tg3 *tp, bool enable) argument 1999 tg3_phy_toggle_automdix(struct tg3 *tp, int enable) argument 2040 tg3_phy_set_wirespeed(struct tg3 *tp) argument 2054 tg3_phy_apply_otp(struct tg3 *tp) argument 2091 tg3_phy_eee_adjust(struct tg3 *tp, u32 current_link_up) argument 2134 tg3_phy_eee_enable(struct tg3 *tp) argument 2153 tg3_wait_macro_done(struct tg3 *tp) argument 2171 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) argument 2237 tg3_phy_reset_chanpat(struct tg3 *tp) argument 2257 tg3_phy_reset_5703_4_5(struct tg3 *tp) argument 2327 tg3_phy_reset(struct tg3 *tp) argument 2481 tg3_set_function_status(struct tg3 *tp, u32 newstat) argument 2504 tg3_pwrsrc_switch_to_vmain(struct tg3 *tp) argument 2529 tg3_pwrsrc_die_with_vmain(struct tg3 *tp) argument 2553 tg3_pwrsrc_switch_to_vaux(struct tg3 *tp) argument 2630 tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) argument 2655 tg3_frob_aux_power(struct tg3 *tp, bool include_wol) argument 2699 tg3_5700_link_polarity(struct tg3 *tp, u32 speed) argument 2715 tg3_power_down_phy(struct tg3 *tp, bool do_low_power) argument 2789 tg3_nvram_lock(struct tg3 *tp) argument 2812 tg3_nvram_unlock(struct tg3 *tp) argument 2823 tg3_enable_nvram_access(struct tg3 *tp) argument 2833 tg3_disable_nvram_access(struct tg3 *tp) argument 2842 tg3_nvram_read_using_eeprom(struct tg3 *tp, u32 offset, u32 *val) argument 2884 tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) argument 2903 tg3_nvram_phys_addr(struct tg3 *tp, u32 addr) argument 2918 tg3_nvram_logical_addr(struct tg3 *tp, u32 addr) argument 2939 tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) argument 2972 tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) argument 2987 tg3_halt_cpu(struct tg3 *tp, u32 offset) argument 3038 tg3_load_firmware_cpu(struct tg3 *tp, u32 cpu_base, u32 cpu_scratch_base, int cpu_scratch_size, struct fw_info *info) argument 3084 tg3_load_5701_a0_firmware_fix(struct tg3 *tp) argument 3139 tg3_load_tso_firmware(struct tg3 *tp) argument 3204 __tg3_set_mac_addr(struct tg3 *tp, int skip_mac_1) argument 3240 tg3_enable_register_access(struct tg3 *tp) argument 3250 tg3_power_up(struct tg3 *tp) argument 3267 tg3_power_down_prepare(struct tg3 *tp) argument 3513 tg3_power_down(struct tg3 *tp) argument 3521 tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u16 *speed, u8 *duplex) argument 3568 tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) argument 3641 tg3_phy_copper_begin(struct tg3 *tp) argument 3735 tg3_init_5401phy_dsp(struct tg3 *tp) argument 3754 tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) argument 3789 tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) argument 3811 tg3_setup_copper_phy(struct tg3 *tp, int force_reset) argument 4167 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) argument 4419 fiber_autoneg(struct tg3 *tp, u32 *txflags, u32 *rxflags) argument 4464 tg3_init_bcm8002(struct tg3 *tp) argument 4514 tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) argument 4659 tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) argument 4724 tg3_setup_fiber_phy(struct tg3 *tp, int force_reset) argument 4833 tg3_setup_fiber_mii_phy(struct tg3 *tp, int force_reset) argument 5005 tg3_serdes_parallel_detect(struct tg3 *tp) argument 5065 tg3_setup_phy(struct tg3 *tp, int force_reset) argument 5130 tg3_irq_sync(struct tg3 *tp) argument 5135 tg3_rd32_loop(struct tg3 *tp, u32 *dst, u32 off, u32 len) argument 5144 tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs) argument 5194 tg3_dump_state(struct tg3 *tp) argument 5258 tg3_tx_recover(struct tg3 *tp) argument 5288 struct tg3 *tp = tnapi->tp; local 5376 tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) argument 5398 tg3_alloc_rx_data(struct tg3 *tp, struct tg3_rx_prodring_set *tpr, u32 opaque_key, u32 dest_idx_unmasked) argument 5465 struct tg3 *tp = tnapi->tp; local 5532 struct tg3 *tp = tnapi->tp; local 5717 tg3_poll_link(struct tg3 *tp) argument 5741 tg3_rx_prodring_xfer(struct tg3 *tp, struct tg3_rx_prodring_set *dpr, struct tg3_rx_prodring_set *spr) argument 5869 struct tg3 *tp = tnapi->tp; local 5914 tg3_reset_task_schedule(struct tg3 *tp) argument 5920 tg3_reset_task_cancel(struct tg3 *tp) argument 5929 struct tg3 *tp = tnapi->tp; local 5970 tg3_process_error(struct tg3 *tp) argument 6007 struct tg3 *tp = tnapi->tp; local 6052 tg3_napi_disable(struct tg3 *tp) argument 6060 tg3_napi_enable(struct tg3 *tp) argument 6068 tg3_napi_init(struct tg3 *tp) argument 6077 tg3_napi_fini(struct tg3 *tp) argument 6085 tg3_netif_stop(struct tg3 *tp) argument 6092 tg3_netif_start(struct tg3 *tp) argument 6105 tg3_irq_quiesce(struct tg3 *tp) argument 6123 tg3_full_lock(struct tg3 *tp, int irq_sync) argument 6130 tg3_full_unlock(struct tg3 *tp) argument 6141 struct tg3 *tp = tnapi->tp; local 6160 struct tg3 *tp = tnapi->tp; local 6182 struct tg3 *tp = tnapi->tp; local 6231 struct tg3 *tp = tnapi->tp; local 6284 struct tg3 *tp = tnapi->tp; local 6312 tg3_full_unlock(tp); variable 6315 tg3_napi_enable(tp); variable 6326 struct tg3 *tp = netdev_priv(dev); local 6335 struct tg3 *tp = container_of(work, struct tg3, reset_task); local 6379 struct tg3 *tp = netdev_priv(dev); local 6398 tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, int len) argument 6424 struct tg3 *tp = tnapi->tp; local 6524 struct tg3 *tp = tnapi->tp; local 6578 tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb) argument 6621 struct tg3 *tp = netdev_priv(dev); local 6828 tg3_mac_loopback(struct tg3 *tp, bool enable) argument 6856 tg3_phy_lpbk_set(struct tg3 *tp, u32 speed, bool extlpbk) argument 6951 struct tg3 *tp = netdev_priv(dev); local 6978 struct tg3 *tp = netdev_priv(dev); local 6996 tg3_set_mtu(struct net_device *dev, struct tg3 *tp, int new_mtu) argument 7019 struct tg3 *tp = netdev_priv(dev); local 7056 tg3_rx_prodring_free(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7097 tg3_rx_prodring_alloc(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7193 tg3_rx_prodring_fini(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7212 tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 7255 tg3_free_rings(struct tg3 *tp) argument 7289 tg3_init_rings(struct tg3 *tp) argument 7327 tg3_free_consistent(struct tg3 *tp) argument 7372 tg3_alloc_consistent(struct tg3 *tp) argument 7471 tg3_stop_block(struct tg3 *tp, unsigned long ofs, u32 enable_bit, int silent) argument 7515 tg3_abort_hw(struct tg3 *tp, int silent) argument 7579 tg3_save_pci_state(struct tg3 *tp) argument 7585 tg3_restore_pci_state(struct tg3 *tp) argument 7646 tg3_chip_reset(struct tg3 *tp) argument 7895 tg3_halt(struct tg3 *tp, int kind, int silent) argument 7928 struct tg3 *tp = netdev_priv(dev); local 7961 tg3_set_bdinfo(struct tg3 *tp, u32 bdinfo_addr, dma_addr_t mapping, u32 maxlen_flags, u32 nic_addr) argument 7982 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) argument 8052 tg3_rings_reset(struct tg3 *tp) argument 8179 tg3_setup_rxbd_thresholds(struct tg3 *tp) argument 8218 tg3_rss_init_dflt_indir_tbl(struct tg3 *tp) argument 8227 tg3_rss_check_indir_tbl(struct tg3 *tp) argument 8249 tg3_rss_write_indir_tbl(struct tg3 *tp) argument 8267 tg3_reset_hw(struct tg3 *tp, int reset_phy) argument 9129 tg3_init_hw(struct tg3 *tp, int reset_phy) argument 9145 tg3_periodic_fetch_stats(struct tg3 *tp) argument 9200 tg3_chk_missed_msi(struct tg3 *tp) argument 9225 struct tg3 *tp = (struct tg3 *) __opaque; local 9350 tg3_request_irq(struct tg3 *tp, int irq_num) argument 9380 tg3_test_interrupt(struct tg3 *tp) argument 9457 tg3_test_msi(struct tg3 *tp) argument 9515 tg3_request_firmware(struct tg3 *tp) argument 9546 tg3_enable_msix(struct tg3 *tp) argument 9600 tg3_ints_init(struct tg3 *tp) argument 9634 tg3_ints_fini(struct tg3 *tp) argument 9648 struct tg3 *tp = netdev_priv(dev); local 9802 struct tg3 *tp = netdev_priv(dev); local 9850 calc_crc_errors(struct tg3 *tp) argument 9880 tg3_get_estats(struct tg3 *tp, struct tg3_ethtool_stats *estats) argument 9973 struct tg3 *tp = netdev_priv(dev); local 10057 tg3_set_multi(struct tg3 *tp, unsigned int accept_all) argument 10068 struct tg3 *tp = netdev_priv(dev); local 10122 struct tg3 *tp = netdev_priv(dev); local 10140 struct tg3 *tp = netdev_priv(dev); local 10158 struct tg3 *tp = netdev_priv(dev); local 10165 struct tg3 *tp = netdev_priv(dev); local 10230 struct tg3 *tp = netdev_priv(dev); local 10289 struct tg3 *tp = netdev_priv(dev); local 10355 struct tg3 *tp = netdev_priv(dev); local 10446 struct tg3 *tp = netdev_priv(dev); local 10456 struct tg3 *tp = netdev_priv(dev); local 10470 struct tg3 *tp = netdev_priv(dev); local 10493 struct tg3 *tp = netdev_priv(dev); local 10499 struct tg3 *tp = netdev_priv(dev); local 10505 struct tg3 *tp = netdev_priv(dev); local 10539 struct tg3 *tp = netdev_priv(dev); local 10560 struct tg3 *tp = netdev_priv(dev); local 10606 struct tg3 *tp = netdev_priv(dev); local 10623 struct tg3 *tp = netdev_priv(dev); local 10738 struct tg3 *tp = netdev_priv(dev); local 10767 struct tg3 *tp = netdev_priv(dev); local 10777 struct tg3 *tp = netdev_priv(dev); local 10788 struct tg3 *tp = netdev_priv(dev); local 10825 struct tg3 *tp = netdev_priv(dev); local 10860 struct tg3 *tp = netdev_priv(dev); local 10865 tg3_vpd_readblock(struct tg3 *tp, u32 *vpdlen) argument 10951 tg3_test_nvram(struct tg3 *tp) argument 11133 tg3_test_link(struct tg3 *tp) argument 11157 tg3_test_registers(struct tg3 *tp) argument 11377 tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) argument 11396 tg3_test_memory(struct tg3 *tp) argument 11488 tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback) argument 11697 tg3_test_loopback(struct tg3 *tp, u64 *data, bool do_extlpbk) argument 11807 struct tg3 *tp = netdev_priv(dev); local 11895 struct tg3 *tp = netdev_priv(dev); local 11951 struct tg3 *tp = netdev_priv(dev); local 11959 struct tg3 *tp = netdev_priv(dev); local 12043 tg3_get_eeprom_size(struct tg3 *tp) argument 12077 tg3_get_nvram_size(struct tg3 *tp) argument 12110 tg3_get_nvram_info(struct tg3 *tp) argument 12161 tg3_nvram_get_pagesize(struct tg3 *tp, u32 nvmcfg1) argument 12188 tg3_get_5752_nvram_info(struct tg3 *tp) argument 12229 tg3_get_5755_nvram_info(struct tg3 *tp) argument 12285 tg3_get_5787_nvram_info(struct tg3 *tp) argument 12323 tg3_get_5761_nvram_info(struct tg3 *tp) argument 12398 tg3_get_5906_nvram_info(struct tg3 *tp) argument 12405 tg3_get_57780_nvram_info(struct tg3 *tp) argument 12478 tg3_get_5717_nvram_info(struct tg3 *tp) argument 12556 tg3_get_5720_nvram_info(struct tg3 *tp) argument 12669 tg3_nvram_init(struct tg3 *tp) argument 12734 tg3_nvram_write_block_using_eeprom(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 12784 tg3_nvram_write_block_unbuffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 12882 tg3_nvram_write_block_buffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 12933 tg3_nvram_write_block(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 13051 tg3_lookup_by_subsys(struct tg3 *tp) argument 13065 tg3_get_eeprom_hw_cfg(struct tg3 *tp) argument 13265 tg3_issue_otp_command(struct tg3 *tp, u32 cmd) argument 13288 tg3_read_otp_phycfg(struct tg3 *tp) argument 13314 tg3_phy_init_link_config(struct tg3 *tp) argument 13342 tg3_phy_probe(struct tg3 *tp) argument 13453 tg3_read_vpd(struct tg3 *tp) argument 13573 tg3_fw_img_is_valid(struct tg3 *tp, u32 offset) argument 13586 tg3_read_bc_ver(struct tg3 *tp) argument 13638 tg3_read_hwsb_ver(struct tg3 *tp) argument 13654 tg3_read_sb_ver(struct tg3 *tp, u32 val) argument 13709 tg3_read_mgmtfw_ver(struct tg3 *tp) argument 13761 tg3_read_dash_ver(struct tg3 *tp) argument 13797 tg3_read_fw_ver(struct tg3 *tp) argument 13838 tg3_rx_ret_ring_size(struct tg3 *tp) argument 13855 tg3_get_invariants(struct tg3 *tp) argument 14706 tg3_get_macaddr_sparc(struct tg3 *tp) argument 14723 tg3_get_default_macaddr_sparc(struct tg3 *tp) argument 14733 tg3_get_device_address(struct tg3 *tp) argument 14812 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) argument 14953 tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dma, int size, int to_device) argument 15040 tg3_test_dma(struct tg3 *tp) argument 15230 tg3_init_bufmgr_config(struct tg3 *tp) argument 15286 tg3_phy_string(struct tg3 *tp) argument 15317 tg3_bus_string(struct tg3 *tp, char *str) argument 15353 tg3_find_peer(struct tg3 *tp) argument 15381 tg3_init_coal(struct tg3 *tp) argument 15434 struct tg3 *tp; local 15813 struct tg3 *tp = netdev_priv(dev); local 15846 struct tg3 *tp = netdev_priv(dev); local 15900 struct tg3 *tp = netdev_priv(dev); local 15950 struct tg3 *tp = netdev_priv(netdev); local 16000 struct tg3 *tp = netdev_priv(netdev); local 16042 struct tg3 *tp = netdev_priv(netdev); local [all...] |
/drivers/net/ethernet/realtek/ |
H A D | r8169.c | 65 #define TX_BUFFS_AVAIL(tp) \ 66 (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1) 712 void (*phy_reset_enable)(struct rtl8169_private *tp); 714 unsigned int (*phy_reset_pending)(struct rtl8169_private *tp); 716 int (*do_ioctl)(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd); 771 static void rtl8169_rx_clear(struct rtl8169_private *tp); 787 static u32 ocp_read(struct rtl8169_private *tp, u8 mask, u16 reg) argument 789 void __iomem *ioaddr = tp->mmio_addr; 801 static void ocp_write(struct rtl8169_private *tp, u argument 815 rtl8168_oob_notify(struct rtl8169_private *tp, u8 cmd) argument 836 rtl8168_get_ocp_reg(struct rtl8169_private *tp) argument 841 rtl8168_driver_start(struct rtl8169_private *tp) argument 857 rtl8168_driver_stop(struct rtl8169_private *tp) argument 873 r8168dp_check_dash(struct rtl8169_private *tp) argument 1003 rtl_writephy(struct rtl8169_private *tp, int location, u32 val) argument 1008 rtl_readphy(struct rtl8169_private *tp, int location) argument 1013 rtl_patchphy(struct rtl8169_private *tp, int reg_addr, int value) argument 1018 rtl_w1w0_phy(struct rtl8169_private *tp, int reg_addr, int p, int m) argument 1029 struct rtl8169_private *tp = netdev_priv(dev); local 1036 struct rtl8169_private *tp = netdev_priv(dev); local 1183 rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) argument 1192 rtl8169_tbi_reset_pending(struct rtl8169_private *tp) argument 1199 rtl8169_xmii_reset_pending(struct rtl8169_private *tp) argument 1214 rtl8169_tbi_reset_enable(struct rtl8169_private *tp) argument 1221 rtl8169_xmii_reset_enable(struct rtl8169_private *tp) argument 1229 rtl_link_chg_patch(struct rtl8169_private *tp) argument 1275 __rtl8169_check_link_status(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr, bool pm) argument 1299 rtl8169_check_link_status(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr) argument 1308 __rtl8169_get_wol(struct rtl8169_private *tp) argument 1337 struct rtl8169_private *tp = netdev_priv(dev); local 1347 __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) argument 1379 struct rtl8169_private *tp = netdev_priv(dev); local 1395 rtl_lookup_firmware_name(struct rtl8169_private *tp) argument 1403 struct rtl8169_private *tp = netdev_priv(dev); local 1423 struct rtl8169_private *tp = netdev_priv(dev); local 1446 struct rtl8169_private *tp = netdev_priv(dev); local 1525 struct rtl8169_private *tp = netdev_priv(dev); local 1542 struct rtl8169_private *tp = netdev_priv(dev); local 1559 struct rtl8169_private *tp = netdev_priv(dev); local 1574 struct rtl8169_private *tp = netdev_priv(dev); local 1598 rtl8169_tx_vlan_tag(struct rtl8169_private *tp, struct sk_buff *skb) argument 1617 struct rtl8169_private *tp = netdev_priv(dev); local 1638 struct rtl8169_private *tp = netdev_priv(dev); local 1645 struct rtl8169_private *tp = netdev_priv(dev); local 1660 struct rtl8169_private *tp = netdev_priv(dev); local 1673 struct rtl8169_private *tp = netdev_priv(dev); local 1680 struct rtl8169_private *tp = netdev_priv(dev); local 1713 struct rtl8169_private *tp = netdev_priv(dev); local 1754 struct rtl8169_private *tp = netdev_priv(dev); local 1800 rtl8169_get_mac_version(struct rtl8169_private *tp, struct net_device *dev, u8 default_version) argument 1904 rtl8169_print_mac_version(struct rtl8169_private *tp) argument 1914 rtl_writephy_batch(struct rtl8169_private *tp, const struct phy_reg *regs, int len) argument 1950 rtl_fw_format_ok(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2001 rtl_fw_data_ok(struct rtl8169_private *tp, struct net_device *dev, struct rtl_fw_phy_action *pa) argument 2060 rtl_check_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2076 rtl_phy_write_fw(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) argument 2155 rtl_release_firmware(struct rtl8169_private *tp) argument 2164 rtl_apply_firmware(struct rtl8169_private *tp) argument 2173 rtl_apply_firmware_cond(struct rtl8169_private *tp, u8 reg, u16 val) argument 2181 rtl8169s_hw_phy_config(struct rtl8169_private *tp) argument 2248 rtl8169sb_hw_phy_config(struct rtl8169_private *tp) argument 2259 rtl8169scd_hw_phy_config_quirk(struct rtl8169_private *tp) argument 2272 rtl8169scd_hw_phy_config(struct rtl8169_private *tp) argument 2319 rtl8169sce_hw_phy_config(struct rtl8169_private *tp) argument 2372 rtl8168bb_hw_phy_config(struct rtl8169_private *tp) argument 2385 rtl8168bef_hw_phy_config(struct rtl8169_private *tp) argument 2396 rtl8168cp_1_hw_phy_config(struct rtl8169_private *tp) argument 2409 rtl8168cp_2_hw_phy_config(struct rtl8169_private *tp) argument 2424 rtl8168c_1_hw_phy_config(struct rtl8169_private *tp) argument 2453 rtl8168c_2_hw_phy_config(struct rtl8169_private *tp) argument 2481 rtl8168c_3_hw_phy_config(struct rtl8169_private *tp) argument 2503 rtl8168c_4_hw_phy_config(struct rtl8169_private *tp) argument 2508 rtl8168d_1_hw_phy_config(struct rtl8169_private *tp) argument 2620 rtl8168d_2_hw_phy_config(struct rtl8169_private *tp) argument 2723 rtl8168d_3_hw_phy_config(struct rtl8169_private *tp) argument 2784 rtl8168d_4_hw_phy_config(struct rtl8169_private *tp) argument 2800 rtl8168e_1_hw_phy_config(struct rtl8169_private *tp) argument 2873 rtl8168e_2_hw_phy_config(struct rtl8169_private *tp) argument 2958 rtl8168f_1_hw_phy_config(struct rtl8169_private *tp) argument 3025 rtl8168f_2_hw_phy_config(struct rtl8169_private *tp) argument 3049 rtl8102e_hw_phy_config(struct rtl8169_private *tp) argument 3066 rtl8105e_hw_phy_config(struct rtl8169_private *tp) argument 3094 struct rtl8169_private *tp = netdev_priv(dev); local 3188 struct rtl8169_private *tp = netdev_priv(dev); local 3227 struct rtl8169_private *tp = netdev_priv(dev); local 3246 rtl8169_phy_reset(struct net_device *dev, struct rtl8169_private *tp) argument 3260 rtl_tbi_enabled(struct rtl8169_private *tp) argument 3268 rtl8169_init_phy(struct net_device *dev, struct rtl8169_private *tp) argument 3304 rtl_rar_set(struct rtl8169_private *tp, u8 *addr) argument 3342 struct rtl8169_private *tp = netdev_priv(dev); local 3357 struct rtl8169_private *tp = netdev_priv(dev); local 3363 rtl_xmii_ioctl(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd) argument 3382 rtl_tbi_ioctl(struct rtl8169_private *tp, struct mii_ioctl_data *data, int cmd) argument 3429 rtl_try_msi(struct rtl8169_private *tp, const struct rtl_cfg_info *cfg) argument 3450 rtl_disable_msi(struct pci_dev *pdev, struct rtl8169_private *tp) argument 3477 rtl_init_mdio_ops(struct rtl8169_private *tp) argument 3498 rtl_wol_suspend_quirk(struct rtl8169_private *tp) argument 3516 rtl_wol_pll_power_down(struct rtl8169_private *tp) argument 3529 r810x_phy_power_down(struct rtl8169_private *tp) argument 3535 r810x_phy_power_up(struct rtl8169_private *tp) argument 3541 r810x_pll_power_down(struct rtl8169_private *tp) argument 3549 r810x_pll_power_up(struct rtl8169_private *tp) argument 3554 r8168_phy_power_up(struct rtl8169_private *tp) argument 3581 r8168_phy_power_down(struct rtl8169_private *tp) argument 3612 r8168_pll_power_down(struct rtl8169_private *tp) argument 3651 r8168_pll_power_up(struct rtl8169_private *tp) argument 3677 rtl_generic_op(struct rtl8169_private *tp, void (*op)(struct rtl8169_private *)) argument 3684 rtl_pll_power_down(struct rtl8169_private *tp) argument 3689 rtl_pll_power_up(struct rtl8169_private *tp) argument 3694 rtl_init_pll_power_ops(struct rtl8169_private *tp) argument 3741 rtl_init_rxcfg(struct rtl8169_private *tp) argument 3777 rtl8169_init_ring_indexes(struct rtl8169_private *tp) argument 3782 rtl_hw_jumbo_enable(struct rtl8169_private *tp) argument 3787 rtl_hw_jumbo_disable(struct rtl8169_private *tp) argument 3792 r8168c_hw_jumbo_enable(struct rtl8169_private *tp) argument 3801 r8168c_hw_jumbo_disable(struct rtl8169_private *tp) argument 3810 r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) argument 3817 r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) argument 3824 r8168e_hw_jumbo_enable(struct rtl8169_private *tp) argument 3835 r8168e_hw_jumbo_disable(struct rtl8169_private *tp) argument 3846 r8168b_0_hw_jumbo_enable(struct rtl8169_private *tp) argument 3852 r8168b_0_hw_jumbo_disable(struct rtl8169_private *tp) argument 3858 r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) argument 3867 r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) argument 3876 rtl_init_jumbo_ops(struct rtl8169_private *tp) argument 3926 rtl_hw_reset(struct rtl8169_private *tp) argument 3947 struct rtl8169_private *tp; local 4191 struct rtl8169_private *tp = netdev_priv(dev); local 4216 rtl_request_uncached_firmware(struct rtl8169_private *tp) argument 4254 rtl_request_firmware(struct rtl8169_private *tp) argument 4262 struct rtl8169_private *tp = netdev_priv(dev); local 4332 rtl_rx_close(struct rtl8169_private *tp) argument 4339 rtl8169_hw_reset(struct rtl8169_private *tp) argument 4367 rtl_set_rx_tx_config_registers(struct rtl8169_private *tp) argument 4378 struct rtl8169_private *tp = netdev_priv(dev); local 4385 rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp, void __iomem *ioaddr) argument 4441 struct rtl8169_private *tp = netdev_priv(dev); local 4873 struct rtl8169_private *tp = netdev_priv(dev); local 5076 struct rtl8169_private *tp = netdev_priv(dev); local 5145 struct rtl8169_private *tp = netdev_priv(dev); local 5168 rtl8169_free_rx_databuff(struct rtl8169_private *tp, void **data_buff, struct RxDesc *desc) argument 5199 rtl8169_alloc_rx_data(struct rtl8169_private *tp, struct RxDesc *desc) argument 5235 rtl8169_rx_clear(struct rtl8169_private *tp) argument 5252 rtl8169_rx_fill(struct rtl8169_private *tp) argument 5280 struct rtl8169_private *tp = netdev_priv(dev); local 5303 rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, unsigned int n) argument 5327 rtl8169_tx_clear(struct rtl8169_private *tp) argument 5335 struct rtl8169_private *tp = netdev_priv(dev); local 5343 struct rtl8169_private *tp = netdev_priv(dev); local 5360 struct rtl8169_private *tp = local 5388 struct rtl8169_private *tp = local 5421 rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) argument 5472 rtl8169_tso_csum(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) argument 5497 struct rtl8169_private *tp = netdev_priv(dev); local 5579 struct rtl8169_private *tp = netdev_priv(dev); local 5624 rtl8169_tx_interrupt(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr) argument 5691 rtl8169_try_rx_copy(void *data, struct rtl8169_private *tp, int pkt_size, dma_addr_t addr) argument 5710 rtl8169_rx_interrupt(struct net_device *dev, struct rtl8169_private *tp, void __iomem *ioaddr, u32 budget) argument 5800 struct rtl8169_private *tp = netdev_priv(dev); local 5875 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); local 5903 struct rtl8169_private *tp = netdev_priv(dev); local 5914 struct rtl8169_private *tp = netdev_priv(dev); local 5949 struct rtl8169_private *tp = netdev_priv(dev); local 5975 struct rtl8169_private *tp = netdev_priv(dev); local 6033 struct rtl8169_private *tp = netdev_priv(dev); local 6048 struct rtl8169_private *tp = netdev_priv(dev); local 6073 struct rtl8169_private *tp = netdev_priv(dev); local 6086 struct rtl8169_private *tp = netdev_priv(dev); local 6100 struct rtl8169_private *tp = netdev_priv(dev); local 6119 struct rtl8169_private *tp = netdev_priv(dev); local 6140 struct rtl8169_private *tp = netdev_priv(dev); local 6165 rtl_wol_shutdown_quirk(struct rtl8169_private *tp) argument 6188 struct rtl8169_private *tp = netdev_priv(dev); local [all...] |
H A D | 8139too.c | 631 static void rtl8139_start_thread(struct rtl8139_private *tp); 706 struct rtl8139_private *tp = netdev_priv(dev); local 710 assert (tp->pci_dev != NULL); 711 pdev = tp->pci_dev; 713 if (tp->mmio_addr) 714 pci_iounmap (pdev, tp->mmio_addr); 745 struct rtl8139_private *tp; local 756 dev = alloc_etherdev (sizeof (*tp)); 763 tp = netdev_priv(dev); 764 tp 931 struct rtl8139_private *tp; local 1097 struct rtl8139_private *tp = netdev_priv(dev); local 1215 struct rtl8139_private *tp = netdev_priv(dev); local 1258 struct rtl8139_private *tp = netdev_priv(dev); local 1301 struct rtl8139_private *tp = netdev_priv(dev); local 1351 struct rtl8139_private *tp = netdev_priv(dev); local 1361 struct rtl8139_private *tp = netdev_priv(dev); local 1428 struct rtl8139_private *tp = netdev_priv(dev); local 1444 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) argument 1460 rtl8139_tune_twister(struct net_device *dev, struct rtl8139_private *tp) argument 1546 rtl8139_thread_iter(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1589 struct rtl8139_private *tp = local 1611 rtl8139_start_thread(struct rtl8139_private *tp) argument 1625 rtl8139_tx_clear(struct rtl8139_private *tp) argument 1635 struct rtl8139_private *tp = local 1680 struct rtl8139_private *tp = netdev_priv(dev); local 1692 struct rtl8139_private *tp = netdev_priv(dev); local 1736 rtl8139_tx_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1806 rtl8139_rx_err(u32 rx_status, struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr) argument 1901 rtl8139_isr_ack(struct rtl8139_private *tp) argument 1919 rtl8139_rx(struct net_device *dev, struct rtl8139_private *tp, int budget) argument 2039 rtl8139_weird_interrupt(struct net_device *dev, struct rtl8139_private *tp, void __iomem *ioaddr, int status, int link_changed) argument 2078 struct rtl8139_private *tp = container_of(napi, struct rtl8139_private, napi); local 2109 struct rtl8139_private *tp = netdev_priv(dev); local 2185 struct rtl8139_private *tp = netdev_priv(dev); local 2208 struct rtl8139_private *tp = netdev_priv(dev); local 2258 struct rtl8139_private *tp = netdev_priv(dev); local 2292 struct rtl8139_private *tp = netdev_priv(dev); local 2332 struct rtl8139_private *tp = netdev_priv(dev); local 2341 struct rtl8139_private *tp = netdev_priv(dev); local 2350 struct rtl8139_private *tp = netdev_priv(dev); local 2360 struct rtl8139_private *tp = netdev_priv(dev); local 2366 struct rtl8139_private *tp = netdev_priv(dev); local 2372 struct rtl8139_private *tp = netdev_priv(dev); local 2378 struct rtl8139_private *tp = netdev_priv(dev); local 2384 struct rtl8139_private *tp; local 2394 struct rtl8139_private *tp; local 2420 struct rtl8139_private *tp = netdev_priv(dev); local 2452 struct rtl8139_private *tp = netdev_priv(dev); local 2468 struct rtl8139_private *tp = netdev_priv(dev); local 2487 struct rtl8139_private *tp = netdev_priv(dev); local 2532 struct rtl8139_private *tp = netdev_priv(dev); local 2544 struct rtl8139_private *tp = netdev_priv(dev); 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 1549 struct sis190_private *tp = netdev_priv(dev); local 1575 sis190_set_rgmii(struct sis190_private *tp, u8 reg) argument 1583 struct sis190_private *tp = netdev_priv(dev); local 1626 struct sis190_private *tp = netdev_priv(dev); local 1680 struct sis190_private *tp = netdev_priv(dev); local 1719 struct sis190_private *tp = netdev_priv(dev); local 1744 struct sis190_private *tp = netdev_priv(dev); local 1751 struct sis190_private *tp = netdev_priv(dev); local 1759 struct sis190_private *tp = netdev_priv(dev); local 1775 struct sis190_private *tp = netdev_priv(dev); local 1788 struct sis190_private *tp = netdev_priv(dev); local 1795 struct sis190_private *tp = netdev_priv(dev); local 1802 struct sis190_private *tp = netdev_priv(dev); local 1821 struct sis190_private *tp = netdev_priv(dev); local 1856 struct sis190_private *tp; local 1928 struct sis190_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 984 struct typhoon *tp = netdev_priv(dev); local 1013 struct typhoon *tp = netdev_priv(dev); local 1071 struct typhoon *tp = netdev_priv(dev); local 1121 struct typhoon *tp = netdev_priv(dev); local 1135 struct typhoon *tp = netdev_priv(dev); local 1191 typhoon_init_interface(struct typhoon *tp) argument 1261 typhoon_init_rings(struct typhoon *tp) argument 1280 typhoon_request_firmware(struct typhoon *tp) argument 1338 typhoon_download_firmware(struct typhoon *tp) argument 1479 typhoon_boot_3XP(struct typhoon *tp, u32 initial_status) argument 1515 typhoon_clean_tx(struct typhoon *tp, struct transmit_ring *txRing, volatile __le32 * index) argument 1551 typhoon_tx_complete(struct typhoon *tp, struct transmit_ring *txRing, volatile __le32 * index) argument 1568 typhoon_recycle_rx_skb(struct typhoon *tp, u32 idx) argument 1595 typhoon_alloc_rx_skb(struct typhoon *tp, u32 idx) argument 1642 typhoon_rx(struct typhoon *tp, struct basic_ring *rxRing, volatile __le32 * ready, volatile __le32 * cleared, int budget) argument 1719 typhoon_fill_free_ring(struct typhoon *tp) argument 1735 struct typhoon *tp = container_of(napi, struct typhoon, napi); local 1777 struct typhoon *tp = netdev_priv(dev); local 1798 typhoon_free_rx_rings(struct typhoon *tp) argument 1814 typhoon_sleep(struct typhoon *tp, pci_power_t state, __le16 events) argument 1851 typhoon_wakeup(struct typhoon *tp, int wait_type) argument 1872 typhoon_start_runtime(struct typhoon *tp) argument 1964 typhoon_stop_runtime(struct typhoon *tp, int wait_type) argument 2027 struct typhoon *tp = netdev_priv(dev); local 2055 struct typhoon *tp = netdev_priv(dev); local 2104 struct typhoon *tp = netdev_priv(dev); local 2132 struct typhoon *tp = netdev_priv(dev); local 2161 struct typhoon *tp = netdev_priv(dev); local 2278 struct typhoon *tp; local 2529 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...] |