/drivers/s390/char/ |
H A D | raw3270.c | 101 raw3270_buffer_address(struct raw3270 *rp, char *cp, unsigned short addr) argument 103 if (test_bit(RAW3270_FLAGS_14BITADDR, &rp->flags)) { 217 raw3270_halt_io_nolock(struct raw3270 *rp, struct raw3270_request *rq) argument 227 rc = ccw_device_halt(rp->cdev, (long) rq); 229 rc = ccw_device_clear(rp->cdev, (long) rq); 237 raw3270_halt_io(struct raw3270 *rp, struct raw3270_request *rq) argument 242 spin_lock_irqsave(get_ccwdev_lock(rp->cdev), flags); 243 rc = raw3270_halt_io_nolock(rp, rq); 244 spin_unlock_irqrestore(get_ccwdev_lock(rp->cdev), flags); 253 __raw3270_start(struct raw3270 *rp, struc argument 276 struct raw3270 *rp; local 295 struct raw3270 *rp; local 312 struct raw3270 *rp; local 327 struct raw3270 *rp; local 513 raw3270_start_init(struct raw3270 *rp, struct raw3270_view *view, struct raw3270_request *rq) argument 553 __raw3270_size_device_vm(struct raw3270 *rp) argument 594 __raw3270_size_device(struct raw3270 *rp) argument 673 raw3270_size_device(struct raw3270 *rp) argument 709 raw3270_reset_device(struct raw3270 *rp) argument 735 struct raw3270 *rp; local 753 raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, char *ascebc) argument 815 struct raw3270 *rp; local 839 raw3270_wait_cons_dev(struct raw3270 *rp) argument 856 struct raw3270 *rp; local 885 struct raw3270 *rp; local 934 struct raw3270 *rp; local 967 struct raw3270 *rp; local 1003 struct raw3270 *rp; local 1037 struct raw3270 *rp; local 1069 raw3270_delete_device(struct raw3270 *rp) argument 1140 raw3270_create_attributes(struct raw3270 *rp) argument 1184 struct raw3270 *rp; local 1220 struct raw3270 *rp; local 1258 struct raw3270 *rp; local 1308 struct raw3270 *rp; local 1319 struct raw3270 *rp; local 1346 struct raw3270 *rp; local 1363 struct raw3270 *rp; local 1405 struct raw3270 *rp; local [all...] |
/drivers/usb/mon/ |
H A D | mon_bin.c | 200 static inline struct mon_bin_hdr *MON_OFF2HDR(const struct mon_reader_bin *rp, argument 204 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); 207 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0) 217 static void mon_buff_area_fill(const struct mon_reader_bin *rp, 219 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp); 292 static unsigned int mon_buff_area_alloc(struct mon_reader_bin *rp, argument 298 if (rp->b_cnt + size > rp->b_size) 300 offset = rp 317 mon_buff_area_alloc_contiguous(struct mon_reader_bin *rp, unsigned int size) argument 356 mon_buff_area_shrink(struct mon_reader_bin *rp, unsigned int size) argument 370 mon_buff_area_free(struct mon_reader_bin *rp, unsigned int size) argument 379 mon_buff_area_fill(const struct mon_reader_bin *rp, unsigned int offset, unsigned int size) argument 400 mon_bin_get_data(const struct mon_reader_bin *rp, unsigned int offset, struct urb *urb, unsigned int length, char *flag) argument 444 mon_bin_collate_isodesc(const struct mon_reader_bin *rp, struct urb *urb, unsigned int ndesc) argument 462 mon_bin_get_isodesc(const struct mon_reader_bin *rp, unsigned int offset, struct urb *urb, char ev_type, unsigned int ndesc) argument 482 mon_bin_event(struct mon_reader_bin *rp, struct urb *urb, char ev_type, int status) argument 619 struct mon_reader_bin *rp = data; local 625 struct mon_reader_bin *rp = data; local 631 struct mon_reader_bin *rp = data; local 673 struct mon_reader_bin *rp; local 733 mon_bin_get_event(struct file *file, struct mon_reader_bin *rp, struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, void __user *data, unsigned int nbytes) argument 776 struct mon_reader_bin *rp = file->private_data; local 799 struct mon_reader_bin *rp = file->private_data; local 868 mon_bin_flush(struct mon_reader_bin *rp, unsigned nevents) argument 894 mon_bin_fetch(struct file *file, struct mon_reader_bin *rp, u32 __user *vec, unsigned int max) argument 945 mon_bin_queued(struct mon_reader_bin *rp) argument 982 struct mon_reader_bin *rp = file->private_data; local 1124 struct mon_reader_bin *rp = file->private_data; local 1191 struct mon_reader_bin *rp = file->private_data; local 1211 struct mon_reader_bin *rp = vma->vm_private_data; local 1217 struct mon_reader_bin *rp = vma->vm_private_data; local 1226 struct mon_reader_bin *rp = vma->vm_private_data; local 1271 mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp) argument [all...] |
H A D | mon_text.c | 101 mon_text_read_wait(struct mon_reader_text *rp, struct file *file); 102 static void mon_text_read_head_t(struct mon_reader_text *rp, 104 static void mon_text_read_head_u(struct mon_reader_text *rp, 106 static void mon_text_read_statset(struct mon_reader_text *rp, 108 static void mon_text_read_intstat(struct mon_reader_text *rp, 110 static void mon_text_read_isostat(struct mon_reader_text *rp, 112 static void mon_text_read_isodesc(struct mon_reader_text *rp, 114 static void mon_text_read_data(struct mon_reader_text *rp, 188 static void mon_text_event(struct mon_reader_text *rp, struct urb *urb, argument 199 if (rp 256 struct mon_reader_text *rp = data; local 262 struct mon_reader_text *rp = data; local 268 struct mon_reader_text *rp = data; local 299 mon_text_fetch(struct mon_reader_text *rp, struct mon_bus *mbus) argument 322 struct mon_reader_text *rp; local 385 struct mon_reader_text *rp = file->private_data; local 412 struct mon_reader_text *rp = file->private_data; local 445 mon_text_read_wait(struct mon_reader_text *rp, struct file *file) argument 476 mon_text_read_head_t(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 494 mon_text_read_head_u(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 512 mon_text_read_statset(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 533 mon_text_read_intstat(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 540 mon_text_read_isostat(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 553 mon_text_read_isodesc(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 575 mon_text_read_data(struct mon_reader_text *rp, struct mon_text_ptr *p, const struct mon_event_text *ep) argument 609 struct mon_reader_text *rp = file->private_data; local [all...] |
/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 506 static void rhine_wait_bit(struct rhine_private *rp, u8 reg, u8 mask, bool low) argument 508 void __iomem *ioaddr = rp->base; 519 netif_dbg(rp, hw, rp->dev, "%s bit wait (%02x/%02x) cycle " 524 static void rhine_wait_bit_high(struct rhine_private *rp, u8 reg, u8 mask) argument 526 rhine_wait_bit(rp, reg, mask, false); 529 static void rhine_wait_bit_low(struct rhine_private *rp, u8 reg, u8 mask) argument 531 rhine_wait_bit(rp, reg, mask, true); 534 static u32 rhine_get_events(struct rhine_private *rp) argument 536 void __iomem *ioaddr = rp 546 rhine_ack_events(struct rhine_private *rp, u32 mask) argument 562 struct rhine_private *rp = netdev_priv(dev); local 618 struct rhine_private *rp = netdev_priv(dev); local 662 struct rhine_private *rp = netdev_priv(dev); local 698 rhine_kick_tx_threshold(struct rhine_private *rp) argument 708 rhine_tx_err(struct rhine_private *rp, u32 status) argument 736 rhine_update_rx_crc_and_missed_errord(struct rhine_private *rp) argument 777 struct rhine_private *rp = container_of(napi, struct rhine_private, napi); local 825 struct rhine_private *rp = netdev_priv(dev); local 860 struct rhine_private *rp; local 1080 struct rhine_private *rp = netdev_priv(dev); local 1115 struct rhine_private *rp = netdev_priv(dev); local 1133 struct rhine_private *rp = netdev_priv(dev); local 1173 struct rhine_private *rp = netdev_priv(dev); local 1192 struct rhine_private *rp = netdev_priv(dev); local 1213 struct rhine_private *rp = netdev_priv(dev); local 1236 struct rhine_private *rp = netdev_priv(dev); local 1256 struct rhine_private *rp = netdev_priv(dev); local 1375 struct rhine_private *rp = netdev_priv(dev); local 1395 struct rhine_private *rp = netdev_priv(dev); local 1412 struct rhine_private *rp = netdev_priv(dev); local 1423 struct rhine_private *rp = netdev_priv(dev); local 1434 struct rhine_private *rp = netdev_priv(dev); local 1466 rhine_enable_linkmon(struct rhine_private *rp) argument 1480 rhine_disable_linkmon(struct rhine_private *rp) argument 1508 struct rhine_private *rp = netdev_priv(dev); local 1527 struct rhine_private *rp = netdev_priv(dev); local 1542 rhine_task_disable(struct rhine_private *rp) argument 1552 rhine_task_enable(struct rhine_private *rp) argument 1561 struct rhine_private *rp = netdev_priv(dev); local 1594 struct rhine_private *rp = container_of(work, struct rhine_private, local 1628 struct rhine_private *rp = netdev_priv(dev); local 1641 struct rhine_private *rp = netdev_priv(dev); local 1721 rhine_irq_disable(struct rhine_private *rp) argument 1732 struct rhine_private *rp = netdev_priv(dev); local 1759 struct rhine_private *rp = netdev_priv(dev); local 1831 struct rhine_private *rp = netdev_priv(dev); local 1957 struct rhine_private *rp = netdev_priv(dev); local 1995 struct rhine_private *rp = local 2026 struct rhine_private *rp = netdev_priv(dev); local 2037 struct rhine_private *rp = netdev_priv(dev); local 2085 struct rhine_private *rp = netdev_priv(dev); local 2094 struct rhine_private *rp = netdev_priv(dev); local 2106 struct rhine_private *rp = netdev_priv(dev); local 2119 struct rhine_private *rp = netdev_priv(dev); local 2126 struct rhine_private *rp = netdev_priv(dev); local 2133 struct rhine_private *rp = netdev_priv(dev); local 2140 struct rhine_private *rp = netdev_priv(dev); local 2147 struct rhine_private *rp = netdev_priv(dev); local 2161 struct rhine_private *rp = netdev_priv(dev); local 2192 struct rhine_private *rp = netdev_priv(dev); local 2208 struct rhine_private *rp = netdev_priv(dev); local 2238 struct rhine_private *rp = netdev_priv(dev); local 2253 struct rhine_private *rp = netdev_priv(dev); local 2306 struct rhine_private *rp = netdev_priv(dev); local 2326 struct rhine_private *rp = netdev_priv(dev); local [all...] |
/drivers/staging/tidspbridge/dynload/ |
H A D | reloc.c | 159 * rp Pointer to relocation operation 165 struct reloc_record_t *rp, bool *tramps_generated, 192 rx = HASH_FUNC(rp->TYPE); 193 while (rop_map1[rx] != rp->TYPE) { 197 switch (rp->TYPE) { 206 rp->TYPE); 209 dload_error(dlthis, "Bad coff operator 0x%x", rp->TYPE); 225 reloc_amt = rp->UVAL; 230 if ((u32) rp->SYMNDX < dlthis->dfile_hdr.df_no_syms) { 232 svp = &dlthis->local_symtab[rp 164 dload_relocate(struct dload_state *dlthis, tgt_au_t * data, struct reloc_record_t *rp, bool *tramps_generated, bool second_pass) argument [all...] |
H A D | tramp.c | 507 struct reloc_record_t *rp[], u32 relo_count) 517 dload_relocate(dlthis, data, rp[i], &tmp, true); 767 struct reloc_record_t *rp, 828 dup_relo->relo = *rp; 850 bool dload_tramp_avail(struct dload_state *dlthis, struct reloc_record_t *rp) argument 857 map_index = HASH_FUNC(rp->TYPE); 875 struct reloc_record_t *rp) 890 map_index = HASH_FUNC(rp->TYPE); 904 image_offset + rp->vaddr, 905 dlthis->local_symtab[rp 506 priv_pkt_relo(struct dload_state *dlthis, tgt_au_t * data, struct reloc_record_t *rp[], u32 relo_count) argument 764 priv_img_pkt_dup(struct dload_state *dlthis, s16 secnn, u32 image_offset, struct image_packet_t *ipacket, struct reloc_record_t *rp, struct tramp_sym *new_tramp_sym) argument 873 dload_tramp_generate(struct dload_state *dlthis, s16 secnn, u32 image_offset, struct image_packet_t *ipacket, struct reloc_record_t *rp) argument [all...] |
/drivers/staging/usbip/userspace/src/ |
H A D | usbip_network.c | 217 struct addrinfo hints, *res, *rp; local 234 for (rp = res; rp; rp = rp->ai_next) { 235 sockfd = socket(rp->ai_family, rp->ai_socktype, 236 rp->ai_protocol); 245 if (connect(sockfd, rp->ai_addr, rp [all...] |
/drivers/misc/sgi-xp/ |
H A D | xpc_partition.c | 139 struct xpc_rsvd_page *rp; local 152 rp = (struct xpc_rsvd_page *)__va(xp_socket_pa(rp_pa)); 154 if (rp->SAL_version < 3) { 156 rp->SAL_partid &= 0xff; 158 BUG_ON(rp->SAL_partid != xp_partition_id); 160 if (rp->SAL_partid < 0 || rp->SAL_partid >= xp_max_npartitions) { 162 "supported range (< 0 || >= %d)\n", rp->SAL_partid, 167 rp->version = XPC_RP_VERSION; 168 rp 418 struct xpc_rsvd_page *rp; local [all...] |
/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 237 static bfa_boolean_t bfa_rport_send_fwcreate(struct bfa_rport_s *rp); 238 static bfa_boolean_t bfa_rport_send_fwdelete(struct bfa_rport_s *rp); 239 static bfa_boolean_t bfa_rport_send_fwspeed(struct bfa_rport_s *rp); 248 static void bfa_rport_sm_uninit(struct bfa_rport_s *rp, 250 static void bfa_rport_sm_created(struct bfa_rport_s *rp, 252 static void bfa_rport_sm_fwcreate(struct bfa_rport_s *rp, 254 static void bfa_rport_sm_online(struct bfa_rport_s *rp, 256 static void bfa_rport_sm_fwdelete(struct bfa_rport_s *rp, 258 static void bfa_rport_sm_offline(struct bfa_rport_s *rp, 260 static void bfa_rport_sm_deleting(struct bfa_rport_s *rp, 3953 bfa_rport_sm_uninit(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 3971 bfa_rport_sm_created(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4006 bfa_rport_sm_fwcreate(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4043 bfa_rport_sm_fwcreate_qfull(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4084 bfa_rport_sm_online(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4152 bfa_rport_sm_fwdelete(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4182 bfa_rport_sm_fwdelete_qfull(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4215 bfa_rport_sm_offline(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4250 bfa_rport_sm_deleting(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4274 bfa_rport_sm_deleting_qfull(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4302 bfa_rport_sm_delete_pending(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4333 bfa_rport_sm_offline_pending(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4368 bfa_rport_sm_iocdisable(struct bfa_rport_s *rp, enum bfa_rport_event event) argument 4411 struct bfa_rport_s *rp = cbarg; local 4420 struct bfa_rport_s *rp = cbarg; local 4429 struct bfa_rport_s *rp = cbarg; local 4453 struct bfa_rport_s *rp; local 4542 bfa_rport_send_fwcreate(struct bfa_rport_s *rp) argument 4575 bfa_rport_send_fwdelete(struct bfa_rport_s *rp) argument 4600 bfa_rport_send_fwspeed(struct bfa_rport_s *rp) argument 4638 struct bfa_rport_s *rp; local 4693 struct bfa_rport_s *rp; local 4740 bfa_rport_set_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp) argument 4756 bfa_rport_unset_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp) argument [all...] |
/drivers/media/video/cx25821/ |
H A D | cx25821-video-upstream-ch2.c | 47 __le32 *rp, unsigned int offset, 55 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 59 *(rp++) = cpu_to_le32(RISC_NOOP); 64 *(rp++) = cpu_to_le32(RISC_READ | RISC_SOL | RISC_EOL | bpl); 65 *(rp++) = cpu_to_le32(dev->_data_buf_phys_addr_ch2 + offset); 66 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 74 return rp; 78 __le32 *rp, 92 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 96 *(rp 46 cx25821_update_riscprogram_ch2(struct cx25821_dev *dev, __le32 *rp, unsigned int offset, unsigned int bpl, u32 sync_line, unsigned int lines, int fifo_enable, int field_type) argument 77 cx25821_risc_field_upstream_ch2(struct cx25821_dev *dev, __le32 *rp, dma_addr_t databuf_phys_addr, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int lines, int fifo_enable, int field_type) argument 131 __le32 *rp; local 519 __le32 *rp; local [all...] |
H A D | cx25821-audio-upstream.c | 103 __le32 *rp, 115 *(rp++) = cpu_to_le32(RISC_READ | RISC_SOL | RISC_EOL | bpl); 116 *(rp++) = cpu_to_le32(databuf_phys_addr + offset); 117 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 124 *(rp++) = RISC_WRITECR; 125 *(rp++) = sram_ch->dma_ctl; 126 *(rp++) = sram_ch->fld_aud_fifo_en; 127 *(rp++) = 0x00000020; 133 return rp; 140 __le32 *rp; local 102 cx25821_risc_field_upstream_audio(struct cx25821_dev *dev, __le32 *rp, dma_addr_t databuf_phys_addr, unsigned int bpl, int fifo_enable) argument 500 __le32 *rp; local [all...] |
H A D | cx25821-core.c | 1081 static __le32 *cx25821_risc_field(__le32 * rp, struct scatterlist *sglist, argument 1091 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 1102 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_SOL | RISC_EOL | 1104 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); 1105 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 1110 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_SOL | 1112 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); 1113 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 1118 *(rp++) = cpu_to_le32(RISC_WRITE | 1120 *(rp 1144 __le32 *rp; local 1186 cx25821_risc_field_audio(__le32 * rp, struct scatterlist *sglist, unsigned int offset, u32 sync_line, unsigned int bpl, unsigned int padding, unsigned int lines, unsigned int lpi) argument 1254 __le32 *rp; local 1284 __le32 *rp; local [all...] |
H A D | cx25821-video-upstream.c | 101 __le32 *rp, unsigned int offset, 109 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 113 *(rp++) = cpu_to_le32(RISC_NOOP); 118 *(rp++) = cpu_to_le32(RISC_READ | RISC_SOL | RISC_EOL | bpl); 119 *(rp++) = cpu_to_le32(dev->_data_buf_phys_addr + offset); 120 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 128 return rp; 131 static __le32 *cx25821_risc_field_upstream(struct cx25821_dev *dev, __le32 * rp, argument 144 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 148 *(rp 100 cx25821_update_riscprogram(struct cx25821_dev *dev, __le32 *rp, unsigned int offset, unsigned int bpl, u32 sync_line, unsigned int lines, int fifo_enable, int field_type) argument 181 __le32 *rp; local 560 __le32 *rp; local [all...] |
/drivers/net/ethernet/sun/ |
H A D | niu.c | 3288 static unsigned int niu_hash_rxaddr(struct rx_ring_info *rp, u64 a) argument 3296 static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr, argument 3299 unsigned int h = niu_hash_rxaddr(rp, addr); 3303 pp = &rp->rxhash[h]; 3316 static void niu_hash_page(struct rx_ring_info *rp, struct page *page, u64 base) argument 3318 unsigned int h = niu_hash_rxaddr(rp, base); 3321 page->mapping = (struct address_space *) rp->rxhash[h]; 3322 rp->rxhash[h] = page; 3325 static int niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, argument 3339 niu_hash_page(rp, pag 3354 niu_rbr_refill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) argument 3379 niu_rx_pkt_ignore(struct niu *np, struct rx_ring_info *rp) argument 3419 niu_process_rx_pkt(struct napi_struct *napi, struct niu *np, struct rx_ring_info *rp) argument 3508 niu_rbr_fill(struct niu *np, struct rx_ring_info *rp, gfp_t mask) argument 3526 niu_rbr_free(struct niu *np, struct rx_ring_info *rp) argument 3554 release_tx_packet(struct niu *np, struct tx_ring_info *rp, int idx) argument 3598 niu_tx_work(struct niu *np, struct tx_ring_info *rp) argument 3640 niu_sync_rx_discard_stats(struct niu *np, struct rx_ring_info *rp, const int limit) argument 3692 niu_rx_work(struct napi_struct *napi, struct niu *np, struct rx_ring_info *rp, int budget) argument 3752 struct tx_ring_info *rp = &np->tx_rings[i]; local 3759 struct rx_ring_info *rp = &np->rx_rings[i]; local 3791 niu_log_rxchan_errors(struct niu *np, struct rx_ring_info *rp, u64 stat) argument 3828 niu_rx_error(struct niu *np, struct rx_ring_info *rp) argument 3852 niu_log_txchan_errors(struct niu *np, struct tx_ring_info *rp, u64 cs) argument 3877 niu_tx_error(struct niu *np, struct tx_ring_info *rp) argument 4088 struct rx_ring_info *rp = &np->rx_rings[i]; local 4106 struct tx_ring_info *rp = &np->tx_rings[i]; local 4139 niu_rxchan_intr(struct niu *np, struct rx_ring_info *rp, int ldn) argument 4153 niu_txchan_intr(struct niu *np, struct tx_ring_info *rp, int ldn) argument 4172 struct rx_ring_info *rp = &np->rx_rings[i]; local 4184 struct tx_ring_info *rp = &np->tx_rings[i]; local 4252 niu_free_rx_ring_info(struct niu *np, struct rx_ring_info *rp) argument 4282 niu_free_tx_ring_info(struct niu *np, struct tx_ring_info *rp) argument 4315 struct rx_ring_info *rp = &np->rx_rings[i]; local 4326 struct tx_ring_info *rp = &np->tx_rings[i]; local 4336 niu_alloc_rx_ring_info(struct niu *np, struct rx_ring_info *rp) argument 4387 niu_set_max_burst(struct niu *np, struct tx_ring_info *rp) argument 4399 niu_alloc_tx_ring_info(struct niu *np, struct tx_ring_info *rp) argument 4439 niu_size_rbr(struct niu *np, struct rx_ring_info *rp) argument 4498 struct rx_ring_info *rp = &np->rx_rings[i]; local 4538 struct tx_ring_info *rp = &np->tx_rings[i]; local 4669 niu_init_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument 4809 niu_rx_channel_wred_init(struct niu *np, struct rx_ring_info *rp) argument 4820 niu_compute_rbr_cfig_b(struct rx_ring_info *rp, u64 *ret) argument 4922 niu_init_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument 4996 struct rx_ring_info *rp = &np->rx_rings[i]; local 5835 niu_stop_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument 5845 struct tx_ring_info *rp = &np->tx_rings[i]; local 5851 niu_reset_one_tx_channel(struct niu *np, struct tx_ring_info *rp) argument 5861 struct tx_ring_info *rp = &np->tx_rings[i]; local 5867 niu_stop_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument 5877 struct rx_ring_info *rp = &np->rx_rings[i]; local 5883 niu_reset_one_rx_channel(struct niu *np, struct rx_ring_info *rp) argument 5898 struct rx_ring_info *rp = &np->rx_rings[i]; local 5944 struct tx_ring_info *rp = &np->tx_rings[i]; local 6249 struct rx_ring_info *rp = &rx_rings[i]; local 6280 struct tx_ring_info *rp = &tx_rings[i]; local 6456 struct rx_ring_info *rp = &np->rx_rings[i]; local 6485 struct tx_ring_info *rp = &np->tx_rings[i]; local 6548 niu_set_txd(struct tx_ring_info *rp, int index, u64 mapping, u64 len, u64 mark, u64 n_frags) argument 6631 struct tx_ring_info *rp; local 7820 struct rx_ring_info *rp = &np->rx_rings[i]; local 7832 struct tx_ring_info *rp = &np->tx_rings[i]; local [all...] |
/drivers/isdn/hysdn/ |
H A D | hycapi.c | 41 capi_register_params rp; member in struct:_hycapi_appl 152 capi_register_params *rp) 166 MessageBufferSize = rp->level3cnt * rp->datablkcnt * rp->datablklen; 180 memcpy(skb_put(skb, sizeof(__u16)), &(rp->level3cnt), sizeof(__u16)); 181 memcpy(skb_put(skb, sizeof(__u16)), &(rp->datablkcnt), sizeof(__u16)); 182 memcpy(skb_put(skb, sizeof(__u16)), &(rp->datablklen), sizeof(__u16)); 206 &hycapi_applications[i].rp); 224 capi_register_params *rp) 151 hycapi_register_internal(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) argument 223 hycapi_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) argument [all...] |
/drivers/isdn/i4l/ |
H A D | isdn_ttyfax.c | 54 char *rp; local 93 rp = &f->r_resolution; 95 sprintf(rss, "%c%s", rp[i] + 48, 112 rp = &f->r_resolution; 114 sprintf(rss, "%c%s", rp[i] + 48, 704 char *rp = &f->resolution; local 713 sprintf(rss, "%c%s", rp[i] + 48, 730 rp[i] = *p[0] - 48; 739 rp[0], rp[ 750 char *rp = &f->resolution; local 834 char *rp = &f->resolution; local [all...] |
/drivers/media/video/cx88/ |
H A D | cx88-core.c | 74 static __le32* cx88_risc_field(__le32 *rp, struct scatterlist *sglist, argument 84 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 99 *(rp++)=cpu_to_le32(RISC_WRITE|sol|RISC_EOL|bpl); 100 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); 105 *(rp++)=cpu_to_le32(RISC_WRITE|sol| 107 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); 112 *(rp++)=cpu_to_le32(RISC_WRITE| 114 *(rp++)=cpu_to_le32(sg_dma_address(sg)); 118 *(rp++)=cpu_to_le32(RISC_WRITE|RISC_EOL|todo); 119 *(rp 134 __le32 *rp; local 172 __le32 *rp; local 197 __le32 *rp; local [all...] |
/drivers/char/ |
H A D | ttyprintk.c | 181 void *rp; local 205 rp = device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 3), NULL, 207 if (IS_ERR(rp)) { 209 ret = PTR_ERR(rp);
|
/drivers/nubus/ |
H A D | nubus.c | 726 unsigned char* rp; local 732 rp = board->fblock; 733 nubus_rewind(&rp, 4, board->lanes); 734 if (nubus_get_rom(&rp, 4, board->lanes) != NUBUS_TEST_PATTERN) { 805 unsigned char *rp; local 811 rp = nubus_rom_addr(slot); 812 nubus_rewind(&rp, FORMAT_BLOCK_SIZE, bytelanes); 817 board->fblock = rp; 823 slot, rp); 827 foo = nubus_get_rom(&rp, 918 unsigned char* rp; local [all...] |
/drivers/media/video/bt8xx/ |
H A D | bttv-risc.c | 55 __le32 *rp; local 70 rp = risc->cpu; 71 *(rp++) = cpu_to_le32(BT848_RISC_SYNC|BT848_FIFO_STATUS_FM1); 72 *(rp++) = cpu_to_le32(0); 75 *(rp++) = cpu_to_le32(BT848_RISC_SKIP | BT848_RISC_SOL | 91 *(rp++)=cpu_to_le32(BT848_RISC_WRITE|BT848_RISC_SOL| 93 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); 98 *(rp++)=cpu_to_le32(BT848_RISC_WRITE|BT848_RISC_SOL| 100 *(rp++)=cpu_to_le32(sg_dma_address(sg)+offset); 105 *(rp 135 __le32 *rp; local 253 __le32 *rp; local [all...] |
/drivers/net/appletalk/ |
H A D | ipddp.c | 271 struct ipddp_route rcp, rcp2, *rp; local 286 rp = __ipddp_find_route(&rcp); 287 if (rp) 288 memcpy(&rcp2, rp, sizeof(rcp2)); 291 if (rp) {
|
/drivers/media/video/saa7164/ |
H A D | saa7164-core.c | 387 u32 wp, mcb, rp, cnt = 0; local 405 "%s() %Ldms elapsed irq->deferred %Ldms wp: %d rp: %d\n", 429 rp = mcb; 431 rp = (port->last_svc_rp + 1) % 8; 433 if ((rp < 0) || (rp > (port->hwcfg.buffercount - 1))) { 434 printk(KERN_ERR "%s() illegal rp count %d\n", __func__, rp); 438 saa7164_work_enchandler_helper(port, rp); 439 port->last_svc_rp = rp; 464 u32 wp, mcb, rp, cnt = 0; local 606 int wp, i = 0, rp; local [all...] |
/drivers/scsi/libfc/ |
H A D | fc_disc.c | 88 struct fc_els_rscn *rp; local 103 rp = fc_frame_payload_get(fp, sizeof(*rp)); 104 if (!rp) 107 if (rp->rscn_page_len != sizeof(*pp)) 110 len = ntohs(rp->rscn_plen); 111 if (len < sizeof(*rp)) 114 rp = fc_frame_payload_get(fp, len); 115 if (!rp) 118 len -= sizeof(*rp); [all...] |
H A D | fc_exch.c | 1206 struct fc_ba_rjt *rp; local 1211 fp = fc_frame_alloc(lport, sizeof(*rp)); 1217 memset(fh, 0, sizeof(*fh) + sizeof(*rp)); 1219 rp = fc_frame_payload_get(fp, sizeof(*rp)); 1220 rp->br_reason = reason; 1221 rp->br_explan = explan; 1857 struct fc_els_rec *rp; local 1866 rp = fc_frame_payload_get(rfp, sizeof(*rp)); 2098 struct fc_els_rrq *rp; local [all...] |
/drivers/media/video/cx23885/ |
H A D | cx23885-core.c | 1082 static __le32 *cx23885_risc_field(__le32 *rp, struct scatterlist *sglist, argument 1092 *(rp++) = cpu_to_le32(RISC_RESYNC | sync_line); 1109 *(rp++) = cpu_to_le32(RISC_WRITE|sol|RISC_EOL|bpl); 1110 *(rp++) = cpu_to_le32(sg_dma_address(sg)+offset); 1111 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 1116 *(rp++) = cpu_to_le32(RISC_WRITE|sol| 1118 *(rp++) = cpu_to_le32(sg_dma_address(sg)+offset); 1119 *(rp++) = cpu_to_le32(0); /* bits 63-32 */ 1124 *(rp++) = cpu_to_le32(RISC_WRITE| 1126 *(rp 1148 __le32 *rp; local 1191 __le32 *rp; local 1223 __le32 *rp; local 1268 __le32 *rp; local [all...] |