| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/s390/char/ |
| D | raw3270.c | 97 static void __raw3270_disconnect(struct raw3270 *rp); 113 static inline int raw3270_state_ready(struct raw3270 *rp) in raw3270_state_ready() argument 115 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready() 118 void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y) in raw3270_buffer_address() argument 123 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 125 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 126 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 127 if (test_bit(RAW3270_FLAGS_14BITADDR, &rp->flags)) { in raw3270_buffer_address() 244 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 249 if (list_empty(&rp->req_queue) && in __raw3270_start() [all …]
|
| /kernel/linux/linux-6.6/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 223 static void mon_buff_area_fill(const struct mon_reader_bin *rp, 225 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp); 298 static unsigned int mon_buff_area_alloc(struct mon_reader_bin *rp, in mon_buff_area_alloc() argument 304 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc() 306 offset = rp->b_in; in mon_buff_area_alloc() 307 rp->b_cnt += size; in mon_buff_area_alloc() 308 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/via/ |
| D | via-rhine.c | 521 static void rhine_wait_bit(struct rhine_private *rp, u8 reg, u8 mask, bool low) in rhine_wait_bit() argument 523 void __iomem *ioaddr = rp->base; in rhine_wait_bit() 534 netif_dbg(rp, hw, rp->dev, "%s bit wait (%02x/%02x) cycle " in rhine_wait_bit() 539 static void rhine_wait_bit_high(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_high() argument 541 rhine_wait_bit(rp, reg, mask, false); in rhine_wait_bit_high() 544 static void rhine_wait_bit_low(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_low() argument 546 rhine_wait_bit(rp, reg, mask, true); in rhine_wait_bit_low() 549 static u32 rhine_get_events(struct rhine_private *rp) in rhine_get_events() argument 551 void __iomem *ioaddr = rp->base; in rhine_get_events() 556 if (rp->quirks & rqStatusWBRace) in rhine_get_events() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/via/ |
| D | via-rhine.c | 521 static void rhine_wait_bit(struct rhine_private *rp, u8 reg, u8 mask, bool low) in rhine_wait_bit() argument 523 void __iomem *ioaddr = rp->base; in rhine_wait_bit() 534 netif_dbg(rp, hw, rp->dev, "%s bit wait (%02x/%02x) cycle " in rhine_wait_bit() 539 static void rhine_wait_bit_high(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_high() argument 541 rhine_wait_bit(rp, reg, mask, false); in rhine_wait_bit_high() 544 static void rhine_wait_bit_low(struct rhine_private *rp, u8 reg, u8 mask) in rhine_wait_bit_low() argument 546 rhine_wait_bit(rp, reg, mask, true); in rhine_wait_bit_low() 549 static u32 rhine_get_events(struct rhine_private *rp) in rhine_get_events() argument 551 void __iomem *ioaddr = rp->base; in rhine_get_events() 556 if (rp->quirks & rqStatusWBRace) in rhine_get_events() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/include/debug/ |
| D | brcmstb.S | 36 #define checkuart(rp, rv, family_id, family) \ argument 38 ldr rp, =family_id ; \ 40 cmp rp, rv ; \ 42 ldreq rp, =UARTA_##family ; \ 46 .macro addruart, rp, rv, tmp 47 adr \rp, 99f @ actual addr of 99f 48 ldr \rv, [\rp] @ linked addr is stored there 49 sub \rv, \rv, \rp @ offset between the two 50 ldr \rp, [\rp, #4] @ linked brcmstb_uart_config 51 sub \tmp, \rp, \rv @ actual brcmstb_uart_config [all …]
|
| D | sa1100.S | 17 .macro addruart, rp, rv, tmp 18 mrc p15, 0, \rp, c1, c0 19 tst \rp, #1 @ MMU enabled? 20 moveq \rp, #0x80000000 @ physical base address 21 movne \rp, #0xf8000000 @ virtual address 28 add \rp, \rp, #0x00050000 29 ldr \rv, [\rp, #UTCR3] 33 addeq \rp, \rp, #(0x00010000 - 0x00050000) 34 ldreq \rv, [\rp, #UTCR3] 38 addeq \rp, \rp, #(0x00030000 - 0x00010000) [all …]
|
| D | tegra.S | 45 #define checkuart(rp, rv, lhu, bit, uart) \ argument 47 ldr rp, =TEGRA_CLK_RST_DEVICES_##lhu ; \ 49 ldr rp, [rp, #0] ; \ 51 tst rp, #(1 << bit) ; \ 55 ldr rp, =TEGRA_CLK_OUT_ENB_##lhu ; \ 57 ldr rp, [rp, #0] ; \ 59 tst rp, #(1 << bit) ; \ 63 ldr rp, =TEGRA_UART##uart##_BASE ; \ 67 .macro addruart, rp, rv, tmp 68 adr \rp, 99f @ actual addr of 99f [all …]
|
| D | omap2plus.S | 27 .macro addruart, rp, rv, tmp 30 10: adr \rp, 99f @ get effective addr of 99f 31 ldr \rv, [\rp] @ get absolute addr of 99f 32 sub \rv, \rv, \rp @ offset between the two 33 ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys 34 sub \tmp, \rp, \rv @ make it effective 35 ldr \rp, [\tmp, #0] @ omap_uart_phys 37 cmp \rp, #0 @ is port configured? 43 ldr \rp, =ZOOM_UART_BASE 44 str \rp, [\tmp, #0] @ omap_uart_phys [all …]
|
| /kernel/linux/linux-5.10/drivers/powercap/ |
| D | intel_rapl_common.c | 94 int (*check_unit)(struct rapl_package *rp, int cpu); 96 u64 (*compute_time_window)(struct rapl_package *rp, u64 val, 131 static void rapl_init_domains(struct rapl_package *rp); 140 static void package_power_limit_irq_save(struct rapl_package *rp); 186 struct rapl_package *rp = rd->rp; in release_zone() local 193 rp->domains = NULL; in release_zone() 316 struct rapl_package *rp; in set_power_limit() local 328 rp = rd->rp; in set_power_limit() 351 package_power_limit_irq_save(rp); in set_power_limit() 534 static void rapl_init_domains(struct rapl_package *rp) in rapl_init_domains() argument [all …]
|
| /kernel/linux/linux-5.10/arch/arm/include/debug/ |
| D | brcmstb.S | 45 #define checkuart(rp, rv, family_id, family) \ argument 47 ldr rp, =family_id ; \ 49 cmp rp, rv ; \ 51 ldreq rp, =UARTA_##family ; \ 55 .macro addruart, rp, rv, tmp 56 adr \rp, 99f @ actual addr of 99f 57 ldr \rv, [\rp] @ linked addr is stored there 58 sub \rv, \rv, \rp @ offset between the two 59 ldr \rp, [\rp, #4] @ linked brcmstb_uart_config 60 sub \tmp, \rp, \rv @ actual brcmstb_uart_config [all …]
|
| D | sa1100.S | 17 .macro addruart, rp, rv, tmp 18 mrc p15, 0, \rp, c1, c0 19 tst \rp, #1 @ MMU enabled? 20 moveq \rp, #0x80000000 @ physical base address 21 movne \rp, #0xf8000000 @ virtual address 28 add \rp, \rp, #0x00050000 29 ldr \rv, [\rp, #UTCR3] 33 addeq \rp, \rp, #(0x00010000 - 0x00050000) 34 ldreq \rv, [\rp, #UTCR3] 38 addeq \rp, \rp, #(0x00030000 - 0x00010000) [all …]
|
| D | tegra.S | 45 #define checkuart(rp, rv, lhu, bit, uart) \ argument 47 ldr rp, =TEGRA_CLK_RST_DEVICES_##lhu ; \ 49 ldr rp, [rp, #0] ; \ 51 tst rp, #(1 << bit) ; \ 55 ldr rp, =TEGRA_CLK_OUT_ENB_##lhu ; \ 57 ldr rp, [rp, #0] ; \ 59 tst rp, #(1 << bit) ; \ 63 ldr rp, =TEGRA_UART##uart##_BASE ; \ 67 .macro addruart, rp, rv, tmp 68 adr \rp, 99f @ actual addr of 99f [all …]
|
| D | omap2plus.S | 27 .macro addruart, rp, rv, tmp 30 10: adr \rp, 99f @ get effective addr of 99f 31 ldr \rv, [\rp] @ get absolute addr of 99f 32 sub \rv, \rv, \rp @ offset between the two 33 ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys 34 sub \tmp, \rp, \rv @ make it effective 35 ldr \rp, [\tmp, #0] @ omap_uart_phys 37 cmp \rp, #0 @ is port configured? 43 ldr \rp, =ZOOM_UART_BASE 44 str \rp, [\tmp, #0] @ omap_uart_phys [all …]
|
| /kernel/linux/linux-6.6/fs/nfsd/ |
| D | nfscache.c | 91 struct nfsd_cacherep *rp; in nfsd_cacherep_alloc() local 93 rp = kmem_cache_alloc(drc_slab, GFP_KERNEL); in nfsd_cacherep_alloc() 94 if (rp) { in nfsd_cacherep_alloc() 95 rp->c_state = RC_UNUSED; in nfsd_cacherep_alloc() 96 rp->c_type = RC_NOCACHE; in nfsd_cacherep_alloc() 97 RB_CLEAR_NODE(&rp->c_node); in nfsd_cacherep_alloc() 98 INIT_LIST_HEAD(&rp->c_lru); in nfsd_cacherep_alloc() 100 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_cacherep_alloc() 101 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_cacherep_alloc() 102 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_cacherep_alloc() [all …]
|
| /kernel/linux/linux-5.10/fs/nfsd/ |
| D | nfscache.c | 97 struct svc_cacherep *rp; in nfsd_reply_cache_alloc() local 99 rp = kmem_cache_alloc(drc_slab, GFP_KERNEL); in nfsd_reply_cache_alloc() 100 if (rp) { in nfsd_reply_cache_alloc() 101 rp->c_state = RC_UNUSED; in nfsd_reply_cache_alloc() 102 rp->c_type = RC_NOCACHE; in nfsd_reply_cache_alloc() 103 RB_CLEAR_NODE(&rp->c_node); in nfsd_reply_cache_alloc() 104 INIT_LIST_HEAD(&rp->c_lru); in nfsd_reply_cache_alloc() 106 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc() 107 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc() 108 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc() [all …]
|
| /kernel/linux/linux-6.6/lib/crypto/mpi/ |
| D | mpi-pow.c | 30 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() local 46 rp = res->d; in mpi_powm() 59 rp = res->d; in mpi_powm() 60 rp[0] = 1; in mpi_powm() 108 if (rp == ep || rp == mp || rp == bp) { in mpi_powm() 109 rp = mpi_alloc_limb_space(size); in mpi_powm() 110 if (!rp) in mpi_powm() 116 rp = res->d; in mpi_powm() 119 if (rp == bp) { in mpi_powm() 125 MPN_COPY(bp, rp, bsize); in mpi_powm() [all …]
|
| /kernel/linux/linux-5.10/lib/mpi/ |
| D | mpi-pow.c | 30 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() local 46 rp = res->d; in mpi_powm() 59 rp = res->d; in mpi_powm() 60 rp[0] = 1; in mpi_powm() 108 if (rp == ep || rp == mp || rp == bp) { in mpi_powm() 109 rp = mpi_alloc_limb_space(size); in mpi_powm() 110 if (!rp) in mpi_powm() 116 rp = res->d; in mpi_powm() 119 if (rp == bp) { in mpi_powm() 125 MPN_COPY(bp, rp, bsize); in mpi_powm() [all …]
|
| /kernel/linux/linux-6.6/drivers/powercap/ |
| D | intel_rapl_common.c | 131 if (rd->rp->priv->type == RAPL_IF_TPMI) { in get_pl_lock_prim() 148 if (rd->rp->priv->limits[rd->id] & BIT(POWER_LIMIT2)) in get_pl_lock_prim() 159 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim() 173 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim() 216 static struct rapl_defaults *get_defaults(struct rapl_package *rp) in get_defaults() argument 218 return rp->priv->defaults; in get_defaults() 249 static void rapl_init_domains(struct rapl_package *rp); 264 static void package_power_limit_irq_save(struct rapl_package *rp); 310 struct rapl_package *rp = rd->rp; in release_zone() local 317 rp->domains = NULL; in release_zone() [all …]
|
| /kernel/linux/linux-6.6/net/bluetooth/ |
| D | hci_event.c | 89 struct hci_ev_status *rp = data; in hci_cc_inquiry_cancel() local 91 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel() 100 if (rp->status == 0x0c && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel() 102 rp->status = 0x00; in hci_cc_inquiry_cancel() 105 if (rp->status) in hci_cc_inquiry_cancel() 106 return rp->status; in hci_cc_inquiry_cancel() 123 return rp->status; in hci_cc_inquiry_cancel() 129 struct hci_ev_status *rp = data; in hci_cc_periodic_inq() local 131 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_periodic_inq() 133 if (rp->status) in hci_cc_periodic_inq() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | rocket.h | 72 * Rocketport ioctls -- "RP" 81 #define MODEL_RP32INTF 0x0001 /* RP 32 port w/external I/F */ 82 #define MODEL_RP8INTF 0x0002 /* RP 8 port w/external I/F */ 83 #define MODEL_RP16INTF 0x0003 /* RP 16 port w/external I/F */ 84 #define MODEL_RP8OCTA 0x0005 /* RP 8 port w/octa cable */ 85 #define MODEL_RP4QUAD 0x0004 /* RP 4 port w/quad cable */ 86 #define MODEL_RP8J 0x0006 /* RP 8 port w/RJ11 connectors */ 87 #define MODEL_RP4J 0x0007 /* RP 4 port w/RJ45 connectors */ 88 #define MODEL_RP8SNI 0x0008 /* RP 8 port w/ DB78 SNI connector */ 89 #define MODEL_RP16SNI 0x0009 /* RP 16 port w/ DB78 SNI connector */ [all …]
|
| /kernel/linux/linux-6.6/drivers/pwm/ |
| D | pwm-rcar.c | 51 static void rcar_pwm_write(struct rcar_pwm_chip *rp, u32 data, in rcar_pwm_write() argument 54 writel(data, rp->base + offset); in rcar_pwm_write() 57 static u32 rcar_pwm_read(struct rcar_pwm_chip *rp, unsigned int offset) in rcar_pwm_read() argument 59 return readl(rp->base + offset); in rcar_pwm_read() 62 static void rcar_pwm_update(struct rcar_pwm_chip *rp, u32 mask, u32 data, in rcar_pwm_update() argument 67 value = rcar_pwm_read(rp, offset); in rcar_pwm_update() 70 rcar_pwm_write(rp, value, offset); in rcar_pwm_update() 73 static int rcar_pwm_get_clock_division(struct rcar_pwm_chip *rp, int period_ns) in rcar_pwm_get_clock_division() argument 75 unsigned long clk_rate = clk_get_rate(rp->clk); in rcar_pwm_get_clock_division() 89 static void rcar_pwm_set_clock_control(struct rcar_pwm_chip *rp, in rcar_pwm_set_clock_control() argument [all …]
|