/drivers/media/test-drivers/vidtv/ |
D | vidtv_pes.c | 59 static u32 vidtv_pes_write_header_stuffing(struct pes_header_write_args *args) in vidtv_pes_write_header_stuffing() argument 67 if (args->n_pes_h_s_bytes > PES_HEADER_MAX_STUFFING_BYTES) { in vidtv_pes_write_header_stuffing() 70 args->n_pes_h_s_bytes = PES_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_header_stuffing() 73 return vidtv_memset(args->dest_buf, in vidtv_pes_write_header_stuffing() 74 args->dest_offset, in vidtv_pes_write_header_stuffing() 75 args->dest_buf_sz, in vidtv_pes_write_header_stuffing() 77 args->n_pes_h_s_bytes); in vidtv_pes_write_header_stuffing() 80 static u32 vidtv_pes_write_pts_dts(struct pes_header_write_args *args) in vidtv_pes_write_pts_dts() argument 92 if (!args->send_pts && args->send_dts) in vidtv_pes_write_pts_dts() 100 if (args->send_pts && args->send_dts) { in vidtv_pes_write_pts_dts() [all …]
|
D | vidtv_psi.c | 164 static u32 vidtv_psi_ts_psi_write_into(struct psi_write_args *args) in vidtv_psi_ts_psi_write_into() argument 168 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into() 173 u32 nbytes_past_boundary = (args->dest_offset % TS_PACKET_LEN); in vidtv_psi_ts_psi_write_into() 175 u32 remaining_len = args->len; in vidtv_psi_ts_psi_write_into() 180 if (!args->crc && !args->is_crc) in vidtv_psi_ts_psi_write_into() 183 if (args->crc) in vidtv_psi_ts_psi_write_into() 184 *args->crc = dvb_crc32(*args->crc, args->from, args->len); in vidtv_psi_ts_psi_write_into() 186 if (args->new_psi_section && !aligned) { in vidtv_psi_ts_psi_write_into() 190 nbytes += vidtv_memset(args->dest_buf, in vidtv_psi_ts_psi_write_into() 191 args->dest_offset + nbytes, in vidtv_psi_ts_psi_write_into() [all …]
|
D | vidtv_ts.c | 51 u32 vidtv_ts_null_write_into(struct null_packet_write_args args) in vidtv_ts_null_write_into() argument 59 ts_header.continuity_counter = *args.continuity_counter; in vidtv_ts_null_write_into() 62 nbytes += vidtv_memcpy(args.dest_buf, in vidtv_ts_null_write_into() 63 args.dest_offset + nbytes, in vidtv_ts_null_write_into() 64 args.buf_sz, in vidtv_ts_null_write_into() 68 vidtv_ts_inc_cc(args.continuity_counter); in vidtv_ts_null_write_into() 71 nbytes += vidtv_memset(args.dest_buf, in vidtv_ts_null_write_into() 72 args.dest_offset + nbytes, in vidtv_ts_null_write_into() 73 args.buf_sz, in vidtv_ts_null_write_into() 86 u32 vidtv_ts_pcr_write_into(struct pcr_write_args args) in vidtv_ts_pcr_write_into() argument [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 46 SET_CRTC_OVERSCAN_PS_ALLOCATION args; in amdgpu_atombios_crtc_overscan_setup() local 50 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_overscan_setup() 52 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup() 56 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 57 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 58 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 59 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 66 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() 67 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup() 69 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() [all …]
|
D | atombios_encoders.c | 321 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in amdgpu_atombios_encoder_setup_dac() local 324 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dac() 337 args.ucAction = action; in amdgpu_atombios_encoder_setup_dac() 338 args.ucDacStandard = ATOM_DAC1_PS2; in amdgpu_atombios_encoder_setup_dac() 339 args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dac() 341 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); in amdgpu_atombios_encoder_setup_dac() 384 union dvo_encoder_control args; in amdgpu_atombios_encoder_setup_dvo() local 388 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dvo() 398 args.ext_tmds.sXTmdsEncoder.ucEnable = action; in amdgpu_atombios_encoder_setup_dvo() 401 args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo() [all …]
|
D | amdgpu_gem.c | 290 union drm_amdgpu_gem_create *args = data; in amdgpu_gem_create_ioctl() local 291 uint64_t flags = args->in.domain_flags; in amdgpu_gem_create_ioctl() 292 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl() 310 if (args->in.domains & ~AMDGPU_GEM_DOMAIN_MASK) in amdgpu_gem_create_ioctl() 319 if (args->in.domains & (AMDGPU_GEM_DOMAIN_GDS | in amdgpu_gem_create_ioctl() 339 initial_domain = (u32)(0xffffffff & args->in.domains); in amdgpu_gem_create_ioctl() 341 r = amdgpu_gem_object_create(adev, size, args->in.alignment, in amdgpu_gem_create_ioctl() 355 size, initial_domain, args->in.alignment, r); in amdgpu_gem_create_ioctl() 375 memset(args, 0, sizeof(*args)); in amdgpu_gem_create_ioctl() 376 args->out.handle = handle; in amdgpu_gem_create_ioctl() [all …]
|
/drivers/gpu/drm/nouveau/nvif/ |
D | object.c | 36 } *args = data; in nvif_object_ioctl() local 38 if (size >= sizeof(*args) && args->v0.version == 0) { in nvif_object_ioctl() 40 args->v0.object = nvif_handle(object); in nvif_object_ioctl() 42 args->v0.object = 0; in nvif_object_ioctl() 43 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; in nvif_object_ioctl() 63 } *args = NULL; in nvif_object_sclass_get() local 68 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nvif_object_sclass_get() 69 if (!(args = kmalloc(size, GFP_KERNEL))) in nvif_object_sclass_get() 71 args->ioctl.version = 0; in nvif_object_sclass_get() 72 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get() [all …]
|
D | vmm.c | 39 struct nvif_vmm_map_v0 *args; in nvif_vmm_map() local 43 if (sizeof(*args) + argc > sizeof(stack)) { in nvif_vmm_map() 44 if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) in nvif_vmm_map() 47 args = (void *)stack; in nvif_vmm_map() 50 args->version = 0; in nvif_vmm_map() 51 args->addr = addr; in nvif_vmm_map() 52 args->size = size; in nvif_vmm_map() 53 args->memory = nvif_handle(&mem->object); in nvif_vmm_map() 54 args->offset = offset; in nvif_vmm_map() 55 memcpy(args->data, argv, argc); in nvif_vmm_map() [all …]
|
/drivers/net/wireless/marvell/libertas_tf/ |
D | deb_defs.h | 49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 51 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 64 __func__, ##args); 65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ioctl.c | 37 } *args = data; in nvkm_ioctl_nop() local 41 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_ioctl_nop() 42 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop() 43 args->v0.version = NVIF_VERSION_LATEST; in nvkm_ioctl_nop() 55 } *args = data; in nvkm_ioctl_sclass() local 60 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nvkm_ioctl_sclass() 62 args->v0.version, args->v0.count); in nvkm_ioctl_sclass() 63 if (size != args->v0.count * sizeof(args->v0.oclass[0])) in nvkm_ioctl_sclass() 68 if (i < args->v0.count) { in nvkm_ioctl_sclass() 69 args->v0.oclass[i].oclass = oclass.base.oclass; in nvkm_ioctl_sclass() [all …]
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 161 struct kfd_ioctl_get_version_args *args = data; in kfd_ioctl_get_version() local 163 args->major_version = KFD_IOCTL_MAJOR_VERSION; in kfd_ioctl_get_version() 164 args->minor_version = KFD_IOCTL_MINOR_VERSION; in kfd_ioctl_get_version() 170 struct kfd_ioctl_create_queue_args *args) in set_queue_properties_from_user() argument 172 if (args->queue_percentage > KFD_MAX_QUEUE_PERCENTAGE) { in set_queue_properties_from_user() 177 if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { in set_queue_properties_from_user() 182 if ((args->ring_base_address) && in set_queue_properties_from_user() 183 (!access_ok((const void __user *) args->ring_base_address, in set_queue_properties_from_user() 189 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { in set_queue_properties_from_user() 194 if (!access_ok((const void __user *) args->read_pointer_address, in set_queue_properties_from_user() [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-driver.h | 159 #define CX18_DEBUG(x, type, fmt, args...) \ argument 162 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 164 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument 165 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument 166 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument 167 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument 168 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument 169 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument 170 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument 171 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument [all …]
|
/drivers/net/wireless/marvell/libertas/ |
D | defs.h | 51 #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ argument 53 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0) 55 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 59 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument 61 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument 62 #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) argument 63 #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) argument 64 #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv50.c | 42 } *args = data; in nv50_disp_root_mthd_() local 54 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nv50_disp_root_mthd_() 56 args->v0.version, args->v0.method, args->v0.head); in nv50_disp_root_mthd_() 57 mthd = args->v0.method; in nv50_disp_root_mthd_() 58 hidx = args->v0.head; in nv50_disp_root_mthd_() 60 if (!(ret = nvif_unpack(ret, &data, &size, args->v1, 1, 1, true))) { in nv50_disp_root_mthd_() 63 args->v1.version, args->v1.method, in nv50_disp_root_mthd_() 64 args->v1.hasht, args->v1.hashm); in nv50_disp_root_mthd_() 65 mthd = args->v1.method; in nv50_disp_root_mthd_() 66 type = args->v1.hasht; in nv50_disp_root_mthd_() [all …]
|
/drivers/gpu/drm/radeon/ |
D | atombios_encoders.c | 100 DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; in atombios_set_backlight_level() local 117 args.ucAction = ATOM_LCD_BLOFF; in atombios_set_backlight_level() 118 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 120 args.ucAction = ATOM_LCD_BL_BRIGHTNESS_CONTROL; in atombios_set_backlight_level() 121 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 122 args.ucAction = ATOM_LCD_BLON; in atombios_set_backlight_level() 123 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 355 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in atombios_dac_setup() local 359 memset(&args, 0, sizeof(args)); in atombios_dac_setup() 372 args.ucAction = action; in atombios_dac_setup() [all …]
|
D | radeon_gem.c | 297 struct drm_radeon_gem_info *args = data; in radeon_gem_info_ioctl() local 302 args->vram_size = (u64)man->size << PAGE_SHIFT; in radeon_gem_info_ioctl() 303 args->vram_visible = rdev->mc.visible_vram_size; in radeon_gem_info_ioctl() 304 args->vram_visible -= rdev->vram_pin_size; in radeon_gem_info_ioctl() 305 args->gart_size = rdev->mc.gtt_size; in radeon_gem_info_ioctl() 306 args->gart_size -= rdev->gart_pin_size; in radeon_gem_info_ioctl() 331 struct drm_radeon_gem_create *args = data; in radeon_gem_create_ioctl() local 338 args->size = roundup(args->size, PAGE_SIZE); in radeon_gem_create_ioctl() 339 r = radeon_gem_object_create(rdev, args->size, args->alignment, in radeon_gem_create_ioctl() 340 args->initial_domain, args->flags, in radeon_gem_create_ioctl() [all …]
|
D | atombios_crtc.c | 45 SET_CRTC_OVERSCAN_PS_ALLOCATION args; in atombios_overscan_setup() local 49 memset(&args, 0, sizeof(args)); in atombios_overscan_setup() 51 args.ucCRTC = radeon_crtc->crtc_id; in atombios_overscan_setup() 55 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup() 56 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in atombios_overscan_setup() 57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in atombios_overscan_setup() 58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in atombios_overscan_setup() 65 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in atombios_overscan_setup() 66 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in atombios_overscan_setup() 68 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in atombios_overscan_setup() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_chan.c | 142 struct nv_dma_v0 args = {}; in nouveau_channel_prep() local 201 args.target = NV_DMA_V0_TARGET_VM; in nouveau_channel_prep() 202 args.access = NV_DMA_V0_ACCESS_VM; in nouveau_channel_prep() 203 args.start = 0; in nouveau_channel_prep() 204 args.limit = chan->vmm->vmm.limit - 1; in nouveau_channel_prep() 212 args.target = NV_DMA_V0_TARGET_PCI; in nouveau_channel_prep() 213 args.access = NV_DMA_V0_ACCESS_RDWR; in nouveau_channel_prep() 214 args.start = nvxx_device(device)->func-> in nouveau_channel_prep() 216 args.limit = args.start + device->info.ram_user - 1; in nouveau_channel_prep() 218 args.target = NV_DMA_V0_TARGET_VRAM; in nouveau_channel_prep() [all …]
|
/drivers/gpu/drm/i915/gvt/ |
D | debug.h | 27 #define gvt_err(fmt, args...) \ argument 28 pr_err("gvt: "fmt, ##args) 30 #define gvt_vgpu_err(fmt, args...) \ argument 33 pr_err("gvt: "fmt, ##args); \ 35 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ 38 #define gvt_dbg_core(fmt, args...) \ argument 39 pr_debug("gvt: core: "fmt, ##args) 41 #define gvt_dbg_irq(fmt, args...) \ argument 42 pr_debug("gvt: irq: "fmt, ##args) 44 #define gvt_dbg_mm(fmt, args...) \ argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 39 } *args = data; in nvkm_control_mthd_pstate_info() local 44 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_control_mthd_pstate_info() 46 args->v0.version); in nvkm_control_mthd_pstate_info() 51 args->v0.count = clk->state_nr; in nvkm_control_mthd_pstate_info() 52 args->v0.ustate_ac = clk->ustate_ac; in nvkm_control_mthd_pstate_info() 53 args->v0.ustate_dc = clk->ustate_dc; in nvkm_control_mthd_pstate_info() 54 args->v0.pwrsrc = clk->pwrsrc; in nvkm_control_mthd_pstate_info() 55 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info() 57 args->v0.count = 0; in nvkm_control_mthd_pstate_info() 58 args->v0.ustate_ac = NVIF_CONTROL_PSTATE_INFO_V0_USTATE_DISABLE; in nvkm_control_mthd_pstate_info() [all …]
|
D | user.c | 62 struct nv_device_info_v1_data *args) in nvkm_udevice_info_v1() argument 64 if (args->mthd & NV_DEVICE_INFO_UNIT) { in nvkm_udevice_info_v1() 65 if (nvkm_udevice_info_subdev(device, args->mthd, &args->data)) in nvkm_udevice_info_v1() 66 args->mthd = NV_DEVICE_INFO_INVALID; in nvkm_udevice_info_v1() 69 args->mthd = NV_DEVICE_INFO_INVALID; in nvkm_udevice_info_v1() 82 } *args = data; in nvkm_udevice_info() local 86 if (!(ret = nvif_unpack(ret, &data, &size, args->v1, 1, 1, true))) { in nvkm_udevice_info() 88 args->v1.version, args->v1.count); in nvkm_udevice_info() 89 if (args->v1.count * sizeof(args->v1.data[0]) == size) { in nvkm_udevice_info() 90 for (i = 0; i < args->v1.count; i++) in nvkm_udevice_info() [all …]
|
/drivers/misc/habanalabs/common/ |
D | habanalabs_ioctl.c | 29 static int device_status_info(struct hl_device *hdev, struct hl_info_args *args) in device_status_info() argument 32 u32 size = args->return_size; in device_status_info() 33 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in device_status_info() 44 static int hw_ip_info(struct hl_device *hdev, struct hl_info_args *args) in hw_ip_info() argument 47 u32 size = args->return_size; in hw_ip_info() 48 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_ip_info() 104 struct hl_info_args *args) in hw_events_info() argument 106 u32 size, max_size = args->return_size; in hw_events_info() 107 void __user *out = (void __user *) (uintptr_t) args->return_pointer; in hw_events_info() 118 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info() argument [all …]
|
/drivers/net/wwan/iosm/ |
D | iosm_ipc_task_queue.c | 20 struct ipc_task_queue_args *args = &ipc_task->args[q_rpos]; in ipc_task_queue_handler() local 23 if (args->func) in ipc_task_queue_handler() 24 args->response = args->func(args->ipc_imem, args->arg, in ipc_task_queue_handler() 25 args->msg, args->size); in ipc_task_queue_handler() 28 if (args->completion) in ipc_task_queue_handler() 29 complete(args->completion); in ipc_task_queue_handler() 32 if (args->is_copy) in ipc_task_queue_handler() 33 kfree(args->msg); in ipc_task_queue_handler() 42 args->completion = NULL; in ipc_task_queue_handler() 43 args->func = NULL; in ipc_task_queue_handler() [all …]
|
/drivers/gpu/drm/vc4/ |
D | vc4_render_cl.c | 105 (DIV_ROUND_UP(exec->args->width, 32) * y + x); in vc4_full_res_offset() 127 struct drm_vc4_submit_cl *args = exec->args; in emit_tile() local 128 bool has_bin = args->bin_cl_size != 0; in emit_tile() 135 if (args->color_read.flags & in emit_tile() 140 &args->color_read, x, y) | in emit_tile() 144 rcl_u16(setup, args->color_read.bits); in emit_tile() 146 args->color_read.offset); in emit_tile() 157 if (args->zs_read.flags & in emit_tile() 162 &args->zs_read, x, y) | in emit_tile() 166 rcl_u16(setup, args->zs_read.bits); in emit_tile() [all …]
|
/drivers/media/common/b2c2/ |
D | flexcop.h | 17 #define dprintk(level, args...) \ argument 18 do { if ((b2c2_flexcop_debug & (level))) printk(args); } while (0) 20 #define dprintk(level, args...) no_printk(args) argument 23 #define deb_info(args...) dprintk(0x01, args) argument 24 #define deb_tuner(args...) dprintk(0x02, args) argument 25 #define deb_i2c(args...) dprintk(0x04, args) argument 26 #define deb_ts(args...) dprintk(0x08, args) argument 27 #define deb_sram(args...) dprintk(0x10, args) argument 28 #define deb_rdump(args...) dprintk(0x20, args) argument 29 #define deb_i2c_dump(args...) dprintk(0x40, args) argument
|