Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 20 of 20) 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.h242 u16 hsize, vsize; member
253 struct malidp_range hsize, vsize; member
276 struct malidp_range hsize, vsize; member
280 u16 hsize, vsize; member
288 u16 hsize, vsize; member
306 struct malidp_range hsize, vsize; member
311 u16 hsize, vsize; member
326 u16 hsize, vsize; member
510 u16 *hsize, u16 *vsize);
Dkomeda_pipeline_state.c346 st->hsize = kfb->aligned_w; in komeda_layer_validate()
353 st->hsize = dflow->in_w; in komeda_layer_validate()
402 st->hsize = dflow->out_w; in komeda_wb_layer_validate()
438 if (!in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg()
439 !in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg()
560 if (!in_range(&splitter->hsize, dflow->in_w)) { in komeda_splitter_validate()
582 st->hsize = dflow->in_w; in komeda_splitter_validate()
640 u16 *hsize, u16 *vsize) in pipeline_composition_size() argument
644 if (hsize) in pipeline_composition_size()
645 *hsize = m->hdisplay; in pipeline_composition_size()
[all …]
/drivers/mcb/
Dmcb-parse.c187 u32 hsize; in chameleon_parse_cells() local
189 hsize = sizeof(struct chameleon_fpga_header); in chameleon_parse_cells()
191 header = kzalloc(hsize, GFP_KERNEL); in chameleon_parse_cells()
196 memcpy_fromio(header, p, hsize); in chameleon_parse_cells()
205 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/gpu/drm/arm/display/komeda/d71/
Dd71_component.c262 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_layer_update()
392 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_wb_layer_update()
505 HV_SIZE(cin->hsize, cin->vsize)); in compiz_enable_input()
532 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_compiz_update()
598 set_range(&compiz->hsize, D71_MIN_LINE_SIZE, d71->max_line_size); in d71_compiz_init()
756 set_range(&scaler->hsize, 4, 2048); in d71_scaler_init()
816 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_splitter_update()
865 set_range(&splitter->hsize, 4, d71->max_line_size); in d71_splitter_init()
953 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_improc_update()
/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/
Ddrm_edid.c1944 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument
1951 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
2135 int hsize, vsize; in drm_mode_std() local
2143 if (bad_std_timing(t->hsize, t->vfreq_aspect)) in drm_mode_std()
2147 hsize = t->hsize * 8 + 248; in drm_mode_std()
2153 vsize = hsize; in drm_mode_std()
2155 vsize = (hsize * 10) / 16; in drm_mode_std()
2157 vsize = (hsize * 3) / 4; in drm_mode_std()
2159 vsize = (hsize * 4) / 5; in drm_mode_std()
2161 vsize = (hsize * 9) / 16; in drm_mode_std()
[all …]
/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/net/
Dgtp.c642 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize);
765 static int gtp_hashtable_new(struct gtp_dev *gtp, int hsize) in gtp_hashtable_new() argument
769 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new()
774 gtp->tid_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new()
779 gtp->hash_size = hsize; in gtp_hashtable_new()
781 for (i = 0; i < hsize; i++) { in gtp_hashtable_new()
/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.c698 unsigned hsize; in vidioc_query_dv_timings() local
702 hsize = V4L2_DV_BT_FRAME_WIDTH(bt); in vidioc_query_dv_timings()
704 fps = (unsigned)bt->pixelclock / (hsize * vsize); in vidioc_query_dv_timings()
/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/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/dma/xilinx/
Dxilinx_dma.c214 u32 hsize; member
1182 vdma_desc_write(chan, XILINX_DMA_REG_HSIZE, last->hw.hsize); in xilinx_vdma_start_transfer()
1671 hw->hsize = xt->sgl[0].size; in xilinx_vdma_dma_prep_interleaved()
/drivers/s390/net/
Dqeth_core_main.c6199 unsigned int hsize = skb_shinfo(skb)->gso_size; in qeth_features_check() local
6203 if (SKB_DATA_ALIGN(hroom + doffset + hsize) <= SKB_MAX_HEAD(0)) in qeth_features_check()