Home
last modified time | relevance | path

Searched refs:u_char (Results 1 – 200 of 344) sorted by relevance

12

/linux-4.4.14/arch/m68k/include/asm/
Datarihw.h168 u_char pad1;
169 u_char bas_hi;
170 u_char pad2;
171 u_char bas_md;
172 u_char pad3;
173 u_char volatile vcounthi;
174 u_char pad4;
175 u_char volatile vcountmid;
176 u_char pad5;
177 u_char volatile vcountlow;
[all …]
Dmvme147hw.h34 volatile u_char t1_int_cntrl;
35 volatile u_char t1_cntrl;
36 volatile u_char t2_int_cntrl;
37 volatile u_char t2_cntrl;
38 volatile u_char ac_fail;
39 volatile u_char watchdog;
40 volatile u_char lpt_intr;
41 volatile u_char lpt_cntrl;
42 volatile u_char dma_intr;
43 volatile u_char dma_cntrl;
[all …]
Damigayle.h39 u_char cardstatus;
40 u_char pad0[0x1000-1];
42 u_char intreq;
43 u_char pad1[0x1000-1];
45 u_char inten;
46 u_char pad2[0x1000-1];
48 u_char config;
49 u_char pad3[0x1000-1];
58 #define gayle_reset (*(volatile u_char *)(zTwoBase+GAYLE_RESET))
60 #define gayle_attribute ((volatile u_char *)(GAYLE_ATTRIBUTE))
Dcommproc.h156 u_char smc_rfcr; /* Rx function code */
157 u_char smc_tfcr; /* Tx function code */
179 #define SMC_EB ((u_char)0x10) /* Set big endian byte order */
206 u_char scent_cfcr;
207 u_char scent_smask;
235 #define SMC_CENT_F ((u_char)0x08)
236 #define SMC_CENT_PE ((u_char)0x04)
237 #define SMC_CENT_S ((u_char)0x02)
353 u_char scc_rfcr; /* Rx function code */
354 u_char scc_tfcr; /* Tx function code */
[all …]
Damipcmcia.h27 static inline u_char pcmcia_read_status(void) in pcmcia_read_status()
32 static inline u_char pcmcia_get_intreq(void) in pcmcia_get_intreq()
37 static inline void pcmcia_ack_int(u_char intreq) in pcmcia_ack_int()
/linux-4.4.14/include/pcmcia/
Dcistpl.h70 u_char sum;
78 u_char nfn;
80 u_char space;
88 u_char ns;
89 u_char ofs[CISTPL_MAX_ALTSTR_STRINGS];
107 u_char ndev;
109 u_char type;
110 u_char wp;
120 u_char flags;
127 u_char major;
[all …]
Dss.h56 u_char Vcc, Vpp;
57 u_char io_irq;
88 u_char map;
89 u_char flags;
95 u_char map;
96 u_char flags;
/linux-4.4.14/drivers/net/ethernet/amd/
Dariadne.h353 volatile u_char PGCR; /* Port General Control Register */
354 u_char Pad1[1];
355 volatile u_char PSRR; /* Port Service Request Register */
356 u_char Pad2[1];
357 volatile u_char PADDR; /* Port A Data Direction Register */
358 u_char Pad3[1];
359 volatile u_char PBDDR; /* Port B Data Direction Register */
360 u_char Pad4[1];
361 volatile u_char PCDDR; /* Port C Data Direction Register */
362 u_char Pad5[1];
[all …]
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dsmc.h88 u_char path_test ; /* ECM path test variable */
89 u_char sb_flag ; /* ECM stuck bypass */
90 u_char DisconnectFlag ; /* jd 05-Aug-1999 Bug #10419
92 u_char ecm_line_state ; /* flag to dispatcher : line states */
108 u_char dup_addr_test ; /* state of dupl. addr. test */
109 u_char da_flag ; /* flag : duplicate address det. */
110 u_char loop_avail ; /* flag : MAC available for loopback */
111 u_char sm_ma_avail ; /* flag : MAC available for SMT */
112 u_char no_flag ; /* flag : ring not operational */
113 u_char bn_flag ; /* flag : MAC reached beacon state */
[all …]
Dfddimib.h24 typedef u_char TimeStamp[8] ;
30 typedef u_char SMTFlag ;
90 u_char fddiPRPMFPasswd[8] ;
110 u_char fddiSBAAvailable ; /* SBA allocatable value */
120 u_char fddiSMTManufacturerData[32] ;
121 u_char fddiSMTUserData[32] ;
127 u_char fddiSMTMac_Ct ;
128 u_char fddiSMTNonMaster_Ct ;
129 u_char fddiSMTMaster_Ct ;
130 u_char fddiSMTAvailablePaths ;
[all …]
Dsba.h39 u_char change_resp_flag ;
40 u_char report_resp_flag ;
41 u_char change_req_flag ;
42 u_char report_req_flag ;
47 u_char deallocate_status ;
48 u_char timer_state ;
68 u_char class ;
69 u_char fddi2 ;
116 u_char sba_available ; /* parsed value after possible check */
129 u_char sync_bw_available ; /* is set if sync bw is allocated */
[all …]
Dsmt.h37 u_char sid_oem[2] ; /* implementation spec. */
41 typedef u_char t_station_id[8] ;
53 u_char smt_class ; /* NIF, SIF ... */
54 u_char smt_type ; /* req., response .. */
140 u_char sde_type ; /* station type */
141 u_char sde_mac_count ; /* number of MACs */
142 u_char sde_non_master ; /* number of A,B or S ports */
143 u_char sde_master ; /* number of S ports on conc. */
155 u_char st_topology ; /* topology */
156 u_char st_dupl_addr ; /* duplicate address detected */
[all …]
Dtargethw.h48 u_char oi_status ; /* Stat: last, present, valid, active */
49 u_char oi_mark[5] ; /* "PID00" .. "PID07" .. */
50 u_char oi_id[4] ; /* id bytes, representation as */
53 u_char oi_sub_id[4] ; /* sub id bytes, representation as */
109 u_char pic_a1 ;
110 u_char pic_21 ;
Dfplustm.h170 u_char mac_fc ;
173 u_char mac_info[0x20] ;
224 u_char n ; /* usage counter */
225 u_char perm ; /* flag: permanent */
Dfddi.h19 u_char a[6] ;
27 u_char mac_info[4478] ;
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_dtlk.h42 u_char rom_version[24]; /* null terminated string */
43 u_char mode; /* 0=Character; 1=Phoneme; 2=Text */
44 u_char punc_level; /* nB; 0-7 */
45 u_char formant_freq; /* nF; 0-9 */
46 u_char pitch; /* nP; 0-99 */
47 u_char speed; /* nS; 0-9 */
48 u_char volume; /* nV; 0-9 */
49 u_char tone; /* nX; 0-2 */
50 u_char expression; /* nE; 0-9 */
51 u_char ext_dict_loaded; /* 1=exception dictionary loaded */
[all …]
Dspeakup.h41 #define IS_WDLM(x) (spk_chartab[((u_char)x)]&B_WDLM)
42 #define IS_CHAR(x, type) (spk_chartab[((u_char)x)]&type)
43 #define IS_TYPE(x, type) ((spk_chartab[((u_char)x)]&type) == type)
52 int spk_set_key_info(const u_char *key_info, u_char *k_buffer);
67 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key);
90 extern const u_char spk_key_defaults[];
97 extern u_char *spk_our_keys[];
101 extern u_char spk_key_buf[600];
Dbuffers.c10 static u_char synth_buffer[SYNTH_BUF_SIZE]; /* guess what this is for! */
11 static u_char *buff_in = synth_buffer;
12 static u_char *buff_out = synth_buffer;
13 static u_char *buffer_end = synth_buffer + SYNTH_BUF_SIZE - 1;
Dspeakup_dectlk.c48 static void read_buff_add(u_char c);
158 static int is_indnum(u_char *ch) in is_indnum()
167 static u_char lastind;
171 u_char rv; in get_index()
178 static void read_buff_add(u_char c) in read_buff_add()
200 lastind = (u_char)ind; in read_buff_add()
208 static u_char ch; in do_catch_up()
209 static u_char last = '\0'; in do_catch_up()
Dmain.c97 static u_char *spk_shift_table;
98 u_char *spk_our_keys[MAX_KEY];
99 u_char spk_key_buf[600];
100 const u_char spk_key_defaults[] = {
245 static u_char spk_lastkey, spk_close_press, keymap_flags;
246 static u_char last_keycode, this_speakup_key;
269 return (u_char) (scr_readw(pos) >> 8); in get_attributes()
432 static void speak_char(u_char ch) in speak_char()
467 static u16 get_char(struct vc_data *vc, u16 *pos, u_char *attribs) in get_char()
553 u_char temp; in get_word()
[all …]
Dkeyhelp.c39 static u_char funcvals[] = {
59 static u_char *state_tbl;
64 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data()
145 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) in spk_handle_help()
149 u_char func, *kp; in spk_handle_help()
Dspk_types.h51 typedef int (*special_func)(struct vc_data *vc, u_char type, u_char ch,
75 u_char w_start, w_enabled;
76 u_char reading_attr, old_attr;
177 void (*read_buff_add)(u_char);
Dspeakup_dtlk.c50 static u_char synth_status;
194 u_char ch; in do_catch_up()
249 u_char ch; in synth_immediate()
251 while ((ch = (u_char)*buf)) { in synth_immediate()
271 u_char ch; in synth_read_tts()
285 u_char *t; in synth_interrogate()
Dspeakup_decext.c39 static inline u_char get_last_char(void) in get_last_char()
41 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
157 u_char ch; in do_catch_up()
158 static u_char last = '\0'; in do_catch_up()
Dvarhandlers.c276 u_char *cp; in spk_set_mask_bits()
280 for (cp = (u_char *)spk_punc_info[3].value; *cp; cp++) in spk_set_mask_bits()
283 cp = (u_char *)input; in spk_set_mask_bits()
298 cp = (u_char *)input; in spk_set_mask_bits()
331 *dest = (u_char)val; in spk_s2uchar()
/linux-4.4.14/arch/x86/math-emu/
Dfpu_proto.h9 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
12 asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign);
78 extern void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr);
79 extern void FPU_copy_to_reg1(FPU_REG const *r, u_char tag);
80 extern void FPU_copy_to_reg0(FPU_REG const *r, u_char tag);
85 extern void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip,
88 extern void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip,
92 extern int FPU_load_store(u_char type, fpu_addr_modes addr_modes,
95 extern int poly_2xm1(u_char sign, FPU_REG * arg, FPU_REG *result);
97 extern void poly_atan(FPU_REG * st0_ptr, u_char st0_tag, FPU_REG *st1_ptr,
[all …]
Dfpu_emu.h83 extern u_char emulating;
125 typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
127 u_char address_size, operand_size, segment;
132 u_char default_mode;
142 extern u_char const data_sizes_16[32];
144 #define register_base ((u_char *) registers )
158 #define signbyte(a) (((u_char *)(a))[9])
193 FPU_REG * answ, unsigned int control_w, u_char sign,
196 FPU_REG * answ, unsigned int control_w, u_char sign,
199 FPU_REG * answ, unsigned int control_w, u_char sign);
[all …]
Dload_store.c37 static u_char const type_table[32] = {
48 u_char const data_sizes_16[32] = {
57 static u_char const data_sizes_32[32] = {
66 int FPU_load_store(u_char type, fpu_addr_modes addr_modes, in FPU_load_store()
71 u_char st0_tag = TAG_Empty; /* This is just to stop a gcc warning. */ in FPU_load_store()
72 u_char loaded_tag; in FPU_load_store()
237 fldenv(addr_modes, (u_char __user *) data_address); in FPU_load_store()
242 frstor(addr_modes, (u_char __user *) data_address); in FPU_load_store()
248 loaded_tag = FPU_load_bcd((u_char __user *) data_address); in FPU_load_store()
279 fstenv(addr_modes, (u_char __user *) data_address); in FPU_load_store()
[all …]
Dfpu_trig.c36 u_char tmptag; in trig_arg()
155 u_char sign; in convert_l2reg()
179 static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_error()
191 static void single_arg_2_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_2_error()
232 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1()
275 static void fptan(FPU_REG *st0_ptr, u_char st0_tag) in fptan()
279 u_char arg_sign = getsign(st0_ptr); in fptan()
354 static void fxtract(FPU_REG *st0_ptr, u_char st0_tag) in fxtract()
357 u_char sign; in fxtract()
447 static void fsqrt_(FPU_REG *st0_ptr, u_char st0_tag) in fsqrt_()
[all …]
Dreg_add_sub.c28 int add_sub_specials(FPU_REG const *a, u_char taga, u_char signa,
29 FPU_REG const *b, u_char tagb, u_char signb,
36 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_add()
40 u_char signb = getsign(b); in FPU_add()
41 u_char taga = FPU_gettag0(); in FPU_add()
42 u_char signa = getsign(a); in FPU_add()
43 u_char saved_sign = getsign(dest); in FPU_add()
132 u_char taga, tagb, signa, signb, saved_sign, sign; in FPU_sub()
270 int add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, in add_sub_specials()
271 FPU_REG const *b, u_char tagb, u_char signb, in add_sub_specials()
[all …]
Dget_address.c42 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))
55 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs))
68 (reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs))
73 u_char ss, index, base; in sib()
78 FPU_get_user(base, (u_char __user *) (*fpu_eip)); /* The SIB byte */ in sib()
122 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment()
136 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address()
208 void __user *FPU_get_address(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address()
211 u_char mod; in FPU_get_address()
293 void __user *FPU_get_address_16(u_char FPU_modrm, unsigned long *fpu_eip, in FPU_get_address_16()
[all …]
Dreg_ld_str.c38 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep()
40 u_char tag; in normalize_no_excep()
297 int FPU_load_bcd(u_char __user *s) in FPU_load_bcd()
301 u_char bcd; in FPU_load_bcd()
336 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, in FPU_store_extended()
351 (unsigned long __user *)((u_char __user *) d + 4)); in FPU_store_extended()
353 (unsigned short __user *)((u_char __user *) d + in FPU_store_extended()
378 int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag, double __user *dfloat) in FPU_store_double()
563 int FPU_store_single(FPU_REG *st0_ptr, u_char st0_tag, float __user *single) in FPU_store_single()
752 int FPU_store_int64(FPU_REG *st0_ptr, u_char st0_tag, long long __user *d) in FPU_store_int64()
[all …]
Dfpu_entry.c81 static u_char const type_table[64] = {
94 u_char emulating = 0;
97 static int valid_prefix(u_char *Byte, u_char __user ** fpu_eip,
102 u_char FPU_modrm, byte1; in math_emulate()
108 u_char loaded_tag, st0_tag; in math_emulate()
169 if (!valid_prefix(&byte1, (u_char __user **) & FPU_EIP, in math_emulate()
209 FPU_get_user(FPU_modrm, (u_char __user *) FPU_EIP); in math_emulate()
467 u_char instr_index = (FPU_modrm & 0x38) | (byte1 & 7); in math_emulate()
533 if (valid_prefix(&byte1, (u_char __user **) & FPU_EIP, in math_emulate()
548 static int valid_prefix(u_char *Byte, u_char __user **fpu_eip, in valid_prefix()
[all …]
Dpoly_l2.c20 static void log2_kernel(FPU_REG const *arg, u_char argsign,
26 void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign) in poly_l2()
30 u_char sign, argsign; in poly_l2()
105 int poly_l2p1(u_char sign0, u_char sign1, in poly_l2p1()
108 u_char tag; in poly_l2p1()
181 static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig *accum_result, in log2_kernel()
Dfpu_etc.c19 static void fchs(FPU_REG *st0_ptr, u_char st0tag) in fchs()
28 static void fabs(FPU_REG *st0_ptr, u_char st0tag) in fabs()
37 static void ftst_(FPU_REG *st0_ptr, u_char st0tag) in ftst_()
88 static void fxam(FPU_REG *st0_ptr, u_char st0tag) in fxam()
Derrors.c39 u_char byte1, FPU_modrm;
47 FPU_get_user(byte1, (u_char __user *) address);
54 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address);
87 u_char byte1, FPU_modrm; in FPU_printall()
96 FPU_get_user(byte1, (u_char __user *) address); in FPU_printall()
107 FPU_get_user(FPU_modrm, 1 + (u_char __user *) address); in FPU_printall()
179 u_char tagi = FPU_gettagi(i); in FPU_printall()
411 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN()
416 u_char taga = FPU_gettagi(deststnr); in real_2op_NaN()
510 asmlinkage __visible int FPU_divide_by_zero(int deststnr, u_char sign) in FPU_divide_by_zero()
Dreg_mul.c29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul()
33 u_char taga = FPU_gettagi(deststnr); in FPU_mul()
34 u_char saved_sign = getsign(dest); in FPU_mul()
35 u_char sign = (getsign(a) ^ getsign(b)); in FPU_mul()
Dfpu_tags.c94 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi()
100 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1()
106 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0()
Dfpu_aux.c105 u_char tag; in fld_i_()
137 u_char st0_tag = (tag_word >> (regnr * 2)) & 3; in fxch_i()
138 u_char sti_tag = (tag_word >> (regnri * 2)) & 3; in fxch_i()
181 u_char sti_tag = (tag_word >> (regnri * 2)) & 3; in fcmovCC()
Dpoly_atan.c51 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan()
52 FPU_REG *st1_ptr, u_char st1_tag) in poly_atan()
54 u_char transformed, inverted, sign1, sign2; in poly_atan()
58 u_char tag; in poly_atan()
Dfpu_system.h64 #define no_ip_update (*(u_char *)&(I387->soft.no_update))
65 #define FPU_rm (*(u_char *)&(I387->soft.rm))
69 #define access_limit (*(u_char *)&(I387->soft.alimit))
Dpoly_2xm1.c52 int poly_2xm1(u_char sign, FPU_REG *arg, FPU_REG *result) in poly_2xm1()
57 u_char tag; in poly_2xm1()
Dreg_compare.c26 u_char st0_tag; in compare()
29 u_char st0_sign, signb = getsign(b); in compare()
169 int FPU_compare_st_data(FPU_REG const *loaded_data, u_char loaded_tag) in FPU_compare_st_data()
/linux-4.4.14/drivers/isdn/hisax/
Dhisax.h308 u_char cause;
309 u_char loc;
310 u_char diag[6];
315 u_char moderate; /* transfer mode and rate (bearer octet 4) */
330 { u_char uuuu; /* only as dummy */
354 { u_char uuuu; /* only when euro not defined, avoiding empty union */
368 u_char *rcvbuf; /* B-Channel receive Buffer */
369 u_char tsaxr0;
370 u_char tsaxr1;
377 u_char *rcvbuf; /* B-Channel receive Buffer */
[all …]
Dhfc_pci.h191 u_char data[D_FIFO_SIZE]; /* FIFO data space */
192 u_char fill1[0x20A0 - D_FIFO_SIZE]; /* reserved, do not use */
193 u_char f1, f2; /* f pointers */
194 u_char fill2[0x20C0 - 0x20A2]; /* reserved, do not use */
196 u_char fill3[0x4000 - 0x2100]; /* align 16K */
201 u_char f1, f2; /* f pointers */
202 u_char fill[0x2100 - 0x2082]; /* alignment */
212 u_char fill1[0x200];
213 u_char txdat_b1[B_FIFO_SIZE];
217 u_char txdat_b2[B_FIFO_SIZE];
[all …]
Dhisax_isac.h20 u_char mocr;
21 u_char adf2;
24 u_char rcvbuf[MAX_DFRAME_LEN_L1];
30 u_char (*read_isac) (struct isac *, u_char);
31 void (*write_isac) (struct isac *, u_char, u_char);
32 void (*read_isac_fifo) (struct isac *, u_char *, int);
33 void (*write_isac_fifo)(struct isac *, u_char *, int);
Dhisax_fcpcipnp.h15 u_char fill;
16 u_char mode;
17 u_char xml;
18 u_char cmd;
20 u_char cmd;
21 u_char xml;
22 u_char mode;
23 u_char fill;
40 u_char rcvbuf[HSCX_BUFMAX]; /* B-Channel receive Buffer */
Dtelespci.c43 static inline u_char
44 readisac(void __iomem *adr, u_char off) in readisac()
57 return ((u_char)(portdata & ZORAN_PO_DMASK)); in readisac()
61 writeisac(void __iomem *adr, u_char off, u_char data) in writeisac()
76 static inline u_char
77 readhscx(void __iomem *adr, int hscx, u_char off) in readhscx()
89 return ((u_char)(portdata & ZORAN_PO_DMASK)); in readhscx()
93 writehscx(void __iomem *adr, int hscx, u_char off, u_char data) in writehscx()
108 read_fifo_isac(void __iomem *adr, u_char *data, int size) in read_fifo_isac()
121 data[i] = (u_char)(portdata & ZORAN_PO_DMASK); in read_fifo_isac()
[all …]
Dteles0.c30 static inline u_char
31 readisac(void __iomem *adr, u_char off) in readisac()
37 writeisac(void __iomem *adr, u_char off, u_char data) in writeisac()
43 static inline u_char
44 readhscx(void __iomem *adr, int hscx, u_char off) in readhscx()
51 writehscx(void __iomem *adr, int hscx, u_char off, u_char data) in writehscx()
58 read_fifo_isac(void __iomem *adr, u_char *data, int size) in read_fifo_isac()
61 register u_char __iomem *ad = adr + 0x100; in read_fifo_isac()
67 write_fifo_isac(void __iomem *adr, u_char *data, int size) in write_fifo_isac()
70 register u_char __iomem *ad = adr + 0x100; in write_fifo_isac()
[all …]
Dmic.c31 static inline u_char
32 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
34 register u_char ret; in readreg()
42 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
50 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
57 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
65 static u_char
66 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
72 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
78 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Dl3ni1.c130 l3ni1_dummy_return_result(struct PStack *st, int id, u_char *p, u_char nlen) in l3ni1_dummy_return_result()
197 int ident, u_char *p, u_char nlen) in l3ni1_dummy_invoke()
221 int cr, u_char *p) in l3ni1_parse_facility()
428 l3ni1_message(struct l3_process *pc, u_char mt) in l3ni1_message()
431 u_char *p; in l3ni1_message()
441 l3ni1_message_plus_chid(struct l3_process *pc, u_char mt) in l3ni1_message_plus_chid()
445 u_char tmp[16]; in l3ni1_message_plus_chid()
446 u_char *p = tmp; in l3ni1_message_plus_chid()
447 u_char chid; in l3ni1_message_plus_chid()
449 chid = (u_char)(pc->para.bchannel & 0x03) | 0x88; in l3ni1_message_plus_chid()
[all …]
Dteleint.c24 static inline u_char
25 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
27 register u_char ret; in readreg()
43 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
45 register u_char ret; in readfifo()
64 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
66 register u_char ret; in writereg()
81 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
83 register u_char ret; in writefifo()
102 static u_char
[all …]
Dl3_1tr6.c31 l3_1TR6_message(struct l3_process *pc, u_char mt, u_char pd) in l3_1TR6_message()
34 u_char *p; in l3_1TR6_message()
44 l3_1tr6_release_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_release_req()
53 l3_1tr6_invalid(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_invalid()
62 l3_1tr6_error(struct l3_process *pc, u_char *msg, struct sk_buff *skb) in l3_1tr6_error()
71 l3_1tr6_setup_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_req()
74 u_char tmp[128]; in l3_1tr6_setup_req()
75 u_char *p = tmp; in l3_1tr6_setup_req()
76 u_char *teln; in l3_1tr6_setup_req()
77 u_char *eaz; in l3_1tr6_setup_req()
[all …]
Dl3dss1.c131 l3dss1_dummy_return_result(struct PStack *st, int id, u_char *p, u_char nlen) in l3dss1_dummy_return_result()
198 int ident, u_char *p, u_char nlen) in l3dss1_dummy_invoke()
222 int cr, u_char *p) in l3dss1_parse_facility()
499 l3dss1_message(struct l3_process *pc, u_char mt) in l3dss1_message()
502 u_char *p; in l3dss1_message()
512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3dss1_message_cause()
515 u_char tmp[16]; in l3dss1_message_cause()
516 u_char *p = tmp; in l3dss1_message_cause()
533 l3dss1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3dss1_status_send()
535 u_char tmp[16]; in l3dss1_status_send()
[all …]
Ds0box.c22 writereg(unsigned int padr, signed int addr, u_char off, u_char val) { in writereg()
33 static u_char nibtab[] = { 1, 9, 5, 0xd, 3, 0xb, 7, 0xf,
37 static inline u_char
38 readreg(unsigned int padr, signed int addr, u_char off) { in readreg()
39 register u_char n1, n2; in readreg()
55 read_fifo(unsigned int padr, signed int adr, u_char *data, int size) in read_fifo()
58 register u_char n1, n2; in read_fifo()
77 write_fifo(unsigned int padr, signed int adr, u_char *data, int size) in write_fifo()
95 static u_char
96 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
[all …]
Dsaphir.c33 static inline u_char
34 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
36 register u_char ret; in readreg()
44 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
52 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
59 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
67 static u_char
68 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
74 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
80 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Dasuscom.c43 static inline u_char
44 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
46 register u_char ret; in readreg()
54 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
62 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
69 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
77 static u_char
78 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
84 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
90 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Dbkm_a8.c40 static inline u_char
41 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
43 register u_char ret; in readreg()
50 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
60 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
67 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
77 static u_char
78 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
84 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
90 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Dix1_micro.c41 static inline u_char
42 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
44 register u_char ret; in readreg()
52 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
60 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
67 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
75 static u_char
76 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
82 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
88 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Ddiva.c81 static inline u_char
82 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
84 register u_char ret; in readreg()
92 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
100 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
107 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
113 static inline u_char
114 memreadreg(unsigned long adr, u_char off) in memreadreg()
121 memwritereg(unsigned long adr, u_char off, u_char data) in memwritereg()
123 register u_char *p; in memwritereg()
[all …]
Dbkm_a4t.c26 static inline u_char
27 readreg(unsigned int ale, unsigned long adr, u_char off) in readreg()
42 readfifo(unsigned int ale, unsigned long adr, u_char off, u_char *data, int size) in readfifo()
51 writereg(unsigned int ale, unsigned long adr, u_char off, u_char data) in writereg()
62 writefifo(unsigned int ale, unsigned long adr, u_char off, u_char *data, int size) in writefifo()
73 static u_char
74 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
80 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
86 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
92 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
[all …]
Davm_a1p.c61 static inline u_char
62 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
64 u_char ret; in ReadISAC()
73 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
81 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
88 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
94 static inline u_char
95 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) in ReadHSCX()
97 u_char ret; in ReadHSCX()
107 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) in WriteHSCX()
[all …]
Dnetjet.h58 u_char NETjet_ReadIC(struct IsdnCardState *cs, u_char offset);
59 void NETjet_WriteIC(struct IsdnCardState *cs, u_char offset, u_char value);
60 void NETjet_ReadICfifo(struct IsdnCardState *cs, u_char *data, int size);
61 void NETjet_WriteICfifo(struct IsdnCardState *cs, u_char *data, int size);
Davm_a1.c28 static inline u_char
29 readreg(unsigned int adr, u_char off) in readreg()
35 writereg(unsigned int adr, u_char off, u_char data) in writereg()
42 read_fifo(unsigned int adr, u_char *data, int size) in read_fifo()
48 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo()
55 static u_char
56 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
62 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
68 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
74 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
[all …]
Dniccy.c46 static inline u_char readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
48 register u_char ret; in readreg()
55 static inline void readfifo(unsigned int ale, unsigned int adr, u_char off, in readfifo()
56 u_char *data, int size) in readfifo()
62 static inline void writereg(unsigned int ale, unsigned int adr, u_char off, in writereg()
63 u_char data) in writereg()
69 static inline void writefifo(unsigned int ale, unsigned int adr, u_char off, in writefifo()
70 u_char *data, int size) in writefifo()
78 static u_char ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
83 static void WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
[all …]
Dq931.c24 iecpy(u_char *dest, u_char *iestart, int ieoffset) in iecpy()
26 u_char *p; in iecpy()
41 u_char nr;
201 prbits(char *dest, u_char b, int start, int len) in prbits()
217 u_char *
218 skipext(u_char *p) in skipext()
233 u_char nr;
445 prcause(char *dest, u_char *p) in prcause()
447 u_char *end; in prcause()
522 prcause_1tr6(char *dest, u_char *p) in prcause_1tr6()
[all …]
Dsportster.c40 read_fifo(unsigned int adr, u_char *data, int size) in read_fifo()
46 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo()
53 static u_char
54 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
60 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
66 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
72 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
77 static u_char
78 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) in ReadHSCX()
84 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) in WriteHSCX()
[all …]
Dgazel.c44 static inline u_char
51 writereg(unsigned int adr, u_short off, u_char data) in writereg()
58 read_fifo(unsigned int adr, u_char *data, int size) in read_fifo()
64 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo()
69 static inline u_char
72 register u_char ret; in readreg_ipac()
80 writereg_ipac(unsigned int adr, u_short off, u_char data) in writereg_ipac()
88 read_fifo_ipac(unsigned int adr, u_short off, u_char *data, int size) in read_fifo_ipac()
95 write_fifo_ipac(unsigned int adr, u_short off, u_char *data, int size) in write_fifo_ipac()
103 static u_char
[all …]
Dteles3.c28 static inline u_char
29 readreg(unsigned int adr, u_char off) in readreg()
35 writereg(unsigned int adr, u_char off, u_char data) in writereg()
42 read_fifo(unsigned int adr, u_char *data, int size) in read_fifo()
48 write_fifo(unsigned int adr, u_char *data, int size) in write_fifo()
55 static u_char
56 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
62 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
68 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
74 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
[all …]
Delsa.c141 static inline u_char
142 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
144 register u_char ret; in readreg()
152 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
160 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
167 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
175 static u_char
176 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
182 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
188 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Disurf.c36 static u_char
37 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
43 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
49 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
57 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
71 static u_char
72 ReadISAR(struct IsdnCardState *cs, int mode, u_char offset) in ReadISAR()
78 WriteISAR(struct IsdnCardState *cs, int mode, u_char offset, u_char value) in WriteISAR()
87 u_char val; in isurf_interrupt()
132 reset_isurf(struct IsdnCardState *cs, u_char chips) in reset_isurf()
Dsedlbauer.c119 static inline u_char
120 readreg(unsigned int ale, unsigned int adr, u_char off) in readreg()
122 register u_char ret; in readreg()
130 readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in readfifo()
138 writereg(unsigned int ale, unsigned int adr, u_char off, u_char data) in writereg()
145 writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size) in writefifo()
153 static u_char
154 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
160 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
166 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
[all …]
Davm_pci.c77 static u_char
78 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
80 register u_char idx = (offset > 0x2f) ? AVM_ISAC_REG_HIGH : AVM_ISAC_REG_LOW; in ReadISAC()
81 register u_char val; in ReadISAC()
89 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
91 register u_char idx = (offset > 0x2f) ? AVM_ISAC_REG_HIGH : AVM_ISAC_REG_LOW; in WriteISAC()
98 ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size) in ReadISACfifo()
105 WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size) in WriteISACfifo()
112 ReadHDLCPCI(struct IsdnCardState *cs, int chan, u_char offset) in ReadHDLCPCI()
123 WriteHDLCPCI(struct IsdnCardState *cs, int chan, u_char offset, u_int value) in WriteHDLCPCI()
[all …]
Dhfc4s8s_l1.c174 u_char *membase;
175 u_char *hw_membase;
185 u_char r_irq_ctrl;
186 u_char r_ctrl0;
187 volatile u_char r_irq_statech; /* active isdn l1 status */
188 u_char r_irqmsk_statchg; /* enabled isdn status ints */
189 u_char r_irq_fifo_blx[8]; /* fifo status registers */
190 u_char fifo_rx_trans_enables[8]; /* mask for enabled transparent rx fifos */
191 u_char fifo_slow_timer_service[8]; /* mask for fifos needing slower timer service */
192 volatile u_char r_irq_oview; /* contents of overview register */
[all …]
Disar.c25 static const u_char faxmodulation[] = {3, 24, 48, 72, 73, 74, 96, 97, 98, 121, 122, 145, 146};
29 static const u_char *FC1_CMD[] = {"FAE", "FTS", "FRS", "FTM", "FRM", "FTH", "FRH", "CTRL"};
32 static void isar_pump_cmd(struct BCState *bcs, u_char cmd, u_char para);
33 static void ll_deliver_faxstat(struct BCState *bcs, u_char status);
50 sendmsg(struct IsdnCardState *cs, u_char his, u_char creg, u_char len, in sendmsg()
51 u_char *msg) in sendmsg()
90 rcv_mbox(struct IsdnCardState *cs, struct isar_reg *ireg, u_char *msg) in rcv_mbox()
132 waitrecmsg(struct IsdnCardState *cs, u_char *len, in waitrecmsg()
133 u_char *msg, int maxdelay) in waitrecmsg()
156 u_char msg[] = ISAR_MSG_HWVER; in ISARVersion()
[all …]
Dhscx_irq.c44 WriteHSCXCMDR(struct IsdnCardState *cs, int hscx, u_char data) in WriteHSCXCMDR()
55 u_char *ptr; in hscx_empty_fifo()
88 u_char *ptr; in hscx_fill_fifo()
123 hscx_interrupt(struct IsdnCardState *cs, u_char val, u_char hscx) in hscx_interrupt()
125 u_char r; in hscx_interrupt()
225 hscx_int_main(struct IsdnCardState *cs, u_char val) in hscx_int_main()
228 u_char exval; in hscx_int_main()
Dnetjet.c30 u_char
31 NETjet_ReadIC(struct IsdnCardState *cs, u_char offset) in NETjet_ReadIC()
33 u_char ret; in NETjet_ReadIC()
43 NETjet_WriteIC(struct IsdnCardState *cs, u_char offset, u_char value) in NETjet_WriteIC()
52 NETjet_ReadICfifo(struct IsdnCardState *cs, u_char *data, int size) in NETjet_ReadICfifo()
60 NETjet_WriteICfifo(struct IsdnCardState *cs, u_char *data, int size) in NETjet_WriteICfifo()
67 static void fill_mem(struct BCState *bcs, u_int *pos, u_int cnt, int chan, u_char fill) in fill_mem()
90 u_char led; in mode_tiger()
166 static void printframe(struct IsdnCardState *cs, u_char *buf, int count, char *s) { in printframe()
170 u_char *p = buf; in printframe()
[all …]
Djade_irq.c34 WriteJADECMDR(struct IsdnCardState *cs, int jade, int reg, u_char data) in WriteJADECMDR()
45 u_char *ptr; in jade_empty_fifo()
78 u_char *ptr; in jade_fill_fifo()
114 jade_interrupt(struct IsdnCardState *cs, u_char val, u_char jade) in jade_interrupt()
116 u_char r; in jade_interrupt()
203 jade_int_main(struct IsdnCardState *cs, u_char val, int jade) in jade_int_main()
Dhfc_2bds0.c29 dummyf(struct IsdnCardState *cs, u_char *data, int size) in dummyf()
34 static inline u_char
35 ReadReg(struct IsdnCardState *cs, int data, u_char reg) in ReadReg()
37 register u_char ret; in ReadReg()
55 WriteReg(struct IsdnCardState *cs, int data, u_char reg, u_char value) in WriteReg()
71 static u_char
72 readreghfcd(struct IsdnCardState *cs, u_char offset) in readreghfcd()
78 writereghfcd(struct IsdnCardState *cs, u_char offset, u_char value) in writereghfcd()
112 SelFiFo(struct IsdnCardState *cs, u_char FiFo) in SelFiFo()
114 u_char cip; in SelFiFo()
[all …]
Dw6692.c135 u_char *ptr; in W6692_empty_fifo()
165 u_char *ptr; in W6692_fill_fifo()
206 u_char *ptr; in W6692B_empty_fifo()
238 u_char *ptr; in W6692B_fill_fifo()
272 W6692B_interrupt(struct IsdnCardState *cs, u_char bchan) in W6692B_interrupt()
274 u_char val; in W6692B_interrupt()
275 u_char r; in W6692B_interrupt()
405 u_char val, exval, v1; in W6692_interrupt()
933 static u_char
934 ReadW6692(struct IsdnCardState *cs, u_char offset) in ReadW6692()
[all …]
Dnj_u.c19 static u_char dummyrr(struct IsdnCardState *cs, int chan, u_char off) in dummyrr()
24 static void dummywr(struct IsdnCardState *cs, int chan, u_char off, u_char value) in dummywr()
32 u_char val, sval; in netjet_u_interrupt()
Disdnl2.c197 sethdraddr(struct Layer2 *l2, u_char *header, int rsp) in sethdraddr()
199 u_char *ptr = header; in sethdraddr()
229 IsUI(u_char *data) in IsUI()
235 IsUA(u_char *data) in IsUA()
241 IsDM(u_char *data) in IsDM()
247 IsDISC(u_char *data) in IsDISC()
253 IsSFrame(u_char *data, struct PStack *st) in IsSFrame()
255 register u_char d = *data; in IsSFrame()
263 IsSABME(u_char *data, struct PStack *st) in IsSABME()
265 u_char d = data[0] & ~0x10; in IsSABME()
[all …]
Dnj_s.c19 static u_char dummyrr(struct IsdnCardState *cs, int chan, u_char off) in dummyrr()
24 static void dummywr(struct IsdnCardState *cs, int chan, u_char off, u_char value) in dummywr()
32 u_char val, s1val, s0val; in netjet_s_interrupt()
Dipacx.c47 static void bch_int(struct IsdnCardState *cs, u_char hscx);
76 u_char event; in cic_int()
99 u_char cda1_cr; in dch_l2l1()
238 u_char *ptr; in dch_empty_fifo()
274 u_char cmd, *ptr; in dch_fill_fifo()
321 u_char istad, rstad; in dch_int()
511 u_char *ptr, hscx; in bch_empty_fifo()
554 u_char *ptr, *p, hscx; in bch_fill_fifo()
593 bch_int(struct IsdnCardState *cs, u_char hscx) in bch_int()
595 u_char istab; in bch_int()
[all …]
Dst5481.h240 u_char r, w, count, size;
348 u_char flow_event;
452 u_char pipe, ctrl_complete_t complete, void *context);
479 u_char *data; in dump_iso_packet()
Dhfc_sx.c45 static u_char ccd_sp_irqtab[16] = {
49 static u_char ccd_sp_irqtab[16] = {
62 Write_hfc(struct IsdnCardState *cs, u_char regnum, u_char val) in Write_hfc()
68 static inline u_char
69 Read_hfc(struct IsdnCardState *cs, u_char regnum) in Read_hfc()
71 u_char ret; in Read_hfc()
83 fifo_select(struct IsdnCardState *cs, u_char fifo) in fifo_select()
101 reset_fifo(struct IsdnCardState *cs, u_char fifo) in reset_fifo()
117 write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u_char fifo, int trans_max) in write_fifo()
121 u_char f_msk, f1, f2, *src; in write_fifo()
[all …]
Dhfc_2bs0.c25 u_char val; in WaitForBusy()
71 ReadZReg(struct BCState *bcs, u_char reg) in ReadZReg()
88 u_char cip, f1, f2; in hfc_clear_fifo()
146 u_char *ptr; in hfc_empty_fifo()
151 u_char stat, cip; in hfc_empty_fifo()
243 u_char cip; in hfc_fill_fifo()
330 u_char f1, f2, cip; in main_irq_hfc()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h58 u_char v_major; /* 0x00 */
59 u_char v_minor; /* 0x30 */
77 u_char host_id;
78 u_char num_hba; /* 0x04 */
79 u_char num_devices; /* 0x10 */
80 u_char max_scam_devices; /* 0x04 */
81 u_char num_valid_scam_devices; /* 0x00 */
82 u_char flags2;
90 u_char bus_nr; /* PCI bus number */
91 u_char device_fn; /* PCI device/function number << 3*/
[all …]
Dsym_hipd.h383 /*0*/ u_char uval; /* -> SCNTL4 register */
384 /*1*/ u_char sval; /* -> SXFER io register */
385 /*2*/ u_char filler1;
386 /*3*/ u_char wval; /* -> SCNTL3 io register */
436 u_char to_reset;
507 u_char *cb_tags; /* Circular tags buffer */
535 u_char tags_si; /* Current index to tags sum */
543 u_char to_clear;
548 u_char user_flags;
549 u_char curr_flags;
[all …]
Dsym_nvram.c44 static u_char Tekram_boot_delay[7] = {3, 5, 10, 20, 30, 60, 120};
256 static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_set_bit()
283 static void S24C16_start(struct sym_device *np, u_char *gpreg) in S24C16_start()
294 static void S24C16_stop(struct sym_device *np, u_char *gpreg) in S24C16_stop()
304 static void S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, in S24C16_do_bit()
305 u_char *gpreg) in S24C16_do_bit()
319 static void S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_write_ack()
320 u_char *gpcntl) in S24C16_write_ack()
331 static void S24C16_read_ack(struct sym_device *np, u_char *read_bit, u_char *gpreg, in S24C16_read_ack()
332 u_char *gpcntl) in S24C16_read_ack()
[all …]
Dsym53c8xx.h119 u_char burst_order;
120 u_char scsi_led;
121 u_char scsi_diff;
122 u_char irq_mode;
123 u_char scsi_bus_check;
124 u_char host_id;
126 u_char verbose;
127 u_char settle_delay;
128 u_char use_nvram;
Dsym_defs.h53 u_char burst_max; /* log-base-2 of max burst */
54 u_char offset_max;
55 u_char nr_divisor;
56 u_char lp_probe_bit;
479 u_char sel_scntl4; /* C1010 only */
480 u_char sel_sxfer;
481 u_char sel_id;
482 u_char sel_scntl3;
Dsym_hipd.c58 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
66 static void sym_printl_hex(u_char *p, int n) in sym_printl_hex()
73 static void sym_print_msg(struct sym_ccb *cp, char *label, u_char *msg) in sym_print_msg()
81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg()
154 u_char istat = 0; in sym_soft_reset()
245 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock()
482 sym_getsync(struct sym_hcb *np, u_char dt, u_char sfac, u_char *divp, u_char *fakp)
602 static inline void sym_init_burst(struct sym_hcb *np, u_char bc)
686 u_char burst_max;
1130 static void sym_log_hard_error(struct Scsi_Host *shost, u_short sist, u_char dstat)
[all …]
Dsym_glue.h191 u_char settle_time_valid;
214 u_char host_id;
/linux-4.4.14/arch/powerpc/include/asm/
D8xx_immap.h236 u_char vid_vsr;
237 u_char res2;
238 u_char vid_vcmr;
239 u_char res3;
248 u_char res5[0x18];
267 u_char i2c_i2mod;
269 u_char i2c_i2add;
271 u_char i2c_i2brg;
273 u_char i2c_i2com;
275 u_char i2c_i2cer;
[all …]
Dcpm.h59 #define CPMFCR_GBL ((u_char)0x00) /* Flag doesn't exist in CPM1 */
60 #define CPMFCR_TC2 ((u_char)0x00) /* Flag doesn't exist in CPM1 */
61 #define CPMFCR_DTB ((u_char)0x00) /* Flag doesn't exist in CPM1 */
62 #define CPMFCR_BDB ((u_char)0x00) /* Flag doesn't exist in CPM1 */
64 #define CPMFCR_GBL ((u_char)0x20) /* Set memory snooping */
65 #define CPMFCR_TC2 ((u_char)0x04) /* Transfer code 2 value */
66 #define CPMFCR_DTB ((u_char)0x02) /* Use local bus for data when set */
67 #define CPMFCR_BDB ((u_char)0x01) /* Use local bus for BD when set */
69 #define CPMFCR_EB ((u_char)0x10) /* Set big endian byte order */
Dcpm1.h79 u_char smc_rfcr; /* Rx function code */
80 u_char smc_tfcr; /* Tx function code */
104 #define SMC_EB ((u_char)0x10) /* Set big endian byte order */
131 u_char scent_cfcr;
132 u_char scent_smask;
160 #define SMC_CENT_F ((u_char)0x08)
161 #define SMC_CENT_PE ((u_char)0x04)
162 #define SMC_CENT_S ((u_char)0x02)
290 u_char scc_rfcr; /* Rx function code */
291 u_char scc_tfcr; /* Tx function code */
[all …]
Dcpm2.h169 u_char smc_rfcr; /* Rx function code */
170 u_char smc_tfcr; /* Tx function code */
311 u_char scc_rfcr; /* Rx function code */
312 u_char scc_tfcr; /* Tx function code */
330 #define SCC_EB ((u_char) 0x10) /* Set big endian byte order */
331 #define SCC_GBL ((u_char) 0x20) /* Snooping enabled */
633 u_char iic_rfcr; /* Rx function code */
634 u_char iic_tfcr; /* Tx function code */
669 u_char res1[20]; /* pad to 64-byte length */
723 u_char idsr; /* IDMAn event status register */
[all …]
/linux-4.4.14/include/linux/mtd/
Dnand_ecc.h23 void __nand_calculate_ecc(const u_char *dat, unsigned int eccsize,
24 u_char *ecc_code);
29 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
34 int __nand_correct_data(u_char *dat, u_char *read_ecc, u_char *calc_ecc,
40 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dnand_bch.h24 int nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat,
25 u_char *ecc_code);
30 int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc,
31 u_char *calc_ecc);
48 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc()
49 u_char *ecc_code) in nand_bch_calculate_ecc()
Dmtd.h56 u_char state;
115 u_char type;
198 size_t *retlen, u_char *buf);
200 size_t *retlen, const u_char *buf);
202 size_t *retlen, const u_char *buf);
210 size_t len, size_t *retlen, u_char *buf);
214 size_t len, size_t *retlen, u_char *buf);
216 size_t len, size_t *retlen, u_char *buf);
264 u_char *buf);
266 const u_char *buf);
[all …]
Dspi-nor.h176 size_t len, size_t *retlen, u_char *read_buf);
178 size_t len, size_t *retlen, const u_char *write_buf);
/linux-4.4.14/include/linux/
Dmc6821.h25 volatile u_char pra;
26 volatile u_char ddra;
28 u_char pad1[PIA_REG_PADWIDTH];
29 volatile u_char cra;
30 u_char pad2[PIA_REG_PADWIDTH];
32 volatile u_char prb;
33 volatile u_char ddrb;
35 u_char pad3[PIA_REG_PADWIDTH];
36 volatile u_char crb;
37 u_char pad4[PIA_REG_PADWIDTH];
Disdn.h172 u_char cbhup; /* Flag: Reject Call before Callback*/
173 u_char dialstate; /* State for dialing */
174 u_char p_encap; /* Packet encapsulation */
178 u_char l2_proto; /* Layer-2-protocol */
185 u_char l3_proto; /* Layer-3-protocol */
290 u_char profile[ISDN_MODEM_NUMREG]; /* Modem-Regs. Profile 0 */
291 u_char mdmreg[ISDN_MODEM_NUMREG]; /* Modem-Registers */
299 u_char vpar[10]; /* Voice-parameters */
Disdnif.h115 u_char *data;/* pointer to data delivered or send */
375 u_char num[50]; /* Additional Data */
468 int (*writecmd)(const u_char __user *, int, int, int);
476 int (*readstat)(u_char __user *, int, int, int);
DmISDNif.h302 u_char channelmap[MISDN_CHMAP_SIZE];
343 test_channelmap(u_int nr, u_char *map) in test_channelmap()
352 set_channelmap(u_int nr, u_char *map) in set_channelmap()
358 clear_channelmap(u_int nr, u_char *map) in clear_channelmap()
500 u_char channelmap[MISDN_CHMAP_SIZE];
/linux-4.4.14/sound/oss/dmasound/
Ddmasound_q40.c61 static ssize_t q40_ct_law(const u_char __user *userPtr, size_t userCount, in q40_ct_law()
62 u_char frame[], ssize_t *frameUsed, in q40_ct_law()
67 u_char *p = (u_char *) &frame[*frameUsed]; in q40_ct_law()
82 static ssize_t q40_ct_s8(const u_char __user *userPtr, size_t userCount, in q40_ct_s8()
83 u_char frame[], ssize_t *frameUsed, in q40_ct_s8()
87 u_char *p = (u_char *) &frame[*frameUsed]; in q40_ct_s8()
101 static ssize_t q40_ct_u8(const u_char __user *userPtr, size_t userCount, in q40_ct_u8()
102 u_char frame[], ssize_t *frameUsed, in q40_ct_u8()
106 u_char *p = (u_char *) &frame[*frameUsed]; in q40_ct_u8()
117 static ssize_t q40_ctx_law(const u_char __user *userPtr, size_t userCount, in q40_ctx_law()
[all …]
Ddmasound.h150 ssize_t (*ct_ulaw)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
151 ssize_t (*ct_alaw)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
152 ssize_t (*ct_s8)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
153 ssize_t (*ct_u8)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
154 ssize_t (*ct_s16be)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
155 ssize_t (*ct_u16be)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
156 ssize_t (*ct_s16le)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
157 ssize_t (*ct_u16le)(const u_char __user *, size_t, u_char *, ssize_t *, ssize_t);
Ddmasound_atari.c70 static ssize_t ata_ct_law(const u_char __user *userPtr, size_t userCount,
71 u_char frame[], ssize_t *frameUsed,
73 static ssize_t ata_ct_s8(const u_char __user *userPtr, size_t userCount,
74 u_char frame[], ssize_t *frameUsed,
76 static ssize_t ata_ct_u8(const u_char __user *userPtr, size_t userCount,
77 u_char frame[], ssize_t *frameUsed,
79 static ssize_t ata_ct_s16be(const u_char __user *userPtr, size_t userCount,
80 u_char frame[], ssize_t *frameUsed,
82 static ssize_t ata_ct_u16be(const u_char __user *userPtr, size_t userCount,
83 u_char frame[], ssize_t *frameUsed,
[all …]
Ddmasound_paula.c156 static ssize_t ami_ct_s8(const u_char __user *userPtr, size_t userCount, in ami_ct_s8()
157 u_char frame[], ssize_t *frameUsed, ssize_t frameLeft) in ami_ct_s8()
168 u_char *left = &frame[*frameUsed>>1]; in ami_ct_s8()
169 u_char *right = left+write_sq_block_size_half; in ami_ct_s8()
189 static ssize_t funcname(const u_char __user *userPtr, size_t userCount, \
190 u_char frame[], ssize_t *frameUsed, \
196 u_char *p = &frame[*frameUsed]; \
200 u_char data; \
207 u_char *left = &frame[*frameUsed>>1]; \
208 u_char *right = left+write_sq_block_size_half; \
[all …]
/linux-4.4.14/drivers/isdn/divert/
Disdn_divert.h51 u_char si1, si2; /* service indicators, si1=bitmask, si1+2 0 = all */
52 u_char screen; /* screening: 0 = no info, 1 = info, 2 = nfo with nr */
53 u_char callopt; /* option for call handling:
57 u_char action; /* desired action:
65 u_char waittime; /* maximum wait time for proceeding */
79 u_char subcmd; /* 0 = hangup/reject,
89 u_char cfproc; /* cfu = 0, cfb = 1, cfnr = 2 */
91 u_char service; /* basically coded service, 0 = all */
129 extern int deflect_extern_action(u_char, ulong, char *);
130 extern int cf_command(int, int, u_char, char *, u_char, char *, ulong *);
Disdn_divert.c112 u_char proc, char *msn, in cf_command()
113 u_char service, char *fwd_nr, ulong *procid) in cf_command()
205 int deflect_extern_action(u_char cmd, ulong callid, char *to_nr) in deflect_extern_action()
392 u_char accept; in isdn_divert_icall()
552 static int put_address(char *st, u_char *p, int len) in put_address()
554 u_char retval = 0; in put_address()
555 u_char adr_typ = 0; /* network standard */ in put_address()
598 u_char n, n1; in interrogate_success()
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfc_pci.h191 u_char data[D_FIFO_SIZE]; /* FIFO data space */
192 u_char fill1[0x20A0 - D_FIFO_SIZE]; /* reserved, do not use */
193 u_char f1, f2; /* f pointers */
194 u_char fill2[0x20C0 - 0x20A2]; /* reserved, do not use */
197 u_char fill3[0x4000 - 0x2100]; /* align 16K */
202 u_char f1, f2; /* f pointers */
203 u_char fill[0x2100 - 0x2082]; /* alignment */
213 u_char fill1[0x200];
214 u_char txdat_b1[B_FIFO_SIZE];
217 u_char txdat_b2[B_FIFO_SIZE];
[all …]
Dhfc_multi.h65 u_char r_ctrl;
66 u_char r_irq_ctrl;
67 u_char r_cirm;
68 u_char r_ram_sz;
69 u_char r_pcm_md0;
70 u_char r_irqmsk_misc;
71 u_char r_dtmf;
72 u_char r_st_sync;
73 u_char r_sci_msk;
74 u_char r_tx0, r_tx1;
[all …]
Dhfc_multi_8xx.h18 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, in HFC_outb_embsd()
21 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val) in HFC_outb_embsd()
29 static u_char
31 HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inb_embsd()
33 HFC_inb_embsd(struct hfc_multi *hc, u_char reg) in HFC_inb_embsd()
43 HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inw_embsd()
45 HFC_inw_embsd(struct hfc_multi *hc, u_char reg) in HFC_inw_embsd()
69 write_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) in write_fifo_embsd()
83 read_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) in read_fifo_embsd()
89 *data = (u_char)(*hc->xhfc_memdata); in read_fifo_embsd()
[all …]
Dhfcpci.c138 u_char subtype;
139 u_char chanlimit;
140 u_char initdone;
162 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); in disable_hwirq()
208 u_char val; in reset_hfcpci()
337 u_char fifo_state; in hfcpci_clear_fifo_rx()
366 u_char fifo_state; in hfcpci_clear_fifo_tx()
406 u_char *bdata, int count) in hfcpci_empty_bfifo()
408 u_char *ptr, *ptr1, new_f2; in hfcpci_empty_bfifo()
470 u_char *ptr, *ptr1; in receive_dmsg()
[all …]
Dhfcmulti.c289 HFC_outb_pcimem(struct hfc_multi *hc, u_char reg, u_char val, in HFC_outb_pcimem()
292 HFC_outb_pcimem(struct hfc_multi *hc, u_char reg, u_char val) in HFC_outb_pcimem()
297 static u_char
299 HFC_inb_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inb_pcimem()
301 HFC_inb_pcimem(struct hfc_multi *hc, u_char reg) in HFC_inb_pcimem()
308 HFC_inw_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inw_pcimem()
310 HFC_inw_pcimem(struct hfc_multi *hc, u_char reg) in HFC_inw_pcimem()
329 HFC_outb_regio(struct hfc_multi *hc, u_char reg, u_char val, in HFC_outb_regio()
332 HFC_outb_regio(struct hfc_multi *hc, u_char reg, u_char val) in HFC_outb_regio()
338 static u_char
[all …]
/linux-4.4.14/include/video/
Dsa1100fb.h37 u_char bpp;
38 u_char hsync_len;
39 u_char left_margin;
40 u_char right_margin;
42 u_char vsync_len;
43 u_char upper_margin;
44 u_char lower_margin;
45 u_char sync;
/linux-4.4.14/include/linux/platform_data/
Dvideo-pxafb.h74 u_char bpp;
81 u_char hsync_len;
82 u_char left_margin;
83 u_char right_margin;
85 u_char vsync_len;
86 u_char upper_margin;
87 u_char lower_margin;
88 u_char sync;
/linux-4.4.14/drivers/pcmcia/
Dcistpl.c35 static const u_char mantissa[] = {
146 u_char flags = ICTRL0_COMMON|ICTRL0_AUTOINC|ICTRL0_BYTEGRAN; in pcmcia_read_cis_mem()
204 *(u_char *)(ptr+0), *(u_char *)(ptr+1), in pcmcia_read_cis_mem()
205 *(u_char *)(ptr+2), *(u_char *)(ptr+3)); in pcmcia_read_cis_mem()
228 u_char flags = ICTRL0_COMMON|ICTRL0_AUTOINC|ICTRL0_BYTEGRAN; in pcmcia_write_cis_mem()
477 u_char link[5]; in follow_link()
525 u_char link[2], tmp; in pccard_get_next_tuple()
663 u_char scale; in parse_device()
664 u_char *p, *q; in parse_device()
666 p = (u_char *)tuple->TupleData; in parse_device()
[all …]
Dtcic.c106 u_char last_sstat;
107 u_char id;
124 static u_char tcic_getb(u_char reg) in tcic_getb()
126 u_char val = inb(tcic_base+reg); in tcic_getb()
131 static u_short tcic_getw(u_char reg) in tcic_getw()
138 static void tcic_setb(u_char reg, u_char data) in tcic_setb()
144 static void tcic_setw(u_char reg, u_short data) in tcic_setw()
156 static void tcic_setl(u_char reg, u_int data) in tcic_setl()
165 static void tcic_aux_setb(u_short reg, u_char data) in tcic_aux_setb()
167 u_char mode = (tcic_getb(TCIC_MODE) & TCIC_MODE_PGMMASK) | reg; in tcic_aux_setb()
[all …]
Di82365.c136 u_char misc1, misc2;
137 u_char timer[6];
141 u_char ctl, ema;
150 u_char cs_irq, intr;
217 static u_char i365_get(u_short sock, u_short reg) in i365_get()
223 u_char val; in i365_get()
231 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set()
237 u_char val = I365_REG(socket[sock].psock, reg); in i365_set()
243 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset()
245 u_char d = i365_get(sock, reg); in i365_bset()
[all …]
Dm32r_pcc.c57 u_char cs_irq, intr;
60 u_char io_win;
61 u_char mem_win;
63 u_char last_iodbex;
65 u_char last_iosize;
477 u_char map; in _pcc_set_io_map()
493 u_char map = mem->map;
559 dummy_readbuf = *(u_char *)(addr + KSEG1);
Dvrc4173_cardu.c201 static inline uint8_t set_Vcc_value(u_char Vcc) in set_Vcc_value()
213 static inline uint8_t set_Vpp_value(u_char Vpp) in set_Vpp_value()
252 u_char map; in cardu_get_io_map()
277 u_char map; in cardu_set_io_map()
310 u_char map; in cardu_get_mem_map()
345 u_char map; in cardu_set_mem_map()
Dm32r_cfc.c49 u_char cs_irq1, cs_irq2, intr;
52 u_char io_win;
53 u_char mem_win;
55 u_char last_iodbex;
520 u_char map; in _pcc_set_io_map()
536 u_char map = mem->map; in _pcc_set_mem_map()
/linux-4.4.14/tools/power/cpupower/debug/i386/
Ddump_psb.c42 u_char version;
43 u_char flags;
45 u_char res1;
46 u_char numpst;
51 u_char fsb;
52 u_char maxfid;
53 u_char startvid;
54 u_char numpstates;
/linux-4.4.14/drivers/mtd/nand/
Dau1550nd.c31 void (*write_byte)(struct mtd_info *, u_char);
40 static u_char au_read_byte(struct mtd_info *mtd) in au_read_byte()
43 u_char ret = readb(this->IO_ADDR_R); in au_read_byte()
55 static void au_write_byte(struct mtd_info *mtd, u_char byte) in au_write_byte()
68 static u_char au_read_byte16(struct mtd_info *mtd) in au_read_byte16()
71 u_char ret = (u_char) cpu_to_le16(readw(this->IO_ADDR_R)); in au_read_byte16()
83 static void au_write_byte16(struct mtd_info *mtd, u_char byte) in au_write_byte16()
112 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf()
131 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf()
150 static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf16()
[all …]
Domap2.c139 static u_char bch16_vector[] = {0xf5, 0x24, 0x1c, 0xd0, 0x61, 0xb3, 0xf1, 0x55,
143 static u_char bch8_vector[] = {0xf3, 0xdb, 0x14, 0x16, 0x8b, 0xd2, 0xbe, 0xcc,
145 static u_char bch4_vector[] = {0x00, 0x6b, 0x31, 0xdd, 0x41, 0xbc, 0x10};
170 u_char *buf;
271 static void omap_read_buf8(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf8()
284 static void omap_write_buf8(struct mtd_info *mtd, const u_char *buf, int len) in omap_write_buf8()
288 u_char *p = (u_char *)buf; in omap_write_buf8()
307 static void omap_read_buf16(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf16()
320 static void omap_write_buf16(struct mtd_info *mtd, const u_char * buf, int len) in omap_write_buf16()
345 static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len) in omap_read_buf_pref()
[all …]
Dams-delta.c65 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) in ams_delta_write_byte()
77 static u_char ams_delta_read_byte(struct mtd_info *mtd) in ams_delta_read_byte()
79 u_char res; in ams_delta_read_byte()
92 static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_write_buf()
101 static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ams_delta_read_buf()
Ddavinci_nand.c178 const u_char *dat, u_char *ecc_code) in nand_davinci_calculate_1bit()
185 ecc_code[0] = (u_char)(ecc24); in nand_davinci_calculate_1bit()
186 ecc_code[1] = (u_char)(ecc24 >> 8); in nand_davinci_calculate_1bit()
187 ecc_code[2] = (u_char)(ecc24 >> 16); in nand_davinci_calculate_1bit()
192 static int nand_davinci_correct_1bit(struct mtd_info *mtd, u_char *dat, in nand_davinci_correct_1bit()
193 u_char *read_ecc, u_char *calc_ecc) in nand_davinci_correct_1bit()
271 const u_char *dat, u_char *ecc_code) in nand_davinci_calculate_4bit()
308 u_char *data, u_char *ecc_code, u_char *null) in nand_davinci_correct_4bit()
Ddiskonchip.c64 u_char ChipID;
65 u_char CDSNControl;
79 static u_char empty_read_syndrome[6] = { 0x26, 0xff, 0x6d, 0x47, 0x73, 0x7a };
83 static u_char empty_write_ecc[6] = { 0x4b, 0x00, 0xe2, 0x0e, 0x93, 0xf7 };
300 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte()
312 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte()
317 u_char ret; in doc2000_read_byte()
327 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf()
344 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf()
359 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword()
[all …]
Dbf5xx_nand.c225 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256()
226 u_char *read_ecc, u_char *calc_ecc) in bf5xx_nand_correct_data_256()
233 u_char data; in bf5xx_nand_correct_data_256()
304 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data()
305 u_char *read_ecc, u_char *calc_ecc) in bf5xx_nand_correct_data()
329 const u_char *dat, u_char *ecc_code) in bf5xx_nand_calculate_ecc()
Ds3c2410.c479 static int s3c2410_nand_correct_data(struct mtd_info *mtd, u_char *dat, in s3c2410_nand_correct_data()
480 u_char *read_ecc, u_char *calc_ecc) in s3c2410_nand_correct_data()
586 static int s3c2410_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in s3c2410_nand_calculate_ecc()
587 u_char *ecc_code) in s3c2410_nand_calculate_ecc()
600 static int s3c2412_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in s3c2412_nand_calculate_ecc()
601 u_char *ecc_code) in s3c2412_nand_calculate_ecc()
615 static int s3c2440_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in s3c2440_nand_calculate_ecc()
616 u_char *ecc_code) in s3c2440_nand_calculate_ecc()
635 static void s3c2410_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in s3c2410_nand_read_buf()
641 static void s3c2440_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in s3c2440_nand_read_buf()
[all …]
Dcs553x_nand.c98 static void cs553x_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cs553x_read_buf()
110 static void cs553x_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cs553x_write_buf()
128 static void cs553x_write_byte(struct mtd_info *mtd, u_char byte) in cs553x_write_byte()
170 static int cs_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) in cs_calculate_ecc()
Dcmx270_nand.c54 static u_char cmx270_read_byte(struct mtd_info *mtd) in cmx270_read_byte()
61 static void cmx270_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cmx270_write_buf()
70 static void cmx270_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cmx270_read_buf()
Dtmio_nand.c225 static u_char tmio_nand_read_byte(struct mtd_info *mtd) in tmio_nand_read_byte()
245 tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in tmio_nand_write_buf()
252 static void tmio_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in tmio_nand_read_buf()
268 static int tmio_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in tmio_nand_calculate_ecc()
269 u_char *ecc_code) in tmio_nand_calculate_ecc()
Dmxc_nand.c154 int (*correct_data)(struct mtd_info *mtd, u_char *dat,
155 u_char *read_ecc, u_char *calc_ecc);
663 static int mxc_nand_correct_data_v1(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v1()
664 u_char *read_ecc, u_char *calc_ecc) in mxc_nand_correct_data_v1()
684 static int mxc_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat, in mxc_nand_correct_data_v2_v3()
685 u_char *read_ecc, u_char *calc_ecc) in mxc_nand_correct_data_v2_v3()
717 static int mxc_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in mxc_nand_calculate_ecc()
718 u_char *ecc_code) in mxc_nand_calculate_ecc()
723 static u_char mxc_nand_read_byte(struct mtd_info *mtd) in mxc_nand_read_byte()
763 const u_char *buf, int len) in mxc_nand_write_buf()
[all …]
Dpasemi_nand.c46 static void pasemi_read_buf(struct mtd_info *mtd, u_char *buf, int len) in pasemi_read_buf()
58 static void pasemi_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in pasemi_write_buf()
Dsharpsl.c97 static int sharpsl_nand_calculate_ecc(struct mtd_info *mtd, const u_char * dat, u_char * ecc_code) in sharpsl_nand_calculate_ecc()
/linux-4.4.14/drivers/video/fbdev/
Dsa1100fb.h42 u_char * map_cpu;
45 u_char * screen_cpu;
59 volatile u_char state;
60 volatile u_char task_state;
Dpxafb.h143 volatile u_char state;
144 volatile u_char task_state;
Dcyber2000fb.c81 u_char mem_ctl1;
82 u_char mem_ctl2;
83 u_char mclk_mult;
84 u_char mclk_div;
88 u_char ramdac_ctrl;
89 u_char ramdac_powerdown;
422 u_char clock_mult;
423 u_char clock_div;
424 u_char extseqmisc;
425 u_char co_pixfmt;
[all …]
/linux-4.4.14/drivers/isdn/act2000/
Dact2000_isa.c67 u_char istatus; in act2000_isa_interrupt()
197 act2000_isa_writeb(act2000_card *card, u_char data) in act2000_isa_writeb()
199 u_char timeout = 40; in act2000_isa_writeb()
214 act2000_isa_readb(act2000_card *card, u_char *data) in act2000_isa_readb()
216 u_char timeout = 40; in act2000_isa_readb()
233 u_char c; in act2000_isa_receive()
361 u_char *p = (u_char *)&fid; in act2000_isa_getid()
401 u_char *b; in act2000_isa_download()
402 u_char __user *p; in act2000_isa_download()
403 u_char *buf; in act2000_isa_download()
Dact2000.h154 u_char ptype; /* Protocol type (1TR6 or Euro) */
155 u_char bus; /* Cardtype (ISA, MCA, PCMCIA) */
164 u_char *ack_msg; /* Ptr to User Data in User skb */
/linux-4.4.14/drivers/scsi/
Dncr53c8xx.c1225 /*2*/ u_char sval;
1226 /*3*/ u_char minsync;
1227 /*0*/ u_char wval;
1228 /*1*/ u_char widedone;
1229 /*2*/ u_char quirks;
1230 /*3*/ u_char maxoffs;
1232 /*0*/ u_char minsync;
1233 /*1*/ u_char sval;
1235 /*0*/ u_char maxoffs;
1236 /*1*/ u_char quirks;
[all …]
Dch.c236 u_char cmd[12]; in ch_read_element_status()
237 u_char *buffer; in ch_read_element_status()
279 u_char cmd[6]; in ch_init_elem()
293 u_char cmd[10], data[16]; in ch_readconfig()
294 u_char *buffer; in ch_readconfig()
422 u_char cmd[10]; in ch_position()
441 u_char cmd[12]; in ch_move()
463 u_char cmd[12]; in ch_exchange()
503 int alternate, int clear, u_char *tag) in ch_set_voltag()
505 u_char cmd[12]; in ch_set_voltag()
[all …]
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dde4x5.c511 u_char *gep; /* Start of GEP sequence block in SROM */
512 u_char *rst; /* Start of reset sequence in SROM */
523 u_char mc; /* Media Code */
524 u_char ext; /* csr13-15 valid when set */
853 u_char *rst; /* Pointer to Type 5 reset info */
854 u_char ibn; /* Infoblock number */
878 u_char addr[ETH_ALEN];
958 static short srom_rd(u_long address, u_char offset);
961 static void srom_address(u_int command, u_long address, u_char offset);
969 static void srom_exec(struct net_device *dev, u_char *p);
[all …]
/linux-4.4.14/arch/powerpc/platforms/86xx/
Dmpc86xx_hpcn.c48 u_char bus, u_char devfn);
51 u_char bus, u_char devfn) in mpc86xx_exclude_device()
/linux-4.4.14/drivers/mtd/chips/
Dmap_absent.c29 static int map_absent_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
30 static int map_absent_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
71 static int map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *b… in map_absent_read()
76 …nt map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) in map_absent_write()
Dmap_rom.c18 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
19 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
83 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read()
97 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char in maprom_write()
Dmap_ram.c18 static int mapram_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
19 static int mapram_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
99 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read()
108 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char in mapram_write()
Dcfi_cmdset_0002.c52 static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
53 static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
54 static int cfi_amdstd_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
65 static int cfi_amdstd_secsi_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
67 size_t *, u_char *);
69 size_t *, u_char *);
71 size_t *, u_char *);
75 size_t *retlen, const u_char *buf);
1105 …int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) in do_read_onechip()
1137 static int cfi_amdstd_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *… in cfi_amdstd_read()
[all …]
Dcfi_cmdset_0001.c61 static int cfi_intelext_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
62 static int cfi_intelext_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
63 static int cfi_intelext_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
72 static int cfi_intelext_read_fact_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
73 static int cfi_intelext_read_user_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
74 static int cfi_intelext_write_user_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
1448 …int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) in do_read_onechip()
1480 static int cfi_intelext_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char in cfi_intelext_read()
1592 …elext_write_words (struct mtd_info *mtd, loff_t to , size_t len, size_t *retlen, const u_char *buf) in cfi_intelext_write_words()
1890 size_t len, size_t *retlen, const u_char *buf) in cfi_intelext_write_buffers()
[all …]
/linux-4.4.14/drivers/isdn/i4l/
Disdn_common.h39 extern int isdn_readbchan(int, int, u_char *, u_char *, int, wait_queue_head_t *);
46 extern void isdn_dumppkt(char *, u_char *, int, int);
Disdn_audio.h44 extern void isdn_audio_put_dle_code(modem_info *, u_char);
/linux-4.4.14/drivers/cpufreq/
Dsa1110-cpufreq.c37 u_char rows; /* bits */
38 u_char cas_latency; /* cycles */
39 u_char tck; /* clock cycle time (ns) */
40 u_char trcd; /* activate to r/w (ns) */
41 u_char trp; /* precharge to activate (ns) */
42 u_char twr; /* write recovery time (ns) */
/linux-4.4.14/arch/m68k/mvme16x/
Dconfig.c125 #define pcc2chip ((volatile u_char *)0xfff42000)
218 volatile unsigned char *base_addr = (u_char *)CD2401_ADDR; in mvme16x_cons_write()
219 volatile u_char sink; in mvme16x_cons_write()
220 u_char ier; in mvme16x_cons_write()
222 u_char do_lf = 0; in mvme16x_cons_write()
228 base_addr[CyCAR] = (u_char)port; in mvme16x_cons_write()
/linux-4.4.14/drivers/net/fddi/skfp/
Dsmtinit.c30 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr);
39 extern u_char oem_id[] ;
68 int init_smt(struct s_smc *smc, u_char *mac_addr) in init_smt()
Ddrvfbi.c62 const u_char oem_id[] = "xPOS_ID:xxxx" ;
64 const u_char oem_id[] = OEM_ID ;
92 u_char rev_id ; in card_start()
284 void read_address(struct s_smc *smc, u_char *mac_addr) in read_address()
323 void init_board(struct s_smc *smc, u_char *mac_addr) in init_board()
Dsrf.c49 u_char code ;
50 u_char index ;
51 u_char n ;
80 static u_char fail_safe = FALSE ; in smt_init_evc()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dmpc85xx_ds.c117 u_char bus, u_char devfn);
122 u_char bus, u_char devfn) in mpc85xx_exclude_device()
Dmpc85xx_cds.c75 u_char bus, u_char devfn) in mpc85xx_exclude_device()
89 u_char tmp; in mpc85xx_cds_restart()
119 u_char c; in mpc85xx_cds_pci_irq_fixup()
Dmpc85xx_ads.c41 u_char bus, u_char devfn) in mpc85xx_exclude_device()
/linux-4.4.14/drivers/mtd/devices/
Dslram.c55 u_char *start;
56 u_char *end;
79 static int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
80 static int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
112 size_t *retlen, u_char *buf) in slram_read()
122 size_t *retlen, const u_char *buf) in slram_write()
Dphram.c38 u_char *start = mtd->priv; in phram_erase()
66 size_t *retlen, u_char *buf) in phram_read()
68 u_char *start = mtd->priv; in phram_read()
76 size_t *retlen, const u_char *buf) in phram_write()
78 u_char *start = mtd->priv; in phram_write()
Dms02-nv.h102 u_char *addr;
104 u_char *uaddr;
Dpowernv_flash.c51 loff_t offset, size_t len, size_t *retlen, u_char *buf) in powernv_flash_async_op()
120 size_t *retlen, u_char *buf) in powernv_flash_read()
136 size_t *retlen, const u_char *buf) in powernv_flash_write()
139 len, retlen, (u_char *)buf); in powernv_flash_write()
Dpmc551.c127 u_char *start;
145 u_char *ptr; in pmc551_erase()
231 size_t * retlen, u_char * buf) in pmc551_read()
237 u_char *ptr; in pmc551_read()
238 u_char *copyto = buf; in pmc551_read()
288 size_t * retlen, const u_char * buf) in pmc551_write()
294 u_char *ptr; in pmc551_write()
295 const u_char *copyfrom = buf; in pmc551_write()
Dbcm47xxsflash.c104 size_t *retlen, u_char *buf) in bcm47xxsflash_read()
120 const u_char *buf) in bcm47xxsflash_write_st()
165 const u_char *buf) in bcm47xxsflash_write_at()
208 size_t *retlen, const u_char *buf) in bcm47xxsflash_write()
Dmtd_dataflash.c236 size_t *retlen, u_char *buf) in dataflash_read()
301 size_t * retlen, const u_char * buf) in dataflash_write()
309 u_char *writebuf = (u_char *) buf; in dataflash_write()
503 loff_t from, size_t len, size_t *retlen, u_char *buf) in dataflash_read_fact_otp()
520 loff_t from, size_t len, size_t *retlen, u_char *buf) in dataflash_read_user_otp()
537 loff_t from, size_t len, size_t *retlen, u_char *buf) in dataflash_write_user_otp()
Dmtdram.c91 size_t *retlen, u_char *buf) in ram_read()
99 size_t *retlen, const u_char *buf) in ram_write()
/linux-4.4.14/drivers/i2c/busses/
Di2c-cpm.c61 u_char rfcr; /* Rx function code */
62 u_char tfcr; /* Tx function code */
117 u_char *txbuf[CPM_MAXBD];
118 u_char *rxbuf[CPM_MAXBD];
192 u_char addr; in cpm_i2c_parse_message()
193 u_char *tb; in cpm_i2c_parse_message()
194 u_char *rb; in cpm_i2c_parse_message()
208 rb = (u_char *) (((ulong) rb + 1) & ~1); in cpm_i2c_parse_message()
253 u_char *tb; in cpm_i2c_check_message()
254 u_char *rb; in cpm_i2c_check_message()
[all …]
/linux-4.4.14/arch/um/drivers/
Dpcap_user.c98 static void handler(u_char *data, const struct pcap_pkthdr *header, in handler()
99 const u_char *packet) in handler()
117 n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); in pcap_user_read()
/linux-4.4.14/drivers/isdn/icn/
Dicn.c85 register u_char s; in icn_shiftout()
86 register u_char c; in icn_shiftout()
89 OUTB_P((u_char) ((val >> s) & 1) ? 0xff : 0, port); in icn_shiftout()
448 icn_parse_status(u_char *status, int channel, icn_card *card) in icn_parse_status()
611 u_char c; in icn_polldchan()
615 u_char *p; in icn_polldchan()
634 u_char vstr[10]; in icn_polldchan()
635 u_char *q = vstr; in icn_polldchan()
801 icn_loadboot(u_char __user *buffer, icn_card *card) in icn_loadboot()
804 u_char *codebuf; in icn_loadboot()
[all …]
Dicn.h151 u_char rcvbuf[ICN_BCH][4096]; /* B-Channel-Receive-Buffers */
166 u_char xmit_lock[ICN_BCH]; /* Semaphore for pollbchan_send()*/
189 static u_char chan2bank[] =
/linux-4.4.14/drivers/net/ppp/
Dppp_mppe.h35 u_char *ptr = ci; /* u_char[4] */ \
57 u_char *ptr = ci; /* u_char[4] */ \
/linux-4.4.14/drivers/isdn/pcbit/
Dlayer2.h191 writeb((u_char) (dt & 0x00ffU), dev->writeptr); in pcbit_writew()
193 writeb((u_char) (dt >> 8), dev->writeptr++); in pcbit_writew()
202 static __inline__ void memcpy_topcbit(struct pcbit_dev *dev, u_char *data, in memcpy_topcbit()
260 static __inline__ void memcpy_frompcbit(struct pcbit_dev *dev, u_char *data, int len) in memcpy_frompcbit()
Dcapi.h56 extern int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause);
62 extern int capi_decode_debug_188(u_char *hdr, ushort hdrlen);
Dlayer2.c58 static void pcbit_l2_active_conf(struct pcbit_dev *dev, u_char info);
123 u_char info; in pcbit_tx_update()
326 u_char cpu, in pcbit_receive()
330 u_char type1; in pcbit_receive()
499 u_char info, in pcbit_irq_handler()
558 pcbit_l2_active_conf(struct pcbit_dev *dev, u_char info) in pcbit_l2_active_conf()
560 u_char state; in pcbit_l2_active_conf()
Dpcbit.h79 u_char w_busy;
80 u_char r_busy;
Ddrv.c60 static int pcbit_stat(u_char __user *buf, int len, int, int);
62 static int pcbit_writecmd(const u_char __user *, int, int, int);
387 static int pcbit_writecmd(const u_char __user *buf, int len, int driver, int channel) in pcbit_writecmd()
391 const u_char *loadbuf; in pcbit_writecmd()
392 u_char *ptr = NULL; in pcbit_writecmd()
393 u_char *cbuf; in pcbit_writecmd()
705 static int pcbit_stat(u_char __user *buf, int len, int driver, int channel) in pcbit_stat()
/linux-4.4.14/drivers/mtd/
Dftl.c425 (u_char *)&header); in prepare_xfer()
441 (u_char *)&ctl); in prepare_xfer()
466 u_char buf[SECTOR_SIZE]; in copy_erase_unit()
489 (u_char *)(part->bam_cache)); in copy_erase_unit()
506 (u_char *)&unit); in copy_erase_unit()
526 (u_char *)buf); in copy_erase_unit()
534 (u_char *)buf); in copy_erase_unit()
556 (u_char *)part->bam_cache); in copy_erase_unit()
565 &retlen, (u_char *)&srcunitswap); in copy_erase_unit()
754 (u_char *)(part->bam_cache)); in find_free()
[all …]
Drfd_ftl.c205 (u_char *)part->header_cache); in scan_header()
254 (u_char *)buf); in rfd_ftl_readsect()
308 &retlen, (u_char *)&magic); in erase_callback()
375 part->header_size, &retlen, (u_char *)map); in move_block_contents()
565 (u_char *)part->header_cache); in find_writable_block()
597 (u_char *)&del); in mark_sector_deleted()
669 (u_char *)buf); in do_writesect()
688 (u_char *)&entry); in do_writesect()
/linux-4.4.14/drivers/isdn/mISDN/
Dlayer2.c400 sethdraddr(struct layer2 *l2, u_char *header, int rsp) in sethdraddr()
402 u_char *ptr = header; in sethdraddr()
439 IsUI(u_char *data) in IsUI()
445 IsUA(u_char *data) in IsUA()
451 IsDM(u_char *data) in IsDM()
457 IsDISC(u_char *data) in IsDISC()
463 IsRR(u_char *data, struct layer2 *l2) in IsRR()
472 IsSFrame(u_char *data, struct layer2 *l2) in IsSFrame()
474 register u_char d = *data; in IsSFrame()
482 IsSABME(u_char *data, struct layer2 *l2) in IsSABME()
[all …]
Dlayer2.h48 u_char A;
49 u_char B;
Dtei.c441 put_tei_msg(struct manager *mgr, u_char m_id, unsigned int ri, int tei) in put_tei_msg()
444 u_char bp[8]; in put_tei_msg()
490 u_char *dp = arg; in tei_id_assign()
519 u_char *dp = arg; in tei_id_test_dup()
543 u_char *dp = arg; in tei_id_denied()
559 u_char *dp = arg; in tei_id_chk_req()
577 u_char *dp = arg; in tei_id_remove()
672 u_char *dp = arg; in tei_assign_req()
707 u_char *dp = arg; in tei_id_chk_resp()
721 u_char *dp = arg; in tei_id_verify_net()
[all …]
/linux-4.4.14/drivers/mtd/onenand/
Donenand_base.c1117 u_char *buf = ops->datbuf; in onenand_mlc_read_ops_nolock()
1118 u_char *oobbuf = ops->oobbuf; in onenand_mlc_read_ops_nolock()
1222 u_char *buf = ops->datbuf; in onenand_read_ops_nolock()
1223 u_char *oobbuf = ops->oobbuf; in onenand_read_ops_nolock()
1356 u_char *buf = ops->oobbuf; in onenand_read_oob_nolock()
1455 size_t *retlen, u_char *buf) in onenand_read()
1578 u_char *buf = ops->oobbuf; in onenand_bbt_read_oob()
1646 static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) in onenand_verify_oob()
1649 u_char *oob_buf = this->oob_buf; in onenand_verify_oob()
1675 static int onenand_verify(struct mtd_info *mtd, const u_char *buf, loff_t addr, size_t len) in onenand_verify()
[all …]
/linux-4.4.14/drivers/isdn/isdnloop/
Disdnloop.c185 isdnloop_parse_status(u_char *status, int channel, isdnloop_card *card) in isdnloop_parse_status()
314 u_char c; in isdnloop_polldchan()
317 u_char *p; in isdnloop_polldchan()
443 isdnloop_readstatus(u_char __user *buf, int len, isdnloop_card *card) in isdnloop_readstatus()
446 u_char __user *p; in isdnloop_readstatus()
528 static u_char ctable_eu[] = {0x00, 0x11, 0x01, 0x12};
529 static u_char ctable_1t[] = {0x00, 0x3b, 0x01, 0x3a};
648 static u_char si2bit[] = {0, 1, 0, 0, 0, 2, 0, 4, 0, 0};
649 static u_char bit2si[] = {1, 5, 7};
966 isdnloop_writecmd(const u_char *buf, int len, int user, isdnloop_card *card) in isdnloop_writecmd()
[all …]
/linux-4.4.14/drivers/mtd/lpddr/
Dlpddr2_nvm.c173 u_long cmd_data, u_long cmd_add, u_long cmd_mpr, u_char *buf) in lpddr2_nvm_do_op()
243 uint64_t len, u_char block_op) in lpddr2_nvm_do_block_op()
308 size_t len, size_t *retlen, u_char *buf) in lpddr2_nvm_read()
326 size_t len, size_t *retlen, const u_char *buf) in lpddr2_nvm_write()
331 u_char *write_buf = (u_char *)buf; in lpddr2_nvm_write()
/linux-4.4.14/drivers/isdn/hysdn/
Dhysdn_boot.c339 u_char *p; in EvalSysrTokData()
340 u_char crc; in EvalSysrTokData()
351 crc = (((u_char) (crc << 1)) + 1) + *p; in EvalSysrTokData()
353 crc = ((u_char) (crc << 1)) + *p; in EvalSysrTokData()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
Dmpc7448_hpc2.c57 u_char bus, u_char devfn) in mpc7448_hpc2_exclude_device()
Dmvme5100.c43 static u_char *restart;
186 out_8((u_char *) restart, 0x01); in mvme5100_restart()
Dholly.c47 int holly_exclude_device(struct pci_controller *hose, u_char bus, u_char devfn) in holly_exclude_device()
/linux-4.4.14/fs/efs/
Defs.h66 u_char di_version; /* version of inode */
67 u_char di_spare; /* spare - used by AFS */
/linux-4.4.14/drivers/dio/
Ddio.c118 u_char prid, secid, i; in dio_find()
200 u_char prid, secid = 0; /* primary, secondary ID bytes */ in dio_init()
201 u_char *va; in dio_init()
/linux-4.4.14/drivers/net/ethernet/8390/
Dpcnet_cs.c116 u_char a0, a1, a2;
209 u_char phy_id;
210 u_char eth_phy, pna_phy;
282 u_char __iomem *base, *virt; in get_hwinfo()
324 u_char prom[32]; in get_prom()
329 u_char value, offset; in get_prom()
378 u_char sum; in get_dl10019()
619 u_char id = inb(dev->base_addr + 0x1a); in pcnet_config()
840 u_char tmp; in set_misc_reg()
983 if ((map->port != (u_char)(-1)) && (map->port != dev->if_port)) { in set_config()
[all …]
/linux-4.4.14/fs/romfs/
Dstorage.c45 u_char buf[16], *p; in romfs_mtd_strnlen()
73 u_char buf[17]; in romfs_mtd_strcmp()
141 u_char *buf, *p; in romfs_blk_strnlen()
/linux-4.4.14/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c258 static unsigned mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg);
259 static void mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg,
420 mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg) in mii_rd()
442 mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg, unsigned data, in mii_wr()
859 u_char tmp; in xirc2ps_config()
980 u_char saved_page; in xirc2ps_interrupt()
1057 u_char *buf = skb_put(skb, pktlen); in xirc2ps_interrupt()
/linux-4.4.14/fs/jffs2/
Dos-linux.h116 int jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char
117 int jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf);
195 size_t *retlen, const u_char *buf);
/linux-4.4.14/arch/powerpc/sysdev/
Dcpm2_pic.c55 static const u_char irq_to_siureg[] = {
68 static const u_char irq_to_siubit[] = {

12