Searched refs:offs (Results 276 - 300 of 384) sorted by relevance

<<111213141516

/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c980 unsigned int offs = hw_stats->reg_offset; local
983 hw_stats->rx_bytes += mtk_r32(mac->hw, reg_map->gdm1_cnt + offs);
984 stats = mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x4 + offs);
988 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x8 + offs);
990 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x10 + offs);
992 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x14 + offs);
994 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x18 + offs);
996 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x1c + offs);
998 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x20 + offs);
1000 mtk_r32(mac->hw, reg_map->gdm1_cnt + 0x24 + offs);
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c207 u16 *offs = dev->cmd.dbell_offsets; local
209 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]);
211 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]);
213 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]);
215 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]);
217 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]);
219 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]);
224 op), ptr + offs[6]);
226 __raw_writel((__force u32) 0, ptr + offs[7]);
/linux-master/fs/ext4/
H A Dxattr.c260 u16 offs = le16_to_cpu(entry->e_value_offs); local
269 if (offs > end - value_start) {
273 value = value_start + offs;
1370 size_t offs = le16_to_cpu(last->e_value_offs); local
1371 if (offs < *min_offs)
1372 *min_offs = offs;
1643 size_t offs = le16_to_cpu(here->e_value_offs); local
1644 void *val = s->base + offs;
1667 size_t offs = le16_to_cpu(last->e_value_offs); local
1668 if (offs < min_off
1756 size_t offs = le16_to_cpu(here->e_value_offs); local
[all...]
/linux-master/lib/
H A Diov_iter.c1076 unsigned offs = offset_in_page(p->iov_base + skip); local
1081 npages += DIV_ROUND_UP(offs + len, PAGE_SIZE);
1096 unsigned offs = (p->bv_offset + skip) % PAGE_SIZE; local
1100 npages += DIV_ROUND_UP(offs + len, PAGE_SIZE);
1112 unsigned offs = offset_in_page(i->ubuf + i->iov_offset); local
1113 int npages = DIV_ROUND_UP(offs + i->count, PAGE_SIZE);
/linux-master/kernel/time/
H A Dtimekeeping.c879 ktime_t ktime_get_with_offset(enum tk_offsets offs) argument
883 ktime_t base, *offset = offsets[offs];
900 ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs) argument
904 ktime_t base, *offset = offsets[offs];
923 * @offs: which offset to use
925 ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs) argument
927 ktime_t *offset = offsets[offs];
/linux-master/sound/soc/codecs/
H A Drt9120.c425 int offs = 4 - size; local
428 return i2c_smbus_write_i2c_block_data(i2c, reg, size, rawp + offs);
/linux-master/drivers/net/can/softing/
H A Dsofting_fw.c282 memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len);
283 iowrite32(card->pdat->app.offs + card->pdat->app.addr,
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_resource.c519 iter_io->cache.offs = sg_dma_address(iter_io->cache.sg) -
529 addr = io_mapping_map_local_wc(iter_io->iomap, iter_io->cache.offs +
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-ufs.c1811 const struct qmp_ufs_offsets *offs = cfg->offsets; local
1814 if (!offs)
1821 qmp->serdes = base + offs->serdes;
1822 qmp->pcs = base + offs->pcs;
1823 qmp->tx = base + offs->tx;
1824 qmp->rx = base + offs->rx;
1827 qmp->tx2 = base + offs->tx2;
1828 qmp->rx2 = base + offs->rx2;
H A Dphy-qcom-qmp-pcie.c3337 const struct qmp_pcie_offsets *offs = cfg->offsets; local
3340 tx3 = qmp->port_b + offs->tx;
3341 rx3 = qmp->port_b + offs->rx;
3342 tx4 = qmp->port_b + offs->tx2;
3343 rx4 = qmp->port_b + offs->rx2;
3807 const struct qmp_pcie_offsets *offs = cfg->offsets; local
3812 if (!offs)
3823 qmp->serdes = base + offs->serdes;
3824 qmp->pcs = base + offs->pcs;
3825 qmp->pcs_misc = base + offs
[all...]
/linux-master/include/linux/mtd/
H A Dmtd.h640 static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs) argument
642 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd);
/linux-master/fs/hpfs/
H A Dhpfs.h233 __le16 offs[3]; /* offsets from start of sector member in struct:code_page_data
/linux-master/arch/arm64/crypto/
H A Dsm3-neon-core.S167 #define IW_W_ADDR(round, widx, offs) \
168 (STACK_W + ((round) / 4) * 64 + (offs) + ((widx) * 4))
171 #define XW_W_ADDR(round, widx, offs) \
172 (STACK_W + ((((round) / 3) - 4) % 2) * 64 + (offs) + ((widx) * 4))
/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/fs/crypto/
H A Dfscrypt_private.h304 unsigned int len, unsigned int offs,
/linux-master/drivers/tee/
H A Dtee_core.c890 int offs = 0; local
906 offs = TEE_NUM_DEVICES / 2;
911 teedev->id = find_next_zero_bit(dev_mask, max_id, offs);
923 teedev->id - offs);
/linux-master/drivers/mailbox/
H A Dimx-mailbox.c148 static void imx_mu_write(struct imx_mu_priv *priv, u32 val, u32 offs) argument
150 iowrite32(val, priv->base + offs);
153 static u32 imx_mu_read(struct imx_mu_priv *priv, u32 offs) argument
155 return ioread32(priv->base + offs);
/linux-master/drivers/spi/
H A Dspi-intel.c815 static ssize_t intel_spi_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, argument
824 op.addr.val = offs;
832 static ssize_t intel_spi_dirmap_write(struct spi_mem_dirmap_desc *desc, u64 offs, argument
840 op.addr.val = offs;
H A Dspi-stm32-qspi.c519 u64 offs, size_t len, void *buf)
532 * spi_mem_op template with offs, len and *buf in order to get
536 dev_dbg(qspi->dev, "%s len = 0x%zx offs = 0x%llx buf = 0x%p\n", __func__, len, offs, buf);
539 op.addr.val = desc->info.offset + offs;
518 stm32_qspi_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs, size_t len, void *buf) argument
/linux-master/fs/
H A Dseq_file.c259 size_t offs = m->count; local
274 m->count = offs;
276 m->count = offs;
/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/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c137 u8 offs = MT_WTBL_TXRX_RATE_G2_HE + 2 * bw; local
139 rate->he_gi = (val & (0x3 << offs)) >> offs;
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c2310 int offs = 0; local
2313 while (offs < dwords) {
2320 addr + 4 * offs);
2322 while (offs < dwords) {
2323 vals[offs] = iwl_read32(trans,
2326 if (iwl_trans_is_hw_error_value(vals[offs]))
2336 offs++;
2358 int offs, ret = 0; local
2363 for (offs = 0; offs < dword
[all...]
/linux-master/drivers/edac/
H A Dthunderx_edac.c414 unsigned int offs, timeout = 100000; local
433 for (offs = 0; offs < PAGE_SIZE; offs += cline_size) {
438 memcpy(tmp, addr + offs, cline_size);
/linux-master/kernel/events/
H A Duprobes.c809 loff_t offs = uprobe->offset; local
816 if (offs >= i_size_read(uprobe->inode))
819 len = min_t(int, size, PAGE_SIZE - (offs & ~PAGE_MASK));
820 err = __copy_insn(mapping, filp, insn, len, offs);
825 offs += len;

Completed in 470 milliseconds

<<111213141516