| /dragonfly/sys/dev/drm/include/drm/ |
| HD | i915_pciids.h | 38 #define INTEL_VGA_DEVICE(id, info) { \ argument 42 (unsigned long) info } 44 #define INTEL_QUANTA_VGA_DEVICE(info) { \ argument 48 (unsigned long) info } 50 #define INTEL_I830_IDS(info) \ argument 51 INTEL_VGA_DEVICE(0x3577, info) 53 #define INTEL_I845G_IDS(info) \ argument 54 INTEL_VGA_DEVICE(0x2562, info) 56 #define INTEL_I85X_IDS(info) \ argument 57 INTEL_VGA_DEVICE(0x3582, info), /* I855_GM */ \ [all …]
|
| /dragonfly/usr.sbin/dntpd/ |
| HD | client.c | 173 client_poll(server_info_t info, int poll_interval, int calc_offset_correction) in client_poll() argument 183 if (info->server_insane > poll_interval) in client_poll() 184 info->server_insane -= poll_interval; in client_poll() 186 info->server_insane = 0; in client_poll() 192 if (info->poll_sleep > poll_interval) { in client_poll() 193 info->poll_sleep -= poll_interval; in client_poll() 196 info->poll_sleep = 0; in client_poll() 202 if (info->fd < 0) { in client_poll() 203 if (info->poll_failed < 0x7FFFFFFF) in client_poll() 204 ++info->poll_failed; in client_poll() [all …]
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | ieee.c | 295 ieee_error (struct ieee_info *info, const bfd_byte *p, const char *s) in ieee_error() argument 298 fprintf (stderr, "%s: 0x%lx: %s (0x%x)\n", bfd_get_filename (info->abfd), in ieee_error() 299 (unsigned long) (p - info->bytes), s, *p); in ieee_error() 301 fprintf (stderr, "%s: %s\n", bfd_get_filename (info->abfd), s); in ieee_error() 307 ieee_eof (struct ieee_info *info) in ieee_eof() argument 309 ieee_error (info, (const bfd_byte *) NULL, in ieee_eof() 329 ieee_read_number (struct ieee_info *info, const bfd_byte **pp, bfd_vma *pv) in ieee_read_number() argument 331 return ieee_read_optional_number (info, pp, pv, (bfd_boolean *) NULL); in ieee_read_number() 338 ieee_read_optional_number (struct ieee_info *info, const bfd_byte **pp, in ieee_read_optional_number() argument 343 if (*pp >= info->pend) in ieee_read_optional_number() [all …]
|
| HD | prdbg.c | 297 struct pr_handle info; in print_debugging_info() local 299 info.f = f; in print_debugging_info() 300 info.indent = 0; in print_debugging_info() 301 info.stack = NULL; in print_debugging_info() 302 info.parameter = 0; in print_debugging_info() 303 info.filename = NULL; in print_debugging_info() 304 info.abfd = abfd; in print_debugging_info() 305 info.syms = syms; in print_debugging_info() 306 info.demangler = demangler; in print_debugging_info() 316 return as_tags ? debug_write (dhandle, &tg_fns, (void *) & info) in print_debugging_info() [all …]
|
| HD | wrstabs.c | 338 stab_write_symbol (struct stab_write_handle *info, int type, int desc, in stab_write_symbol() argument 350 h = string_hash_lookup (&info->strhash, string, TRUE, TRUE); in stab_write_symbol() 361 strx = info->strings_size; in stab_write_symbol() 363 if (info->last_string == NULL) in stab_write_symbol() 364 info->strings = h; in stab_write_symbol() 366 info->last_string->next = h; in stab_write_symbol() 367 info->last_string = h; in stab_write_symbol() 368 info->strings_size += strlen (string) + 1; in stab_write_symbol() 373 bfd_put_32 (info->abfd, strx, sym); in stab_write_symbol() 374 bfd_put_8 (info->abfd, type, sym + 4); in stab_write_symbol() [all …]
|
| /dragonfly/sys/kern/ |
| HD | kern_systimer.c | 73 systimer_t info; in systimer_intr() local 80 while ((info = TAILQ_FIRST(&gd->gd_systimerq)) != NULL) { in systimer_intr() 85 if ((ssysclock_t)(info->time - time) > 0) { in systimer_intr() 86 cputimer_intr_reload(info->time - time); in systimer_intr() 96 info->flags &= ~SYSTF_ONQUEUE; in systimer_intr() 97 TAILQ_REMOVE(info->queue, info, node); in systimer_intr() 98 gd->gd_systimer_inprog = info; in systimer_intr() 100 info->func(info, in_ipi, frame); in systimer_intr() 115 if (gd->gd_systimer_inprog == info && info->periodic) { in systimer_intr() 116 if (info->which != sys_cputimer) { in systimer_intr() [all …]
|
| HD | kern_intr.c | 52 struct intr_info *info; member 133 static void report_stray_interrupt(struct intr_info *info, const char *func); 136 static void sched_ithd_intern(struct intr_info *info); 257 struct intr_info *info; in register_int() local 268 info = &intr_block->ary[cpuid][intr]; in register_int() 276 if (info->i_flags & INTR_EXCL) in register_int() 283 list = &info->i_reclist; in register_int() 294 rec->info = info; in register_int() 325 if (info->i_state == ISTATE_NOTHREAD) { in register_int() 326 info->i_state = ISTATE_NORMAL; in register_int() [all …]
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | prdbg.c | 299 struct pr_handle info; in print_debugging_info() local 301 info.f = f; in print_debugging_info() 302 info.indent = 0; in print_debugging_info() 303 info.stack = NULL; in print_debugging_info() 304 info.parameter = 0; in print_debugging_info() 305 info.filename = NULL; in print_debugging_info() 306 info.abfd = abfd; in print_debugging_info() 307 info.syms = syms; in print_debugging_info() 308 info.demangler = demangler; in print_debugging_info() 318 return as_tags ? debug_write (dhandle, &tg_fns, (void *) & info) in print_debugging_info() [all …]
|
| HD | wrstabs.c | 338 stab_write_symbol (struct stab_write_handle *info, int type, int desc, in stab_write_symbol() argument 350 h = string_hash_lookup (&info->strhash, string, TRUE, TRUE); in stab_write_symbol() 361 strx = info->strings_size; in stab_write_symbol() 363 if (info->last_string == NULL) in stab_write_symbol() 364 info->strings = h; in stab_write_symbol() 366 info->last_string->next = h; in stab_write_symbol() 367 info->last_string = h; in stab_write_symbol() 368 info->strings_size += strlen (string) + 1; in stab_write_symbol() 373 bfd_put_32 (info->abfd, strx, sym); in stab_write_symbol() 374 bfd_put_8 (info->abfd, type, sym + 4); in stab_write_symbol() [all …]
|
| /dragonfly/sys/dev/sound/pcm/ |
| HD | feeder_rate.c | 406 z_feed_zoh(struct z_info *info, uint8_t *dst) in z_feed_zoh() argument 409 z_copy(info->z_delay + in z_feed_zoh() 410 (info->z_start * info->channels * info->bps), dst, in z_feed_zoh() 411 info->channels * info->bps); in z_feed_zoh() 416 cnt = info->channels * info->bps; in z_feed_zoh() 417 src = info->z_delay + (info->z_start * cnt); in z_feed_zoh() 438 z_feed_linear_##SIGN##BIT##ENDIAN(struct z_info *info, uint8_t *dst) \ 445 z = ((uint32_t)info->z_alpha * info->z_dx) >> Z_LINEAR_UNSHIFT; \ 447 sx = info->z_delay + (info->z_start * info->channels * \ 449 sy = sx - (info->channels * PCM_##BIT##_BPS); \ [all …]
|
| /dragonfly/sys/sys/ |
| HD | indefinite2.h | 51 indefinite_init(indefinite_info_t *info, void *lock_addr, const char *ident, in indefinite_init() argument 54 info->lock_addr = lock_addr; in indefinite_init() 55 info->ident = ident; in indefinite_init() 56 info->secs = 0; in indefinite_init() 57 info->count = 0; in indefinite_init() 58 info->reported = now; in indefinite_init() 61 info->type = type; in indefinite_init() 64 info->type = 0; in indefinite_init() 65 info->base = 0; in indefinite_init() 67 if (now && info->ident) { in indefinite_init() [all …]
|
| /dragonfly/sys/dev/drm/amd/display/dc/gpio/dce80/ |
| HD | hw_translate_dce80.c | 213 struct gpio_pin_info *info) in id_to_offset() argument 219 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 222 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 225 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset() 228 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset() 231 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset() 234 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset() 237 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset() 240 info->offset = mmDC_GPIO_DDCVGA_A; in id_to_offset() 243 info->offset = mmDC_GPIO_I2CPAD_A; in id_to_offset() [all …]
|
| /dragonfly/sys/platform/pc64/x86_64/ |
| HD | pmap_inval.c | 164 loopwdog(struct pmap_inval_info *info) in loopwdog() argument 169 if ((tsc_sclock_t)(info->tsc_target - tsc) < 0 && tsc_frequency) { in loopwdog() 170 info->tsc_target = tsc + (tsc_frequency * LOOPRECOVER_TIMEOUT2); in loopwdog() 178 loopdebug(const char *msg, pmap_inval_info_t *info) in loopdebug() argument 207 , msg, cpu, info->mode, in loopdebug() 208 info->mask.ary[0], in loopdebug() 209 info->done.ary[0] in loopdebug() 211 , info->sigmask.ary[0] in loopdebug() 230 #define CHECKSIGMASK(info) _checksigmask(info, __FILE__, __LINE__) argument 234 _checksigmask(pmap_inval_info_t *info, const char *file, int line) in _checksigmask() argument [all …]
|
| /dragonfly/sys/dev/drm/amd/display/dc/gpio/dce110/ |
| HD | hw_translate_dce110.c | 184 struct gpio_pin_info *info) in id_to_offset() argument 190 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 193 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 196 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset() 199 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset() 202 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset() 205 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset() 208 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset() 211 info->offset = mmDC_GPIO_DDCVGA_A; in id_to_offset() 214 info->offset = mmDC_GPIO_I2CPAD_A; in id_to_offset() [all …]
|
| /dragonfly/sys/dev/drm/amd/display/dc/gpio/dce120/ |
| HD | hw_translate_dce120.c | 206 struct gpio_pin_info *info) in id_to_offset() argument 212 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 215 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 227 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 230 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 233 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 236 info->offset = REG(DC_GPIO_I2CPAD_A); in id_to_offset() [all …]
|
| /dragonfly/sys/dev/drm/amd/display/dc/gpio/dcn10/ |
| HD | hw_translate_dcn10.c | 206 struct gpio_pin_info *info) in id_to_offset() argument 212 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 215 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 227 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 230 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 233 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 236 info->offset = REG(DC_GPIO_I2CPAD_A); in id_to_offset() [all …]
|
| /dragonfly/sys/vfs/nfs/ |
| HD | nfsm_subs.c | 112 nfsm_reqhead(nfsm_info_t info, struct vnode *vp, u_long procid, int hsiz) in nfsm_reqhead() argument 114 info->mb = m_getl(hsiz, M_WAITOK, MT_DATA, 0, NULL); in nfsm_reqhead() 115 info->mb->m_len = 0; in nfsm_reqhead() 116 info->mreq = info->mb; in nfsm_reqhead() 117 info->bpos = mtod(info->mb, caddr_t); in nfsm_reqhead() 132 struct nfsm_info info; in nfsm_rpchead() local 141 info.mb = m_getl(dsiz, M_WAITOK, MT_DATA, M_PKTHDR, NULL); in nfsm_rpchead() 144 MH_ALIGN(info.mb, dsiz); in nfsm_rpchead() 146 MH_ALIGN(info.mb, 8 * NFSX_UNSIGNED); in nfsm_rpchead() 148 info.mb->m_len = info.mb->m_pkthdr.len = 0; in nfsm_rpchead() [all …]
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | tree-switch-conversion.c | 166 static struct switch_conv_info info; variable 184 info.range_min = CASE_LOW (min_case); in check_range() 194 gcc_assert (info.range_min); in check_range() 197 info.range_size = int_const_binop (MINUS_EXPR, range_max, info.range_min); in check_range() 199 gcc_assert (info.range_size); in check_range() 200 if (!host_integerp (info.range_size, 1)) in check_range() 202 info.reason = "index range way too large or otherwise unusable.\n"; in check_range() 206 if ((unsigned HOST_WIDE_INT) tree_low_cst (info.range_size, 1) in check_range() 209 info.reason = "the maximum range-branch ratio exceeded.\n"; in check_range() 231 e = find_edge (info.switch_bb, label_bb); in check_process_case() [all …]
|
| /dragonfly/contrib/binutils-2.27/bfd/ |
| HD | syms.c | 934 struct stab_find_info *info; in _bfd_stab_section_find_nearest_line() local 969 info = (struct stab_find_info *) *pinfo; in _bfd_stab_section_find_nearest_line() 970 if (info != NULL) in _bfd_stab_section_find_nearest_line() 972 if (info->stabsec == NULL || info->strsec == NULL) in _bfd_stab_section_find_nearest_line() 978 stabsize = (info->stabsec->rawsize in _bfd_stab_section_find_nearest_line() 979 ? info->stabsec->rawsize in _bfd_stab_section_find_nearest_line() 980 : info->stabsec->size); in _bfd_stab_section_find_nearest_line() 981 strsize = (info->strsec->rawsize in _bfd_stab_section_find_nearest_line() 982 ? info->strsec->rawsize in _bfd_stab_section_find_nearest_line() 983 : info->strsec->size); in _bfd_stab_section_find_nearest_line() [all …]
|
| /dragonfly/sys/dev/video/fb/bmp/ |
| HD | splash_bmp.c | 76 video_info_t info; in bmp_start() local 86 if (((*vidsw[adp->va_index]->get_info)(adp, modes[i], &info) == 0) in bmp_start() 88 info.vi_width, info.vi_height, info.vi_depth) == 0)) in bmp_start() 250 bmp_SetPix(BMP_INFO *info, int x, int y, u_char val) in bmp_SetPix() argument 258 if ((x < 0) || (x >= info->swidth) || (y < 0) || (y >= info->sheight)) in bmp_SetPix() 266 sofs = ((info->height - (y+1) + (info->sheight - info->height) / 2) in bmp_SetPix() 267 * info->adp->va_line_width); in bmp_SetPix() 268 x += (info->swidth - info->width) / 2; in bmp_SetPix() 270 switch(info->sdepth) { in bmp_SetPix() 275 newbank = sofs/info->adp->va_window_size; in bmp_SetPix() [all …]
|
| /dragonfly/contrib/lvm2/dist/lib/cache/ |
| HD | lvmcache.c | 118 static void _update_cache_info_lock_state(struct lvmcache_info *info, in _update_cache_info_lock_state() argument 122 int was_locked = (info->status & CACHE_LOCKED) ? 1 : 0; in _update_cache_info_lock_state() 129 info->status |= CACHE_INVALID; in _update_cache_info_lock_state() 134 info->status |= CACHE_LOCKED; in _update_cache_info_lock_state() 136 info->status &= ~CACHE_LOCKED; in _update_cache_info_lock_state() 142 struct lvmcache_info *info; in _update_cache_vginfo_lock_state() local 145 dm_list_iterate_items(info, &vginfo->infos) in _update_cache_vginfo_lock_state() 146 _update_cache_info_lock_state(info, locked, in _update_cache_vginfo_lock_state() 166 struct lvmcache_info *info; in _drop_metadata() local 179 dm_list_iterate_items(info, &vginfo->infos) in _drop_metadata() [all …]
|
| /dragonfly/contrib/gdb-7/bfd/ |
| HD | syms.c | 934 struct stab_find_info *info; in _bfd_stab_section_find_nearest_line() local 970 info = (struct stab_find_info *) *pinfo; in _bfd_stab_section_find_nearest_line() 971 if (info != NULL) in _bfd_stab_section_find_nearest_line() 973 if (info->stabsec == NULL || info->strsec == NULL) in _bfd_stab_section_find_nearest_line() 979 stabsize = (info->stabsec->rawsize in _bfd_stab_section_find_nearest_line() 980 ? info->stabsec->rawsize in _bfd_stab_section_find_nearest_line() 981 : info->stabsec->size); in _bfd_stab_section_find_nearest_line() 982 strsize = (info->strsec->rawsize in _bfd_stab_section_find_nearest_line() 983 ? info->strsec->rawsize in _bfd_stab_section_find_nearest_line() 984 : info->strsec->size); in _bfd_stab_section_find_nearest_line() [all …]
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | arch-utils.c | 295 struct gdbarch_info info; in set_endian() local 297 gdbarch_info_init (&info); in set_endian() 302 if (! gdbarch_update_p (info)) in set_endian() 308 info.byte_order = BFD_ENDIAN_LITTLE; in set_endian() 309 if (! gdbarch_update_p (info)) in set_endian() 316 info.byte_order = BFD_ENDIAN_BIG; in set_endian() 317 if (! gdbarch_update_p (info)) in set_endian() 453 struct gdbarch_info info; in set_architecture() local 455 gdbarch_info_init (&info); in set_architecture() 460 if (!gdbarch_update_p (info)) in set_architecture() [all …]
|
| /dragonfly/sys/dev/misc/ipmi/ |
| HD | ipmi_isa.c | 55 struct ipmi_get_info info; in ipmi_isa_identify() local 58 if (ipmi_smbios_identify(&info) && info.iface_type != SSIF_MODE && in ipmi_isa_identify() 97 ipmi_hint_identify(device_t dev, struct ipmi_get_info *info) in ipmi_hint_identify() argument 109 bzero(info, sizeof(struct ipmi_get_info)); in ipmi_hint_identify() 111 info->iface_type = KCS_MODE; in ipmi_hint_identify() 112 info->address = 0xca2; in ipmi_hint_identify() 113 info->io_mode = 1; in ipmi_hint_identify() 114 info->offset = 1; in ipmi_hint_identify() 116 info->iface_type = SMIC_MODE; in ipmi_hint_identify() 117 info->address = 0xca9; in ipmi_hint_identify() [all …]
|
| /dragonfly/sys/platform/pc64/apic/ |
| HD | ioapic.c | 90 struct ioapic_info *info; in ioapic_config() local 134 TAILQ_FOREACH(info, &ioapic_conf.ioc_list, io_link) in ioapic_config() 135 info->io_idx = i++; in ioapic_config() 143 TAILQ_FOREACH(info, &ioapic_conf.ioc_list, io_link) { in ioapic_config() 149 "%dth I/O APIC\n", info->io_idx); in ioapic_config() 152 info->io_apic_id = apic_id; in ioapic_config() 156 if (info != NULL) { in ioapic_config() 164 TAILQ_FOREACH(info, &ioapic_conf.ioc_list, io_link) in ioapic_config() 165 info->io_apic_id = info->io_idx; in ioapic_config() 171 TAILQ_FOREACH(info, &ioapic_conf.ioc_list, io_link) { in ioapic_config() [all …]
|