/drivers/net/ethernet/dec/tulip/ |
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 | 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 | 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 | 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 | eeprom.c | 93 * @tp: Ptr to the tulip private data. 104 static void tulip_build_fake_mediatable(struct tulip_private *tp) argument 107 if (tp->flags & NEEDS_FAKE_MEDIA_TABLE) { 120 tp->mtable = kmalloc(sizeof(struct mediatable) + 123 if (tp->mtable == NULL) 126 tp->mtable->defaultmedia = 0x800; 127 tp->mtable->leafcount = 1; 128 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ 129 tp->mtable->has_nonmii = 0; 130 tp 154 struct tulip_private *tp = netdev_priv(dev); local 345 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 if (dma_mapping_error(&tp->pdev->dev, mapping)) { 81 tp 108 struct tulip_private *tp = netdev_priv(dev); local 114 struct tulip_private *tp = container_of(napi, struct tulip_private, napi); local 367 struct tulip_private *tp = netdev_priv(dev); local 492 struct tulip_private *tp = netdev_priv(dev); local 518 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | media.c | 49 struct tulip_private *tp = netdev_priv(dev); local 53 void __iomem *ioaddr = tp->base_addr; 60 if (tp->chip_id == COMET && phy_id == 30) { 66 spin_lock_irqsave(&tp->mii_lock, flags); 67 if (tp->chip_id == LC82C168) { 76 spin_unlock_irqrestore(&tp->mii_lock, flags); 105 spin_unlock_irqrestore(&tp->mii_lock, flags); 111 struct tulip_private *tp = netdev_priv(dev); local 114 void __iomem *ioaddr = tp->base_addr; 121 if (tp 169 struct tulip_private *tp = netdev_priv(dev); local 404 struct tulip_private *tp = netdev_priv(dev); local 451 struct tulip_private *tp = netdev_priv(dev); local [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-rds-gen.h | 43 bool tp; member in struct:vivid_rds_gen
|
/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...] |
/drivers/leds/ |
H A D | led-triggers.c | 298 void led_trigger_register_simple(const char *name, struct led_trigger **tp) argument 318 *tp = trig;
|
/drivers/gpu/drm/tegra/ |
H A D | dpaux.c | 522 u8 tp = pattern & DP_TRAINING_PATTERN_MASK; local 531 if (tp == DP_TRAINING_PATTERN_DISABLE) 551 switch (tp) { 565 dev_err(dpaux->dev, "unsupported training pattern %u\n", tp);
|
/drivers/input/mouse/ |
H A D | trackpoint.c | 116 struct trackpoint_data *tp = psmouse->private; local 118 unsigned char value = *(unsigned char *)((char *)tp + attr->field_offset); 129 struct trackpoint_data *tp = psmouse->private; local 131 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); 158 struct trackpoint_data *tp = psmouse->private; local 160 unsigned char *field = (unsigned char *)((char *)tp + attr->field_offset); 283 struct trackpoint_data *tp = psmouse->private; local 305 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, sensitivity); 306 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, inertia); 307 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, spee 324 trackpoint_defaults(struct trackpoint_data *tp) argument [all...] |
/drivers/mtd/ubi/ |
H A D | vmt.c | 91 const char *tp; local 94 tp = "dynamic"; 96 tp = "static"; 97 ret = sprintf(buf, "%s\n", tp);
|
/drivers/ptp/ |
H A D | ptp_clock.c | 100 static int ptp_clock_getres(struct posix_clock *pc, struct timespec *tp) argument 102 tp->tv_sec = 0; 103 tp->tv_nsec = 1; 107 static int ptp_clock_settime(struct posix_clock *pc, const struct timespec *tp) argument 110 return ptp->info->settime(ptp->info, tp); 113 static int ptp_clock_gettime(struct posix_clock *pc, struct timespec *tp) argument 116 return ptp->info->gettime(ptp->info, tp);
|
/drivers/staging/line6/ |
H A D | toneport.c | 111 struct usb_line6_toneport *tp = usb_get_intfdata(interface); local 114 if (!tp) 117 line6 = &tp->line6;
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_lib-linux.c | 559 struct tcp_sock *tp; local 569 tp = tcp_sk(sk); 572 nonagle = tp->nonagle; 573 tp->nonagle = 1; 581 tp->nonagle = nonagle;
|
/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 517 struct tty_struct *tp; local 535 tp = port->tty; 565 if (!tp || 566 !(tp->termios.c_cflag & CREAD) ) { 615 if (I_PARMRK(tp) || I_BRKINT(tp) || I_INPCK(tp)) {
|
/drivers/ide/ |
H A D | cmd64x.c | 101 struct ide_timing tp; local 103 ide_timing_compute(pair, pair->pio_mode, &tp, T, 0); 104 ide_timing_merge(&t, &tp, &t, IDE_TIMING_SETUP); 107 &tp, T, 0); 108 ide_timing_merge(&tp, &t, &t, IDE_TIMING_SETUP);
|
/drivers/platform/x86/ |
H A D | intel_mid_thermal.c | 126 * @tp: temperature return value 135 static int adc_to_temp(int direct, uint16_t adc_val, unsigned long *tp) argument 142 *tp = to_msic_die_temp(adc_val) * 1000; 164 *tp = temp * 1000;
|
/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 532 destroy_one_temp(struct bbc_cpu_temperature *tp) argument 540 struct bbc_cpu_temperature *tp, *tpos; local [all...] |
/drivers/scsi/megaraid/ |
H A D | megaraid_mm.c | 686 struct timer_list *tp = NULL; local 697 tp = &timer; 698 init_timer(tp); 700 tp->function = lld_timedout; 701 tp->data = (unsigned long)kioc; 702 tp->expires = jiffies + adp->timeout * HZ; 704 add_timer(tp); 712 if (tp) { 713 del_timer_sync(tp);
|
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 95 sym_Symbios_setup_target(struct sym_tcb *tp, int target, Symbios_nvram *nvram) argument 100 tp->usrtags = 0; 102 tp->usrflags &= ~SYM_DISC_ENABLED; 104 tp->usrflags |= SYM_SCAN_BOOT_DISABLED; 106 tp->usrflags |= SYM_SCAN_LUNS_DISABLED; 107 tp->usr_period = (tn->sync_period + 3) / 4; 108 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; 119 sym_Tekram_setup_target(struct sym_tcb *tp, int target, Tekram_nvram *nvram) argument 124 tp->usrtags = 2 << nvram->max_tags_index; 128 tp 138 sym_nvram_setup_target(struct sym_tcb *tp, int target, struct sym_nvram *nvp) argument [all...] |
/drivers/ata/ |
H A D | pata_cmd64x.c | 126 struct ata_timing tp; local 127 ata_timing_compute(pair, pair->pio_mode, &tp, T, 0); 128 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP);
|
/drivers/char/ |
H A D | mmtimer.c | 481 static int sgi_clock_get(clockid_t clockid, struct timespec *tp) argument 487 *tp = ns_to_timespec(nsec); 488 tp->tv_sec += sgi_clock_offset.tv_sec; 492 static int sgi_clock_set(const clockid_t clockid, const struct timespec *tp) argument 500 sgi_clock_offset.tv_sec = tp->tv_sec - div_u64_rem(nsec, NSEC_PER_SEC, &rem); 502 if (rem <= tp->tv_nsec) 503 sgi_clock_offset.tv_nsec = tp->tv_sec - rem; 505 sgi_clock_offset.tv_nsec = tp->tv_sec + NSEC_PER_SEC - rem; 768 static int sgi_clock_getres(const clockid_t which_clock, struct timespec *tp) argument 770 tp [all...] |
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | nv50.c | 441 u32 ustatus_addr, u32 ustatus, u32 tp) 456 tp, e14, e10 | ((e18 >> 24) & 0x1f)); 461 tp, e14, e10 | ((e18 >> 7) & 0x1f)); 465 tp, e14, e10); 470 nv_error(priv, "TRAP_PROP - TP %d -", tp); 475 tp, e0c, e18, e1c, e20, e24); 440 nv50_priv_prop_trap(struct nv50_graph_priv *priv, u32 ustatus_addr, u32 ustatus, u32 tp) argument
|