Searched refs:offs (Results 51 - 75 of 387) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c1233 int offs = port->port_num % ICE_PORTS_PER_QUAD; local
1246 if (offs == 0 || offs == 1)
1259 if (offs & 0x1)
H A Dice_protocol_type.h447 u8 offs[sizeof(union ice_prot_hdr)]; member in struct:ice_prot_ext_tbl_entry
/linux-master/drivers/net/ethernet/cortina/
H A Dgemini.c1665 unsigned int offs, val; local
1668 offs = i * (GLOBAL_INTERRUPT_STATUS_1_REG -
1671 irqif_reg = geth->base + GLOBAL_INTERRUPT_STATUS_0_REG + offs;
1672 irqen_reg = geth->base + GLOBAL_INTERRUPT_ENABLE_0_REG + offs;
/linux-master/drivers/md/
H A Draid5.c1602 * @offs - (unsigned int) array of offset for each page
1611 unsigned int *offs,
1647 offs[slot] = sh->dev[i].offset;
1660 unsigned int *offs = to_addr_offs(sh, percpu); local
1691 count = set_syndrome_sources(blocks, offs, sh, SYNDROME_SRC_ALL);
1697 tx = async_gen_syndrome(blocks, offs, count+2,
1705 offs[count] = sh->dev[i].offset;
1712 tx = async_xor_offs(dest, dest_off, blocks, offs, count,
1732 unsigned int *offs = to_addr_offs(sh, percpu); local
1746 offs[
1610 set_syndrome_sources(struct page **srcs, unsigned int *offs, struct stripe_head *sh, int srctype) argument
1901 unsigned int *offs = to_addr_offs(sh, percpu); local
2141 unsigned int *offs; local
2254 unsigned int *offs = to_addr_offs(sh, percpu); local
[all...]
/linux-master/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.c444 uint64_t offs; local
452 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_tx_buf_phys;
453 if (offs > dev->ishtp_host_dma_tx_buf_size) {
458 dev->ishtp_host_dma_tx_buf_size - offs) {
464 msg = (unsigned char *)dev->ishtp_host_dma_tx_buf + offs;
507 uint64_t offs; local
517 offs = dma_xfer->msg_addr - dev->ishtp_host_dma_rx_buf_phys;
518 if (offs > dev->ishtp_host_dma_rx_buf_size) {
523 dev->ishtp_host_dma_rx_buf_size - offs) {
527 msg = dev->ishtp_host_dma_rx_buf + offs;
[all...]
/linux-master/drivers/hid/
H A Dhid-asus.c1142 int offs; local
1146 offs = 388;
1149 offs = 291;
1159 rdesc[offs] == 0x09 && rdesc[offs + 1] == 0x76) {
1168 memmove(rdesc + offs + 4, rdesc + offs + 2, 12);
1169 rdesc[offs] = 0x19;
1170 rdesc[offs + 1] = 0x00;
1171 rdesc[offs
[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/drivers/acpi/
H A Dcppc_acpi.c98 #define GET_PCC_VADDR(offs, pcc_ss_id) (pcc_data[pcc_ss_id]->pcc_comm_addr + \
99 0x8 + (offs))
/linux-master/arch/x86/kernel/fpu/
H A Dxstate.c140 unsigned int offs, i; local
155 offs = FXSAVE_SIZE + XSAVE_HDR_SIZE;
158 offs = ALIGN(offs, 64);
161 offs += xstate_sizes[i];
163 return offs;
/linux-master/arch/arm/mach-pxa/
H A Dspitz.c765 .offs = 4,
/linux-master/include/linux/
H A Dtee_drv.h128 * @offs: Offset from start of this shared memory
129 * @returns virtual address of the shared memory + offs if offs is within
132 void *tee_shm_get_va(struct tee_shm *shm, size_t offs);
137 * @offs: Offset from start of this shared memory
139 * @returns 0 if offs is within the bounds of this shared memory, else an
142 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
/linux-master/drivers/tee/
H A Dtee_shm.c493 * @offs: Offset from start of this shared memory
494 * @returns virtual address of the shared memory + offs if offs is within
497 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) argument
501 if (offs >= shm->size)
503 return (char *)shm->kaddr + offs;
510 * @offs: Offset from start of this shared memory
512 * @returns 0 if offs is within the bounds of this shared memory, else an
515 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa) argument
517 if (offs >
[all...]
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/tee/optee/
H A Dsmc_abi.c120 p->u.memref.shm_offs = mp->u.rmem.offs;
215 mp->u.rmem.offs = p->u.memref.shm_offs;
877 * @offs: offset of the message in @shm
886 struct tee_shm *shm, u_int offs,
900 arg = tee_shm_get_va(shm, offs);
905 rpc_arg = tee_shm_get_va(shm, offs + rpc_arg_offs);
913 param.a3 = offs;
917 rc = tee_shm_get_pa(shm, offs, &parg);
885 optee_smc_do_call_with_arg(struct tee_context *ctx, struct tee_shm *shm, u_int offs, bool system_thread) argument
H A Doptee_private.h177 struct tee_shm *shm_arg, u_int offs,
326 u_int *offs);
328 struct optee_shm_arg_entry *entry, u_int offs);
H A Dffa_abi.c607 * @offs: offset of the message in @shm
617 struct tee_shm *shm, u_int offs,
624 .data3 = offs,
639 arg = tee_shm_get_va(shm, offs);
644 rpc_arg = tee_shm_get_va(shm, offs + rpc_arg_offs);
616 optee_ffa_do_call_with_arg(struct tee_context *ctx, struct tee_shm *shm, u_int offs, bool system_thread) argument
H A Dcall.c275 u_int offs; local
316 offs = bit * sz;
317 res = tee_shm_get_va(entry->shm, offs);
326 *offs_ret = offs;
336 * @offs: Offset of shared memory buffer to free
341 struct optee_shm_arg_entry *entry, u_int offs)
347 if (offs > SHM_ENTRY_SIZE || offs % sz) {
348 pr_err("Invalid offs %u\n", offs);
340 optee_free_msg_arg(struct tee_context *ctx, struct optee_shm_arg_entry *entry, u_int offs) argument
373 u_int offs; local
474 u_int offs; local
522 u_int offs; local
575 u_int offs; local
650 u_int offs; local
[all...]
/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/drivers/spi/
H A Dspi-stm32.c596 u32 offs = spi->cur_xferlen - spi->tx_len; local
599 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
604 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
625 u32 offs = spi->cur_xferlen - spi->tx_len; local
628 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
633 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
655 u32 offs = spi->cur_xferlen - spi->tx_len; local
658 const u32 *tx_buf32 = (const u32 *)(spi->tx_buf + offs);
663 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
668 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
689 u32 offs = spi->cur_xferlen - spi->rx_len; local
720 u32 offs = spi->cur_xferlen - spi->rx_len; local
763 u32 offs = spi->cur_xferlen - spi->rx_len; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c217 #define sysfs_show_gen_prop(buffer, offs, fmt, ...) \
218 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \
220 #define sysfs_show_32bit_prop(buffer, offs, name, value) \
221 sysfs_show_gen_prop(buffer, offs, "%s %u\n", name, value)
222 #define sysfs_show_64bit_prop(buffer, offs, name, value) \
223 sysfs_show_gen_prop(buffer, offs, "%s %llu\n", name, value)
224 #define sysfs_show_32bit_val(buffer, offs, value) \
225 sysfs_show_gen_prop(buffer, offs, "
232 int offs = 0; local
271 int offs = 0; local
311 int offs = 0; local
343 int offs = 0; local
395 int offs = 0; local
422 int offs = 0; local
[all...]
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c7007 u8 nsteps, offs;
7014 offs = ((caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT) - 10;
7016 caps |= (nsteps << AC_AMPCAP_NUM_STEPS_SHIFT) | (offs << AC_AMPCAP_OFFSET_SHIFT);
7001 u8 nsteps, offs; local
/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/drivers/video/fbdev/core/
H A Dfb_defio.c26 static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs) argument
31 if (is_vmalloc_addr(screen_base + offs))
32 page = vmalloc_to_page(screen_base + offs);
34 page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT);
/linux-master/drivers/mtd/nand/raw/
H A Ddiskonchip.c866 unsigned offs; local
870 for (offs = 0; offs < mtd->size; offs += mtd->erasesize) {
871 ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf);
875 pr_warn("ECC error scanning DOC at 0x%x\n", offs);
879 pr_info("Found DiskOnChip %s Media Header at 0x%x\n", id, offs);
881 doc->mh0_page = offs >> this->page_shift;
886 doc->mh1_page = offs >> this->page_shift;
895 offs
916 int offs, numheaders; local
[all...]
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c639 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) argument
642 return brcmnand_soc_read(ctrl->soc, offs);
643 return brcmnand_readl(ctrl->nand_base + offs);
646 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, argument
650 brcmnand_soc_write(ctrl->soc, val, offs);
652 brcmnand_writel(val, ctrl->nand_base + offs);
794 u16 offs = ctrl->reg_offsets[reg]; local
796 if (offs)
797 return nand_readreg(ctrl, offs);
805 u16 offs local
841 u16 offs = ctrl->edu_offsets[reg]; local
849 u16 offs = ctrl->edu_offsets[reg]; local
1013 u16 offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_ACC_CONTROL); local
1209 u16 offs = ctrl->flash_dma_offsets[dma_reg]; local
1217 u16 offs = ctrl->flash_dma_offsets[dma_reg]; local
1472 oob_reg_read(struct brcmnand_controller *ctrl, u32 offs) argument
1490 oob_reg_write(struct brcmnand_controller *ctrl, u32 offs, u32 data) argument
2682 u32 offs, tmp, oob_sector; local
[all...]

Completed in 453 milliseconds

1234567891011>>