/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/ |
nouveau_nvkm_subdev_pci_g84.c | 64 u32 reg_v = nvkm_pci_rd32(pci, 0x88) & 0x30000; local in function:g84_pcie_cur_speed 65 switch (reg_v) { 79 u32 reg_v = nvkm_pci_rd32(pci, 0x460) & 0x3300; local in function:g84_pcie_max_speed 80 if (reg_v == 0x2200)
|
nouveau_nvkm_subdev_pci_gk104.c | 85 u8 reg_v = 0; local in function:gk104_pcie_set_lnkctl_speed 88 reg_v = 1; 91 reg_v = 2; 94 reg_v = 3; 97 nvkm_pci_mask(pci, 0xa8, 0x3, reg_v); 103 u8 reg_v = nvkm_pci_rd32(pci, 0xa8) & 0x3; local in function:gk104_pcie_lnkctl_speed 104 switch (reg_v) {
|
/src/usr.bin/scmdctl/ |
common.c | 189 common_set_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor, int8_t reg_v) 207 reg_v = reg_v + 128; 209 fprintf(stderr,"common_set_motor: reg_index: %d ; reg: %02X ; reg_v: %d\n",reg_index,reg,reg_v); 210 err = (*(fb->func_phy_write))(fd, debug, 0, reg, reg_v); 297 uint8_t reg_v; local in function:common_enable_disable 306 reg_v = SCMD_DRIVER_ENABLE; 309 reg_v = SCMD_DRIVER_DISABLE; 314 err = (*(fb->func_phy_write))(fd, debug, 0, SCMD_REG_DRIVER_ENABLE, reg_v); 327 uint8_t reg_v; local in function:common_control_1 [all...] |