Home
last modified time | relevance | path

Searched +full:- +full:i (Results 1 – 25 of 1142) sorted by relevance

12345678910>>...46

/linux-3.3/fs/hpfs/
Dinode.c4 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
12 void hpfs_init_inode(struct inode *i) in hpfs_init_inode() argument
14 struct super_block *sb = i->i_sb; in hpfs_init_inode()
15 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode()
17 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode()
18 i->i_gid = hpfs_sb(sb)->sb_gid; in hpfs_init_inode()
19 i->i_mode = hpfs_sb(sb)->sb_mode; in hpfs_init_inode()
20 i->i_size = -1; in hpfs_init_inode()
21 i->i_blocks = -1; in hpfs_init_inode()
23 hpfs_inode->i_dno = 0; in hpfs_init_inode()
[all …]
/linux-3.3/drivers/net/wireless/ath/ath9k/
Deeprom.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
31 if (ah->config.analog_shiftreg) in ath9k_hw_analog_shift_regwrite()
45 if (ah->config.analog_shiftreg) in ath9k_hw_analog_shift_rmw()
57 rv = (int16_t) (((target - srcLeft) * targetRight + in ath9k_hw_interpolate()
58 (srcRight - target) * targetLeft) / in ath9k_hw_interpolate()
59 (srcRight - srcLeft)); in ath9k_hw_interpolate()
67 u16 i; in ath9k_hw_get_lower_upper_index() local
73 if (target >= pList[listSize - 1]) { in ath9k_hw_get_lower_upper_index()
74 *indexL = *indexR = (u16) (listSize - 1); in ath9k_hw_get_lower_upper_index()
78 for (i = 0; i < listSize - 1; i++) { in ath9k_hw_get_lower_upper_index()
[all …]
Dar9003_paprd.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
23 struct ath9k_channel *chan = ah->curchan; in ar9003_paprd_enable()
24 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; in ar9003_paprd_enable()
28 * is used for sub-band disabling of PAPRD. in ar9003_paprd_enable()
29 * 5G band is divided into 3 sub-bands -- upper, in ar9003_paprd_enable()
32 * -- disable PAPRD for upper band 5GHz in ar9003_paprd_enable()
34 * -- disable PAPRD for middle band 5GHz in ar9003_paprd_enable()
36 * -- disable PAPRD for lower band 5GHz in ar9003_paprd_enable()
40 if (chan->channel >= UPPER_5G_SUB_BAND_START) { in ar9003_paprd_enable()
41 if (le32_to_cpu(eep->modalHeader5G.papdRateMaskHt20) in ar9003_paprd_enable()
[all …]
/linux-3.3/sound/pci/au88x0/
Dau88x0_xtalk.c22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
257 int i; in vortex_XtalkHw_SetLeftEQ() local
259 for (i = 0; i < 5; i++) { in vortex_XtalkHw_SetLeftEQ()
260 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ()
261 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ()
262 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ()
263 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ()
264 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ()
266 hwwrite(vortex->mmio, 0x24538, arg_0 & 0xffff); in vortex_XtalkHw_SetLeftEQ()
267 hwwrite(vortex->mmio, 0x2453C, arg_4 & 0xffff); in vortex_XtalkHw_SetLeftEQ()
[all …]
/linux-3.3/include/sound/
Dpcm_params.h6 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org>
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36 #define MASK_OFS(i) ((i) >> 5) argument
37 #define MASK_BIT(i) (1U << ((i) & 31)) argument
81 int i; in snd_mask_empty() local
82 for (i = 0; i < SNDRV_MASK_SIZE; i++) in snd_mask_empty()
83 if (mask->bits[i]) in snd_mask_empty()
90 int i; in snd_mask_min() local
91 for (i = 0; i < SNDRV_MASK_SIZE; i++) { in snd_mask_min()
92 if (mask->bits[i]) in snd_mask_min()
[all …]
/linux-3.3/lib/reed_solomon/
Ddecode_rs.c21 int i, j, r, k, pad; variable
22 int nn = rs->nn;
23 int nroots = rs->nroots;
24 int fcr = rs->fcr;
25 int prim = rs->prim;
26 int iprim = rs->iprim;
27 uint16_t *alpha_to = rs->alpha_to;
28 uint16_t *index_of = rs->index_of;
38 uint16_t msk = (uint16_t) rs->nn;
41 pad = nn - nroots - len;
[all …]
/linux-3.3/arch/sparc/kernel/
Dkgdb_32.c1 /* kgdb.c: KGDB support for 32-bit sparc.
18 int i; in pt_regs_to_gdb_regs() local
21 for (i = 0; i < 15; i++) in pt_regs_to_gdb_regs()
22 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i]; in pt_regs_to_gdb_regs()
24 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in pt_regs_to_gdb_regs()
25 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
26 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs()
27 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
28 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs()
30 for (i = GDB_F0; i <= GDB_F31; i++) in pt_regs_to_gdb_regs()
[all …]
Dkgdb_64.c1 /* kgdb.c: KGDB support for 64-bit sparc.
17 int i; in pt_regs_to_gdb_regs() local
20 for (i = 0; i < 15; i++) in pt_regs_to_gdb_regs()
21 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i]; in pt_regs_to_gdb_regs()
23 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
24 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
25 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs()
26 for (i = 0; i < 8; i++) in pt_regs_to_gdb_regs()
27 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs()
29 for (i = GDB_F0; i <= GDB_F62; i++) in pt_regs_to_gdb_regs()
[all …]
/linux-3.3/drivers/infiniband/hw/mthca/
Dmthca_memfree.c16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
66 int i; in mthca_free_icm_pages() local
68 if (chunk->nsg > 0) in mthca_free_icm_pages()
69 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, in mthca_free_icm_pages()
72 for (i = 0; i < chunk->npages; ++i) in mthca_free_icm_pages()
73 __free_pages(sg_page(&chunk->mem[i]), in mthca_free_icm_pages()
74 get_order(chunk->mem[i].length)); in mthca_free_icm_pages()
79 int i; in mthca_free_icm_coherent() local
81 for (i = 0; i < chunk->npages; ++i) { in mthca_free_icm_coherent()
[all …]
Dmthca_profile.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
81 int i, j; in mthca_make_profile() local
85 return -ENOMEM; in mthca_make_profile()
87 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; in mthca_make_profile()
88 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; in mthca_make_profile()
89 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; in mthca_make_profile()
90 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; in mthca_make_profile()
91 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; in mthca_make_profile()
92 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; in mthca_make_profile()
[all …]
/linux-3.3/drivers/gpu/drm/nouveau/
Dnv20_graph.c8 * -----
15 * -----
46 struct drm_nouveau_private *dev_priv = dev->dev_private; in nv20_graph_unload_context()
47 struct nouveau_fifo_engine *pfifo = &dev_priv->engine.fifo; in nv20_graph_unload_context()
55 grctx = chan->engctx[NVOBJ_ENGINE_GR]; in nv20_graph_unload_context()
57 nv_wr32(dev, NV20_PGRAPH_CHANNEL_CTX_POINTER, grctx->pinst >> 4); in nv20_graph_unload_context()
65 tmp |= (pfifo->channels - 1) << 24; in nv20_graph_unload_context()
73 struct drm_nouveau_private *dev_priv = dev->dev_private; in nv20_graph_rdi()
74 int i, writecount = 32; in nv20_graph_rdi() local
77 if (dev_priv->chipset == 0x20) { in nv20_graph_rdi()
[all …]
/linux-3.3/drivers/net/ethernet/ibm/emac/
Ddebug.c4 * Driver for PowerPC 4xx on-chip ethernet controller, debug print routines.
33 int i; in emac_desc_dump() local
36 p->ofdev->dev.of_node->full_name, in emac_desc_dump()
37 p->tx_cnt, p->tx_slot, p->ack_slot); in emac_desc_dump()
38 for (i = 0; i < NUM_TX_BUFF / 2; ++i) in emac_desc_dump()
40 ("bd[%2d] 0x%08x %c 0x%04x %4u - bd[%2d] 0x%08x %c 0x%04x %4u\n", in emac_desc_dump()
41 i, p->tx_desc[i].data_ptr, p->tx_skb[i] ? 'V' : ' ', in emac_desc_dump()
42 p->tx_desc[i].ctrl, p->tx_desc[i].data_len, in emac_desc_dump()
43 NUM_TX_BUFF / 2 + i, in emac_desc_dump()
44 p->tx_desc[NUM_TX_BUFF / 2 + i].data_ptr, in emac_desc_dump()
[all …]
/linux-3.3/drivers/mtd/devices/
Ddocecc.c2 * ECC algorithm for M-systems disk on chip. We use the excellent Reed
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
42 #define KK (1023-4) /* Number of data symbols per block */
45 #define NN ((1 << MM) - 1)
66 /* Compute x % NN, where NN is 2**MM - 1,
73 x -= NN; in modnn()
81 for(ci=(n)-1;ci >=0;ci--)\
87 for(ci=(n)-1;ci >=0;ci--)\
93 for(ci=(n)-1;ci >=0;ci--)\
100 lookup tables: index->polynomial form alpha_to[] contains j=alpha**i;
[all …]
/linux-3.3/tools/perf/util/
Dvalues.c8 values->threads_max = 16; in perf_read_values_init()
9 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init()
10 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
11 values->value = malloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init()
12 if (!values->pid || !values->tid || !values->value) in perf_read_values_init()
14 values->threads = 0; in perf_read_values_init()
16 values->counters_max = 16; in perf_read_values_init()
17 values->counterrawid = malloc(values->counters_max in perf_read_values_init()
18 * sizeof(*values->counterrawid)); in perf_read_values_init()
19 values->countername = malloc(values->counters_max in perf_read_values_init()
[all …]
/linux-3.3/drivers/input/joystick/
Dcobra.c2 * Copyright (c) 1999-2001 Vojtech Pavlik
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
63 int i, j, ret; in cobra_read_packet() local
67 for (i = 0; i < 2; i++) { in cobra_read_packet()
68 r[i] = buf[i] = 0; in cobra_read_packet()
69 t[i] = COBRA_MAX_STROBE; in cobra_read_packet()
77 t[0]--; t[1]--; in cobra_read_packet()
79 for (i = 0, w = u ^ v; i < 2 && w; i++, w >>= 2) in cobra_read_packet()
81 if ((w & 0x30) < 0x30 && r[i] < COBRA_LENGTH && t[i] > 0) { in cobra_read_packet()
[all …]
Dgamecon.c4 * Copyright (c) 1999-2004 Vojtech Pavlik <vojtech@suse.cz>
5 * Copyright (c) 2004 Peter Nelson <rufus-kernel@hackish.org>
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
108 "Multisystem 2-button joystick", "N64 controller", "PSX controller",
151 struct parport *port = gc->pd->port; in gc_n64_send_command()
152 int i; in gc_n64_send_command() local
154 for (i = 0; i < GC_N64_LENGTH; i++) { in gc_n64_send_command()
155 unsigned char data = (cmd >> i) & 1 ? target : 0; in gc_n64_send_command()
164 struct parport *port = gc->pd->port; in gc_n64_send_stop_bit()
[all …]
Dadi.c2 * Copyright (c) 1998-2005 Vojtech Pavlik
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
103 } adi_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1,
106 * Per-port information.
141 struct adi *adi = port->adi; in adi_read_packet()
142 struct gameport *gameport = port->gameport; in adi_read_packet()
144 int t[2], s[2], i; in adi_read_packet() local
147 for (i = 0; i < 2; i++) { in adi_read_packet()
148 adi[i].ret = -1; in adi_read_packet()
[all …]
/linux-3.3/fs/ufs/
Dutil.c22 unsigned i, j ; in _ubh_bread_() local
24 if (size & ~uspi->s_fmask) in _ubh_bread_()
26 count = size >> uspi->s_fshift; in _ubh_bread_()
33 ubh->fragment = fragment; in _ubh_bread_()
34 ubh->count = count; in _ubh_bread_()
35 for (i = 0; i < count; i++) in _ubh_bread_()
36 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_()
38 for (; i < UFS_MAXFRAG; i++) in _ubh_bread_()
39 ubh->bh[i] = NULL; in _ubh_bread_()
42 for (j = 0; j < i; j++) in _ubh_bread_()
[all …]
/linux-3.3/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c4 Copyright(c) 1999 - 2012 Intel Corporation.
17 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
23 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
24 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
55 #define IXGBEVF_STAT(m, b, r) sizeof(((struct ixgbevf_adapter *)0)->m), \
98 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_get_settings()
102 ecmd->supported = SUPPORTED_10000baseT_Full; in ixgbevf_get_settings()
103 ecmd->autoneg = AUTONEG_DISABLE; in ixgbevf_get_settings()
104 ecmd->transceiver = XCVR_DUMMY1; in ixgbevf_get_settings()
105 ecmd->port = -1; in ixgbevf_get_settings()
[all …]
/linux-3.3/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c10 * vxge-ethtool.c: Driver for Exar Corp's X3100 Series 10GbE PCIe I/O
12 * Copyright(c) 2002-2010 Exar Corp.
19 #include "vxge-ethtool.h"
22 * vxge_ethtool_sset - Sets different link parameters.
35 if ((info->autoneg == AUTONEG_ENABLE) || in vxge_ethtool_sset()
37 (info->duplex != DUPLEX_FULL)) in vxge_ethtool_sset()
38 return -EINVAL; in vxge_ethtool_sset()
44 * vxge_ethtool_gset - Return link specific information.
55 info->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); in vxge_ethtool_gset()
56 info->advertising = (ADVERTISED_10000baseT_Full | ADVERTISED_FIBRE); in vxge_ethtool_gset()
[all …]
/linux-3.3/arch/x86/oprofile/
Dop_model_ppro.c35 int i; in ppro_shutdown() local
37 for (i = 0; i < num_counters; ++i) { in ppro_shutdown()
38 if (!msrs->counters[i].addr) in ppro_shutdown()
40 release_perfctr_nmi(MSR_P6_PERFCTR0 + i); in ppro_shutdown()
41 release_evntsel_nmi(MSR_P6_EVNTSEL0 + i); in ppro_shutdown()
47 int i; in ppro_fill_in_addresses() local
49 for (i = 0; i < num_counters; i++) { in ppro_fill_in_addresses()
50 if (!reserve_perfctr_nmi(MSR_P6_PERFCTR0 + i)) in ppro_fill_in_addresses()
52 if (!reserve_evntsel_nmi(MSR_P6_EVNTSEL0 + i)) { in ppro_fill_in_addresses()
53 release_perfctr_nmi(MSR_P6_PERFCTR0 + i); in ppro_fill_in_addresses()
[all …]
/linux-3.3/lib/
Dbtree.c2 * lib/btree.c - Simple In-memory B+Tree
6 * Copyright (c) 2007-2008 Joern Engel <joern@logfs.org>
11 * see http://programming.kicks-ass.net/kernel-patches/vma_lookup/btree.patch
13 * A relatively simple B+Tree implementation. I have written it as a learning
29 * ~98% pointers - hard to beat. Very sparse radix trees contain only ~2%
97 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc()
105 size_t i; in longcmp() local
107 for (i = 0; i < n; i++) { in longcmp()
108 if (l1[i] < l2[i]) in longcmp()
109 return -1; in longcmp()
[all …]
/linux-3.3/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
86 int i, j; in mlx4_make_profile() local
90 return -ENOMEM; in mlx4_make_profile()
92 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
93 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
94 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
95 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
96 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
97 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
[all …]
Dicm.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
56 int i; in mlx4_free_icm_pages() local
58 if (chunk->nsg > 0) in mlx4_free_icm_pages()
59 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, in mlx4_free_icm_pages()
62 for (i = 0; i < chunk->npages; ++i) in mlx4_free_icm_pages()
63 __free_pages(sg_page(&chunk->mem[i]), in mlx4_free_icm_pages()
64 get_order(chunk->mem[i].length)); in mlx4_free_icm_pages()
69 int i; in mlx4_free_icm_coherent() local
71 for (i = 0; i < chunk->npages; ++i) in mlx4_free_icm_coherent()
[all …]
/linux-3.3/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c5 \u00a9 Copyright 2007-2011 RisingTide Systems LLC.
9 * Author: Nicholas A. Bellinger <nab@linux-iscsi.org>
33 int i; in iscsit_dump_seq_list() local
37 cmd->init_task_tag); in iscsit_dump_seq_list()
39 for (i = 0; i < cmd->seq_count; i++) { in iscsit_dump_seq_list()
40 seq = &cmd->seq_list[i]; in iscsit_dump_seq_list()
41 pr_debug("i: %d, pdu_start: %d, pdu_count: %d," in iscsit_dump_seq_list()
43 " seq_no: %d\n", i, seq->pdu_start, seq->pdu_count, in iscsit_dump_seq_list()
44 seq->offset, seq->xfer_len, seq->seq_send_order, in iscsit_dump_seq_list()
45 seq->seq_no); in iscsit_dump_seq_list()
[all …]

12345678910>>...46