Searched refs:offs (Results 226 - 250 of 384) sorted by relevance

1234567891011>>

/linux-master/sound/usb/
H A Dendpoint.c285 unsigned int offs = 0; local
301 offset = offs * ep->stride + extra * i;
311 offs += counts;
315 urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra;
376 int i, offs; local
383 offs = 0;
385 urb->iso_frame_desc[i].offset = offs;
387 offs += ep->curpacksize;
390 urb->transfer_buffer_length = offs;
/linux-master/fs/ubifs/
H A Dorphan.c648 snod->type, sleb->lnum, snod->offs);
650 c->leb_size - snod->offs);
677 cmt_no, sleb->lnum, snod->offs);
679 c->leb_size - snod->offs);
727 cmt_no, sleb->lnum, snod->offs);
H A Dfind.c470 * @offs: contains offset of where free space starts on exit
482 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs, argument
550 *offs = c->leb_size - lprops->free;
553 if (*offs == 0) {
565 dbg_find("found LEB %d, free %d", lnum, c->leb_size - *offs);
566 ubifs_assert(c, *offs <= c->leb_size - min_space);
H A Dfile.c602 int i = 0, nn = *n, offs = bu->zbranch[0].offs, hole = 0, read = 0; local
631 dn = bu->buf + (bu->zbranch[nn].offs - offs);
750 bu->buf_len = bu->zbranch[bu->cnt - 1].offs +
752 bu->zbranch[0].offs;
H A Ddebug.h292 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, int 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/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c1358 u32 offs = le32_to_cpu(reg->fifos.offset), addr; local
1374 iwl_write_prph_no_grab(fwrt->trans, TXF_LARC_NUM + offs, iter->fifo);
1381 addr = le32_to_cpu(reg->addrs[i]) + offs;
1396 iwl_write_prph_no_grab(fwrt->trans, TXF_READ_MODIFY_ADDR + offs,
1397 TXF_WR_PTR + offs);
1400 iwl_read_prph_no_grab(fwrt->trans, TXF_READ_MODIFY_DATA + offs);
1403 addr = TXF_READ_MODIFY_DATA + offs;
1540 u32 offs = le32_to_cpu(reg->fifos.offset), addr; local
1562 addr = le32_to_cpu(reg->addrs[i]) + offs;
1576 offs
1745 u32 val, offs; local
2823 u32 offs = 0; local
[all...]
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_prs.c136 unsigned int offs, unsigned char byte,
139 int pos = MVPP2_PRS_BYTE_IN_WORD(offs) * BITS_PER_BYTE;
141 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(0xff << pos);
142 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(MVPP2_PRS_TCAM_EN(0xff) << pos);
143 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] |= byte << pos;
144 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] |= MVPP2_PRS_TCAM_EN(enable << pos);
149 unsigned int offs, unsigned char *byte,
152 int pos = MVPP2_PRS_BYTE_IN_WORD(offs) * BITS_PER_BYTE;
154 *byte = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> pos) & 0xff;
155 *enable = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> (po
135 mvpp2_prs_tcam_data_byte_set(struct mvpp2_prs_entry *pe, unsigned int offs, unsigned char byte, unsigned char enable) argument
148 mvpp2_prs_tcam_data_byte_get(struct mvpp2_prs_entry *pe, unsigned int offs, unsigned char *byte, unsigned char *enable) argument
159 mvpp2_prs_tcam_data_cmp(struct mvpp2_prs_entry *pe, int offs, u16 data) argument
[all...]
/linux-master/drivers/pci/controller/
H A Dpcie-iproc-msi.c307 unsigned int offs; local
309 offs = iproc_msi_eq_offset(msi, eq) + head * sizeof(u32);
310 msg = (u32 __iomem *)(msi->eq_cpu + offs);
/linux-master/fs/qnx6/
H A Dinode.c526 u32 n, offs; local
545 offs = (ino - 1) & (~PAGE_MASK >> QNX6_INODE_SIZE_BITS);
555 raw_inode = ((struct qnx6_inode_entry *)page_address(page)) + offs;
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c236 u32 offs; member in struct:atmel_smc_nand_ebi_csa_cfg
1596 smc_nc->ebi_csa->offs,
1601 smc_nc->ebi_csa->offs,
1909 .offs = AT91SAM9260_MATRIX_EBICSA,
1913 .offs = AT91SAM9261_MATRIX_EBICSA,
1917 .offs = AT91SAM9263_MATRIX_EBI0CSA,
1921 .offs = AT91SAM9RL_MATRIX_EBICSA,
1925 .offs = AT91SAM9G45_MATRIX_EBICSA,
1929 .offs = AT91SAM9N12_MATRIX_EBICSA,
1933 .offs
[all...]
/linux-master/drivers/mtd/
H A Dmtdchar.c1078 loff_t offs; local
1080 if (copy_from_user(&offs, argp, sizeof(loff_t)))
1082 return mtd_block_isbad(mtd, offs);
1087 loff_t offs; local
1089 if (copy_from_user(&offs, argp, sizeof(loff_t)))
1091 return mtd_block_markbad(mtd, offs);
/linux-master/drivers/mtd/nand/spi/
H A Dcore.c744 static int spinand_mtd_block_isbad(struct mtd_info *mtd, loff_t offs) argument
751 nanddev_offs_to_pos(nand, offs, &pos);
783 static int spinand_mtd_block_markbad(struct mtd_info *mtd, loff_t offs) argument
790 nanddev_offs_to_pos(nand, offs, &pos);
840 static int spinand_mtd_block_isreserved(struct mtd_info *mtd, loff_t offs) argument
847 nanddev_offs_to_pos(nand, offs, &pos);
/linux-master/arch/arm64/kvm/
H A Darch_timer.c754 struct arch_timer_offset *offs = &map->direct_vtimer->offset; local
757 offs->vcpu_offset = NULL;
759 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2);
960 struct arch_timer_offset *offs = &vcpu_vtimer(vcpu)->offset; local
962 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2);
963 offs->vm_offset = &vcpu->kvm->arch.timer_data.poffset;
/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/sound/synth/emux/
H A Demux_oss.c24 const char __user *buf, int offs, int count);
191 const char __user *buf, int offs, int count)
190 snd_emux_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count) argument
/linux-master/crypto/async_tx/
H A Dasync_pq.c143 is_dma_pq_aligned_offs(struct dma_device *dev, unsigned int *offs, argument
149 if (!is_dma_pq_aligned(dev, offs[i], 0, len))
/linux-master/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c218 static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs) argument
228 writel(offs, spifi->io_base + SPIFI_ADDR);
/linux-master/drivers/soc/tegra/
H A Dpmc.c204 unsigned long offs; member in struct:pmc_clk
213 unsigned long offs; member in struct:pmc_clk_gate
2555 val = tegra_pmc_readl(pmc, clk->offs) >> clk->mux_shift;
2566 val = tegra_pmc_readl(pmc, clk->offs);
2569 tegra_pmc_writel(pmc, val, clk->offs);
2570 pmc_clk_fence_udelay(clk->offs);
2580 val = tegra_pmc_readl(pmc, clk->offs) & BIT(clk->force_en_shift);
2585 static void pmc_clk_set_state(unsigned long offs, u32 shift, int state) argument
2589 val = tegra_pmc_readl(pmc, offs);
2591 tegra_pmc_writel(pmc, val, offs);
[all...]
/linux-master/kernel/trace/
H A Dtrace_probe.c997 static int __parse_imm_string(char *str, char **pbuf, int offs) argument
1002 trace_probe_log_err(offs + len, IMMSTR_NO_CLOSE);
1225 int offs; local
1235 offs = t2 + strlen(t2) - arg;
1237 trace_probe_log_err(ctx->offset + offs,
1258 offs = t ? t - arg : 0;
1269 trace_probe_log_err(ctx->offset + offs, NEED_STRING_TYPE);
1277 trace_probe_log_err(ctx->offset + offs, BAD_TYPE);
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-combo.c3417 const struct qmp_combo_offsets *offs = cfg->offsets; local
3422 if (!offs)
3429 qmp->com = base + offs->com;
3430 qmp->tx = base + offs->txa;
3431 qmp->rx = base + offs->rxa;
3432 qmp->tx2 = base + offs->txb;
3433 qmp->rx2 = base + offs->rxb;
3435 qmp->serdes = base + offs->usb3_serdes;
3436 qmp->pcs_misc = base + offs->usb3_pcs_misc;
3437 qmp->pcs = base + offs
[all...]
/linux-master/net/mac80211/
H A Dtx.c5211 struct ieee80211_mutable_offsets *offs,
5224 if (offs && beacon) {
5233 offs->cntdwn_counter_offs[i] = csa_off_base + csa_off;
5297 struct ieee80211_mutable_offsets *offs,
5335 if (offs) {
5336 offs->tim_offset = beacon->head_len;
5337 offs->tim_length = skb->len - beacon->head_len;
5338 offs->cntdwn_counter_offs[0] = beacon->cntdwn_counter_offsets[0];
5342 offs->mbssid_off = skb->len - mbssid_len;
5355 ieee80211_beacon_get_finish(hw, vif, link, offs, beaco
5208 ieee80211_beacon_get_finish(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, struct beacon_data *beacon, struct sk_buff *skb, struct ieee80211_chanctx_conf *chanctx_conf, u16 csa_off_base) argument
5294 ieee80211_beacon_get_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, bool is_template, struct beacon_data *beacon, struct ieee80211_chanctx_conf *chanctx_conf, u8 ema_index) argument
5361 ieee80211_beacon_get_ap_ema_list(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_link_data *link, struct ieee80211_mutable_offsets *offs, bool is_template, struct beacon_data *beacon, struct ieee80211_chanctx_conf *chanctx_conf) argument
5398 __ieee80211_beacon_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs, bool is_template, unsigned int link_id, int ema_index, struct ieee80211_ema_beacons **ema_beacons) argument
5538 ieee80211_beacon_get_template(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs, unsigned int link_id) argument
5549 ieee80211_beacon_get_template_ema_index(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs, unsigned int link_id, u8 ema_index) argument
5592 struct ieee80211_mutable_offsets offs = {}; local
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c673 struct ieee80211_mutable_offsets offs; local
701 skb = ieee80211_beacon_get_template(hw, vif, &offs, 0);
718 req.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset);
719 if (offs.cntdwn_counter_offs[0]) {
722 csa_offs = MT_TXD_SIZE + offs.cntdwn_counter_offs[0] - 4;
724 req.csa_cnt = skb->data[offs.cntdwn_counter_offs[0]];
1038 struct ieee80211_mutable_offsets offs; local
1077 skb = ieee80211_beacon_get_template(mt76_hw(dev), vif, &offs, 0);
1091 req.beacon_tlv.tim_ie_pos = cpu_to_le16(MT_TXD_SIZE + offs.tim_offset);
1093 if (offs
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c46 __be32 offs; member in struct:mt7996_patch_sec
2387 struct ieee80211_mutable_offsets *offs)
2393 if (!offs->cntdwn_counter_offs[0])
2401 info->cnt = skb->data[offs->cntdwn_counter_offs[0]];
2407 struct ieee80211_mutable_offsets *offs)
2419 mbss->offset[0] = cpu_to_le16(offs->tim_offset);
2423 &skb->data[offs->mbssid_off],
2424 skb->len - offs->mbssid_off) {
2461 struct ieee80211_mutable_offsets *offs)
2467 bcn->tim_ie_pos = cpu_to_le16(offs
2385 mt7996_mcu_beacon_cntdwn(struct ieee80211_vif *vif, struct sk_buff *rskb, struct sk_buff *skb, struct ieee80211_mutable_offsets *offs) argument
2405 mt7996_mcu_beacon_mbss(struct sk_buff *rskb, struct sk_buff *skb, struct ieee80211_vif *vif, struct bss_bcn_content_tlv *bcn, struct ieee80211_mutable_offsets *offs) argument
2458 mt7996_mcu_beacon_cont(struct mt7996_dev *dev, struct ieee80211_vif *vif, struct sk_buff *rskb, struct sk_buff *skb, struct bss_bcn_content_tlv *bcn, struct ieee80211_mutable_offsets *offs) argument
2491 struct ieee80211_mutable_offsets offs; local
3645 __le32 offs; member in struct:__anon1397::__anon1399
3651 static const u32 offs[] = { local
[all...]
/linux-master/drivers/uio/
H A Duio_mf624.c124 mem->offs = start & ~PAGE_MASK;

Completed in 271 milliseconds

1234567891011>>