Home
last modified time | relevance | path

Searched refs:u_long (Results 1 – 25 of 207) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/h/
H A Dsmc.h89 u_long trace_prop ; /* ECM Trace_Prop flag >= 16 bits !! */
159 u_long fddimibPATHConfigSMTIndex;
160 u_long fddimibPATHConfigPATHIndex;
161 u_long fddimibPATHConfigTokenOrder;
162 u_long fddimibPATHConfigResourceType;
165 u_long fddimibPATHConfigResourceIndex;
166 u_long fddimibPATHConfigCurrentPath;
223 u_long t_next[NUMBITS] ;
272 u_long SRThreshold ; /* threshold value */
276 u_long TSR ; /* timer */
[all …]
H A Dfplustm.h27 u_long err_valid ; /* memory status valid */
28 u_long err_abort ; /* memory status receive abort */
29 u_long err_e_indicator ; /* error indicator */
30 u_long err_crc ; /* error detected (CRC or length) */
31 u_long err_llc_frame ; /* LLC frame */
32 u_long err_mac_frame ; /* MAC frame */
33 u_long err_smt_frame ; /* SMT frame */
34 u_long err_imp_frame ; /* implementer frame */
35 u_long err_no_buf ; /* no buffer available */
36 u_long err_too_long ; /* longer than max. buffer */
[all …]
H A Dcmtdef.h179 #define EV_TOKEN(class,event) (((u_long)(class)<<16L)|((u_long)(event)))
390 u_long tm_delta ; /* delta time */
391 u_long tm_token ; /* token value */
400 u_long t_neg ; /* T_Neg parameter */
401 u_long t_pri ; /* T_Pri register in MAC */
408 u_long mac_nobuf_counter ; /* MAC SW counter: no buffer */
409 u_long mac_r_restart_counter ; /* MAC SW counter: rx restarted */
429 u_long lem_errors ;
430 u_long lem_symbols ;
431 u_long lem_tsymbols ;
[all …]
H A Dsba.h27 u_long start_time ;
42 u_long node_status ;
56 u_long deallocate_status ;
58 u_long min_segment_size ;
60 u_long session_status ;
61 u_long sba_category ;
66 u_long max_t_neg ;
96 u_long msg_max_t_neg ; /* longest T_Neg acceptable */
97 u_long msg_min_seg_siz ; /* minimum segement size */
104 u_long sba_t_neg ; /* holds the last T_NEG */
[all …]
H A Dfddimib.h19 typedef u_long Counter ;
22 typedef u_long Timer_2 ;
23 typedef u_long Timer ;
94 u_long fddiESSPayload ; /* payload for static alloc */
95 u_long fddiESSOverhead ; /* frame ov for static alloc */
96 u_long fddiESSMaxTNeg ; /* maximum of T-NEG */
97 u_long fddiESSMinSegmentSize ; /* min size of the sync frames */
98 u_long fddiESSCategory ; /* category for the Alloc req */
132 u_long fddiSMTTrace_MaxExpiration ;
238 u_long fddiPATHSbaPayload ;
[all …]
H A Dtargethw.h77 u_long is_imask ; /* int maske for the int source reg */
78 u_long phys_mem_addr ; /* physical memory address */
92 u_long pci_fix_value ; /* value parsed by PCIFIX */
98 u_long t_start ; /* HWT start */
99 u_long t_stop ; /* HWT stop */
/OK3568_Linux_fs/u-boot/include/
H A Datmel_lcd.h26 u_long vl_clk; /* pixel clock in ps */
29 u_long vl_sync; /* Horizontal / vertical sync */
30 u_long vl_bpix; /* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */
31 u_long vl_tft; /* 0 = passive, 1 = TFT */
32 u_long vl_cont_pol_low; /* contrast polarity is low */
33 u_long vl_clk_pol; /* clock polarity */
36 u_long vl_hsync_len; /* Length of horizontal sync */
37 u_long vl_left_margin; /* Time from sync to picture */
38 u_long vl_right_margin; /* Time from picture to sync */
41 u_long vl_vsync_len; /* Length of vertical sync */
[all …]
H A Dpxa_lcd.h17 u_long fdadr; /* Frame descriptor address register */
18 u_long fsadr; /* Frame source address register */
19 u_long fidr; /* Frame ID register */
20 u_long ldcmd; /* Command register */
28 u_long reg_lccr3;
29 u_long reg_lccr2;
30 u_long reg_lccr1;
31 u_long reg_lccr0;
32 u_long fdadr0;
33 u_long fdadr1;
[all …]
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/
H A Dsmtdef.c32 #define TTMS(x) ((u_long)(x)*1000L)
33 #define TTS(x) ((u_long)(x)*1000000L)
34 #define TTUS(x) ((u_long)(x))
73 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper);
82 u_long smt_boot_time; in smt_reset_defaults()
132 smc->mib.fddiESSMaxTNeg = (u_long)(- MS2BCLK(25)) ; in smt_reset_defaults()
215 mib->m[MAC0].fddiMACT_MaxCapabilitiy = (u_long)(- MS2BCLK(165)) ; in smt_init_mib()
216 mib->m[MAC0].fddiMACTVXCapabilitiy = (u_long)(- US2BCLK(52)) ; in smt_init_mib()
218 mib->m[MAC0].fddiMACTvxValue = (u_long)(- US2BCLK(27)) ; in smt_init_mib()
219 mib->m[MAC0].fddiMACTvxValueMIB = (u_long)(- US2BCLK(27)) ; in smt_init_mib()
[all …]
H A Dhwt.c59 void hwt_start(struct s_smc *smc, u_long time) in hwt_start()
77 outpd(ADDR(B2_TI_INI), (u_long) cnt * 200) ; /* Load timer value. */ in hwt_start()
160 u_long hwt_read(struct s_smc *smc) in hwt_read()
163 u_long is ; in hwt_read()
195 u_long hwt_quick_read(struct s_smc *smc) in hwt_quick_read()
197 u_long interval ; in hwt_quick_read()
198 u_long time ; in hwt_quick_read()
223 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) in hwt_wait_time()
H A Decm.c91 static void start_ecm_timer(struct s_smc *smc, u_long value, int event);
151 AIX_EVENT (smc, (u_long) CIO_HARD_FAIL, (u_long) in ecm_fsm()
237 AIX_EVENT(smc, (u_long) FDDI_RING_STATUS, in ecm_fsm()
238 (u_long) FDDI_SMT_ERROR, (u_long) in ecm_fsm()
374 AIX_EVENT(smc, (u_long) FDDI_RING_STATUS, (u_long) in ecm_fsm()
375 FDDI_SMT_ERROR, (u_long) FDDI_BYPASS_STUCK, in ecm_fsm()
514 static void start_ecm_timer(struct s_smc *smc, u_long value, int event) in start_ecm_timer()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Datafb.h5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
7 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
9 void atafb_mfb_linefill(struct fb_info *info, u_long next_line,
13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
15 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
17 void atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
23 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
25 void atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dapollohw.h12 extern u_long apollo_model;
54 extern u_long sio01_physaddr;
55 extern u_long sio23_physaddr;
56 extern u_long rtc_physaddr;
57 extern u_long pica_physaddr;
58 extern u_long picb_physaddr;
59 extern u_long cpuctrl_physaddr;
60 extern u_long timer_physaddr;
/OK3568_Linux_fs/kernel/arch/m68k/tools/amiga/
H A Ddmesg.c33 u_long magic1; /* SAVEKMSG_MAGIC1 */
34 u_long magic2; /* SAVEKMSG_MAGIC2 */
35 u_long magicptr; /* address of magic1 */
36 u_long size;
43 u_long start = CHIPMEM_START, end = CHIPMEM_END, p; in main()
61 printf("Found %ld bytes at 0x%08lx\n", m->size, (u_long)&m->data); in main()
/OK3568_Linux_fs/kernel/arch/m68k/apollo/
H A Dconfig.c20 u_long sio01_physaddr;
21 u_long sio23_physaddr;
22 u_long rtc_physaddr;
23 u_long pica_physaddr;
24 u_long picb_physaddr;
25 u_long cpuctrl_physaddr;
26 u_long timer_physaddr;
27 u_long apollo_model;
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dpxa_lcd.c412 u_long palette_mem_size; in pxafb_init_mem()
416 fbi->screen = (u_long)lcdbase; in pxafb_init_mem()
421 debug("palette_mem_size = 0x%08lx\n", (u_long) palette_mem_size); in pxafb_init_mem()
423 fbi->palette = (u_long)lcdbase + fb_size + PAGE_SIZE - palette_mem_size; in pxafb_init_mem()
432 u_long lccr0; in pxafb_setup_gpio()
563 fbi->dmadesc_fblow->fdadr = (u_long)fbi->dmadesc_fblow; in pxafb_init()
568 fbi->fdadr1 = (u_long)fbi->dmadesc_fblow; /* only used in dual-panel mode */ in pxafb_init()
581 fbi->dmadesc_palette->fdadr = (u_long)fbi->dmadesc_fbhigh; in pxafb_init()
582 fbi->dmadesc_fbhigh->fdadr = (u_long)fbi->dmadesc_palette; in pxafb_init()
584 fbi->fdadr0 = (u_long)fbi->dmadesc_palette; in pxafb_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.h139 u_long ioport;
279 u_long commands_issued;
527 static inline u_long ahc_get_transfer_length(struct scb *);
529 static inline void ahc_set_residual(struct scb *, u_long);
530 static inline void ahc_set_sense_residual(struct scb *scb, u_long resid);
531 static inline u_long ahc_get_residual(struct scb *);
532 static inline u_long ahc_get_sense_residual(struct scb *);
602 u_long ahc_get_transfer_length(struct scb *scb) in ahc_get_transfer_length()
614 void ahc_set_residual(struct scb *scb, u_long resid) in ahc_set_residual()
620 void ahc_set_sense_residual(struct scb *scb, u_long resid) in ahc_set_sense_residual()
[all …]
H A Daic79xx_osm.h126 u_long ioport;
263 u_long commands_issued;
509 static inline u_long ahd_get_transfer_length(struct scb *);
511 static inline void ahd_set_residual(struct scb *, u_long);
512 static inline void ahd_set_sense_residual(struct scb *scb, u_long resid);
513 static inline u_long ahd_get_residual(struct scb *);
514 static inline u_long ahd_get_sense_residual(struct scb *);
584 u_long ahd_get_transfer_length(struct scb *scb) in ahd_get_transfer_length()
596 void ahd_set_residual(struct scb *scb, u_long resid) in ahd_set_residual()
602 void ahd_set_sense_residual(struct scb *scb, u_long resid) in ahd_set_sense_residual()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c659 #define DE4X5_ALIGN4 ((u_long)4 - 1) /* 1 longword align */
660 #define DE4X5_ALIGN8 ((u_long)8 - 1) /* 2 longword align */
661 #define DE4X5_ALIGN16 ((u_long)16 - 1) /* 4 longword align */
662 #define DE4X5_ALIGN32 ((u_long)32 - 1) /* 8 longword align */
663 #define DE4X5_ALIGN64 ((u_long)64 - 1) /* 16 longword align */
664 #define DE4X5_ALIGN128 ((u_long)128 - 1) /* 32 longword align */
789 u_long interrupt; /* Aligned ISR flag */
826 u_long lock; /* Lock the cache accesses */
910 static int de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev);
955 static void DevicePresent(struct net_device *dev, u_long iobase);
[all …]
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dpci-dma.c63 u_long *res_ptr = (unsigned long *)pcxl_res_map; in dump_resmap()
64 u_long i = 0; in dump_resmap()
234 idx = (int)((u_long)res_ptr - (u_long)pcxl_res_map); \
252 u_long mask, flags; in pcxl_alloc_range()
255 mask = (u_long) -1L; in pcxl_alloc_range()
307 u_long mask, flags; in pcxl_free_range()
311 mask = (u_long) -1L; in pcxl_free_range()
341 u_long i = 0; in proc_pcxl_dma_show()
342 unsigned long *res_ptr = (u_long *)pcxl_res_map; in proc_pcxl_dma_show()
363 for(; i < (pcxl_res_size / sizeof(u_long)); ++i, ++res_ptr) { in proc_pcxl_dma_show()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Ddc2114x.c146 static void sendto_srom(struct eth_device* dev, u_int command, u_long addr);
147 static int getfrom_srom(struct eth_device* dev, u_long addr);
148 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr,int cmd,int cmd_len);
149 static int do_read_eeprom(struct eth_device *dev,u_long ioaddr,int location,int addr_len);
152 static int write_srom(struct eth_device *dev, u_long ioaddr, int index, int new_value);
156 static int read_srom(struct eth_device *dev, u_long ioaddr, int index);
175 static int INL(struct eth_device* dev, u_long addr) in INL()
177 return le32_to_cpu(*(volatile u_long *)(addr + dev->iobase)); in INL()
180 static void OUTL(struct eth_device* dev, int command, u_long addr) in OUTL()
182 *(volatile u_long *)(addr + dev->iobase) = cpu_to_le32(command); in OUTL()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c84 static inline map_word build_map_word(u_long myword) in build_map_word()
120 static inline u_long ow_reg_add(struct map_info *map, u_long offset) in ow_reg_add()
122 u_long val = 0; in ow_reg_add()
163 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op()
164 u_long cmd_data, u_long cmd_add, u_long cmd_mpr, u_char *buf) in lpddr2_nvm_do_op()
170 u_long i, status_reg, prg_buff_ofs; in lpddr2_nvm_do_op()
237 u_long add, end_add; in lpddr2_nvm_do_block_op()
321 u_long add, current_len, tot_len, target_len, my_data; in lpddr2_nvm_write()
351 (u_long) mtd->writesize); in lpddr2_nvm_write()
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A Dlayer2.h17 u_long options;
46 u_long flag;
84 u_long, int, int);
85 extern int tei_l2(struct layer2 *, u_int, u_long arg);
89 extern int l2_tei(struct layer2 *, u_int, u_long arg);
/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A Dcore_polaris.h44 u_long psc_status;
45 u_long psc_pcictl0;
46 u_long psc_pcictl1;
47 u_long psc_pcictl2;
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Drfd_ftl.c68 u_long offset;
87 u_long *sector_map;
91 static int rfd_ftl_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf);
193 part->sector_map = vmalloc(array_size(sizeof(u_long), in scan_header()
243 static int rfd_ftl_readsect(struct mtd_blktrans_dev *dev, u_long sector, char *buf) in rfd_ftl_readsect()
246 u_long addr; in rfd_ftl_readsect()
322 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents()
355 u_long addr; in move_block_contents()
410 static int reclaim_block(struct partition *part, u_long *old_sector) in reclaim_block()
506 static int find_writable_block(struct partition *part, u_long *old_sector) in find_writable_block()
[all …]

123456789