/linux-2.6.39/drivers/mtd/maps/ |
D | ichxrom.c | 56 static void ichxrom_cleanup(struct ichxrom_window *window) in ichxrom_cleanup() argument 62 pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 63 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 64 pci_dev_put(window->pdev); in ichxrom_cleanup() 67 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup() 75 if (window->rsrc.parent) in ichxrom_cleanup() 76 release_resource(&window->rsrc); in ichxrom_cleanup() 77 if (window->virt) { in ichxrom_cleanup() 78 iounmap(window->virt); in ichxrom_cleanup() 79 window->virt = NULL; in ichxrom_cleanup() [all …]
|
D | amd76xrom.c | 68 static void amd76xrom_cleanup(struct amd76xrom_window *window) in amd76xrom_cleanup() argument 73 if (window->pdev) { in amd76xrom_cleanup() 75 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup() 76 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup() 77 pci_dev_put(window->pdev); in amd76xrom_cleanup() 81 list_for_each_entry_safe(map, scratch, &window->maps, list) { in amd76xrom_cleanup() 90 if (window->rsrc.parent) in amd76xrom_cleanup() 91 release_resource(&window->rsrc); in amd76xrom_cleanup() 93 if (window->virt) { in amd76xrom_cleanup() 94 iounmap(window->virt); in amd76xrom_cleanup() [all …]
|
D | esb2rom.c | 117 static void esb2rom_cleanup(struct esb2rom_window *window) in esb2rom_cleanup() argument 123 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 124 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 128 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 136 if (window->rsrc.parent) in esb2rom_cleanup() 137 release_resource(&window->rsrc); in esb2rom_cleanup() 138 if (window->virt) { in esb2rom_cleanup() 139 iounmap(window->virt); in esb2rom_cleanup() 140 window->virt = NULL; in esb2rom_cleanup() 141 window->phys = 0; in esb2rom_cleanup() [all …]
|
D | ck804xrom.c | 81 static void ck804xrom_cleanup(struct ck804xrom_window *window) in ck804xrom_cleanup() argument 86 if (window->pdev) { in ck804xrom_cleanup() 88 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup() 89 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup() 93 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ck804xrom_cleanup() 102 if (window->rsrc.parent) in ck804xrom_cleanup() 103 release_resource(&window->rsrc); in ck804xrom_cleanup() 105 if (window->virt) { in ck804xrom_cleanup() 106 iounmap(window->virt); in ck804xrom_cleanup() 107 window->virt = NULL; in ck804xrom_cleanup() [all …]
|
/linux-2.6.39/drivers/mtd/devices/ |
D | docprobe.c | 87 void __iomem *window=potential; in doccheck() local 98 if (ReadDOC(window, Sig1) != 0x55 || ReadDOC(window, Sig2) != 0xaa) in doccheck() 111 tmp2 = ReadDOC(window, DOCControl); in doccheck() 115 window, DOCControl); in doccheck() 117 window, DOCControl); in doccheck() 121 window, DOCControl); in doccheck() 123 window, DOCControl); in doccheck() 129 ChipID = ReadDOC(window, ChipID); in doccheck() 134 tmp = ReadDOC(window, 2k_ECCStatus) & DOC_TOGGLE_BIT; in doccheck() 135 tmpb = ReadDOC(window, 2k_ECCStatus) & DOC_TOGGLE_BIT; in doccheck() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | windows.c | 60 int window; in synchronize_user_stack() local 67 for(window = tp->w_saved - 1; window >= 0; window--) { in synchronize_user_stack() 68 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack() 71 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack() 75 shift_window_buffer(window, tp->w_saved - 1, tp); in synchronize_user_stack() 112 int window; in try_to_clear_window_buffer() local 115 for(window = 0; window < tp->w_saved; window++) { in try_to_clear_window_buffer() 116 unsigned long sp = tp->rwbuf_stkptrs[window]; in try_to_clear_window_buffer() 119 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
|
D | process_64.c | 430 unsigned long window; in synchronize_user_stack() local 433 if ((window = get_thread_wsaved()) != 0) { in synchronize_user_stack() 442 window -= 1; in synchronize_user_stack() 444 unsigned long sp = (t->rwbuf_stkptrs[window] + bias); in synchronize_user_stack() 445 struct reg_window *rwin = &t->reg_window[window]; in synchronize_user_stack() 448 shift_window_buffer(window, get_thread_wsaved() - 1, t); in synchronize_user_stack() 451 } while (window--); in synchronize_user_stack() 470 unsigned long window; in fault_in_user_windows() local 480 window = get_thread_wsaved(); in fault_in_user_windows() 482 if (likely(window != 0)) { in fault_in_user_windows() [all …]
|
/linux-2.6.39/drivers/net/wireless/iwlegacy/ |
D | iwl-3945-rs.c | 135 static void iwl3945_clear_window(struct iwl3945_rate_scale_data *window) in iwl3945_clear_window() argument 137 window->data = 0; in iwl3945_clear_window() 138 window->success_counter = 0; in iwl3945_clear_window() 139 window->success_ratio = -1; in iwl3945_clear_window() 140 window->counter = 0; in iwl3945_clear_window() 141 window->average_tpt = IWL_INVALID_VALUE; in iwl3945_clear_window() 142 window->stamp = 0; in iwl3945_clear_window() 259 struct iwl3945_rate_scale_data *window, in iwl3945_collect_tx_data() argument 282 if (window->counter >= IWL_RATE_MAX_WINDOW) { in iwl3945_collect_tx_data() 285 window->counter = IWL_RATE_MAX_WINDOW - 1; in iwl3945_collect_tx_data() [all …]
|
D | iwl-4965-rs.c | 230 iwl4965_rs_rate_scale_clear_window(struct iwl_rate_scale_data *window) in iwl4965_rs_rate_scale_clear_window() argument 232 window->data = 0; in iwl4965_rs_rate_scale_clear_window() 233 window->success_counter = 0; in iwl4965_rs_rate_scale_clear_window() 234 window->success_ratio = IWL_INVALID_VALUE; in iwl4965_rs_rate_scale_clear_window() 235 window->counter = 0; in iwl4965_rs_rate_scale_clear_window() 236 window->average_tpt = IWL_INVALID_VALUE; in iwl4965_rs_rate_scale_clear_window() 237 window->stamp = 0; in iwl4965_rs_rate_scale_clear_window() 422 struct iwl_rate_scale_data *window = NULL; in iwl4965_rs_collect_tx_data() local 430 window = &(tbl->win[scale_index]); in iwl4965_rs_collect_tx_data() 444 if (window->counter >= IWL_RATE_MAX_WINDOW) { in iwl4965_rs_collect_tx_data() [all …]
|
/linux-2.6.39/drivers/video/ |
D | au1200fb.c | 141 struct au1200_lcd_window_regs_t window; member 731 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 732 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 754 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() 782 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation() 783 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation() 784 lcd->window[plane].winbuf0 = in au1200_setlocation() 785 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation() 786 lcd->window[plane].winbufctrl = 0; /* select winbuf0 */ in au1200_setlocation() 911 D(lcd->window[0].winctrl0); in au1200_setpanel() [all …]
|
/linux-2.6.39/arch/ia64/pci/ |
D | pci.c | 268 struct pci_window *window; in add_window() local 292 window = &info->controller->window[info->controller->windows++]; in add_window() 293 window->resource.name = info->name; in add_window() 294 window->resource.flags = flags; in add_window() 295 window->resource.start = addr.minimum + offset; in add_window() 296 window->resource.end = window->resource.start + addr.address_length - 1; in add_window() 297 window->resource.child = NULL; in add_window() 298 window->offset = offset; in add_window() 300 if (insert_resource(root, &window->resource)) { in add_window() 303 &window->resource); in add_window() [all …]
|
/linux-2.6.39/drivers/edac/ |
D | i3200_edac.c | 99 void __iomem *window; member 174 void __iomem *window = priv->window; in i3200_get_and_clear_error_info() local 187 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 189 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 200 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 202 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 256 void __iomem *window; in i3200_map_mchbar() local 269 window = ioremap_nocache(u.mchbar, I3200_MMR_WINDOW_SIZE); in i3200_map_mchbar() 270 if (!window) in i3200_map_mchbar() 274 return window; in i3200_map_mchbar() [all …]
|
D | x38_edac.c | 173 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() local 186 info->eccerrlog[0] = x38_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 188 info->eccerrlog[1] = x38_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 199 info->eccerrlog[0] = x38_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 202 x38_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 254 void __iomem *window; in x38_map_mchbar() local 268 window = ioremap_nocache(u.mchbar, X38_MMR_WINDOW_SIZE); in x38_map_mchbar() 269 if (!window) in x38_map_mchbar() 273 return window; in x38_map_mchbar() 277 static void x38_get_drbs(void __iomem *window, in x38_get_drbs() argument [all …]
|
D | i3000_edac.c | 315 void __iomem *window; in i3000_probe1() local 321 window = ioremap_nocache(mchbar, I3000_MMR_WINDOW_SIZE); in i3000_probe1() 322 if (!window) { in i3000_probe1() 328 c0dra[0] = readb(window + I3000_C0DRA + 0); /* ranks 0,1 */ in i3000_probe1() 329 c0dra[1] = readb(window + I3000_C0DRA + 1); /* ranks 2,3 */ in i3000_probe1() 330 c1dra[0] = readb(window + I3000_C1DRA + 0); /* ranks 0,1 */ in i3000_probe1() 331 c1dra[1] = readb(window + I3000_C1DRA + 1); /* ranks 2,3 */ in i3000_probe1() 334 c0drb[i] = readb(window + I3000_C0DRB + i); in i3000_probe1() 335 c1drb[i] = readb(window + I3000_C1DRB + i); in i3000_probe1() 338 iounmap(window); in i3000_probe1()
|
/linux-2.6.39/arch/ia64/sn/kernel/ |
D | io_init.c | 130 controller->window = kcalloc(2, sizeof(struct pci_window), in sn_legacy_pci_window_fixup() 132 BUG_ON(controller->window == NULL); in sn_legacy_pci_window_fixup() 133 controller->window[0].offset = legacy_io; in sn_legacy_pci_window_fixup() 134 controller->window[0].resource.name = "legacy_io"; in sn_legacy_pci_window_fixup() 135 controller->window[0].resource.flags = IORESOURCE_IO; in sn_legacy_pci_window_fixup() 136 controller->window[0].resource.start = legacy_io; in sn_legacy_pci_window_fixup() 137 controller->window[0].resource.end = in sn_legacy_pci_window_fixup() 138 controller->window[0].resource.start + 0xffff; in sn_legacy_pci_window_fixup() 139 controller->window[0].resource.parent = &ioport_resource; in sn_legacy_pci_window_fixup() 140 controller->window[1].offset = legacy_mem; in sn_legacy_pci_window_fixup() [all …]
|
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | iommu.c | 172 struct iommu_window *window = in tce_build_cell() local 190 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 193 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 205 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_build_cell() 217 struct iommu_window *window = in tce_free_cell() local 228 __pa(window->iommu->pad_page) | in tce_free_cell() 229 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_free_cell() 239 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_free_cell() 442 struct iommu_window *window; 446 list_for_each_entry(window, &(iommu->windows), list) { [all …]
|
/linux-2.6.39/Documentation/video4linux/ |
D | sh_mobile_ceu_camera.txt | 58 (6) to (6') - CEU scale - user window 71 current sensor scales onto input window - this is user S_CROP: 75 3. Calculate new combined scales from "effective" input window to requested user 76 window: 80 4. Calculate sensor output window by applying combined scales to real input 81 window: 85 5. Apply iterative sensor S_FMT for sensor output window. 89 6. Retrieve sensor output window (g_fmt) 101 9. Use CEU cropping to crop to the new window: 105 10. Use CEU scaling to scale to the requested user window: [all …]
|
/linux-2.6.39/drivers/sh/intc/ |
D | access.c | 16 struct intc_window *window; in intc_phys_to_virt() local 21 window = d->window + k; in intc_phys_to_virt() 23 if (address < window->phys) in intc_phys_to_virt() 26 if (address >= (window->phys + window->size)) in intc_phys_to_virt() 29 address -= window->phys; in intc_phys_to_virt() 30 address += (unsigned long)window->virt; in intc_phys_to_virt()
|
/linux-2.6.39/lib/zlib_deflate/ |
D | deflate.c | 154 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ 232 s->window = (Byte *) mem->window_memory; in zlib_deflateInit2() 280 memcpy((char *)s->window, dictionary, length); 288 s->ins_h = s->window[0]; 289 UPDATE_HASH(s, s->ins_h, s->window[1]); 605 ds->window = (Byte *) mem->window_memory; 611 memcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte)); 703 register Byte *scan = s->window + s->strstart; /* current string */ in longest_match() 720 register Byte *strend = s->window + s->strstart + MAX_MATCH - 1; in longest_match() 724 register Byte *strend = s->window + s->strstart + MAX_MATCH; in longest_match() [all …]
|
/linux-2.6.39/drivers/pcmcia/ |
D | vrc4173_cardu.c | 251 uint8_t ioctl, window; in cardu_get_io_map() local 262 window = exca_readb(socket, ADR_WIN_EN); in cardu_get_io_map() 263 io->flags = (window & IO_WIN_EN(map)) ? MAP_ACTIVE : 0; in cardu_get_io_map() 276 uint8_t window, enable; in cardu_set_io_map() local 283 window = exca_readb(socket, ADR_WIN_EN); in cardu_set_io_map() 286 if (window & enable) { in cardu_set_io_map() 287 window &= ~enable; in cardu_set_io_map() 288 exca_writeb(socket, ADR_WIN_EN, window); in cardu_set_io_map() 300 exca_writeb(socket, ADR_WIN_EN, window | enable); in cardu_set_io_map() 309 uint8_t window; in cardu_get_mem_map() local [all …]
|
/linux-2.6.39/arch/alpha/kernel/ |
D | core_t2.c | 88 } window[2]; member 389 t2_saved_config.window[0].wbase = *(vulp)T2_WBASE1; in t2_save_configuration() 390 t2_saved_config.window[0].wmask = *(vulp)T2_WMASK1; in t2_save_configuration() 391 t2_saved_config.window[0].tbase = *(vulp)T2_TBASE1; in t2_save_configuration() 392 t2_saved_config.window[1].wbase = *(vulp)T2_WBASE2; in t2_save_configuration() 393 t2_saved_config.window[1].wmask = *(vulp)T2_WMASK2; in t2_save_configuration() 394 t2_saved_config.window[1].tbase = *(vulp)T2_TBASE2; in t2_save_configuration() 486 *(vulp)T2_WBASE1 = t2_saved_config.window[0].wbase; in t2_kill_arch() 487 *(vulp)T2_WMASK1 = t2_saved_config.window[0].wmask; in t2_kill_arch() 488 *(vulp)T2_TBASE1 = t2_saved_config.window[0].tbase; in t2_kill_arch() [all …]
|
/linux-2.6.39/arch/powerpc/platforms/pseries/ |
D | iommu.c | 700 struct direct_window *window; in dupe_ddw_if_already_created() local 708 list_for_each_entry(window, &direct_window_list, list) { in dupe_ddw_if_already_created() 709 if (window->device == pdn) { in dupe_ddw_if_already_created() 710 direct64 = window->prop; in dupe_ddw_if_already_created() 725 struct direct_window *window; in dupe_ddw_if_kexec() local 733 window = kzalloc(sizeof(*window), GFP_KERNEL); in dupe_ddw_if_kexec() 734 if (!window) { in dupe_ddw_if_kexec() 737 window->device = pdn; in dupe_ddw_if_kexec() 738 window->prop = direct64; in dupe_ddw_if_kexec() 740 list_add(&window->list, &direct_window_list); in dupe_ddw_if_kexec() [all …]
|
/linux-2.6.39/net/netfilter/ |
D | xt_osf.c | 205 u16 window, totlen, mss = 0; in xt_osf_match_packet() local 224 window = ntohs(tcp->window); in xt_osf_match_packet() 299 if (f->wss.val == 0 || window == f->wss.val) in xt_osf_match_packet() 311 if (window == f->wss.val * mss || in xt_osf_match_packet() 312 window == f->wss.val * SMART_MSS_1 || in xt_osf_match_packet() 313 window == f->wss.val * SMART_MSS_2) in xt_osf_match_packet() 317 if (window == f->wss.val * (mss + 40) || in xt_osf_match_packet() 318 window == f->wss.val * (SMART_MSS_1 + 40) || in xt_osf_match_packet() 319 window == f->wss.val * (SMART_MSS_2 + 40)) in xt_osf_match_packet() 323 if ((window % f->wss.val) == 0) in xt_osf_match_packet()
|
/linux-2.6.39/net/lapb/ |
D | lapb_iface.c | 135 lapb->window = LAPB_DEFAULT_WINDOW; in lapb_create_cb() 210 parms->window = lapb->window; in lapb_getparms() 243 if (parms->window < 1 || parms->window > 127) in lapb_setparms() 246 if (parms->window < 1 || parms->window > 7) in lapb_setparms() 250 lapb->window = parms->window; in lapb_setparms()
|
/linux-2.6.39/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-rs.c | 247 static void rs_rate_scale_clear_window(struct iwl_rate_scale_data *window) in rs_rate_scale_clear_window() argument 249 window->data = 0; in rs_rate_scale_clear_window() 250 window->success_counter = 0; in rs_rate_scale_clear_window() 251 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window() 252 window->counter = 0; in rs_rate_scale_clear_window() 253 window->average_tpt = IWL_INVALID_VALUE; in rs_rate_scale_clear_window() 254 window->stamp = 0; in rs_rate_scale_clear_window() 447 struct iwl_rate_scale_data *window = NULL; in rs_collect_tx_data() local 455 window = &(tbl->win[scale_index]); in rs_collect_tx_data() 469 if (window->counter >= IWL_RATE_MAX_WINDOW) { in rs_collect_tx_data() [all …]
|