Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 23 of 23) sorted by relevance

/drivers/firmware/
A Ddmi-sysfs.c35 struct dmi_header dh; member
70 const struct dmi_header *dh,
133 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
185 const char *p = (const char *)dh; in dmi_entry_length()
187 p += dh->length; in dmi_entry_length()
192 return 2 + p - (const char *)dh; in dmi_entry_length()
204 const struct dmi_header *dh, in dmi_entry_attr_show_helper() argument
276 memcpy(&sel, dh, sizeof(sel)); \
411 memcpy(&sel, dh, sizeof(sel)); in dmi_sel_raw_read_helper()
596 memcpy(&entry->dh, dh, sizeof(*dh)); in dmi_sysfs_register_handle()
[all …]
/drivers/crypto/intel/qat/qat_common/
A Dqat_asym_algs.c120 struct qat_dh_input_params dh; member
124 struct qat_dh_output_params dh; member
133 struct qat_dh_ctx *dh; member
137 struct kpp_request *dh; member
169 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb()
175 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
254 qat_req->ctx.dh = ctx; in qat_dh_compute_value()
255 qat_req->areq.dh = req; in qat_dh_compute_value()
480 struct dh params; in qat_dh_set_secret()
1319 static struct kpp_alg dh = { variable
[all …]
/drivers/block/drbd/
A Ddrbd_nl.c3265 if (!dh) in drbd_adm_dump_resources()
3388 if (!dh) in drbd_adm_dump_devices()
3514 if (!dh) in drbd_adm_dump_connections()
3656 if (!dh) in drbd_adm_dump_peer_devices()
3916 if (!dh) in get_one_status()
4577 if (!dh) in notify_resource_state()
4629 if (!dh) in notify_device_state()
4679 if (!dh) in notify_connection_state()
4730 if (!dh) in notify_peer_device_state()
4780 if (!dh) in notify_helper()
[all …]
/drivers/md/
A Ddm-snap-persistent.c309 struct disk_header *dh; in read_header() local
339 dh = ps->header_area; in read_header()
341 if (le32_to_cpu(dh->magic) == 0) { in read_header()
353 ps->valid = le32_to_cpu(dh->valid); in read_header()
354 ps->version = le32_to_cpu(dh->version); in read_header()
355 chunk_size = le32_to_cpu(dh->chunk_size); in read_header()
385 struct disk_header *dh; in write_header() local
389 dh = ps->header_area; in write_header()
390 dh->magic = cpu_to_le32(SNAP_MAGIC); in write_header()
391 dh->valid = cpu_to_le32(ps->valid); in write_header()
[all …]
/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c130 struct hpre_dh_ctx dh; member
448 areq = req->areq.dh; in hpre_dh_cb()
677 if (!ctx->dh.xa_p) in hpre_dh_set_params()
688 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params()
689 if (!ctx->dh.g) { in hpre_dh_set_params()
692 ctx->dh.xa_p = NULL; in hpre_dh_set_params()
709 if (ctx->dh.g) { in hpre_dh_clear_ctx()
710 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx()
711 ctx->dh.g = NULL; in hpre_dh_clear_ctx()
714 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
A Doverlay.c144 u16 dw, dh; in dss_ovl_check() local
147 dh = mgr_timings->y_res; in dss_ovl_check()
171 if (dh < info->pos_y + outh) { in dss_ovl_check()
174 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()
/drivers/scsi/
A Dscsi_dh.c105 struct scsi_device_handler *dh; in scsi_dh_lookup() local
110 dh = __scsi_dh_lookup(name); in scsi_dh_lookup()
111 if (!dh) { in scsi_dh_lookup()
113 dh = __scsi_dh_lookup(name); in scsi_dh_lookup()
116 return dh; in scsi_dh_lookup()
/drivers/fsi/
A Dfsi-sbefifo.c224 u32 dh, s0, s1; in sbefifo_parse_status() local
232 dh = be32_to_cpu(response[resp_len - 1]); in sbefifo_parse_status()
233 if (dh > resp_len || dh < 3) { in sbefifo_parse_status()
235 cmd >> 8, cmd & 0xff, dh, resp_len); in sbefifo_parse_status()
238 s0 = be32_to_cpu(response[resp_len - dh]); in sbefifo_parse_status()
239 s1 = be32_to_cpu(response[resp_len - dh + 1]); in sbefifo_parse_status()
246 ffdc_sz = dh - 3; in sbefifo_parse_status()
250 sbefifo_dump_ffdc(dev, &response[resp_len - dh + 2], in sbefifo_parse_status()
254 *data_len = resp_len - dh; in sbefifo_parse_status()
A Dfsi-occ.c221 size_t dh = resp_len - parsed_len; in occ_save_ffdc() local
222 size_t ffdc_len = (dh - 1) * 4; /* SBE words are four bytes */ in occ_save_ffdc()
/drivers/video/fbdev/mb862xx/
A Dmb862xxfbdrv.c322 if (l1_cfg->dh == 0 || l1_cfg->dw == 0) in mb862xxfb_ioctl()
324 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) { in mb862xxfb_ioctl()
327 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
332 (l1_cfg->sh <= l1_cfg->dh)) { in mb862xxfb_ioctl()
335 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
340 pack(l1_cfg->dw >> 1, l1_cfg->dh)); in mb862xxfb_ioctl()
369 pack(l1_cfg->dh - 1, l1_cfg->dw)); in mb862xxfb_ioctl()
523 par->l1_cfg.dh = 576; in mb862xxfb_init_fbinfo()
A Dmb862xxfb.h13 unsigned short dh; member
/drivers/edac/
A Dghes_edac.c203 static void enumerate_dimms(const struct dmi_header *dh, void *arg) in enumerate_dimms() argument
205 struct memdev_dmi_entry *entry = (struct memdev_dmi_entry *)dh; in enumerate_dimms()
209 if (dh->type != DMI_ENTRY_MEM_DEVICE) in enumerate_dimms()
A Di7core_edac.c1877 static void decode_dclk(const struct dmi_header *dh, void *_dclk_freq) in decode_dclk() argument
1885 if (dh->type == DMI_ENTRY_MEM_DEVICE) { in decode_dclk()
1887 (struct memdev_dmi_entry *)dh; in decode_dclk()
/drivers/video/fbdev/omap2/omapfb/
A Domapfb-ioctl.c281 u16 dw, dh; in omapfb_update_window() local
289 display->driver->get_resolution(display, &dw, &dh); in omapfb_update_window()
291 if (x + w > dw || y + h > dh) in omapfb_update_window()
/drivers/media/platform/samsung/exynos4-is/
A Dfimc-core.c192 int dw, int dh, int rotation) in fimc_check_scaler_ratio() argument
195 swap(dw, dh); in fimc_check_scaler_ratio()
198 return (sw == dw && sh == dh) ? 0 : -EINVAL; in fimc_check_scaler_ratio()
200 if ((sw >= SCALER_MAX_HRATIO * dw) || (sh >= SCALER_MAX_VRATIO * dh)) in fimc_check_scaler_ratio()
A Dfimc-core.h626 int dw, int dh, int rotation);
/drivers/gpu/drm/exynos/
A Dexynos_drm_ipp.c527 int dw, dh; in exynos_drm_ipp_check_scale_limits() local
539 dh = (!swap) ? dst->h : dst->w; in exynos_drm_ipp_check_scale_limits()
542 !__scale_limit_check(src->h, dh, lv->min, lv->max)) in exynos_drm_ipp_check_scale_limits()
/drivers/gpu/drm/nouveau/dispnv50/
A Datom.h238 u16 dh; member
A Dwndw.c336 asyw->scale.dh = asyw->state.crtc_h; in nv50_wndw_atomic_check_acquire()
/drivers/media/platform/samsung/exynos-gsc/
A Dgsc-core.c606 int dh, int rot, int out_path) in gsc_check_scaler_ratio() argument
616 tmp_w = dh; in gsc_check_scaler_ratio()
620 tmp_h = dh; in gsc_check_scaler_ratio()
A Dgsc-core.h405 int dh, int rot, int out_path);
/drivers/video/fbdev/sis/
A Dinit.c2857 unsigned short dl, unsigned short ah, unsigned short al, unsigned short dh) in SiS_WriteDAC() argument
2862 case 0: d1 = dh; d2 = ah; d3 = al; break; in SiS_WriteDAC()
2863 case 1: d1 = ah; d2 = al; d3 = dh; break; in SiS_WriteDAC()
2864 default: d1 = al; d2 = dh; d3 = ah; in SiS_WriteDAC()
/drivers/net/ethernet/sun/
A Dniu.c9623 dma_addr_t dh; in niu_pci_alloc_coherent() local
9626 ret = dma_alloc_coherent(dev, size, &dh, flag); in niu_pci_alloc_coherent()
9628 *handle = dh; in niu_pci_alloc_coherent()

Completed in 120 milliseconds