Home
last modified time | relevance | path

Searched refs:addr_t (Results 1 – 25 of 58) sorted by relevance

123

/linux-3.4.99/arch/s390/kernel/
Dptrace.c112 addr_t addr) in __peek_user_per()
116 if (addr == (addr_t) &dummy->cr9) in __peek_user_per()
120 else if (addr == (addr_t) &dummy->cr10) in __peek_user_per()
124 else if (addr == (addr_t) &dummy->cr11) in __peek_user_per()
128 else if (addr == (addr_t) &dummy->bits) in __peek_user_per()
132 else if (addr == (addr_t) &dummy->starting_addr) in __peek_user_per()
135 else if (addr == (addr_t) &dummy->ending_addr) in __peek_user_per()
138 else if (addr == (addr_t) &dummy->perc_atmid) in __peek_user_per()
142 else if (addr == (addr_t) &dummy->address) in __peek_user_per()
145 else if (addr == (addr_t) &dummy->access_id) in __peek_user_per()
[all …]
Dcpcmd.c28 register unsigned long reg2 asm ("2") = (addr_t) cpcmd_buf; in diag8_noresponse()
45 register unsigned long reg2 asm ("2") = (addr_t) cpcmd_buf; in diag8_response()
46 register unsigned long reg3 asm ("3") = (addr_t) response; in diag8_response()
Dvdso.c127 lowcore->paste[4] = (u32)(addr_t) psal; in vdso_alloc_per_cpu()
129 psal[2] = (u32)(addr_t) aste; in vdso_alloc_per_cpu()
132 aste[4] = (u32)(addr_t) psal; in vdso_alloc_per_cpu()
152 psal = (u32 *)(addr_t) lowcore->paste[4]; in vdso_free_per_cpu()
153 aste = (u32 *)(addr_t) psal[2]; in vdso_free_per_cpu()
/linux-3.4.99/arch/x86/boot/
Dboot.h114 typedef unsigned int addr_t; typedef
116 static inline u8 rdfs8(addr_t addr) in rdfs8()
122 static inline u16 rdfs16(addr_t addr) in rdfs16()
128 static inline u32 rdfs32(addr_t addr) in rdfs32()
135 static inline void wrfs8(u8 v, addr_t addr) in wrfs8()
139 static inline void wrfs16(u16 v, addr_t addr) in wrfs16()
143 static inline void wrfs32(u32 v, addr_t addr) in wrfs32()
148 static inline u8 rdgs8(addr_t addr) in rdgs8()
154 static inline u16 rdgs16(addr_t addr) in rdgs16()
160 static inline u32 rdgs32(addr_t addr) in rdgs32()
[all …]
Dcmdline.c32 addr_t cptr; in __cmdline_find_option()
104 addr_t cptr; in __cmdline_find_option_bool()
/linux-3.4.99/drivers/s390/cio/
Dfcx.c26 return (struct tcw *) ((addr_t) tcw->intrg); in tcw_get_intrg()
41 return (void *) ((addr_t) tcw->input); in tcw_get_data()
43 return (void *) ((addr_t) tcw->output); in tcw_get_data()
56 return (struct tccb *) ((addr_t) tcw->tccb); in tcw_get_tccb()
68 return (struct tsb *) ((addr_t) tcw->tsb); in tcw_get_tsb()
191 tcw->intrg = (u32) ((addr_t) intrg_tcw); in tcw_set_intrg()
209 tcw->input = (u64) ((addr_t) data); in tcw_set_data()
213 tcw->output = (u64) ((addr_t) data); in tcw_set_data()
229 tcw->tccb = (u64) ((addr_t) tccb); in tcw_set_tccb()
242 tcw->tsb = (u64) ((addr_t) tsb); in tcw_set_tsb()
[all …]
Ditcw.c136 static inline void *fit_chunk(addr_t *start, addr_t end, size_t len, in fit_chunk()
139 addr_t addr; in fit_chunk()
182 addr_t start; in itcw_init()
183 addr_t end; in itcw_init()
187 start = (addr_t) buffer; in itcw_init()
Dairq.c100 i = (int) ((addr_t) ind) - ((addr_t) &indicators[isc].byte[0]); in s390_unregister_adapter_interrupt()
Ddevice_fsm.c66 (void *)(addr_t)orb->tm.tcw, in ccw_timeout_log()
70 if ((void *)(addr_t)orb->cmd.cpa == &private->sense_ccw || in ccw_timeout_log()
71 (void *)(addr_t)orb->cmd.cpa == cdev->private->iccws) in ccw_timeout_log()
78 (void *)(addr_t)orb->cmd.cpa, in ccw_timeout_log()
446 if (cio_enable_subchannel(sch, (u32) (addr_t) sch)) { in ccw_device_recognition()
584 ret = cio_enable_subchannel(sch, (u32)(addr_t)sch); in ccw_device_online()
726 if (cio_enable_subchannel(sch, (u32) (addr_t) sch)) in ccw_device_boxed_verify()
915 if (cio_enable_subchannel(sch, (u32)(addr_t)sch) != 0) in ccw_device_start_id()
Ddevice_pgid.c129 cp->cda = (u32) (addr_t) pgid; in spid_build_cp()
374 cp->cda = (u32) (addr_t) &cdev->private->pgid[i]; in snid_build_cp()
538 cp[0].cda = (u32) (addr_t) buf1; in stlck_build_cp()
542 cp[1].cda = (u32) (addr_t) buf2; in stlck_build_cp()
/linux-3.4.99/drivers/staging/rtl8712/
Dwifi.h283 ((addr_t)(pbuf) + 22)) >> 4)
285 #define GetFragNum(pbuf) (cpu_to_le16(*(unsigned short *)((addr_t)\
289 ((addr_t)(pbuf) + 22)))
293 *(unsigned short *)((addr_t)(pbuf) + 22) = \
294 ((*(unsigned short *)((addr_t)(pbuf) + 22)) & \
301 *(unsigned short *)((addr_t)(pbuf) + 22) = \
302 ((*(unsigned short *)((addr_t)(pbuf) + 22)) & \
309 *(unsigned short *)((addr_t)(pbuf) + 2) |= \
334 #define GetAid(pbuf) (cpu_to_le16(*(unsigned short *)((addr_t)(pbuf) + 2)) \
337 #define GetTid(pbuf) (cpu_to_le16(*(unsigned short *)((addr_t)(pbuf) + \
[all …]
Dbasic_types.h36 #define FIELD_OFFSET(s, field) ((addr_t)&((s *)(0))->field)
42 #define addr_t unsigned long macro
Ddrv_types.h131 #define RGTRY_OFT(field) ((addr_t)FIELD_OFFSET(struct registry_priv, field))
133 #define BSSID_OFT(field) ((addr_t)FIELD_OFFSET(struct ndis_wlan_bssid_ex, \
Dxmit_linux.c47 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
48 (addr_t)(pfile->buf_start))); in remainder_len()
Drtl871x_xmit.c98 ((addr_t) (pxmitpriv->pallocated_frame_buf) & 3); in _r8712_init_xmit_priv()
135 ((addr_t)(pxmitpriv->pallocated_xmitbuf) & 3); in _r8712_init_xmit_priv()
144 ((addr_t) (pxmitbuf->pallocated_buf) & in _r8712_init_xmit_priv()
418 payload = (u8 *)RND4((addr_t)(payload)); in xmitframe_addmic()
592 addr_t addr; in r8712_xmitframe_coalesce()
696 addr = (addr_t)(pframe); in r8712_xmitframe_coalesce()
/linux-3.4.99/drivers/s390/block/
Ddasd_fba.c354 ccw->cda = (__u32)(addr_t) idaws; in dasd_fba_build_cp()
358 ccw->cda = (__u32)(addr_t) dst; in dasd_fba_build_cp()
407 cda = *((char **)((addr_t) ccw->cda)); in dasd_fba_free_cp()
409 cda = (char *)((addr_t) ccw->cda); in dasd_fba_free_cp()
414 (void *)((addr_t)cda & PAGE_MASK)); in dasd_fba_free_cp()
492 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_fba_dump_sense()
525 ((int *) (addr_t) act->cda) in dasd_fba_dump_sense()
535 if (act < ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense()
536 act = ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2; in dasd_fba_dump_sense()
539 end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); in dasd_fba_dump_sense()
[all …]
Ddasd_eckd.c853 ccw->cda = (__u32)(addr_t)rcd_buffer; in dasd_eckd_fill_rcd_cqr()
881 rcd_buffer = (__u8 *)((addr_t) ccw->cda); in read_conf_cb()
1437 ccw->cda = (__u32)(addr_t) prssdp; in dasd_eckd_read_features()
1446 ccw->cda = (__u32)(addr_t) features; in dasd_eckd_read_features()
1492 ccw->cda = (__u32)(addr_t)psf_ssc_data; in dasd_eckd_build_psf_ssc()
1802 ccw->cda = (__u32)(addr_t) count_data; in dasd_eckd_analysis_ccw()
1816 ccw->cda = (__u32)(addr_t) count_data; in dasd_eckd_analysis_ccw()
2167 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_format_device()
2182 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_format_device()
2209 ccw->cda = (__u32)(addr_t) ect; in dasd_eckd_format_device()
[all …]
Ddasd_diag.c184 private->iob.interrupt_params = (addr_t) cqr; in dasd_start_diag()
239 addr_t ip; in dasd_ext_handler()
244 ip = (addr_t) param32; in dasd_ext_handler()
247 ip = (addr_t) param64; in dasd_ext_handler()
/linux-3.4.99/arch/x86/boot/compressed/
Dcmdline.c8 typedef unsigned long addr_t; typedef
9 static inline char rdfs8(addr_t addr) in rdfs8()
/linux-3.4.99/drivers/s390/char/
Dtape.h355 ccw->cda = (__u32)(addr_t) cda; in tape_ccw_cc()
365 ccw->cda = (__u32)(addr_t) cda; in tape_ccw_end()
375 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_cmd()
386 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_repeat()
Dsclp_rw.c57 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
112 mto = (struct mto *)(((addr_t) sccb) + sccb->header.length); in sclp_initialize_mto()
150 mto = (struct mto *)(((addr_t) sccb) + sccb->header.length); in sclp_finalize_mto()
Dsclp.c319 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
387 if (sccb == (u32) (addr_t) req->sccb) in __sclp_find_req()
644 memcpy(evbuf, (void *) ((addr_t) evbuf + evbuf->length), in sclp_remove_processed()
649 ((addr_t) evbuf + evbuf->length); in sclp_remove_processed()
831 if (finished_sccb != (u32) (addr_t) sclp_init_sccb) in sclp_check_handler()
Dsclp_vt220.c276 ((addr_t) page + PAGE_SIZE)) - 1; in sclp_vt220_initialize_page()
328 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg()
470 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn()
/linux-3.4.99/arch/s390/include/asm/
Dtypes.h19 typedef unsigned long addr_t; typedef
Didals.h201 ccw->cda = (u32)(addr_t) ib->data; in idal_buffer_set_cda()
205 ccw->cda = (u32)(addr_t) ib->data[0]; in idal_buffer_set_cda()

123