Home
last modified time | relevance | path

Searched refs:hg (Results 1 – 7 of 7) sorted by relevance

/drivers/media/pci/saa7164/
Dsaa7164-core.c167 static void saa7164_histogram_reset(struct saa7164_histogram *hg, char *name) in saa7164_histogram_reset() argument
171 memset(hg, 0, sizeof(struct saa7164_histogram)); in saa7164_histogram_reset()
172 strscpy(hg->name, name, sizeof(hg->name)); in saa7164_histogram_reset()
176 hg->counter1[0 + i].val = i; in saa7164_histogram_reset()
180 hg->counter1[30 + i].val = 30 + (i * 10); in saa7164_histogram_reset()
184 hg->counter1[48 + i].val = 200 + (i * 200); in saa7164_histogram_reset()
187 hg->counter1[55].val = 2000; in saa7164_histogram_reset()
190 hg->counter1[56].val = 4000; in saa7164_histogram_reset()
193 hg->counter1[57].val = 8000; in saa7164_histogram_reset()
196 hg->counter1[58].val = 15000; in saa7164_histogram_reset()
[all …]
Dsaa7164.h486 void saa7164_histogram_update(struct saa7164_histogram *hg, u32 val);
/drivers/block/drbd/
Ddrbd_receiver.c3137 int hg, rv = -100; in drbd_asb_recover_1p() local
3155 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()
3156 if (hg == -1 && device->state.role == R_SECONDARY) in drbd_asb_recover_1p()
3157 rv = hg; in drbd_asb_recover_1p()
3158 if (hg == 1 && device->state.role == R_PRIMARY) in drbd_asb_recover_1p()
3159 rv = hg; in drbd_asb_recover_1p()
3167 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()
3168 if (hg == -1 && device->state.role == R_PRIMARY) { in drbd_asb_recover_1p()
3179 rv = hg; in drbd_asb_recover_1p()
3182 rv = hg; in drbd_asb_recover_1p()
[all …]
/drivers/block/
Dxen-blkfront.c475 static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) in blkif_getgeo() argument
482 hg->heads = 0xff; in blkif_getgeo()
483 hg->sectors = 0x3f; in blkif_getgeo()
484 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo()
485 hg->cylinders = cylinders; in blkif_getgeo()
486 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()
487 hg->cylinders = 0xffff; in blkif_getgeo()
/drivers/crypto/cavium/zip/
Dzip_deflate.c63 zip_cmd->s.hg = 0; in prepare_zip_command()
Dzip_inflate.c63 zip_cmd->s.hg = 0; in prepare_inflate_zcmd()
Dzip_regs.h194 u64 hg : 1; member
196 u64 hg : 1;