Home
last modified time | relevance | path

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

/drivers/media/pci/saa7164/
Dsaa7164-core.c165 static void saa7164_histogram_reset(struct saa7164_histogram *hg, char *name) in saa7164_histogram_reset() argument
169 memset(hg, 0, sizeof(struct saa7164_histogram)); in saa7164_histogram_reset()
170 strscpy(hg->name, name, sizeof(hg->name)); in saa7164_histogram_reset()
174 hg->counter1[0 + i].val = i; in saa7164_histogram_reset()
178 hg->counter1[30 + i].val = 30 + (i * 10); in saa7164_histogram_reset()
182 hg->counter1[48 + i].val = 200 + (i * 200); in saa7164_histogram_reset()
185 hg->counter1[55].val = 2000; in saa7164_histogram_reset()
188 hg->counter1[56].val = 4000; in saa7164_histogram_reset()
191 hg->counter1[57].val = 8000; in saa7164_histogram_reset()
194 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.c3138 int hg, rv = -100; in drbd_asb_recover_1p() local
3156 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()
3157 if (hg == -1 && device->state.role == R_SECONDARY) in drbd_asb_recover_1p()
3158 rv = hg; in drbd_asb_recover_1p()
3159 if (hg == 1 && device->state.role == R_PRIMARY) in drbd_asb_recover_1p()
3160 rv = hg; in drbd_asb_recover_1p()
3168 hg = drbd_asb_recover_0p(peer_device); in drbd_asb_recover_1p()
3169 if (hg == -1 && device->state.role == R_PRIMARY) { in drbd_asb_recover_1p()
3180 rv = hg; in drbd_asb_recover_1p()
3183 rv = hg; in drbd_asb_recover_1p()
[all …]
/drivers/block/
Dxen-blkfront.c496 static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) in blkif_getgeo() argument
503 hg->heads = 0xff; in blkif_getgeo()
504 hg->sectors = 0x3f; in blkif_getgeo()
505 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo()
506 hg->cylinders = cylinders; in blkif_getgeo()
507 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()
508 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;