Searched refs:offs (Results 1 - 25 of 384) sorted by path

1234567891011>>

/linux-master/arch/arm/mach-omap2/
H A Dcm3xxx.c122 unsigned long offs; local
137 offs = idlest_reg->offset;
138 offs &= 0xff00;
139 *prcm_inst = offs;
H A Dcm2xxx.c111 unsigned long offs; local
126 offs = idlest_reg->offset;
127 offs &= 0xff00;
128 *prcm_inst = offs;
/linux-master/arch/nios2/kernel/
H A Dtime.c63 static u16 timer_readw(struct nios2_timer *timer, u32 offs) argument
65 return readw(timer->base + offs);
68 static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs) argument
70 writew(val, timer->base + offs);
/linux-master/arch/x86/include/asm/
H A Duprobes.h35 s32 offs; member in struct:arch_uprobe::__anon206::__anon207
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.h218 int pvr2_hdw_cpufw_get(struct pvr2_hdw *,unsigned int offs,
/linux-master/drivers/mtd/ubi/
H A Dupd.c268 int lnum, offs, err = 0, len, to_write = count; local
276 lnum = div_u64_rem(vol->upd_received, vol->usable_leb_size, &offs);
284 if (offs != 0) {
292 len = vol->usable_leb_size - offs;
296 err = copy_from_user(vol->upd_buf + offs, buf, len);
300 if (offs + len == vol->usable_leb_size ||
302 int flush_len = offs + len;
/linux-master/drivers/net/ethernet/altera/
H A Daltera_utils.c9 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) argument
11 u32 value = csrrd32(ioaddr, offs);
13 csrwr32(value, ioaddr, offs);
16 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) argument
18 u32 value = csrrd32(ioaddr, offs);
20 csrwr32(value, ioaddr, offs);
23 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) argument
25 u32 value = csrrd32(ioaddr, offs);
29 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) argument
31 u32 value = csrrd32(ioaddr, offs);
[all...]
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dphy.c1576 u32 tmp, offs = 0, new_ht = 0; local
1638 offs = 3;
1644 offs = 1;
1672 SET_VAL(CARL9170FW_PHY_HT_EXT_CHAN_OFF, rf.ht_settings, offs);
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_reg.c15 * this function is *offs = val.
18 unsigned long offs, u8 val)
22 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
24 writeb(val, asd_ha->io_handle[0].addr + offs);
29 unsigned long offs, u16 val)
33 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
35 writew(val, asd_ha->io_handle[0].addr + offs);
40 unsigned long offs, u32 val)
44 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF));
46 writel(val, asd_ha->io_handle[0].addr + offs);
17 asd_write_byte(struct asd_ha_struct *asd_ha, unsigned long offs, u8 val) argument
28 asd_write_word(struct asd_ha_struct *asd_ha, unsigned long offs, u16 val) argument
39 asd_write_dword(struct asd_ha_struct *asd_ha, unsigned long offs, u32 val) argument
52 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs) argument
64 asd_read_word(struct asd_ha_struct *asd_ha, unsigned long offs) argument
77 asd_read_dword(struct asd_ha_struct *asd_ha, unsigned long offs) argument
284 asd_read_reg_string(struct asd_ha_struct *asd_ha, void *dst, u32 offs, int count) argument
303 asd_write_reg_string(struct asd_ha_struct *asd_ha, void *src, u32 offs, int count) argument
[all...]
H A Daic94xx_reg.h55 u32 offs, int count);
57 u32 offs, int count);
61 u32 offs) \
64 type val = read##S (io_handle->addr + (unsigned long) offs); \
75 u32 offs, type val) \
78 write##S (val, io_handle->addr + (unsigned long) offs); \
89 u16 offs) \
91 asd_write_reg_word(asd_ha, ALTCIOADR, MnDDB_SITE + offs); \
101 u16 offs)
103 if (offs
99 asd_ddbsite_read_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs) argument
125 asd_ddbsite_write_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u8 val) argument
152 asd_scbsite_read_byte(struct asd_ha_struct *asd_ha, u16 scb_site_no, u16 offs) argument
178 asd_scbsite_write_byte(struct asd_ha_struct *asd_ha, u16 scb_site_no, u16 offs, u8 val) argument
206 asd_ddbsite_update_word(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u16 oldval, u16 newval) argument
227 asd_ddbsite_update_byte(struct asd_ha_struct *asd_ha, u16 ddb_site_no, u16 offs, u8 _oldval, u8 _newval) argument
[all...]
/linux-master/drivers/scsi/mvsas/
H A Dmv_64xx.c199 u32 offs; local
201 offs = PCR_PHY_CTL;
203 offs = PCR_PHY_CTL2;
206 pci_read_config_dword(mvi->pdev, offs, &tmp);
208 pci_write_config_dword(mvi->pdev, offs, tmp);
221 u32 offs; local
223 offs = PCR_PHY_CTL;
225 offs = PCR_PHY_CTL2;
228 pci_read_config_dword(mvi->pdev, offs, &tmp);
230 pci_write_config_dword(mvi->pdev, offs, tm
498 u32 tmp, offs; local
523 u32 tmp, offs; local
[all...]
/linux-master/fs/hpfs/
H A Dmap.c89 if (le16_to_cpu(cpd->offs[cpi]) > 0x178) {
94 ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6;
/linux-master/fs/qnx6/
H A Ddir.c53 u32 offs = (s << sb->s_blocksize_bits) & ~PAGE_MASK; local
59 return (struct qnx6_long_filename *)(page_address(page) + offs);
/linux-master/fs/ubifs/
H A Dlog.c156 * @offs: starting offset of the bud
164 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) argument
204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
225 bud->start = offs;
231 ref->offs = cpu_to_le32(bud->start);
319 c->cmt_bud_bytes += wbuf->offs - bud->start;
322 wbuf->offs - bud->start, c->cmt_bud_bytes);
323 bud->start = wbuf->offs;
395 int offs = c->jheads[i].wbuf.offs; local
611 add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, void *node) argument
647 int lnum, err, first = 1, write_lnum, offs = 0; local
[all...]
H A Dubifs-media.h762 * @offs: start offset in the referred LEB
769 __le32 offs; member in struct:ubifs_ref_node
804 * @offs: offset within @lnum
814 __le32 offs; member in struct:ubifs_branch
/linux-master/include/linux/mtd/
H A Dinftl.h56 int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
58 int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
H A Dnftl.h44 int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
46 int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
/linux-master/include/sound/
H A Dseq_oss.h42 int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
/linux-master/lib/zlib_inflate/
H A Dinftrees.c45 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
127 offs[1] = 0;
129 offs[len + 1] = offs[len] + count[len];
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/linux-master/net/netfilter/
H A Dxt_l2tp.c83 int offs = thoff + uhlen; local
95 lh = skb_header_pointer(skb, offs, 2, &lhbuf);
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf);
122 offs += 2;
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf);
/linux-master/arch/arc/kernel/
H A Dunwind.c53 unsigned offs:BITS_PER_LONG / 2; member in struct:__anon2
145 uleb128_t reg, offs; member in struct:unwind_state::cfa
830 state->cfa.offs = get_uleb128(&ptr.p8, end);
832 state->cfa.offs);
838 state->cfa.offs = get_sleb128(&ptr.p8, end)
899 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs])
1148 || state.cfa.offs % sizeof(unsigned long))
1182 cfa = FRAME_REG(state.cfa.reg, unsigned long) + state.cfa.offs;
1191 state.cfa.reg, state.cfa.offs, cfa);
/linux-master/arch/arm/mach-imx/
H A Davic.c92 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? local
100 imx_writel(~gc->wake_active, mx25_ccm_base + offs);
113 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? local
116 imx_writel(0xffffffff, mx25_ccm_base + offs);
/linux-master/arch/arm/mach-pxa/
H A Dspitz.c742 .offs = 4,
/linux-master/arch/arm/mach-s3c/
H A Dgpio-cfg.h52 samsung_gpio_pull_t (*get_pull)(struct samsung_gpio_chip *chip, unsigned offs);
53 int (*set_pull)(struct samsung_gpio_chip *chip, unsigned offs,
56 unsigned (*get_config)(struct samsung_gpio_chip *chip, unsigned offs);
57 int (*set_config)(struct samsung_gpio_chip *chip, unsigned offs,
H A Ds3c64xx.c271 int offs = eint_offset(data->irq); local
278 if (offs > 27)
281 if (offs <= 15)
316 if (offs <= 15)
317 shift = (offs / 2) * 4;
319 shift = ((offs - 16) / 2) * 4;
329 if (offs < 16) {
330 pin = S3C64XX_GPN(offs);
332 } else if (offs < 23) {
333 pin = S3C64XX_GPL(offs
[all...]

Completed in 265 milliseconds

1234567891011>>