| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 101 static void __raw3270_disconnect(struct raw3270 *rp); 117 static inline int raw3270_state_ready(struct raw3270 *rp) in raw3270_state_ready() argument 119 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready() 122 void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y) in raw3270_buffer_address() argument 127 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 129 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 130 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 131 if (test_bit(RAW3270_FLAGS_14BITADDR, &rp->flags)) { in raw3270_buffer_address() 250 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 255 if (list_empty(&rp->req_queue) && in __raw3270_start() [all …]
|
| /linux/drivers/usb/mon/ |
| H A D | mon_bin.c | 205 static inline struct mon_bin_hdr *MON_OFF2HDR(const struct mon_reader_bin *rp, in MON_OFF2HDR() argument 209 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR() 212 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0) argument 225 static void mon_buff_area_fill(const struct mon_reader_bin *rp, 227 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp); 300 static unsigned int mon_buff_area_alloc(struct mon_reader_bin *rp, in mon_buff_area_alloc() argument 306 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc() 308 offset = rp->b_in; in mon_buff_area_alloc() 309 rp->b_cnt += size; in mon_buff_area_alloc() 310 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc() [all …]
|
| H A 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/drivers/tee/optee/ |
| H A D | protmem.c | 35 static int init_dyn_protmem(struct optee_protmem_dyn_pool *rp) in init_dyn_protmem() argument 39 rp->protmem = tee_shm_alloc_dma_mem(rp->optee->ctx, rp->page_count); in init_dyn_protmem() 40 if (IS_ERR(rp->protmem)) { in init_dyn_protmem() 41 rc = PTR_ERR(rp->protmem); in init_dyn_protmem() 53 rc = rp->optee->ops->lend_protmem(rp->optee, rp->protmem, in init_dyn_protmem() 54 rp->mem_attrs, in init_dyn_protmem() 55 rp->mem_attr_count, rp->use_case); in init_dyn_protmem() 58 rp->protmem->flags |= TEE_SHM_DYNAMIC; in init_dyn_protmem() 60 rp->gen_pool = gen_pool_create(PAGE_SHIFT, -1); in init_dyn_protmem() 61 if (!rp->gen_pool) { in init_dyn_protmem() [all …]
|
| /linux/drivers/net/ethernet/via/ |
| H A 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 …]
|
| /linux/fs/nfsd/ |
| H A D | nfscache.c | 93 struct nfsd_cacherep *rp; in nfsd_cacherep_alloc() local 95 rp = kmem_cache_alloc(drc_slab, GFP_KERNEL); in nfsd_cacherep_alloc() 96 if (rp) { in nfsd_cacherep_alloc() 97 rp->c_state = RC_UNUSED; in nfsd_cacherep_alloc() 98 rp->c_type = RC_NOCACHE; in nfsd_cacherep_alloc() 99 RB_CLEAR_NODE(&rp->c_node); in nfsd_cacherep_alloc() 100 INIT_LIST_HEAD(&rp->c_lru); in nfsd_cacherep_alloc() 102 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_cacherep_alloc() 103 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_cacherep_alloc() 104 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_cacherep_alloc() [all …]
|
| /linux/arch/arm/include/debug/ |
| H A D | brcmstb.S | 37 #define checkuart(rp, rv, family_id, family) \ argument 39 ldr rp, =family_id ; \ 41 cmp rp, rv ; \ 43 ldreq rp, =UARTA_##family ; \ 47 .macro addruart, rp, rv, tmp 48 adr \rp, 99f @ actual addr of 99f 49 ldr \rv, [\rp] @ linked addr is stored there 50 sub \rv, \rv, \rp @ offset between the two 51 ldr \rp, [\rp, #4] @ linked brcmstb_uart_config 52 sub \tmp, \rp, \rv @ actual brcmstb_uart_config [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | vexpress.S | 22 .macro addruart,rp,rv,tmp 30 mrc p15, 0, \rp, c0, c0, 0 33 cmp \rp, \rv 36 moveq \rp, #DEBUG_LL_UART_OFFSET 37 orreq \rv, \rp, #DEBUG_LL_VIRT_BASE 38 orreq \rp, \rp, #DEBUG_LL_PHYS_BASE 41 movne \rp, #DEBUG_LL_UART_OFFSET_RS1 42 orrne \rv, \rp, #DEBUG_LL_VIRT_BASE 43 orrne \rp, \rp, #DEBUG_LL_PHYS_BASE_RS1
|
| H A D | dc21285.S | 17 .macro addruart, rp, rv, tmp 19 mov \rp, #dc21285_low 21 mov \rp, #0 23 orr \rv, \rp, #dc21285_high 24 orr \rp, \rp, #0x42000000
|
| /linux/drivers/powercap/ |
| H A D | intel_rapl_common.c | 83 if (rd->rp->priv->type == RAPL_IF_TPMI) { in get_pl_lock_prim() 100 if (rd->rp->priv->limits[rd->id] & BIT(POWER_LIMIT2)) in get_pl_lock_prim() 111 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim() 125 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim() 155 static const struct rapl_defaults *get_defaults(struct rapl_package *rp) in get_defaults() argument 157 return rp->priv->defaults; in get_defaults() 160 static void rapl_init_domains(struct rapl_package *rp); 176 static void package_power_limit_irq_save(struct rapl_package *rp); 222 struct rapl_package *rp = rd->rp; in release_zone() local 229 rp->domains = NULL; in release_zone() [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | mpi-pow.c | 32 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() local 48 rp = res->d; in mpi_powm() 61 rp = res->d; in mpi_powm() 62 rp[0] = 1; in mpi_powm() 110 if (rp == ep || rp == mp || rp == bp) { in mpi_powm() 111 rp = mpi_alloc_limb_space(size); in mpi_powm() 112 if (!rp) in mpi_powm() 118 rp = res->d; in mpi_powm() 121 if (rp == bp) { in mpi_powm() 127 MPN_COPY(bp, rp, bsize); in mpi_powm() [all …]
|
| H A D | mpi-div.c | 64 mpi_ptr_t qp, rp; in mpi_tdiv_qr() local 111 rp = rem->d; in mpi_tdiv_qr() 124 rp[0] = rlimb; in mpi_tdiv_qr() 144 qp = rp + dsize; in mpi_tdiv_qr() 170 nlimb = mpihelp_lshift(rp, np, nsize, normalization_steps); in mpi_tdiv_qr() 172 rp[nsize] = nlimb; in mpi_tdiv_qr() 180 if (dp == rp || (quot && (dp == qp))) { in mpi_tdiv_qr() 191 if (rp != np) in mpi_tdiv_qr() 192 MPN_COPY(rp, np, nsize); in mpi_tdiv_qr() 197 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); in mpi_tdiv_qr() [all …]
|
| /linux/net/bluetooth/ |
| H A D | hci_event.c | 87 struct hci_ev_status *rp = data; in hci_cc_inquiry_cancel() local 89 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel() 98 if (rp->status == HCI_ERROR_COMMAND_DISALLOWED && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel() 100 rp->status = 0x00; in hci_cc_inquiry_cancel() 103 if (rp->status) in hci_cc_inquiry_cancel() 104 return rp->status; in hci_cc_inquiry_cancel() 119 return rp->status; in hci_cc_inquiry_cancel() 125 struct hci_ev_status *rp = data; in hci_cc_periodic_inq() local 127 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_periodic_inq() 129 if (rp in hci_cc_periodic_inq() 140 struct hci_ev_status *rp = data; hci_cc_exit_periodic_inq() local 155 struct hci_rp_remote_name_req_cancel *rp = data; hci_cc_remote_name_req_cancel() local 165 struct hci_rp_role_discovery *rp = data; hci_cc_role_discovery() local 187 struct hci_rp_read_link_policy *rp = data; hci_cc_read_link_policy() local 209 struct hci_rp_write_link_policy *rp = data; hci_cc_write_link_policy() local 236 struct hci_rp_read_def_link_policy *rp = data; hci_cc_read_def_link_policy() local 251 struct hci_ev_status *rp = data; hci_cc_write_def_link_policy() local 270 struct hci_ev_status *rp = data; hci_cc_reset() local 311 struct hci_rp_read_stored_link_key *rp = data; hci_cc_read_stored_link_key() local 331 struct hci_rp_delete_stored_link_key *rp = data; hci_cc_delete_stored_link_key() local 352 struct hci_ev_status *rp = data; hci_cc_write_local_name() local 376 struct hci_rp_read_local_name *rp = data; hci_cc_read_local_name() local 393 struct hci_ev_status *rp = data; hci_cc_write_auth_enable() local 424 struct hci_ev_status *rp = data; hci_cc_write_encrypt_mode() local 450 struct hci_ev_status *rp = data; hci_cc_write_scan_enable() local 488 struct hci_ev_status *rp = data; hci_cc_set_event_filter() local 514 struct hci_rp_read_class_of_dev *rp = data; hci_cc_read_class_of_dev() local 535 struct hci_ev_status *rp = data; hci_cc_write_class_of_dev() local 560 struct hci_rp_read_voice_setting *rp = data; hci_cc_read_voice_setting() local 586 struct hci_ev_status *rp = data; hci_cc_write_voice_setting() local 617 struct hci_rp_read_num_supported_iac *rp = data; hci_cc_read_num_supported_iac() local 634 struct hci_ev_status *rp = data; hci_cc_write_ssp_mode() local 667 struct hci_ev_status *rp = data; hci_cc_write_sc_support() local 700 struct hci_rp_read_local_version *rp = data; hci_cc_read_local_version() local 722 struct hci_rp_read_enc_key_size *rp = data; hci_cc_read_enc_key_size() local 788 struct hci_rp_read_local_commands *rp = data; hci_cc_read_local_commands() local 805 struct hci_rp_read_auth_payload_to *rp = data; hci_cc_read_auth_payload_timeout() local 827 struct hci_rp_write_auth_payload_to *rp = data; hci_cc_write_auth_payload_timeout() local 857 struct hci_rp_read_local_features *rp = data; hci_cc_read_local_features() local 909 struct hci_rp_read_local_ext_features *rp = data; hci_cc_read_local_ext_features() local 933 struct hci_rp_read_buffer_size *rp = data; hci_cc_read_buffer_size() local 968 struct hci_rp_read_bd_addr *rp = data; hci_cc_read_bd_addr() local 987 struct hci_rp_read_local_pairing_opts *rp = data; hci_cc_read_local_pairing_opts() local 1006 struct hci_rp_read_page_scan_activity *rp = data; hci_cc_read_page_scan_activity() local 1024 struct hci_ev_status *rp = data; hci_cc_write_page_scan_activity() local 1045 struct hci_rp_read_page_scan_type *rp = data; hci_cc_read_page_scan_type() local 1061 struct hci_ev_status *rp = data; hci_cc_write_page_scan_type() local 1079 struct hci_rp_read_clock *rp = data; hci_cc_read_clock() local 1113 struct hci_rp_read_inq_rsp_tx_power *rp = data; hci_cc_read_inq_rsp_tx_power() local 1128 struct hci_rp_read_def_err_data_reporting *rp = data; hci_cc_read_def_err_data_reporting() local 1143 struct hci_ev_status *rp = data; hci_cc_write_def_err_data_reporting() local 1163 struct hci_rp_pin_code_reply *rp = data; hci_cc_pin_code_reply() local 1193 struct hci_rp_pin_code_neg_reply *rp = data; hci_cc_pin_code_neg_reply() local 1211 struct hci_rp_le_read_buffer_size *rp = data; hci_cc_le_read_buffer_size() local 1234 struct hci_rp_le_read_local_features *rp = data; hci_cc_le_read_local_features() local 1249 struct hci_rp_le_read_conn_interval *rp = data; hci_cc_le_read_conn_interval() local 1282 struct hci_rp_le_read_adv_tx_power *rp = data; hci_cc_le_read_adv_tx_power() local 1297 struct hci_rp_user_confirm_reply *rp = data; hci_cc_user_confirm_reply() local 1315 struct hci_rp_user_confirm_reply *rp = data; hci_cc_user_confirm_neg_reply() local 1333 struct hci_rp_user_confirm_reply *rp = data; hci_cc_user_passkey_reply() local 1351 struct hci_rp_user_confirm_reply *rp = data; hci_cc_user_passkey_neg_reply() local 1369 struct hci_rp_read_local_oob_data *rp = data; hci_cc_read_local_oob_data() local 1379 struct hci_rp_read_local_oob_ext_data *rp = data; hci_cc_read_local_oob_ext_data() local 1389 struct hci_ev_status *rp = data; hci_cc_le_set_random_addr() local 1419 struct hci_ev_status *rp = data; hci_cc_le_set_default_phy() local 1444 struct hci_ev_status *rp = data; hci_cc_le_set_adv_set_random_addr() local 1482 struct hci_ev_status *rp = data; hci_cc_le_remove_adv_set() local 1510 struct hci_ev_status *rp = data; hci_cc_le_clear_adv_sets() local 1541 struct hci_rp_le_read_transmit_power *rp = data; hci_cc_le_read_transmit_power() local 1557 struct hci_ev_status *rp = data; hci_cc_le_set_privacy_mode() local 1584 struct hci_ev_status *rp = data; hci_cc_le_set_adv_enable() local 1626 struct hci_ev_status *rp = data; hci_cc_le_set_ext_adv_enable() local 1693 struct hci_ev_status *rp = data; hci_cc_le_set_scan_param() local 1717 struct hci_ev_status *rp = data; hci_cc_le_set_ext_scan_param() local 1839 struct hci_ev_status *rp = data; hci_cc_le_set_scan_enable() local 1859 struct hci_ev_status *rp = data; hci_cc_le_set_ext_scan_enable() local 1878 struct hci_rp_le_read_num_supported_adv_sets *rp = data; hci_cc_le_read_num_adv_sets() local 1894 struct hci_rp_le_read_accept_list_size *rp = data; hci_cc_le_read_accept_list_size() local 1909 struct hci_ev_status *rp = data; hci_cc_le_clear_accept_list() local 1927 struct hci_ev_status *rp = data; hci_cc_le_add_to_accept_list() local 1950 struct hci_ev_status *rp = data; hci_cc_le_del_from_accept_list() local 1972 struct hci_rp_le_read_supported_states *rp = data; hci_cc_le_read_supported_states() local 1987 struct hci_rp_le_read_def_data_len *rp = data; hci_cc_le_read_def_data_len() local 2004 struct hci_ev_status *rp = data; hci_cc_le_write_def_data_len() local 2025 struct hci_ev_status *rp = data; hci_cc_le_add_to_resolv_list() local 2049 struct hci_ev_status *rp = data; hci_cc_le_del_from_resolv_list() local 2071 struct hci_ev_status *rp = data; hci_cc_le_clear_resolv_list() local 2088 struct hci_rp_le_read_resolv_list_size *rp = data; hci_cc_le_read_resolv_list_size() local 2103 struct hci_ev_status *rp = data; hci_cc_le_set_addr_resolution_enable() local 2130 struct hci_rp_le_read_max_data_len *rp = data; hci_cc_le_read_max_data_len() local 2149 struct hci_ev_status *rp = data; hci_cc_write_le_host_supported() local 2185 struct hci_ev_status *rp = data; hci_cc_set_adv_param() local 2206 struct hci_rp_read_rssi *rp = data; hci_cc_read_rssi() local 2229 struct hci_rp_read_tx_power *rp = data; hci_cc_read_tx_power() local 2264 struct hci_ev_status *rp = data; hci_cc_write_ssp_debug_mode() local 3815 struct hci_rp_le_read_buffer_size_v2 *rp = data; hci_cc_le_read_buffer_size_v2() local 3858 struct hci_rp_le_set_cig_params *rp = data; hci_cc_le_set_cig_params() local 3925 struct hci_rp_le_setup_iso_path *rp = data; hci_cc_le_setup_iso_path() local 3976 struct hci_rp_le_read_all_local_features *rp = data; hci_cc_le_read_all_local_features() local 4019 struct hci_ev_status *rp = data; hci_cc_set_per_adv_param() local 4038 struct hci_ev_status *rp = data; hci_cc_le_set_per_adv_enable() local [all...] |
| H A D | mgmt.c | 357 struct mgmt_rp_read_version *rp = ver; in mgmt_fill_version_info() local 359 rp->version = MGMT_VERSION; in mgmt_fill_version_info() 360 rp->revision = cpu_to_le16(MGMT_REVISION); in mgmt_fill_version_info() 366 struct mgmt_rp_read_version rp; in read_version() local 370 mgmt_fill_version_info(&rp); in read_version() 373 &rp, sizeof(rp)); in read_version() 379 struct mgmt_rp_read_commands *rp; in read_commands() local 394 rp_size = sizeof(*rp) + ((num_commands + num_events) * sizeof(u16)); in read_commands() 396 rp in read_commands() 431 struct mgmt_rp_read_index_list *rp; read_index_list() local 489 struct mgmt_rp_read_unconf_index_list *rp; read_unconf_index_list() local 547 struct mgmt_rp_read_ext_index_list *rp; read_ext_index_list() local 659 struct mgmt_rp_read_config_info rp; read_config_info() local 1166 struct mgmt_rp_read_info rp; read_controller_info() local 1221 struct mgmt_rp_read_ext_info *rp = (void *)buf; read_ext_controller_info() local 2383 struct mgmt_rp_mesh_read_features *rp = data; send_count() local 2394 struct mgmt_rp_mesh_read_features rp; mesh_features() local 2488 struct mgmt_rp_mesh_read_features rp; mesh_send() local 3156 struct mgmt_rp_unpair_device rp; unpair_device() local 3325 struct mgmt_rp_disconnect rp; disconnect() local 3392 struct mgmt_rp_get_connections *rp; get_connections() local 3601 struct mgmt_rp_pair_device rp; pairing_complete() local 3679 struct mgmt_rp_pair_device rp; pair_device() local 4198 struct mgmt_rp_get_phy_configuration rp; get_phy_configuration() local 4536 struct mgmt_rp_read_controller_cap *rp = (void *)buf; read_controller_cap() local 4640 struct mgmt_rp_read_exp_features_info *rp; read_exp_features_info() local 4753 struct mgmt_rp_set_exp_feature rp; set_zero_key_func() local 4780 struct mgmt_rp_set_exp_feature rp; set_debug_func() local 4826 struct mgmt_rp_set_exp_feature rp; set_mgmt_mesh_func() local 4878 struct mgmt_rp_set_exp_feature rp; set_quality_report_func() local 4954 struct mgmt_rp_set_exp_feature rp; set_offload_codec_func() local 5012 struct mgmt_rp_set_exp_feature rp; set_le_simultaneous_roles_func() local 5068 struct mgmt_rp_set_exp_feature rp; set_iso_socket_func() local 5158 struct mgmt_rp_get_device_flags rp; get_device_flags() local 5390 struct mgmt_rp_read_adv_monitor_features *rp = NULL; read_adv_mon_features() local 5438 struct mgmt_rp_add_adv_patterns_monitor rp; mgmt_add_adv_patterns_monitor_complete() local 5674 struct mgmt_rp_remove_adv_monitor rp; mgmt_remove_adv_monitor_complete() local 5787 struct hci_rp_read_local_oob_data *rp = (void *) skb->data; read_local_oob_data_complete() local 5801 struct hci_rp_read_local_oob_ext_data *rp = (void *) skb->data; read_local_oob_data_complete() local 7457 struct mgmt_rp_get_conn_info rp; get_conn_info_complete() local 7532 struct mgmt_rp_get_conn_info rp; get_conn_info() local 7623 struct mgmt_rp_get_clock_info rp; get_clock_info_complete() local 7685 struct mgmt_rp_get_clock_info rp; get_clock_info() local 8450 struct hci_rp_read_local_oob_data *rp; read_local_oob_ext_data_complete() local 8466 struct hci_rp_read_local_oob_ext_data *rp; read_local_oob_ext_data_complete() local 8563 struct mgmt_rp_read_local_oob_ext_data *rp; read_local_oob_ext_data() local 8760 struct mgmt_rp_read_adv_features *rp; read_adv_features() local 8967 struct mgmt_rp_add_advertising rp; add_advertising_complete() local 8997 struct mgmt_rp_add_advertising rp; add_advertising() local 9133 struct mgmt_rp_add_ext_adv_params rp; add_ext_adv_params_complete() local 9190 struct mgmt_rp_add_ext_adv_params rp; add_ext_adv_params() local 9306 struct mgmt_rp_add_advertising rp; add_ext_adv_data_complete() local 9349 struct mgmt_rp_add_ext_adv_data rp; add_ext_adv_data() local 9476 struct mgmt_rp_remove_advertising rp; remove_advertising_complete() local 9561 struct mgmt_rp_get_adv_size_info rp; get_adv_size_info() local [all...] |
| /linux/drivers/pci/controller/mobiveil/ |
| H A D | pcie-mobiveil-host.c | 52 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_map_bus() local 74 return rp->config_axi_slave_base + where; in mobiveil_pcie_map_bus() 88 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_isr() local 89 struct mobiveil_msi *msi = &rp->msi; in mobiveil_pcie_isr() 116 ret = generic_handle_domain_irq(rp->intx_domain, in mobiveil_pcie_isr() 171 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_parse_dt() local 177 rp->config_axi_slave_base = devm_pci_remap_cfg_resource(dev, res); in mobiveil_pcie_parse_dt() 178 if (IS_ERR(rp->config_axi_slave_base)) in mobiveil_pcie_parse_dt() 179 return PTR_ERR(rp->config_axi_slave_base); in mobiveil_pcie_parse_dt() 180 rp->ob_io_res = res; in mobiveil_pcie_parse_dt() [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | hpmc.S | 153 ldil L%PA(os_hpmc_2), rp 155 ldo R%PA(os_hpmc_2)(rp), rp 168 ldil L%PA(os_hpmc_3),rp 170 ldo R%PA(os_hpmc_3)(rp),rp 198 ldil L%PA(os_hpmc_4),rp 200 ldo R%PA(os_hpmc_4)(rp),rp 220 ldil L%PA(os_hpmc_5),rp 222 ldo R%PA(os_hpmc_5)(rp),rp 268 ldil L%PA(os_hpmc_6),rp 270 ldo R%PA(os_hpmc_6)(rp),rp
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 3289 static unsigned int niu_hash_rxaddr(struct rx_ring_info *rp, u64 a) in niu_hash_rxaddr() argument 3297 static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr, in niu_find_rxpage() argument 3300 unsigned int h = niu_hash_rxaddr(rp, addr); in niu_find_rxpage() 3304 pp = &rp->rxhash[h]; in niu_find_rxpage() 3317 static void niu_hash_page(struct rx_ring_info *rp, struct page *page, u64 base) in niu_hash_page() argument 3319 unsigned int h = niu_hash_rxaddr(rp, base); in niu_hash_page() 3322 niu_next_page(page) = rp->rxhash[h]; in niu_hash_page() 3323 rp->rxhash[h] = page; in niu_hash_page() 3326 static int niu_rbr_add_page(struct niu *np, struct rx_ring_info *rp, in niu_rbr_add_page() argument 3344 niu_hash_page(rp, page, addr); in niu_rbr_add_page() [all …]
|
| /linux/include/asm-generic/ |
| H A D | flat.h | 7 static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, in flat_get_addr_from_rp() argument 11 return copy_from_user(addr, rp, 4) ? -EFAULT : 0; in flat_get_addr_from_rp() 13 return get_user(*addr, rp); in flat_get_addr_from_rp() 17 static inline int flat_put_addr_at_rp(u32 __user *rp, u32 addr, u32 rel) in flat_put_addr_at_rp() argument 20 return copy_to_user(rp, &addr, 4) ? -EFAULT : 0; in flat_put_addr_at_rp() 22 return put_user(addr, rp); in flat_put_addr_at_rp()
|
| /linux/drivers/md/ |
| H A D | raid1-10.c | 38 static inline int resync_alloc_pages(struct resync_pages *rp, in resync_alloc_pages() argument 44 rp->pages[i] = alloc_page(gfp_flags); in resync_alloc_pages() 45 if (!rp->pages[i]) in resync_alloc_pages() 53 put_page(rp->pages[i]); in resync_alloc_pages() 57 static inline void resync_free_pages(struct resync_pages *rp) in resync_free_pages() argument 62 put_page(rp->pages[i]); in resync_free_pages() 65 static inline void resync_get_all_pages(struct resync_pages *rp) in resync_get_all_pages() argument 70 get_page(rp->pages[i]); in resync_get_all_pages() 73 static inline struct page *resync_fetch_page(struct resync_pages *rp, in resync_fetch_page() argument 78 return rp->pages[idx]; in resync_fetch_page() [all …]
|
| /linux/fs/jfs/ |
| H A D | jfs_unicode.h | 103 const struct UniCaseRange *rp; in UniToupper() local 108 rp = NlsUniUpperRange; /* Use range tables */ in UniToupper() 109 while (rp->start) { in UniToupper() 110 if (uc < rp->start) /* Before start of range */ in UniToupper() 112 if (uc <= rp->end) /* In range */ in UniToupper() 113 return uc + rp->table[uc - rp->start]; in UniToupper() 114 rp++; /* Try next range */ in UniToupper()
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | debugfs.c | 82 struct mt7601u_rate_power *rp = &dev->ee->power_rate_table; in mt7601u_eeprom_param_show() local 97 rp->cck[i].raw, rp->cck[i].bw20, rp->cck[i].bw40); in mt7601u_eeprom_param_show() 100 rp->ofdm[i].raw, rp->ofdm[i].bw20, rp->ofdm[i].bw40); in mt7601u_eeprom_param_show() 103 rp->ht[i].raw, rp->ht[i].bw20, rp->ht[i].bw40); in mt7601u_eeprom_param_show()
|
| /linux/kernel/trace/ |
| H A D | trace_kprobe.c | 62 struct kretprobe rp; /* Use rp.kp for kprobe use */ member 90 return tk->rp.handler != NULL; in trace_kprobe_is_return() 100 return tk->rp.kp.offset; in trace_kprobe_offset() 105 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone() 159 snprintf(buf, sizeof(buf), "0x%p", tk->rp.kp.addr); in trace_kprobe_match_command_head() 162 } else if (tk->rp.kp.offset) { in trace_kprobe_match_command_head() 168 snprintf(buf, sizeof(buf), "%u", tk->rp.kp.offset); in trace_kprobe_match_command_head() 203 return !(list_empty(&tk->rp.kp.list) && in trace_kprobe_is_registered() 204 hlist_unhashed(&tk->rp.kp.hlist)); in trace_kprobe_is_registered() 217 addr += tk->rp.kp.offset; in trace_kprobe_address() [all …]
|