Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/x86/boot/
H A Dboot.h76 typedef unsigned int addr_t; typedef
78 static inline u8 rdfs8(addr_t addr) in rdfs8()
85 static inline u16 rdfs16(addr_t addr) in rdfs16()
92 static inline u32 rdfs32(addr_t addr) in rdfs32()
100 static inline void wrfs8(u8 v, addr_t addr) in wrfs8()
105 static inline void wrfs16(u16 v, addr_t addr) in wrfs16()
110 static inline void wrfs32(u32 v, addr_t addr) in wrfs32()
116 static inline u8 rdgs8(addr_t addr) in rdgs8()
123 static inline u16 rdgs16(addr_t addr) in rdgs16()
130 static inline u32 rdgs32(addr_t addr) in rdgs32()
[all …]
H A Dcmdline.c30 addr_t cptr; in __cmdline_find_option()
102 addr_t cptr; in __cmdline_find_option_bool()
H A Dvideo-vesa.c35 addr_t mode_ptr; in vesa_probe()
H A Dvideo.c262 addr_t dst = 0; in restore_screen()
/openbmc/linux/arch/s390/kernel/
H A Dptrace.c222 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); in __peek_user()
271 peek_user(struct task_struct *child, addr_t addr, addr_t data) in peek_user()
291 addr_t addr, addr_t data) in __poke_user_per()
325 addr_t offset; in __poke_user()
354 *(addr_t *)((addr_t) &regs->psw + addr) = data; in __poke_user()
401 *(addr_t *)((addr_t) in __poke_user()
404 *(addr_t *)((addr_t) in __poke_user()
421 addr_t mask; in poke_user()
648 addr_t addr, addr_t data) in peek_user_compat()
681 addr_t addr, addr_t data) in __poke_user_compat()
[all …]
H A Dsignal.c310 if (__put_user(regs->gprs[15], (addr_t __user *) frame)) in setup_frame()
389 if (__put_user(regs->gprs[15], (addr_t __user *) frame)) in setup_rt_frame()
/openbmc/linux/drivers/staging/rtl8712/
H A Dwifi.h126 ((addr_t)(pbuf) + 22)) >> 4)
128 #define GetFragNum(pbuf) (le16_to_cpu(*(__le16 *)((addr_t)\
132 *(__le16 *)((addr_t)(pbuf) + 22) = \
133 cpu_to_le16((le16_to_cpu(*(__le16 *)((addr_t)(pbuf) + 22)) & \
151 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4))
153 #define GetAddr2Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 10))
155 #define GetAddr3Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 16))
157 #define GetAddr4Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 24))
H A Dbasic_types.h25 #define addr_t unsigned long macro
H A Dxmit_linux.c34 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
35 (addr_t)(pfile->buf_start))); in remainder_len()
H A Drtl871x_xmit.c88 ((addr_t) (pxmitpriv->pallocated_frame_buf) & 3); in _r8712_init_xmit_priv()
125 ((addr_t)(pxmitpriv->pallocated_xmitbuf) & 3); in _r8712_init_xmit_priv()
136 ((addr_t) (pxmitbuf->pallocated_buf) & in _r8712_init_xmit_priv()
436 payload = (u8 *)RND4((addr_t)(payload)); in xmitframe_addmic()
609 addr_t addr; in r8712_xmitframe_coalesce()
710 addr = (addr_t)(pframe); in r8712_xmitframe_coalesce()
H A Drtl871x_io.c116 - ((addr_t)(pio_queue->pallocated_free_ioreqs_buf) in r8712_alloc_io_queue()
H A Drtl8712_recv.c38 addr_t tmpaddr = 0; in r8712_init_recv_priv()
49 ((addr_t)(precvpriv->pallocated_recv_buf) & 3); in r8712_init_recv_priv()
71 tmpaddr = (addr_t)pskb->data; in r8712_init_recv_priv()
1040 skb_reserve(pkt_copy, 4 - ((addr_t)(pkt_copy->data) % 4)); in recvbuf2recvframe()
H A Dusb_ops_linux.c269 tmpaddr = (addr_t)precvbuf->pskb->data; in r8712_usb_read_port()
487 pIo_buf = palloc_buf + 16 - ((addr_t)(palloc_buf) & 0x0f); in r8712_usbctrl_vendorreq()
H A Drtl871x_cmd.c60 ((addr_t)(pcmdpriv->cmd_allocated_buf) & in r8712_init_cmd_priv()
69 ((addr_t)(pcmdpriv->rsp_allocated_buf) & 3); in r8712_init_cmd_priv()
85 ((addr_t)(pevtpriv->evt_allocated_buf) & 3); in r8712_init_evt_priv()
/openbmc/linux/drivers/s390/cio/
H A Ditcw.c138 static inline void *fit_chunk(addr_t *start, addr_t end, size_t len, in fit_chunk()
141 addr_t addr; in fit_chunk()
184 addr_t start; in itcw_init()
185 addr_t end; in itcw_init()
189 start = (addr_t) buffer; in itcw_init()
/openbmc/linux/arch/x86/boot/compressed/
H A Dcmdline.c9 typedef unsigned long addr_t; typedef
10 static inline char rdfs8(addr_t addr) in rdfs8()
/openbmc/linux/drivers/s390/char/
H A Dtape.h308 ccw->cda = (__u32)(addr_t) cda; in tape_ccw_cc()
318 ccw->cda = (__u32)(addr_t) cda; in tape_ccw_end()
328 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_cmd()
339 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_repeat()
H A Dsclp_rw.c51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
100 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto()
H A Dsclp_vt220.c267 ((addr_t) page + PAGE_SIZE)) - 1; in sclp_vt220_initialize_page()
319 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg()
531 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn()
H A Dsclp.c542 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
927 memcpy(evbuf, (void *) ((addr_t) evbuf + evbuf->length), in sclp_remove_processed()
932 ((addr_t) evbuf + evbuf->length); in sclp_remove_processed()
/openbmc/linux/drivers/s390/block/
H A Ddasd_fba.c600 (void *)((addr_t)cda & PAGE_MASK)); in dasd_fba_free_cp()
682 (void *) (addr_t) irb->scsw.cmd.cpa); in dasd_fba_dump_sense()
714 ((int *) (addr_t) act->cda) in dasd_fba_dump_sense()
724 if (act < ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense()
725 act = ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2; in dasd_fba_dump_sense()
728 end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); in dasd_fba_dump_sense()
736 ((int *) (addr_t) act->cda) in dasd_fba_dump_sense()
754 ((int *) (addr_t) act->cda) in dasd_fba_dump_sense()
H A 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()
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dtypes.h15 typedef unsigned long addr_t; typedef
/openbmc/linux/arch/s390/include/asm/
H A Didals.h196 ccw->cda = (u32)(addr_t) ib->data; in idal_buffer_set_cda()
200 ccw->cda = (u32)(addr_t) ib->data[0]; in idal_buffer_set_cda()
/openbmc/linux/net/iucv/
H A Diucv.c1135 parm->db.ipbfadr1 = (u32)(addr_t) buffer; in __iucv_message_receive()
1253 parm->db.ipbfadr1 = (u32)(addr_t) reply; in iucv_message_reply()
1305 parm->db.ipbfadr1 = (u32)(addr_t) buffer; in __iucv_message_send()
1390 parm->dpl.ipbfadr2 = (u32)(addr_t) answer; in iucv_message_send2way()
1399 parm->db.ipbfadr1 = (u32)(addr_t) buffer; in iucv_message_send2way()
1401 parm->db.ipbfadr2 = (u32)(addr_t) answer; in iucv_message_send2way()

12