Searched refs:offs (Results 226 - 250 of 387) sorted by last modified time

1234567891011>>

/linux-master/fs/ufs/
H A Ddir.c121 unsigned offs, rec_len; local
134 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) {
135 p = (struct ufs_dir_entry *)(kaddr + offs);
144 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask)
150 if (offs != limit)
181 dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs,
185 p = (struct ufs_dir_entry *)(kaddr + offs);
[all...]
/linux-master/fs/ocfs2/
H A Dxattr.c3011 size_t offs = le16_to_cpu(last->xe_name_offset); local
3012 if (offs < min_offs)
3013 min_offs = offs;
/linux-master/fs/crypto/
H A Dcrypto.c111 unsigned int len, unsigned int offs,
137 sg_set_page(&dst, dest_page, len, offs);
139 sg_set_page(&src, src_page, len, offs);
159 * @offs: offset within @page of the data to encrypt, in bytes
182 unsigned int offs,
192 (offs >> du_bits);
199 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size)))
206 for (i = offs; i < offs + len; i += du_size, index++) {
227 * @offs
108 fscrypt_crypt_data_unit(const struct fscrypt_inode_info *ci, fscrypt_direction_t rw, u64 index, struct page *src_page, struct page *dest_page, unsigned int len, unsigned int offs, gfp_t gfp_flags) argument
180 fscrypt_encrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs, gfp_t gfp_flags) argument
240 fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument
266 fscrypt_decrypt_pagecache_blocks(struct folio *folio, size_t len, size_t offs) argument
315 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-mxic.c391 u64 offs, size_t len, void *buf)
397 if (WARN_ON(offs + desc->info.offset + len > U32_MAX))
404 writel(desc->info.offset + offs, mxic->regs + LRD_ADDR);
415 mxic->linear.dma + offs);
434 u64 offs, size_t len,
441 if (WARN_ON(offs + desc->info.offset + len > U32_MAX))
448 writel(desc->info.offset + offs, mxic->regs + LWR_ADDR);
459 mxic->linear.dma + offs);
390 mxic_spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
433 mxic_spi_mem_dirmap_write(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, const void *buf) argument
H A Dspi-dw-bt1.c108 u64 offs, size_t len, void *buf)
120 if (offs >= dwsbt1->map_len || !len)
123 len = min_t(size_t, len, dwsbt1->map_len - offs);
152 dw_spi_bt1_dirmap_copy_from_map(buf, dwsbt1->map + offs, len);
107 dw_spi_bt1_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
/linux-master/drivers/platform/surface/
H A Dsurface_dtx.c460 static ssize_t surface_dtx_read(struct file *file, char __user *buf, size_t count, loff_t *offs) argument
H A Dsurface_aggregator_cdev.c575 static ssize_t ssam_cdev_read(struct file *file, char __user *buf, size_t count, loff_t *offs) argument
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Dsmd.c3214 #define BEACON_FILTER(eid, presence, offs, val, mask, ref_val) \
3218 .offset = offs, \
/linux-master/drivers/net/ethernet/altera/
H A Daltera_tse.h487 u32 csrrd32(void __iomem *mac, size_t offs) argument
489 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
494 u16 csrrd16(void __iomem *mac, size_t offs) argument
496 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
501 u8 csrrd8(void __iomem *mac, size_t offs) argument
503 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
508 void csrwr32(u32 val, void __iomem *mac, size_t offs) argument
510 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
516 void csrwr16(u16 val, void __iomem *mac, size_t offs) argument
518 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs);
524 csrwr8(u8 val, void __iomem *mac, size_t offs) argument
[all...]
/linux-master/drivers/gpio/
H A Dgpio-tb10x.c48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) argument
50 return ioread32(gpio->base + offs);
53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, argument
56 iowrite32(val, gpio->base + offs);
59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, argument
67 r = tb10x_reg_read(gpio, offs);
70 tb10x_reg_write(gpio, offs, r);
/linux-master/drivers/clk/sifive/
H A Dsifive-prci.c23 * @offs: register offset to read from (in bytes, from PRCI base address)
25 * Read the register located at offset @offs from the base virtual
31 * Return: the contents of the register described by @pd and @offs.
33 static u32 __prci_readl(struct __prci_data *pd, u32 offs) argument
35 return readl_relaxed(pd->va + offs);
38 static void __prci_writel(u32 v, u32 offs, struct __prci_data *pd) argument
40 writel_relaxed(v, pd->va + offs);
/linux-master/drivers/net/ethernet/marvell/
H A Dsky2.h751 #define Q_ADDR(reg, offs) (B8_Q_REGS + (reg) + (offs))
818 #define RB_ADDR(offs, queue) ((u16) B16_RAM_REGS + (queue) + (offs))
/linux-master/tools/perf/util/
H A Dbuild-id.c205 size_t offs = 5; /* == strlen("../..") */ local
219 if (p && (p > buf + offs)) {
221 if (buf[offs + 1] == '[')
222 offs++; /*
227 ret = strdup(buf + offs); /* Skip "../..[/]" */
/linux-master/drivers/media/dvb-frontends/
H A Ddib9000.c475 u16 offs; local
478 offs = 16;
480 offs = 0;
483 dib9000_write_word(state, 1024 + offs, 0x000f);
484 dib9000_write_word(state, 1025 + offs, 0);
485 dib9000_write_word(state, 1031 + offs, key);
488 if (dib9000_write16_noinc(state, 1026 + offs, (u8 *) code, (u16) len) != 0) {
/linux-master/fs/ceph/
H A Dcrypto.h155 unsigned int offs, u64 lblk_num);
158 unsigned int offs, u64 lblk_num,
242 unsigned int offs, u64 lblk_num)
249 unsigned int offs, u64 lblk_num,
240 ceph_fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
247 ceph_fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument
/linux-master/drivers/rtc/
H A Drtc-isl1208.c431 const int offs = ISL1208_REG_SCA; local
446 regs[ISL1208_REG_SCA - offs] = bin2bcd(alarm_tm->tm_sec) | enable;
447 regs[ISL1208_REG_MNA - offs] = bin2bcd(alarm_tm->tm_min) | enable;
448 regs[ISL1208_REG_HRA - offs] = bin2bcd(alarm_tm->tm_hour) |
451 regs[ISL1208_REG_DTA - offs] = bin2bcd(alarm_tm->tm_mday) | enable;
452 regs[ISL1208_REG_MOA - offs] = bin2bcd(alarm_tm->tm_mon + 1) | enable;
453 regs[ISL1208_REG_DWA - offs] = bin2bcd(alarm_tm->tm_wday & 7) | enable;
456 err = isl1208_i2c_set_regs(client, offs, regs,
/linux-master/drivers/input/keyboard/
H A Dadp5588-keys.c120 #define ADP5588_BANK(offs) ((offs) >> 3)
121 #define ADP5588_BIT(offs) (1u << ((offs) & 0x7))
/linux-master/drivers/mfd/
H A Dmax8925-core.c332 int offs; /* bit offset in mask register */ member in struct:max8925_irq_data
341 .offs = 1 << 0,
346 .offs = 1 << 1,
351 .offs = 1 << 2,
356 .offs = 1 << 0,
361 .offs = 1 << 1,
366 .offs = 1 << 2,
371 .offs = 1 << 3,
376 .offs = 1 << 4,
381 .offs
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dorion_nand.c34 u32 offs; local
40 offs = (1 << board->cle);
42 offs = (1 << board->ale);
47 offs <<= 1;
49 writeb(cmd, nc->legacy.IO_ADDR_W + offs);
H A Dmxc_nand.c1442 .offs = 0,
1452 .offs = 0,
H A Dlpc32xx_slc.c181 .offs = 0,
191 .offs = 0,
/linux-master/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1080 .offs = 0,
1567 static int gpmi_ecc_read_subpage(struct nand_chip *chip, uint32_t offs, argument
1585 first = offs / size;
1586 last = (offs + len - 1) / size;
1656 page, offs, len, col, first, n, page_size);
/linux-master/drivers/usb/gadget/udc/
H A Drenesas_usb3.c231 #define PN_RAMMAP_BASEAD(offs) (((offs) >> 3) & PN_RAMMAP_BASEAD_MASK)
404 static void usb3_write(struct renesas_usb3 *usb3, u32 data, u32 offs) argument
406 iowrite32(data, usb3->reg + offs);
409 static u32 usb3_read(struct renesas_usb3 *usb3, u32 offs) argument
411 return ioread32(usb3->reg + offs);
414 static void usb3_set_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) argument
416 u32 val = usb3_read(usb3, offs);
419 usb3_write(usb3, val, offs);
422 static void usb3_clear_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) argument
430 usb3_drd_write(struct renesas_usb3 *usb3, u32 data, u32 offs) argument
442 usb3_drd_read(struct renesas_usb3 *usb3, u32 offs) argument
454 usb3_drd_set_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) argument
462 usb3_drd_clear_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) argument
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c3333 unsigned int offs; local
3375 offs = tcnt + (eepromSize - EEPROM_SIZE);
3377 iadd[0] = offs >> 8;
3378 iadd[1] = offs;
3380 iadd[0] = offs;
3387 "eeprom fetch set offs err=%d",ret);
3479 int pvr2_hdw_cpufw_get(struct pvr2_hdw *hdw,unsigned int offs, argument
3493 if (offs >= hdw->fw_size) {
3495 "Read firmware data offs=%d EOF",
3496 offs);
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dpgtable.h352 #define __swp_entry(type,offs) \
353 ((swp_entry_t){(((type) & 0x1f) << 6) | ((offs) << 11) | \

Completed in 684 milliseconds

1234567891011>>