/drivers/tc/ |
H A D | Makefile | 7 obj-$(CONFIG_TC) += tc.o tc-driver.o
|
H A D | tc-driver.c | 17 #include <linux/tc.h> 100 .name = "tc",
|
/drivers/misc/ |
H A D | atmel_tclib.c | 46 struct atmel_tc *tc; local 52 list_for_each_entry(tc, &tc_list, node) { 53 if (tc->pdev->dev.of_node) { 54 if (of_alias_get_id(tc->pdev->dev.of_node, "tcb") 56 pdev = tc->pdev; 59 } else if (tc->pdev->id == block) { 60 pdev = tc->pdev; 65 if (!pdev || tc->iomem) 77 tc->regs = ioremap(r->start, size); 78 if (!tc 103 atmel_tc_free(struct atmel_tc *tc) argument 142 struct atmel_tc *tc; local [all...] |
/drivers/md/ |
H A D | dm-snap-transient.c | 42 struct transient_c *tc = store->context; local 45 if (size < (tc->next_free + store->chunk_size)) 48 e->new_chunk = sector_to_chunk(store, tc->next_free); 49 tc->next_free += store->chunk_size; 76 struct transient_c *tc; local 78 tc = kmalloc(sizeof(struct transient_c), GFP_KERNEL); 79 if (!tc) 82 tc->next_free = 0; 83 store->context = tc;
|
H A D | dm-thin.c | 634 struct thin_c *tc; member in struct:endio_hook 640 static void __requeue_bio_list(struct thin_c *tc, struct bio_list *master) argument 651 if (h->tc == tc) 658 static void requeue_io(struct thin_c *tc) argument 660 struct pool *pool = tc->pool; 664 __requeue_bio_list(tc, &pool->deferred_bios); 665 __requeue_bio_list(tc, &pool->retry_on_resume_list); 676 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) argument 678 return bio->bi_sector >> tc 681 remap(struct thin_c *tc, struct bio *bio, dm_block_t block) argument 690 remap_to_origin(struct thin_c *tc, struct bio *bio) argument 695 issue(struct thin_c *tc, struct bio *bio) argument 712 remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) argument 718 remap_and_issue(struct thin_c *tc, struct bio *bio, dm_block_t block) argument 746 struct thin_c *tc; member in struct:new_mapping 814 cell_defer(struct thin_c *tc, struct cell *cell, dm_block_t data_block) argument 831 cell_defer_except(struct thin_c *tc, struct cell *cell) argument 848 struct thin_c *tc = m->tc; local 892 struct thin_c *tc = m->tc; local 971 schedule_copy(struct thin_c *tc, dm_block_t virt_block, struct dm_dev *origin, dm_block_t data_origin, dm_block_t data_dest, struct cell *cell, struct bio *bio) argument 1026 schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_origin, dm_block_t data_dest, struct cell *cell, struct bio *bio) argument 1034 schedule_external_copy(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_dest, struct cell *cell, struct bio *bio) argument 1042 schedule_zero(struct thin_c *tc, dm_block_t virt_block, dm_block_t data_block, struct cell *cell, struct bio *bio) argument 1091 alloc_data_block(struct thin_c *tc, dm_block_t *result) argument 1159 struct thin_c *tc = h->tc; local 1180 process_discard(struct thin_c *tc, struct bio *bio) argument 1263 break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, struct cell_key *key, struct dm_thin_lookup_result *lookup_result, struct cell *cell) argument 1289 process_shared_bio(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_thin_lookup_result *lookup_result) argument 1317 provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, struct cell *cell) argument 1362 process_bio(struct thin_c *tc, struct bio *bio) argument 1436 struct thin_c *tc = h->tc; local 1513 thin_defer_bio(struct thin_c *tc, struct bio *bio) argument 1525 thin_hook_bio(struct thin_c *tc, struct bio *bio) argument 1545 struct thin_c *tc = ti->private; local 2480 struct thin_c *tc = ti->private; local 2509 struct thin_c *tc; local 2664 struct thin_c *tc = ti->private; local 2704 struct thin_c *tc = ti->private; local 2722 struct thin_c *tc = ti->private; local [all...] |
/drivers/clocksource/ |
H A D | tcb_clksrc.c | 188 static void __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) argument 190 struct clk *t2_clk = tc->clk[2]; 191 int irq = tc->irq[2]; 193 clkevt.regs = tc->regs; 212 static void __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) argument 219 static void __init tcb_setup_dual_chan(struct atmel_tc *tc, int mck_divisor_idx) argument 247 static void __init tcb_setup_single_chan(struct atmel_tc *tc, int mck_divisor_idx) argument 264 = KERN_DEBUG "%s: tc%d at %d.%03d MHz\n"; 267 struct atmel_tc *tc; local 274 tc [all...] |
/drivers/input/touchscreen/ |
H A D | tsc2007.c | 109 static void tsc2007_read_values(struct tsc2007 *tsc, struct ts_event *tc) argument 112 tc->y = tsc2007_xfer(tsc, READ_Y); 115 tc->x = tsc2007_xfer(tsc, READ_X); 118 tc->z1 = tsc2007_xfer(tsc, READ_Z1); 119 tc->z2 = tsc2007_xfer(tsc, READ_Z2); 125 static u32 tsc2007_calculate_pressure(struct tsc2007 *tsc, struct ts_event *tc) argument 130 if (tc->x == MAX_12BIT) 131 tc->x = 0; 133 if (likely(tc->x && tc 171 struct ts_event tc; local [all...] |
H A D | tps6507x-ts.c | 46 struct ts_event tc; member in struct:tps6507x_ts 175 &tsc->tc.pressure); 179 pendown = tsc->tc.pressure > tsc->min_pressure; 198 &tsc->tc.x); 203 &tsc->tc.y); 207 input_report_abs(input_dev, ABS_X, tsc->tc.x); 208 input_report_abs(input_dev, ABS_Y, tsc->tc.y); 209 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure);
|
H A D | ads7846.c | 88 struct ts_event tc; member in struct:ads7846_packet 734 packet->tc.ignore = true; 752 packet->tc.ignore = true; 758 packet->tc.ignore = false; 783 x = *(u16 *)packet->tc.x_buf; 784 y = *(u16 *)packet->tc.y_buf; 788 x = packet->tc.x; 789 y = packet->tc.y; 790 z1 = packet->tc.z1; 791 z2 = packet->tc [all...] |
/drivers/scsi/isci/ |
H A D | request.c | 78 return &ireq->tc->sgl_pair_ab; 80 return &ireq->tc->sgl_pair_cd; 93 offset = (void *) &ireq->tc->sgl_pair_ab - 97 offset = (void *) &ireq->tc->sgl_pair_cd - 299 struct scu_task_context *tc = ireq->tc; local 303 tc->block_guard_enable = 1; 304 tc->blk_prot_en = 1; 305 tc->blk_sz = blk_sz; 307 tc 354 struct scu_task_context *tc = ireq->tc; local 811 struct scu_task_context *tc = ireq->tc; local [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_lib.c | 55 static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, argument 67 *tx = tc << 2; 68 *rx = tc << 3; 73 if (tc < 3) { 74 *tx = tc << 5; 75 *rx = tc << 4; 76 } else if (tc < 5) { 77 *tx = ((tc + 2) << 4); 78 *rx = tc << 4; 79 } else if (tc < num_tc 397 int tc; local [all...] |
H A D | ixgbe_dcb.h | 67 u8 tc; member in struct:dcb_pfc_tc_debug 123 u8 tc; /* Traffic class (TC) */ member in struct:tc_configuration
|
H A D | ixgbe_dcb_nl.c | 206 static void ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, argument 213 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; 215 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id; 217 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = 220 adapter->temp_dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap = 232 static void ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, argument 239 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; 241 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_id = bwg_id; 243 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_percent = 246 adapter->temp_dcb_cfg.tc_config[tc] 258 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) argument 278 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) argument [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_sqp.c | 130 u32 tc:8; member in struct:tcslfl 138 u32 tc:8; member in struct:vertcfl 194 tcslfl->tc = vertcfl->tc;
|
/drivers/atm/ |
H A D | firestream.c | 681 void *tc; local 692 tc = bus_to_virt (qe->p0); 693 fs_dprintk (FS_DEBUG_ALLOC, "Free tc: %p\n", tc); 694 kfree (tc); 863 struct fs_transmit_config *tc; local 944 tc = kmalloc (sizeof (struct fs_transmit_config), GFP_KERNEL); 945 fs_dprintk (FS_DEBUG_ALLOC, "Alloc tc: %p(%Zd)\n", 946 tc, sizeof (struct fs_transmit_config)); 947 if (!tc) { [all...] |
/drivers/s390/block/ |
H A D | dasd_eer.c | 589 int tc,rc; local 611 tc = 0; 612 while (!tc) { 613 tc = dasd_eer_read_buffer(eerb, (char *) &tailcount, 615 if (!tc) { 631 WARN_ON(tc != sizeof(tailcount)); 636 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); 637 WARN_ON(tc != effective_count);
|
/drivers/scsi/ |
H A D | raid_class.c | 48 struct transport_container *tc = \ 50 tc_to_raid_internal(tc); \ 80 static int raid_setup(struct transport_container *tc, struct device *dev, argument 97 static int raid_remove(struct transport_container *tc, struct device *dev, argument
|
/drivers/ide/ |
H A D | au1xxx-ide.c | 237 unsigned int tc = (cur_len < 0xfe00)? cur_len: 0xfe00; local 253 sg_phys(sg), tc, flags)) { 259 sg_phys(sg), tc, flags)) { 265 cur_addr += tc; 266 cur_len -= tc;
|
/drivers/video/ |
H A D | pmag-ba-fb.c | 32 #include <linux/tc.h> 265 MODULE_DEVICE_TABLE(tc, pmagbafb_tc_table);
|
/drivers/net/ethernet/sfc/ |
H A D | tx.c | 378 unsigned tc; local 387 for (tc = 0; tc < num_tc; tc++) { 388 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; 389 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 113 static int tc = TC_DEFAULT; variable 114 module_param(tc, int, S_IRUGO | S_IWUSR); 115 MODULE_PARM_DESC(tc, "DMA threshold control value"); 576 tc = SF_DMA_MODE; 578 priv->hw->dma->dma_mode(priv->ioaddr, tc, SF_DMA_MODE); 753 if (unlikely(tc != SF_DMA_MODE) && (tc <= 256)) { 754 tc += 64; 755 priv->hw->dma->dma_mode(priv->ioaddr, tc, SF_DMA_MODE); 756 priv->xstats.threshold = tc; [all...] |
/drivers/base/ |
H A D | transport_class.c | 68 static int anon_transport_dummy_function(struct transport_container *tc, argument
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 171 unsigned int tc; /* PCI-E traffic class */ member in struct:vf_resources
|
/drivers/ |
H A D | Makefile | 71 obj-$(CONFIG_TC) += tc/
|
/drivers/tty/vt/ |
H A D | vt.c | 2114 int c, tc, ok, n = 0, draw_x = -1; local 2167 tc = c; 2238 tc = c; 2240 tc = vc_translate(vc, c); 2243 param.c = tc; 2258 ok = tc && (c >= 32 || 2270 tc = conv_uni_to_pc(vc, tc); 2271 if (tc & ~charmask) { 2272 if (tc [all...] |