Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ppp/
Dbsd_comp.c138 unsigned int hsize; /* size of the hash table */ member
355 unsigned int hsize, hshift, maxmaxcode; in bsd_alloc() local
372 hsize = 5003; in bsd_alloc()
376 hsize = 9001; in bsd_alloc()
380 hsize = 18013; in bsd_alloc()
384 hsize = 35023; in bsd_alloc()
409 db->dict = vmalloc(array_size(hsize, sizeof(struct bsd_dict))); in bsd_alloc()
439 (sizeof (struct bsd_dict) * hsize); in bsd_alloc()
441 db->hsize = hsize; in bsd_alloc()
487 indx = db->hsize; in bsd_init()
[all …]
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.h245 u16 hsize, vsize; member
256 struct malidp_range hsize, vsize; member
279 struct malidp_range hsize, vsize; member
283 u16 hsize, vsize; member
291 u16 hsize, vsize; member
309 struct malidp_range hsize, vsize; member
314 u16 hsize, vsize; member
330 u16 hsize, vsize; member
528 u16 *hsize, u16 *vsize);
Dkomeda_pipeline_state.c363 st->hsize = kfb->aligned_w; in komeda_layer_validate()
370 st->hsize = dflow->in_w; in komeda_layer_validate()
419 st->hsize = dflow->out_w; in komeda_wb_layer_validate()
455 if (!in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg()
456 !in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg()
577 if (!in_range(&splitter->hsize, dflow->in_w)) { in komeda_splitter_validate()
599 st->hsize = dflow->in_w; in komeda_splitter_validate()
657 u16 *hsize, u16 *vsize) in pipeline_composition_size() argument
661 if (hsize) in pipeline_composition_size()
662 *hsize = m->hdisplay; in pipeline_composition_size()
[all …]
/drivers/mcb/
Dmcb-parse.c185 u32 hsize; in chameleon_parse_cells() local
188 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells()
190 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells()
195 memcpy_fromio(header, p, hsize); in chameleon_parse_cells()
204 p += hsize; in chameleon_parse_cells()
/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2.c115 int sy, ysize, hsize, i; in solo_v4l2_ch_ext_16up() local
127 hsize = solo_dev->video_hsize / 4; in solo_v4l2_ch_ext_16up()
130 solo_win_setup(solo_dev, i * 4, 0, sy, hsize, in solo_v4l2_ch_ext_16up()
132 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy, in solo_v4l2_ch_ext_16up()
133 hsize * 2, sy + ysize, 5); in solo_v4l2_ch_ext_16up()
134 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy, in solo_v4l2_ch_ext_16up()
135 hsize * 3, sy + ysize, 5); in solo_v4l2_ch_ext_16up()
136 solo_win_setup(solo_dev, (i * 4) + 3, hsize * 3, sy, in solo_v4l2_ch_ext_16up()
/drivers/macintosh/
Dwindfarm_rm31.c298 int fmin, fmax, hsize; in cpu_setup_pid() local
318 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid()
319 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid()
323 pid.history_len = hsize; in cpu_setup_pid()
Dwindfarm_pm72.c397 int fmin, fmax, hsize; in cpu_setup_pid() local
417 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid()
418 DBG("wf_72: CPU%d history size = %d\n", cpu, hsize); in cpu_setup_pid()
422 pid.history_len = hsize; in cpu_setup_pid()
/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c279 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_layer_update()
369 line_sz = st->hsize - st->afbc_crop_l - st->afbc_crop_r; in d71_layer_validate()
479 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_wb_layer_update()
594 HV_SIZE(cin->hsize, cin->vsize)); in compiz_enable_input()
621 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_compiz_update()
687 set_range(&compiz->hsize, 64, get_blk_line_size(d71, reg)); in d71_compiz_init()
857 set_range(&scaler->hsize, 4, __get_blk_line_size(d71, reg, 2048)); in d71_scaler_init()
917 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_splitter_update()
966 set_range(&splitter->hsize, 4, get_blk_line_size(d71, reg)); in d71_splitter_init()
1057 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_improc_update()
/drivers/media/platform/xilinx/
Dxilinx-vtc.h25 unsigned int hsize; member
Dxilinx-vtc.c206 xvtc_gen_write(xvtc, XVTC_HSIZE, config->hsize); in xvtc_generator_start()
Dxilinx-tpg.c203 config.hsize = htotal; in xtpg_s_stream()
/drivers/gpu/drm/
Ddrm_edid.c2227 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument
2235 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
2456 int hsize, vsize; in drm_mode_std() local
2464 if (bad_std_timing(t->hsize, t->vfreq_aspect)) in drm_mode_std()
2468 hsize = t->hsize * 8 + 248; in drm_mode_std()
2474 vsize = hsize; in drm_mode_std()
2476 vsize = (hsize * 10) / 16; in drm_mode_std()
2478 vsize = (hsize * 3) / 4; in drm_mode_std()
2480 vsize = (hsize * 4) / 5; in drm_mode_std()
2482 vsize = (hsize * 9) / 16; in drm_mode_std()
[all …]
/drivers/net/
Dgtp.c638 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize);
761 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize) in gtp_hashtable_new() argument
765 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new()
770 gtp->tid_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new()
775 gtp->hash_size = hsize; in gtp_hashtable_new()
777 for (i = 0; i < hsize; i++) { in gtp_hashtable_new()
/drivers/dma/xilinx/
Dxilinx_dpdma.c702 size_t hsize = xt->sgl[0].size; in xilinx_dpdma_chan_prep_interleaved_dma() local
703 size_t stride = hsize + xt->sgl[0].icg; in xilinx_dpdma_chan_prep_interleaved_dma()
725 hsize = ALIGN(hsize, XILINX_DPDMA_LINESIZE_ALIGN_BITS / 8); in xilinx_dpdma_chan_prep_interleaved_dma()
726 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma()
728 FIELD_PREP(XILINX_DPDMA_DESC_HSIZE_STRIDE_HSIZE_MASK, hsize) | in xilinx_dpdma_chan_prep_interleaved_dma()
Dxilinx_dma.c235 u32 hsize; member
1416 vdma_desc_write(chan, XILINX_DMA_REG_HSIZE, last->hw.hsize); in xilinx_vdma_start_transfer()
2029 hw->hsize = xt->sgl[0].size; in xilinx_vdma_dma_prep_interleaved()
/drivers/staging/media/atomisp/i2c/
Datomisp-mt9m114.c685 unsigned short hsize; in mt9m114_res2size() local
690 hsize = MT9M114_RES_736P_SIZE_H; in mt9m114_res2size()
694 hsize = MT9M114_RES_864P_SIZE_H; in mt9m114_res2size()
698 hsize = MT9M114_RES_960P_SIZE_H; in mt9m114_res2size()
708 *h_size = hsize; in mt9m114_res2size()
/drivers/video/backlight/
Dvgg2432a4.c168 ili9320_write(lcd, ILI9320_HORIZ_END, cfg->hsize - 1); in vgg2432a4_lcd_init()
Dili9320.c211 if (cfg->hsize <= 0 || cfg->vsize <= 0 || cfg->reset == NULL) { in ili9320_probe_spi()
/drivers/media/usb/hdpvr/
Dhdpvr-video.c697 unsigned hsize; in vidioc_query_dv_timings() local
701 hsize = V4L2_DV_BT_FRAME_WIDTH(bt); in vidioc_query_dv_timings()
703 fps = (unsigned)bt->pixelclock / (hsize * vsize); in vidioc_query_dv_timings()
/drivers/media/pci/ttpci/
Dav7110_av.c352 int hsize, vsize; in get_video_format() local
366 hsize = ((p[1] &0xF0) >> 4) | (p[0] << 4); in get_video_format()
371 dprintk(2, "playback %dx%d fr=%d\n", hsize, vsize, sw); in get_video_format()
/drivers/media/platform/
Drcar_fdp1.c817 unsigned int hsize = src_q_data->format.width; in fdp1_set_ipc_sensor() local
820 x0 = hsize / 3; in fdp1_set_ipc_sensor()
821 x1 = 2 * hsize / 3; in fdp1_set_ipc_sensor()
828 fdp1_write(fdp1, ((hsize - 1) << FD1_IPC_SENSOR_CTL2_X_SHIFT) | in fdp1_set_ipc_sensor()
/drivers/s390/net/
Dqeth_core_main.c6910 unsigned int hsize = skb_shinfo(skb)->gso_size; in qeth_features_check() local
6914 if (SKB_DATA_ALIGN(hroom + doffset + hsize) <= SKB_MAX_HEAD(0)) in qeth_features_check()