Home
last modified time | relevance | path

Searched refs:fdesc (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/dma/
Dst_fdma.c83 fchan->fdesc = to_st_fdma_desc(vdesc); in st_fdma_xfer_desc()
84 nbytes = fchan->fdesc->node[0].desc->nbytes; in st_fdma_xfer_desc()
86 ch_cmd = fchan->fdesc->node[0].pdesc | FDMA_CH_CMD_STA_START; in st_fdma_xfer_desc()
142 if (fchan->fdesc) { in st_fdma_irq_handler()
143 if (!fchan->fdesc->iscyclic) { in st_fdma_irq_handler()
144 list_del(&fchan->fdesc->vdesc.node); in st_fdma_irq_handler()
145 vchan_cookie_complete(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
146 fchan->fdesc = NULL; in st_fdma_irq_handler()
149 vchan_cyclic_callback(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
153 if (!fchan->fdesc) in st_fdma_irq_handler()
[all …]
Dst_fdma.h126 struct st_fdma_desc *fdesc; member
/linux-6.6.21/drivers/misc/lkdtm/
Dperms.c52 static void *setup_function_descriptor(func_desc_t *fdesc, void *dst) in setup_function_descriptor() argument
57 memcpy(fdesc, do_nothing, sizeof(*fdesc)); in setup_function_descriptor()
58 fdesc->addr = (unsigned long)dst; in setup_function_descriptor()
61 return fdesc; in setup_function_descriptor()
67 func_desc_t fdesc; in execute_location() local
79 func = setup_function_descriptor(&fdesc, dst); in execute_location()
90 func_desc_t fdesc; in execute_user_location() local
101 func = setup_function_descriptor(&fdesc, dst); in execute_user_location()
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_metadata.c110 struct v4l2_fmtdesc *fdesc) in uvc_meta_v4l2_enum_formats() argument
115 u32 index = fdesc->index; in uvc_meta_v4l2_enum_formats()
117 if (fdesc->type != vfh->vdev->queue->type || in uvc_meta_v4l2_enum_formats()
121 memset(fdesc, 0, sizeof(*fdesc)); in uvc_meta_v4l2_enum_formats()
123 fdesc->type = vfh->vdev->queue->type; in uvc_meta_v4l2_enum_formats()
124 fdesc->index = index; in uvc_meta_v4l2_enum_formats()
125 fdesc->pixelformat = index ? dev->info->meta_format : V4L2_META_FMT_UVC; in uvc_meta_v4l2_enum_formats()
/linux-6.6.21/arch/parisc/kernel/
Dsignal.c290 Elf32_Fdesc fdesc; in setup_rt_frame() local
293 err = __copy_from_user(&fdesc, ufdesc, sizeof(fdesc)); in setup_rt_frame()
298 haddr = fdesc.addr; in setup_rt_frame()
299 regs->gr[19] = fdesc.gp; in setup_rt_frame()
303 Elf64_Fdesc fdesc; in setup_rt_frame() local
306 err = __copy_from_user(&fdesc, ufdesc, sizeof(fdesc)); in setup_rt_frame()
311 haddr = fdesc.addr; in setup_rt_frame()
312 regs->gr[19] = fdesc.gp; in setup_rt_frame()
Dmodule.c375 Elf_Fdesc *fdesc = me->mem[MOD_TEXT].base + me->arch.fdesc_offset; in get_fdesc() local
383 while (fdesc->addr) { in get_fdesc()
384 if (fdesc->addr == value) in get_fdesc()
385 return (Elf_Addr)fdesc; in get_fdesc()
386 fdesc++; in get_fdesc()
392 fdesc->addr = value; in get_fdesc()
393 fdesc->gp = (Elf_Addr)me->mem[MOD_TEXT].base + me->arch.got_offset; in get_fdesc()
394 return (Elf_Addr)fdesc; in get_fdesc()
/linux-6.6.21/arch/ia64/kernel/
Dmodule.c481 mod->arch.opd->sh_size = fdescs * sizeof(struct fdesc); in module_frob_arch_sections()
587 struct fdesc *fdesc = (void *) mod->arch.opd->sh_addr; in get_fdesc() local
605 while (fdesc->addr) { in get_fdesc()
606 if (fdesc->addr == value) in get_fdesc()
607 return (uint64_t)fdesc; in get_fdesc()
608 if ((uint64_t) ++fdesc >= mod->arch.opd->sh_addr + mod->arch.opd->sh_size) in get_fdesc()
613 fdesc->addr = value; in get_fdesc()
614 fdesc->gp = mod->arch.gp; in get_fdesc()
615 return (uint64_t) fdesc; in get_fdesc()
/linux-6.6.21/arch/ia64/include/asm/
Dsections.h13 typedef struct fdesc func_desc_t;
Delf.h228 struct fdesc { struct
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-keembay.c1619 struct function_desc *fdesc; in keembay_build_functions() local
1622 for (fdesc = keembay_funcs; fdesc->name; fdesc++) { in keembay_build_functions()
1623 if (!strcmp(mux->name, fdesc->name)) { in keembay_build_functions()
1624 fdesc->num_group_names++; in keembay_build_functions()
1630 if (!fdesc->name) { in keembay_build_functions()
1631 fdesc->name = mux->name; in keembay_build_functions()
1632 fdesc->num_group_names = 1; in keembay_build_functions()
1633 fdesc->data = &mux->mode; in keembay_build_functions()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dhw.c357 static void ath11k_hw_ipq8074_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, in ath11k_hw_ipq8074_rx_desc_copy_attn_end() argument
360 memcpy((u8 *)&fdesc->u.ipq8074.msdu_end, (u8 *)&ldesc->u.ipq8074.msdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
362 memcpy((u8 *)&fdesc->u.ipq8074.attention, (u8 *)&ldesc->u.ipq8074.attention, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
364 memcpy((u8 *)&fdesc->u.ipq8074.mpdu_end, (u8 *)&ldesc->u.ipq8074.mpdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
534 static void ath11k_hw_qcn9074_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, in ath11k_hw_qcn9074_rx_desc_copy_attn_end() argument
537 memcpy((u8 *)&fdesc->u.qcn9074.msdu_end, (u8 *)&ldesc->u.qcn9074.msdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
539 memcpy((u8 *)&fdesc->u.qcn9074.attention, (u8 *)&ldesc->u.qcn9074.attention, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
541 memcpy((u8 *)&fdesc->u.qcn9074.mpdu_end, (u8 *)&ldesc->u.qcn9074.mpdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
705 static void ath11k_hw_wcn6855_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, in ath11k_hw_wcn6855_rx_desc_copy_attn_end() argument
708 memcpy((u8 *)&fdesc->u.wcn6855.msdu_end, (u8 *)&ldesc->u.wcn6855.msdu_end, in ath11k_hw_wcn6855_rx_desc_copy_attn_end()
[all …]
Dhw.h260 void (*rx_desc_copy_attn_end_tlv)(struct hal_rx_desc *fdesc,
Ddp_rx.c241 struct hal_rx_desc *fdesc, in ath11k_dp_rx_desc_end_tlv_copy() argument
244 ab->hw_params.hw_ops->rx_desc_copy_attn_end_tlv(fdesc, ldesc); in ath11k_dp_rx_desc_end_tlv_copy()
/linux-6.6.21/drivers/power/supply/
Daxp20x_usb_power.c517 struct reg_field fdesc, in axp20x_regmap_field_alloc_optional() argument
522 if (fdesc.reg == 0) { in axp20x_regmap_field_alloc_optional()
527 field = devm_regmap_field_alloc(dev, regmap, fdesc); in axp20x_regmap_field_alloc_optional()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fdir.h211 struct ice_fltr_desc *fdesc, bool add);
Dice_fdir.c668 struct ice_fltr_desc *fdesc, bool add) in ice_fdir_get_prgm_desc() argument
707 ice_set_fd_desc_val(&fdir_fltr_ctx, fdesc); in ice_fdir_get_prgm_desc()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dmae.c286 MCDI_DECLARE_STRUCT_PTR(fdesc); in efx_mae_table_get_desc()
296 fdesc = MCDI_ARRAY_STRUCT_PTR(outbuf, in efx_mae_table_get_desc()
298 field->field_id = MCDI_STRUCT_WORD(fdesc, in efx_mae_table_get_desc()
300 field->lbn = MCDI_STRUCT_WORD(fdesc, TABLE_FIELD_DESCR_LBN); in efx_mae_table_get_desc()
301 field->width = MCDI_STRUCT_WORD(fdesc, TABLE_FIELD_DESCR_WIDTH); in efx_mae_table_get_desc()
302 field->masking = MCDI_STRUCT_BYTE(fdesc, TABLE_FIELD_DESCR_MASK_TYPE); in efx_mae_table_get_desc()
303 field->scheme = MCDI_STRUCT_BYTE(fdesc, TABLE_FIELD_DESCR_SCHEME); in efx_mae_table_get_desc()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dhal.c402 static void ath12k_hw_qcn9274_rx_desc_copy_end_tlv(struct hal_rx_desc *fdesc, in ath12k_hw_qcn9274_rx_desc_copy_end_tlv() argument
405 memcpy(&fdesc->u.qcn9274.msdu_end, &ldesc->u.qcn9274.msdu_end, in ath12k_hw_qcn9274_rx_desc_copy_end_tlv()
836 static void ath12k_hw_wcn7850_rx_desc_copy_end_tlv(struct hal_rx_desc *fdesc, in ath12k_hw_wcn7850_rx_desc_copy_end_tlv() argument
839 memcpy(&fdesc->u.wcn7850.msdu_end, &ldesc->u.wcn7850.msdu_end, in ath12k_hw_wcn7850_rx_desc_copy_end_tlv()
Dhal.h1055 void (*rx_desc_copy_end_tlv)(struct hal_rx_desc *fdesc,
Ddp_rx.c183 struct hal_rx_desc *fdesc, in ath12k_dp_rx_desc_end_tlv_copy() argument
186 ab->hw_params->hal_ops->rx_desc_copy_end_tlv(fdesc, ldesc); in ath12k_dp_rx_desc_end_tlv_copy()