Home
last modified time | relevance | path

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

/drivers/firmware/
Ddmi-sysfs.c33 struct dmi_header dh; member
68 const struct dmi_header *dh,
114 const struct dmi_header *dh, void *);
124 static void find_dmi_entry_helper(const struct dmi_header *dh, in find_dmi_entry_helper() argument
131 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
147 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper()
181 static size_t dmi_entry_length(const struct dmi_header *dh) in dmi_entry_length() argument
183 const char *p = (const char *)dh; in dmi_entry_length()
185 p += dh->length; in dmi_entry_length()
190 return 2 + p - (const char *)dh; in dmi_entry_length()
[all …]
/drivers/md/
Ddm-snap-persistent.c303 struct disk_header *dh; in read_header() local
333 dh = ps->header_area; in read_header()
335 if (le32_to_cpu(dh->magic) == 0) { in read_header()
340 if (le32_to_cpu(dh->magic) != SNAP_MAGIC) { in read_header()
347 ps->valid = le32_to_cpu(dh->valid); in read_header()
348 ps->version = le32_to_cpu(dh->version); in read_header()
349 chunk_size = le32_to_cpu(dh->chunk_size); in read_header()
380 struct disk_header *dh; in write_header() local
384 dh = ps->header_area; in write_header()
385 dh->magic = cpu_to_le32(SNAP_MAGIC); in write_header()
[all …]
/drivers/video/omap2/dss/
Doverlay.c159 u16 dw, dh; in dss_ovl_check() local
162 dh = mgr_timings->y_res; in dss_ovl_check()
186 if (dh < info->pos_y + outh) { in dss_ovl_check()
189 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()
Ddsi.c4357 u16 dw, dh; in omap_dsi_update() local
4367 dh = dsi->timings.y_res; in omap_dsi_update()
4370 dsi->update_bytes = dw * dh * in omap_dsi_update()
/drivers/edac/
Dghes_edac.c89 static void ghes_edac_count_dimms(const struct dmi_header *dh, void *arg) in ghes_edac_count_dimms() argument
93 if (dh->type == DMI_ENTRY_MEM_DEVICE) in ghes_edac_count_dimms()
97 static void ghes_edac_dmidecode(const struct dmi_header *dh, void *arg) in ghes_edac_dmidecode() argument
102 if (dh->type == DMI_ENTRY_MEM_DEVICE) { in ghes_edac_dmidecode()
103 struct memdev_dmi_entry *entry = (struct memdev_dmi_entry *)dh; in ghes_edac_dmidecode()
Di7core_edac.c1947 static void decode_dclk(const struct dmi_header *dh, void *_dclk_freq) in decode_dclk() argument
1955 if (dh->type == DMI_ENTRY_MEM_DEVICE) { in decode_dclk()
1957 (struct memdev_dmi_entry *)dh; in decode_dclk()
/drivers/video/mb862xx/
Dmb862xxfbdrv.c331 if (l1_cfg->dh == 0 || l1_cfg->dw == 0) in mb862xxfb_ioctl()
333 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) { in mb862xxfb_ioctl()
336 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
341 (l1_cfg->sh <= l1_cfg->dh)) { in mb862xxfb_ioctl()
344 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
349 pack(l1_cfg->dw >> 1, l1_cfg->dh)); in mb862xxfb_ioctl()
378 pack(l1_cfg->dh - 1, l1_cfg->dw)); in mb862xxfb_ioctl()
534 par->l1_cfg.dh = 576; in mb862xxfb_init_fbinfo()
Dmb862xxfb.h12 unsigned short dh; member
/drivers/video/omap2/displays/
Dpanel-n8x0.c522 u16 dw, dh; in n8x0_panel_update() local
527 dh = dssdev->panel.timings.y_res; in n8x0_panel_update()
529 if (x != 0 || y != 0 || w != dw || h != dh) { in n8x0_panel_update()
/drivers/usb/misc/sisusbvga/
Dsisusb_init.c740 unsigned short al, unsigned short dh) in SiS_WriteDAC() argument
746 d1 = dh; in SiS_WriteDAC()
753 d3 = dh; in SiS_WriteDAC()
757 d2 = dh; in SiS_WriteDAC()
/drivers/block/drbd/
Ddrbd_nl.c2797 struct drbd_genlmsghdr *dh; in get_one_status() local
2859 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in get_one_status()
2862 if (!dh) in get_one_status()
2870 dh->minor = -1U; in get_one_status()
2871 dh->ret_code = NO_ERROR; in get_one_status()
2883 dh->minor = mdev_to_minor(mdev); in get_one_status()
2884 dh->ret_code = NO_ERROR; in get_one_status()
2888 genlmsg_cancel(skb, dh); in get_one_status()
2892 genlmsg_end(skb, dh); in get_one_status()
3166 struct drbd_genlmsghdr *dh = info->userhdr; in drbd_adm_add_minor() local
[all …]
/drivers/video/omap2/omapfb/
Domapfb-ioctl.c290 u16 dw, dh; in omapfb_update_window() local
298 display->driver->get_resolution(display, &dw, &dh); in omapfb_update_window()
300 if (x + w > dw || y + h > dh) in omapfb_update_window()
/drivers/media/platform/exynos4-is/
Dfimc-core.c228 int dw, int dh, int rotation) in fimc_check_scaler_ratio() argument
231 swap(dw, dh); in fimc_check_scaler_ratio()
234 return (sw == dw && sh == dh) ? 0 : -EINVAL; in fimc_check_scaler_ratio()
236 if ((sw >= SCALER_MAX_HRATIO * dw) || (sh >= SCALER_MAX_VRATIO * dh)) in fimc_check_scaler_ratio()
Dfimc-core.h637 int dw, int dh, int rotation);
/drivers/media/platform/exynos-gsc/
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()
Dgsc-core.h405 int dh, int rot, int out_path);
/drivers/staging/xgifb/
Dvb_setmode.c1123 unsigned short dh, in XGI_WriteDAC() argument
1133 bh = dh; in XGI_WriteDAC()
1134 dh = temp; in XGI_WriteDAC()
1137 bl = dh; in XGI_WriteDAC()
1138 dh = temp; in XGI_WriteDAC()
1145 outb((unsigned short) dh, pVBInfo->P3c9); in XGI_WriteDAC()
1153 unsigned short data, data2, i, k, m, n, o, si, di, bx, dl, al, ah, dh; in XGI_LoadDAC() local
1192 dh = table[si]; in XGI_LoadDAC()
1196 XGI_WriteDAC(dl, ah, al, dh, pVBInfo); in XGI_LoadDAC()
1202 dh = table[bx]; in XGI_LoadDAC()
[all …]
/drivers/video/sis/
Dinit.c2858 unsigned short dl, unsigned short ah, unsigned short al, unsigned short dh) in SiS_WriteDAC() argument
2863 case 0: d1 = dh; d2 = ah; d3 = al; break; in SiS_WriteDAC()
2864 case 1: d1 = ah; d2 = al; d3 = dh; break; in SiS_WriteDAC()
2865 default: d1 = al; d2 = dh; d3 = ah; in SiS_WriteDAC()
/drivers/net/ethernet/sun/
Dniu.c9599 dma_addr_t dh; in niu_pci_alloc_coherent() local
9602 ret = dma_alloc_coherent(dev, size, &dh, flag); in niu_pci_alloc_coherent()
9604 *handle = dh; in niu_pci_alloc_coherent()