/drivers/firmware/ |
D | dmi-sysfs.c | 35 struct dmi_header dh; member 70 const struct dmi_header *dh, 116 const struct dmi_header *dh, void *); 126 static void find_dmi_entry_helper(const struct dmi_header *dh, in find_dmi_entry_helper() argument 133 if (dh->type != entry->dh.type) in find_dmi_entry_helper() 149 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper() 183 static size_t dmi_entry_length(const struct dmi_header *dh) in dmi_entry_length() argument 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() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 118 struct qat_dh_input_params dh; member 122 struct qat_dh_output_params dh; member 131 struct qat_dh_ctx *dh; member 135 struct kpp_request *dh; member 159 struct kpp_request *areq = req->areq.dh; in qat_dh_cb() 160 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb() 167 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb() 172 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb() 173 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb() 252 qat_req->ctx.dh = ctx; in qat_dh_compute_value() [all …]
|
/drivers/md/ |
D | dm-snap-persistent.c | 306 struct disk_header *dh; in read_header() local 336 dh = ps->header_area; in read_header() 338 if (le32_to_cpu(dh->magic) == 0) { in read_header() 343 if (le32_to_cpu(dh->magic) != SNAP_MAGIC) { in read_header() 350 ps->valid = le32_to_cpu(dh->valid); in read_header() 351 ps->version = le32_to_cpu(dh->version); in read_header() 352 chunk_size = le32_to_cpu(dh->chunk_size); in read_header() 383 struct disk_header *dh; in write_header() local 387 dh = ps->header_area; in write_header() 388 dh->magic = cpu_to_le32(SNAP_MAGIC); in write_header() [all …]
|
/drivers/block/drbd/ |
D | drbd_nl.c | 3301 struct drbd_genlmsghdr *dh; in drbd_adm_dump_resources() local 3326 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in drbd_adm_dump_resources() 3330 if (!dh) in drbd_adm_dump_resources() 3332 dh->minor = -1U; in drbd_adm_dump_resources() 3333 dh->ret_code = NO_ERROR; in drbd_adm_dump_resources() 3349 genlmsg_end(skb, dh); in drbd_adm_dump_resources() 3416 struct drbd_genlmsghdr *dh; in drbd_adm_dump_devices() local 3449 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in drbd_adm_dump_devices() 3453 if (!dh) in drbd_adm_dump_devices() 3455 dh->ret_code = retcode; in drbd_adm_dump_devices() [all …]
|
/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 119 struct hpre_dh_ctx dh; member 134 struct kpp_request *dh; member 425 areq = req->areq.dh; in hpre_dh_cb() 530 h_req->areq.dh = kreq; in hpre_msg_request_set() 533 msg->key = cpu_to_le64(ctx->dh.dma_xa_p); in hpre_msg_request_set() 592 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value() 637 static int hpre_dh_set_params(struct hpre_ctx *ctx, struct dh *params) in hpre_dh_set_params() 650 ctx->dh.xa_p = dma_alloc_coherent(dev, sz << 1, in hpre_dh_set_params() 651 &ctx->dh.dma_xa_p, GFP_KERNEL); in hpre_dh_set_params() 652 if (!ctx->dh.xa_p) in hpre_dh_set_params() [all …]
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay.c | 143 u16 dw, dh; in dss_ovl_check() local 146 dh = mgr_timings->y_res; in dss_ovl_check() 170 if (dh < info->pos_y + outh) { in dss_ovl_check() 173 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()
|
/drivers/scsi/ |
D | scsi_dh.c | 105 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/ |
D | fsi-sbefifo.c | 209 u32 dh, s0, s1; in sbefifo_parse_status() local 217 dh = be32_to_cpu(response[resp_len - 1]); in sbefifo_parse_status() 218 if (dh > resp_len || dh < 3) { in sbefifo_parse_status() 220 cmd >> 8, cmd & 0xff, dh, resp_len); in sbefifo_parse_status() 223 s0 = be32_to_cpu(response[resp_len - dh]); in sbefifo_parse_status() 224 s1 = be32_to_cpu(response[resp_len - dh + 1]); in sbefifo_parse_status() 231 ffdc_sz = dh - 3; in sbefifo_parse_status() 235 sbefifo_dump_ffdc(dev, &response[resp_len - dh + 2], in sbefifo_parse_status() 239 *data_len = resp_len - dh; in sbefifo_parse_status()
|
/drivers/video/fbdev/mb862xx/ |
D | mb862xxfbdrv.c | 329 if (l1_cfg->dh == 0 || l1_cfg->dw == 0) in mb862xxfb_ioctl() 331 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) { in mb862xxfb_ioctl() 334 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl() 339 (l1_cfg->sh <= l1_cfg->dh)) { in mb862xxfb_ioctl() 342 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl() 347 pack(l1_cfg->dw >> 1, l1_cfg->dh)); in mb862xxfb_ioctl() 376 pack(l1_cfg->dh - 1, l1_cfg->dw)); in mb862xxfb_ioctl() 532 par->l1_cfg.dh = 576; in mb862xxfb_init_fbinfo()
|
D | mb862xxfb.h | 13 unsigned short dh; member
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_init.c | 738 unsigned short al, unsigned short dh) in SiS_WriteDAC() argument 744 d1 = dh; in SiS_WriteDAC() 751 d3 = dh; in SiS_WriteDAC() 755 d2 = dh; in SiS_WriteDAC()
|
/drivers/edac/ |
D | ghes_edac.c | 202 static void enumerate_dimms(const struct dmi_header *dh, void *arg) in enumerate_dimms() argument 204 struct memdev_dmi_entry *entry = (struct memdev_dmi_entry *)dh; in enumerate_dimms() 208 if (dh->type != DMI_ENTRY_MEM_DEVICE) in enumerate_dimms()
|
D | i7core_edac.c | 1877 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/ |
D | omapfb-ioctl.c | 282 u16 dw, dh; in omapfb_update_window() local 290 display->driver->get_resolution(display, &dw, &dh); in omapfb_update_window() 292 if (x + w > dw || y + h > dh) in omapfb_update_window()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 193 int dw, int dh, int rotation) in fimc_check_scaler_ratio() argument 196 swap(dw, dh); in fimc_check_scaler_ratio() 199 return (sw == dw && sh == dh) ? 0 : -EINVAL; in fimc_check_scaler_ratio() 201 if ((sw >= SCALER_MAX_HRATIO * dw) || (sh >= SCALER_MAX_VRATIO * dh)) in fimc_check_scaler_ratio()
|
D | fimc-core.h | 627 int dw, int dh, int rotation);
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | atom.h | 238 u16 dh; member
|
D | wndw.c | 328 asyw->scale.dh = asyw->state.crtc_h; in nv50_wndw_atomic_check_acquire()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_ipp.c | 526 int dw, dh; in exynos_drm_ipp_check_scale_limits() local 538 dh = (!swap) ? dst->h : dst->w; in exynos_drm_ipp_check_scale_limits() 541 !__scale_limit_check(src->h, dh, lv->min, lv->max)) in exynos_drm_ipp_check_scale_limits()
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 608 int dh, int rot, int out_path) in gsc_check_scaler_ratio() argument 618 tmp_w = dh; in gsc_check_scaler_ratio() 622 tmp_h = dh; in gsc_check_scaler_ratio()
|
D | gsc-core.h | 406 int dh, int rot, int out_path);
|
/drivers/video/fbdev/sis/ |
D | init.c | 2857 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/ |
D | niu.c | 9573 dma_addr_t dh; in niu_pci_alloc_coherent() local 9576 ret = dma_alloc_coherent(dev, size, &dh, flag); in niu_pci_alloc_coherent() 9578 *handle = dh; in niu_pci_alloc_coherent()
|