/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 189 struct tp_params tp; member in struct:adapter_params 246 struct petp *tp; member in struct:adapter
|
H A D | cxgb2.c | 56 #include "tp.h" 196 t1_tp_set_ip_checksum_offload(adapter->tp, 1); /* for TSO only */ 197 t1_tp_set_tcp_checksum_offload(adapter->tp, 1);
|
/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 492 struct temac_option *tp = &temac_options[0]; local 496 while (tp->opt) { 497 reg = temac_indirect_in32(lp, tp->reg) & ~tp->m_or; 498 if (options & tp->opt) 499 reg |= tp->m_or; 500 temac_indirect_out32(lp, tp->reg, reg); 501 tp++;
|
H A D | xilinx_axienet_main.c | 433 struct axienet_option *tp = &axienet_options[0]; local 435 while (tp->opt) { 436 reg = ((axienet_ior(lp, tp->reg)) & ~(tp->m_or)); 437 if (options & tp->opt) 438 reg |= tp->m_or; 439 axienet_iow(lp, tp->reg, reg); 440 tp++;
|
/drivers/ata/ |
H A D | pata_cmd64x.c | 127 struct ata_timing tp; local 128 ata_timing_compute(pair, pair->pio_mode, &tp, T, 0); 129 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP);
|
H A D | pata_legacy.c | 481 struct ata_timing tp; local 482 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); 484 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP); 560 struct ata_timing tp; local 561 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); 563 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP);
|
/drivers/tty/ |
H A D | tty_io.c | 1248 struct ktermios *tp; local 1251 tp = tty->driver->termios[idx]; 1252 if (tp == NULL) { 1253 tp = kzalloc(sizeof(struct ktermios[2]), GFP_KERNEL); 1254 if (tp == NULL) 1256 memcpy(tp, &tty->driver->init_termios, 1258 tty->driver->termios[idx] = tp; 1260 tty->termios = tp; 1261 tty->termios_locked = tp + 1; 1436 struct ktermios *tp; local 3067 struct ktermios *tp; local [all...] |
/drivers/net/tokenring/ |
H A D | smctr.h | 16 #define SMC_PAGE_OFFSET(X) (((unsigned long)(X) - tp->ram_access) & tp->page_offset_mask) 272 #define PAGE_POINTER(X) ((((unsigned long)(X) - tp->ram_access) & tp->page_offset_mask) + tp->ram_access) 716 #define TRC_POINTER(X) ((unsigned long)(X) - tp->ram_access) 717 #define RX_FCB_TRC_POINTER(X) ((unsigned long)(X) - tp->ram_access + RX_FCB_AREA_8316) 718 #define RX_BUFF_TRC_POINTER(X) ((unsigned long)(X) - tp->ram_access + RX_BUFF_AREA_8316)
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_hw.c | 918 * t3_get_tp_version - read the tp sram version 941 * t3_check_tpsram_version - read the tp sram version 980 * Checks if an adapter's tp sram is compatible with the driver. 2962 const struct trace_params *tp, int filter_index, 2967 key[0] = tp->sport | (tp->sip << 16); 2968 key[1] = (tp->sip >> 16) | (tp->dport << 16); 2969 key[2] = tp->dip; 2970 key[3] = tp 2961 t3_config_trace_filter(struct adapter *adapter, const struct trace_params *tp, int filter_index, int invert, int enable) argument [all...] |
H A D | cxgb3_offload.c | 224 val = min(adapter->params.tp.tx_pg_size, 243 val = min(adapter->params.tp.rx_pg_size, 378 struct tp_params *tp = &adapter->params.tp; local 447 rx_page_info->page_size = tp->rx_pg_size; 448 rx_page_info->num = tp->rx_num_pgs;
|
H A D | common.h | 386 struct tp_params tp; member in struct:adapter_params 732 const struct trace_params *tp, int filter_index,
|
H A D | cxgb3_main.c | 2366 struct tp_params *p = &adapter->params.tp; 2382 struct tp_params *p = &adapter->params.tp; 2469 const struct trace_params *tp; local 2478 tp = (const struct trace_params *)&t.sip; 2480 t3_config_trace_filter(adapter, tp, 0, 2484 t3_config_trace_filter(adapter, tp, 1,
|
/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 8592 * On error, kfree() cleanup on tp->* is not performed, caller must do it */ 8594 struct thinkpad_id_data *tp) 8600 if (!tp) 8603 memset(tp, 0, sizeof(*tp)); 8606 tp->vendor = PCI_VENDOR_ID_IBM; 8608 tp->vendor = PCI_VENDOR_ID_LENOVO; 8613 tp->bios_version_str = kstrdup(s, GFP_KERNEL); 8614 if (s && !tp->bios_version_str) 8618 if (!tpacpi_is_valid_fw_id(tp 8593 get_thinkpad_model_data( struct thinkpad_id_data *tp) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 691 static void radeon_dp_set_tp(struct radeon_dp_link_train_info *dp_info, int tp) argument 697 switch (tp) { 710 switch (tp) { 723 radeon_write_dpcd_reg(dp_info->radeon_connector, DP_TRAINING_PATTERN_SET, tp);
|
/drivers/mtd/ubi/ |
H A D | vmt.c | 95 const char *tp; local 98 tp = "dynamic"; 100 tp = "static"; 101 ret = sprintf(buf, "%s\n", tp);
|
/drivers/gpu/drm/nouveau/ |
H A D | nvc0_grctx.c | 1795 int i, gpc, tp, id; local 1824 for (tp = 0, id = 0; tp < 4; tp++) { 1826 if (tp < priv->tp_nr[gpc]) { 1827 nv_wr32(dev, TP_UNIT(gpc, tp, 0x698), id); 1828 nv_wr32(dev, TP_UNIT(gpc, tp, 0x4e8), id); 1829 nv_wr32(dev, GPC_UNIT(gpc, 0x0c10 + tp * 4), id); 1830 nv_wr32(dev, TP_UNIT(gpc, tp, 0x088), id); 1859 for (tp [all...] |
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-hdw.c | 1815 int tp = -1; local 1817 tp = tuner[unit_number]; 1819 if (tp < 0) return -EINVAL; 1820 hdw->tuner_type = tp; 1829 int tp = 0; local 1831 tp = video_std[unit_number]; 1832 if (tp) return tp; 1841 int tp = 0; local 1843 tp 2970 get_ctrl_typename(enum pvr2_ctl_type tp) argument [all...] |
H A D | pvrusb2-sysfs.c | 107 enum pvr2_ctl_type tp; local 109 tp = pvr2_ctrl_get_type(cip->cptr); 110 switch (tp) {
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 359 struct ipoib_path *path, *tp; local 363 list_for_each_entry_safe(path, tp, &priv->path_list, list) { 376 struct ipoib_path *path, *tp; local 388 list_for_each_entry_safe(path, tp, &remove_list, list) {
|
/drivers/tty/ipwireless/ |
H A D | hardware.c | 1728 struct ipw_tx_packet *tp, *tq; local 1739 list_for_each_entry_safe(tp, tq, &hw->tx_queue[i], queue) { 1740 list_del(&tp->queue); 1741 kfree(tp);
|
/drivers/net/ethernet/sun/ |
H A D | sunhme.c | 141 struct happy_meal_txd *tp = &hb->happy_meal_txd[0]; local 147 le32_to_cpu(tp[i].tx_flags), le32_to_cpu(tp[i].tx_addr), 148 le32_to_cpu(tp[i + 1].tx_flags), le32_to_cpu(tp[i + 1].tx_addr), 149 le32_to_cpu(tp[i + 2].tx_flags), le32_to_cpu(tp[i + 2].tx_addr), 150 le32_to_cpu(tp[i + 3].tx_flags), le32_to_cpu(tp[i + 3].tx_addr));
|
H A D | niu.h | 2878 #define NEXT_TX(tp, index) \ 2879 (((index) + 1) < (tp)->pending ? ((index) + 1) : 0) 2881 static inline u32 niu_tx_avail(struct tx_ring_info *tp) argument 2883 return (tp->pending - 2884 ((tp->prod - tp->cons) & (MAX_TX_RING_SIZE - 1)));
|
/drivers/mtd/ |
H A D | mtdswap.c | 207 struct mtdswap_tree *tp; local 210 tp = container_of(eb->root, struct mtdswap_tree, root); 211 oldidx = tp - &d->trees[0];
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 218 struct tp_params tp; member in struct:adapter_params
|
/drivers/isdn/hisax/ |
H A D | isar.c | 1246 u_char *tp = debbuf; local 1248 tp += sprintf(debbuf, "msg iis(%x) msb(%x)", 1250 QuickHex(tp, (u_char *)ireg->par, ireg->clsb);
|