/Linux-v4.19/drivers/s390/char/ |
D | raw3270.c | 94 static void __raw3270_disconnect(struct raw3270 *rp); 110 static inline int raw3270_state_ready(struct raw3270 *rp) in raw3270_state_ready() argument 112 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready() 115 static inline int raw3270_state_final(struct raw3270 *rp) in raw3270_state_final() argument 117 return rp->state == RAW3270_STATE_INIT || in raw3270_state_final() 118 rp->state == RAW3270_STATE_READY; in raw3270_state_final() 122 raw3270_buffer_address(struct raw3270 *rp, char *cp, unsigned short addr) in raw3270_buffer_address() argument 124 if (test_bit(RAW3270_FLAGS_14BITADDR, &rp->flags)) { in raw3270_buffer_address() 239 __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 244 if (list_empty(&rp->req_queue) && in __raw3270_start() [all …]
|
/Linux-v4.19/drivers/usb/mon/ |
D | mon_bin.c | 203 static inline struct mon_bin_hdr *MON_OFF2HDR(const struct mon_reader_bin *rp, in MON_OFF2HDR() argument 207 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR() 210 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0) argument 220 static void mon_buff_area_fill(const struct mon_reader_bin *rp, 222 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp); 295 static unsigned int mon_buff_area_alloc(struct mon_reader_bin *rp, in mon_buff_area_alloc() argument 301 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc() 303 offset = rp->b_in; in mon_buff_area_alloc() 304 rp->b_cnt += size; in mon_buff_area_alloc() 305 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc() [all …]
|
D | mon_text.c | 106 mon_text_read_wait(struct mon_reader_text *rp, struct file *file); 107 static void mon_text_read_head_t(struct mon_reader_text *rp, 109 static void mon_text_read_head_u(struct mon_reader_text *rp, 111 static void mon_text_read_statset(struct mon_reader_text *rp, 113 static void mon_text_read_intstat(struct mon_reader_text *rp, 115 static void mon_text_read_isostat(struct mon_reader_text *rp, 117 static void mon_text_read_isodesc(struct mon_reader_text *rp, 119 static void mon_text_read_data(struct mon_reader_text *rp, 193 static void mon_text_event(struct mon_reader_text *rp, struct urb *urb, in mon_text_event() argument 204 if (rp->nevents >= EVENT_MAX || in mon_text_event() [all …]
|
/Linux-v4.19/drivers/net/ethernet/via/ |
D | via-rhine.c | 527 static void rhine_wait_bit(struct rhine_private *rp, u8 reg, u8 mask, bool low) in rhine_wait_bit() argument 529 void __iomem *ioaddr = rp->base; in rhine_wait_bit() 540 netif_dbg(rp, hw, rp->dev, "%s bit wait (%02x/%02x) cycle " in rhine_wait_bit() 545 static void rhine_wait_bit_high(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_high() argument 547 rhine_wait_bit(rp, reg, mask, false); in rhine_wait_bit_high() 550 static void rhine_wait_bit_low(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_low() argument 552 rhine_wait_bit(rp, reg, mask, true); in rhine_wait_bit_low() 555 static u32 rhine_get_events(struct rhine_private *rp) in rhine_get_events() argument 557 void __iomem *ioaddr = rp->base; in rhine_get_events() 562 if (rp->quirks & rqStatusWBRace) in rhine_get_events() [all …]
|
/Linux-v4.19/fs/nfsd/ |
D | nfscache.c | 126 struct svc_cacherep *rp; in nfsd_reply_cache_alloc() local 128 rp = kmem_cache_alloc(drc_slab, GFP_KERNEL); in nfsd_reply_cache_alloc() 129 if (rp) { in nfsd_reply_cache_alloc() 130 rp->c_state = RC_UNUSED; in nfsd_reply_cache_alloc() 131 rp->c_type = RC_NOCACHE; in nfsd_reply_cache_alloc() 132 INIT_LIST_HEAD(&rp->c_lru); in nfsd_reply_cache_alloc() 134 return rp; in nfsd_reply_cache_alloc() 138 nfsd_reply_cache_free_locked(struct svc_cacherep *rp) in nfsd_reply_cache_free_locked() argument 140 if (rp->c_type == RC_REPLBUFF && rp->c_replvec.iov_base) { in nfsd_reply_cache_free_locked() 141 drc_mem_usage -= rp->c_replvec.iov_len; in nfsd_reply_cache_free_locked() [all …]
|
/Linux-v4.19/arch/arm/include/debug/ |
D | brcmstb.S | 41 #define checkuart(rp, rv, family_id, family) \ argument 43 ldr rp, =family_id ; \ 45 cmp rp, rv ; \ 47 ldreq rp, =UARTA_##family ; \ 51 .macro addruart, rp, rv, tmp 52 adr \rp, 99f @ actual addr of 99f 53 ldr \rv, [\rp] @ linked addr is stored there 54 sub \rv, \rv, \rp @ offset between the two 55 ldr \rp, [\rp, #4] @ linked brcmstb_uart_config 56 sub \tmp, \rp, \rv @ actual brcmstb_uart_config [all …]
|
D | tegra.S | 54 #define checkuart(rp, rv, lhu, bit, uart) \ argument 56 ldr rp, =TEGRA_CLK_RST_DEVICES_##lhu ; \ 58 ldr rp, [rp, #0] ; \ 60 tst rp, #(1 << bit) ; \ 64 ldr rp, =TEGRA_CLK_OUT_ENB_##lhu ; \ 66 ldr rp, [rp, #0] ; \ 68 tst rp, #(1 << bit) ; \ 72 ldr rp, =TEGRA_UART##uart##_BASE ; \ 76 .macro addruart, rp, rv, tmp 77 adr \rp, 99f @ actual addr of 99f [all …]
|
D | sa1100.S | 21 .macro addruart, rp, rv, tmp 22 mrc p15, 0, \rp, c1, c0 23 tst \rp, #1 @ MMU enabled? 24 moveq \rp, #0x80000000 @ physical base address 25 movne \rp, #0xf8000000 @ virtual address 32 add \rp, \rp, #0x00050000 33 ldr \rv, [\rp, #UTCR3] 37 addeq \rp, \rp, #(0x00010000 - 0x00050000) 38 ldreq \rv, [\rp, #UTCR3] 42 addeq \rp, \rp, #(0x00030000 - 0x00010000) [all …]
|
D | omap2plus.S | 31 .macro addruart, rp, rv, tmp 34 10: adr \rp, 99f @ get effective addr of 99f 35 ldr \rv, [\rp] @ get absolute addr of 99f 36 sub \rv, \rv, \rp @ offset between the two 37 ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys 38 sub \tmp, \rp, \rv @ make it effective 39 ldr \rp, [\tmp, #0] @ omap_uart_phys 41 cmp \rp, #0 @ is port configured? 47 ldr \rp, =ZOOM_UART_BASE 48 str \rp, [\tmp, #0] @ omap_uart_phys [all …]
|
D | vexpress.S | 25 .macro addruart,rp,rv,tmp 33 mrc p15, 0, \rp, c0, c0, 0 36 cmp \rp, \rv 39 moveq \rp, #DEBUG_LL_UART_OFFSET 40 orreq \rv, \rp, #DEBUG_LL_VIRT_BASE 41 orreq \rp, \rp, #DEBUG_LL_PHYS_BASE 44 movne \rp, #DEBUG_LL_UART_OFFSET_RS1 45 orrne \rv, \rp, #DEBUG_LL_VIRT_BASE 46 orrne \rp, \rp, #DEBUG_LL_PHYS_BASE_RS1
|
D | dc21285.S | 21 .macro addruart, rp, rv, tmp 23 mov \rp, #dc21285_low 25 mov \rp, #0 27 orr \rv, \rp, #dc21285_high 28 orr \rp, \rp, #0x42000000
|
/Linux-v4.19/drivers/powercap/ |
D | intel_rapl.c | 176 struct rapl_package *rp; member 205 int (*check_unit)(struct rapl_package *rp, int cpu); 207 u64 (*compute_time_window)(struct rapl_package *rp, u64 val, 241 static void rapl_init_domains(struct rapl_package *rp); 251 static void package_power_limit_irq_save(struct rapl_package *rp); 269 struct rapl_package *rp; in find_package_by_id() local 271 list_for_each_entry(rp, &rapl_packages, plist) { in find_package_by_id() 272 if (rp->id == id) in find_package_by_id() 273 return rp; in find_package_by_id() 312 struct rapl_package *rp = rd->rp; in release_zone() local [all …]
|
/Linux-v4.19/lib/mpi/ |
D | mpi-pow.c | 42 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() local 58 rp = res->d; in mpi_powm() 71 rp = res->d; in mpi_powm() 72 rp[0] = 1; in mpi_powm() 120 if (rp == ep || rp == mp || rp == bp) { in mpi_powm() 121 rp = mpi_alloc_limb_space(size); in mpi_powm() 122 if (!rp) in mpi_powm() 128 rp = res->d; in mpi_powm() 131 if (rp == bp) { in mpi_powm() 137 MPN_COPY(bp, rp, bsize); in mpi_powm() [all …]
|
/Linux-v4.19/drivers/media/pci/tw68/ |
D | tw68-risc.c | 42 static __le32 *tw68_risc_field(__le32 *rp, struct scatterlist *sglist, in tw68_risc_field() argument 51 *(rp++) = cpu_to_le32(RISC_JUMP); in tw68_risc_field() 52 *(rp++) = 0; in tw68_risc_field() 57 *(rp++) = cpu_to_le32(RISC_SYNCO); in tw68_risc_field() 59 *(rp++) = cpu_to_le32(RISC_SYNCE); in tw68_risc_field() 60 *(rp++) = 0; in tw68_risc_field() 72 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field() 74 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field() 86 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field() 89 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field() [all …]
|
/Linux-v4.19/fs/ntfs/ |
D | logfile.c | 53 RESTART_PAGE_HEADER *rp, s64 pos) in ntfs_check_restart_page_header() argument 64 logfile_system_page_size = le32_to_cpu(rp->system_page_size); in ntfs_check_restart_page_header() 65 logfile_log_page_size = le32_to_cpu(rp->log_page_size); in ntfs_check_restart_page_header() 84 if (sle16_to_cpu(rp->major_ver) != 1 || in ntfs_check_restart_page_header() 85 sle16_to_cpu(rp->minor_ver) != 1) { in ntfs_check_restart_page_header() 88 "1.1 only.)", (int)sle16_to_cpu(rp->major_ver), in ntfs_check_restart_page_header() 89 (int)sle16_to_cpu(rp->minor_ver)); in ntfs_check_restart_page_header() 96 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 102 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header() 108 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() [all …]
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-rcar.c | 49 static void rcar_pwm_write(struct rcar_pwm_chip *rp, u32 data, in rcar_pwm_write() argument 52 writel(data, rp->base + offset); in rcar_pwm_write() 55 static u32 rcar_pwm_read(struct rcar_pwm_chip *rp, unsigned int offset) in rcar_pwm_read() argument 57 return readl(rp->base + offset); in rcar_pwm_read() 60 static void rcar_pwm_update(struct rcar_pwm_chip *rp, u32 mask, u32 data, in rcar_pwm_update() argument 65 value = rcar_pwm_read(rp, offset); in rcar_pwm_update() 68 rcar_pwm_write(rp, value, offset); in rcar_pwm_update() 71 static int rcar_pwm_get_clock_division(struct rcar_pwm_chip *rp, int period_ns) in rcar_pwm_get_clock_division() argument 73 unsigned long clk_rate = clk_get_rate(rp->clk); in rcar_pwm_get_clock_division() 91 static void rcar_pwm_set_clock_control(struct rcar_pwm_chip *rp, in rcar_pwm_set_clock_control() argument [all …]
|
/Linux-v4.19/drivers/md/ |
D | raid1-10.c | 12 static inline int resync_alloc_pages(struct resync_pages *rp, in resync_alloc_pages() argument 18 rp->pages[i] = alloc_page(gfp_flags); in resync_alloc_pages() 19 if (!rp->pages[i]) in resync_alloc_pages() 27 put_page(rp->pages[i]); in resync_alloc_pages() 31 static inline void resync_free_pages(struct resync_pages *rp) in resync_free_pages() argument 36 put_page(rp->pages[i]); in resync_free_pages() 39 static inline void resync_get_all_pages(struct resync_pages *rp) in resync_get_all_pages() argument 44 get_page(rp->pages[i]); in resync_get_all_pages() 47 static inline struct page *resync_fetch_page(struct resync_pages *rp, in resync_fetch_page() argument 52 return rp->pages[idx]; in resync_fetch_page() [all …]
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_svc.c | 236 static bfa_boolean_t bfa_rport_send_fwcreate(struct bfa_rport_s *rp); 237 static bfa_boolean_t bfa_rport_send_fwdelete(struct bfa_rport_s *rp); 238 static bfa_boolean_t bfa_rport_send_fwspeed(struct bfa_rport_s *rp); 247 static void bfa_rport_sm_uninit(struct bfa_rport_s *rp, 249 static void bfa_rport_sm_created(struct bfa_rport_s *rp, 251 static void bfa_rport_sm_fwcreate(struct bfa_rport_s *rp, 253 static void bfa_rport_sm_online(struct bfa_rport_s *rp, 255 static void bfa_rport_sm_fwdelete(struct bfa_rport_s *rp, 257 static void bfa_rport_sm_offline(struct bfa_rport_s *rp, 259 static void bfa_rport_sm_deleting(struct bfa_rport_s *rp, [all …]
|
/Linux-v4.19/fs/cifs/ |
D | cifs_unicode.h | 341 register const struct UniCaseRange *rp; in UniToupper() local 347 rp = CifsUniUpperRange; /* Use range tables */ in UniToupper() 348 while (rp->start) { in UniToupper() 349 if (uc < rp->start) /* Before start of range */ in UniToupper() 351 if (uc <= rp->end) /* In range */ in UniToupper() 352 return uc + rp->table[uc - rp->start]; in UniToupper() 353 rp++; /* Try next range */ in UniToupper() 383 register const struct UniCaseRange *rp; in UniTolower() local 389 rp = CifsUniLowerRange; /* Use range tables */ in UniTolower() 390 while (rp->start) { in UniTolower() [all …]
|
/Linux-v4.19/arch/parisc/kernel/ |
D | hpmc.S | 168 ldil L%PA(os_hpmc_2), rp 170 ldo R%PA(os_hpmc_2)(rp), rp 183 ldil L%PA(os_hpmc_3),rp 185 ldo R%PA(os_hpmc_3)(rp),rp 213 ldil L%PA(os_hpmc_4),rp 215 ldo R%PA(os_hpmc_4)(rp),rp 235 ldil L%PA(os_hpmc_5),rp 237 ldo R%PA(os_hpmc_5)(rp),rp 283 ldil L%PA(os_hpmc_6),rp 285 ldo R%PA(os_hpmc_6)(rp),rp
|
/Linux-v4.19/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 139 struct xpc_rsvd_page *rp; in xpc_setup_rsvd_page() local 152 rp = (struct xpc_rsvd_page *)__va(xp_socket_pa(rp_pa)); in xpc_setup_rsvd_page() 154 if (rp->SAL_version < 3) { in xpc_setup_rsvd_page() 156 rp->SAL_partid &= 0xff; in xpc_setup_rsvd_page() 158 BUG_ON(rp->SAL_partid != xp_partition_id); in xpc_setup_rsvd_page() 160 if (rp->SAL_partid < 0 || rp->SAL_partid >= xp_max_npartitions) { in xpc_setup_rsvd_page() 162 "supported range (< 0 || >= %d)\n", rp->SAL_partid, in xpc_setup_rsvd_page() 167 rp->version = XPC_RP_VERSION; in xpc_setup_rsvd_page() 168 rp->max_npartitions = xp_max_npartitions; in xpc_setup_rsvd_page() 171 if (rp->SAL_version == 1) { in xpc_setup_rsvd_page() [all …]
|
/Linux-v4.19/arch/ia64/kernel/ |
D | pal.S | 38 br.ret.sptk.many rp 48 br.cond.sptk.many rp 73 mov loc0 = rp 82 mov rp = r8 87 mov rp = loc0 108 mov loc0 = rp 120 br.call.sptk.many rp=b7 // now make the call 123 mov rp = loc0 156 mov loc0 = rp // save rp 180 br.call.sptk.many rp=ia64_switch_mode_phys [all …]
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | niu.c | 3272 static unsigned int niu_hash_rxaddr(struct rx_ring_info *rp, u64 a) in niu_hash_rxaddr() argument 3280 static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr, in niu_find_rxpage() argument 3283 unsigned int h = niu_hash_rxaddr(rp, addr); in niu_find_rxpage() 3287 pp = &rp->rxhash[h]; in niu_find_rxpage() 3300 static void niu_hash_page(struct rx_ring_info *rp, struct page *page, u64 base) in niu_hash_page() argument 3302 unsigned int h = niu_hash_rxaddr(rp, base); in niu_hash_page() 3305 page->mapping = (struct address_space *) rp->rxhash[h]; in niu_hash_page() 3306 rp->rxhash[h] = page; in niu_hash_page() 3309 static int niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, in niu_rbr_add_page() argument 3327 niu_hash_page(rp, page, addr); in niu_rbr_add_page() [all …]
|
/Linux-v4.19/net/bluetooth/ |
D | hci_event.c | 103 struct hci_rp_role_discovery *rp = (void *) skb->data; in hci_cc_role_discovery() local 106 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_role_discovery() 108 if (rp->status) in hci_cc_role_discovery() 113 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery() 115 conn->role = rp->role; in hci_cc_role_discovery() 122 struct hci_rp_read_link_policy *rp = (void *) skb->data; in hci_cc_read_link_policy() local 125 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_link_policy() 127 if (rp->status) in hci_cc_read_link_policy() 132 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy() 134 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy() [all …]
|
/Linux-v4.19/arch/arm/include/asm/ |
D | flat.h | 15 static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, in flat_get_addr_from_rp() argument 19 return copy_from_user(addr, rp, 4) ? -EFAULT : 0; in flat_get_addr_from_rp() 21 return get_user(*addr, rp); in flat_get_addr_from_rp() 25 static inline int flat_put_addr_at_rp(u32 __user *rp, u32 addr, u32 rel) in flat_put_addr_at_rp() argument 28 return copy_to_user(rp, &addr, 4) ? -EFAULT : 0; in flat_put_addr_at_rp() 30 return put_user(addr, rp); in flat_put_addr_at_rp()
|