Home
last modified time | relevance | path

Searched full:rp (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/openbmc/linux/drivers/s390/char/
H A Draw3270.c97 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 …]
/openbmc/linux/drivers/usb/mon/
H A Dmon_bin.c203 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 …]
H A Dmon_text.c106 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 …]
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c521 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 …]
/openbmc/linux/arch/arm/include/debug/
H A Dbrcmstb.S36 #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 …]
H A Dsa1100.S17 .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 Dtegra.S45 #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 Domap2plus.S27 .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 Dvexpress.S22 .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
/openbmc/linux/fs/nfsd/
H A Dnfscache.c91 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 …]
/openbmc/linux/lib/crypto/mpi/
H A Dmpi-pow.c30 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 …]
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_common.c132 if (rd->rp->priv->type == RAPL_IF_TPMI) { in get_pl_lock_prim()
149 if (rd->rp->priv->limits[rd->id] & BIT(POWER_LIMIT2)) in get_pl_lock_prim()
160 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim()
174 if (prim == PL_CLAMP && rd->rp->priv->type != RAPL_IF_TPMI) in get_pl_prim()
217 static struct rapl_defaults *get_defaults(struct rapl_package *rp) in get_defaults() argument
219 return rp->priv->defaults; in get_defaults()
250 static void rapl_init_domains(struct rapl_package *rp);
265 static void package_power_limit_irq_save(struct rapl_package *rp);
311 struct rapl_package *rp = rd->rp; in release_zone() local
318 rp->domains = NULL; in release_zone()
[all …]
H A Dintel_rapl_msr.c74 struct rapl_package *rp; in rapl_cpu_online() local
76 rp = rapl_find_package_domain_cpuslocked(cpu, rapl_msr_priv, true); in rapl_cpu_online()
77 if (!rp) { in rapl_cpu_online()
78 rp = rapl_add_package_cpuslocked(cpu, rapl_msr_priv, true); in rapl_cpu_online()
79 if (IS_ERR(rp)) in rapl_cpu_online()
80 return PTR_ERR(rp); in rapl_cpu_online()
82 cpumask_set_cpu(cpu, &rp->cpumask); in rapl_cpu_online()
88 struct rapl_package *rp; in rapl_cpu_down_prep() local
91 rp = rapl_find_package_domain_cpuslocked(cpu, rapl_msr_priv, true); in rapl_cpu_down_prep()
92 if (!rp) in rapl_cpu_down_prep()
[all …]
/openbmc/linux/net/bluetooth/
H A Dhci_event.c89 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 == HCI_ERROR_COMMAND_DISALLOWED && !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()
121 return rp->status; in hci_cc_inquiry_cancel()
127 struct hci_ev_status *rp = data; in hci_cc_periodic_inq() local
129 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_periodic_inq()
131 if (rp->status) in hci_cc_periodic_inq()
[all …]
H A Dhci_codec.c11 struct hci_rp_read_local_codec_caps *rp, in hci_codec_list_add() argument
29 if (rp) { in hci_codec_list_add()
30 entry->num_caps = rp->num_caps; in hci_codec_list_add()
56 struct hci_rp_read_local_codec_caps *rp; in hci_read_codec_capabilities() local
83 if (skb->len < sizeof(*rp)) in hci_read_codec_capabilities()
86 rp = (void *)skb->data; in hci_read_codec_capabilities()
88 if (rp->status) in hci_read_codec_capabilities()
91 if (!rp->num_caps) { in hci_read_codec_capabilities()
97 skb_pull(skb, sizeof(*rp)); in hci_read_codec_capabilities()
99 for (j = 0, len = 0; j < rp->num_caps; j++) { in hci_read_codec_capabilities()
[all …]
H A Dmgmt.c360 struct mgmt_rp_read_version *rp = ver; in mgmt_fill_version_info() local
362 rp->version = MGMT_VERSION; in mgmt_fill_version_info()
363 rp->revision = cpu_to_le16(MGMT_REVISION); in mgmt_fill_version_info()
369 struct mgmt_rp_read_version rp; in read_version() local
373 mgmt_fill_version_info(&rp); in read_version()
376 &rp, sizeof(rp)); in read_version()
382 struct mgmt_rp_read_commands *rp; in read_commands() local
397 rp_size = sizeof(*rp) + ((num_commands + num_events) * sizeof(u16)); in read_commands()
399 rp in read_commands()
434 struct mgmt_rp_read_index_list *rp; read_index_list() local
492 struct mgmt_rp_read_unconf_index_list *rp; read_unconf_index_list() local
550 struct mgmt_rp_read_ext_index_list *rp; read_ext_index_list() local
662 struct mgmt_rp_read_config_info rp; read_config_info() local
1140 struct mgmt_rp_read_info rp; read_controller_info() local
1195 struct mgmt_rp_read_ext_info *rp = (void *)buf; read_ext_controller_info() local
2275 struct mgmt_rp_mesh_read_features *rp = data; send_count() local
2286 struct mgmt_rp_mesh_read_features rp; mesh_features() local
2375 struct mgmt_rp_mesh_read_features rp; mesh_send() local
2947 struct mgmt_rp_unpair_device rp; unpair_device() local
3108 struct mgmt_rp_disconnect rp; disconnect() local
3173 struct mgmt_rp_get_connections *rp; get_connections() local
3350 struct mgmt_rp_pair_device rp; pairing_complete() local
3428 struct mgmt_rp_pair_device rp; pair_device() local
3927 struct mgmt_rp_get_phy_configuration rp; get_phy_configuration() local
4265 struct mgmt_rp_read_controller_cap *rp = (void *)buf; read_controller_cap() local
4375 struct mgmt_rp_read_exp_features_info *rp; read_exp_features_info() local
4522 struct mgmt_rp_set_exp_feature rp; set_zero_key_func() local
4559 struct mgmt_rp_set_exp_feature rp; set_debug_func() local
4605 struct mgmt_rp_set_exp_feature rp; set_mgmt_mesh_func() local
4657 struct mgmt_rp_set_exp_feature rp; set_rpa_resolution_func() local
4722 struct mgmt_rp_set_exp_feature rp; set_quality_report_func() local
4798 struct mgmt_rp_set_exp_feature rp; set_offload_codec_func() local
4856 struct mgmt_rp_set_exp_feature rp; set_le_simultaneous_roles_func() local
4912 struct mgmt_rp_set_exp_feature rp; set_iso_socket_func() local
5019 struct mgmt_rp_get_device_flags rp; get_device_flags() local
5192 struct mgmt_rp_read_adv_monitor_features *rp = NULL; read_adv_mon_features() local
5240 struct mgmt_rp_add_adv_patterns_monitor rp; mgmt_add_adv_patterns_monitor_complete() local
5454 struct mgmt_rp_remove_adv_monitor rp; mgmt_remove_adv_monitor_complete() local
5559 struct hci_rp_read_local_oob_data *rp = (void *) skb->data; read_local_oob_data_complete() local
5573 struct hci_rp_read_local_oob_ext_data *rp = (void *) skb->data; read_local_oob_data_complete() local
7248 struct mgmt_rp_get_conn_info rp; get_conn_info_complete() local
7314 struct mgmt_rp_get_conn_info rp; get_conn_info() local
7405 struct mgmt_rp_get_clock_info rp; get_clock_info_complete() local
7458 struct mgmt_rp_get_clock_info rp; get_clock_info() local
8069 struct hci_rp_read_local_oob_data *rp; read_local_oob_ext_data_complete() local
8085 struct hci_rp_read_local_oob_ext_data *rp; read_local_oob_ext_data_complete() local
8182 struct mgmt_rp_read_local_oob_ext_data *rp; read_local_oob_ext_data() local
8379 struct mgmt_rp_read_adv_features *rp; read_adv_features() local
8586 struct mgmt_rp_add_advertising rp; add_advertising_complete() local
8616 struct mgmt_rp_add_advertising rp; add_advertising() local
8752 struct mgmt_rp_add_ext_adv_params rp; add_ext_adv_params_complete() local
8810 struct mgmt_rp_add_ext_adv_params rp; add_ext_adv_params() local
8926 struct mgmt_rp_add_advertising rp; add_ext_adv_data_complete() local
8969 struct mgmt_rp_add_ext_adv_data rp; add_ext_adv_data() local
9089 struct mgmt_rp_remove_advertising rp; remove_advertising_complete() local
9174 struct mgmt_rp_get_adv_size_info rp; get_adv_size_info() local
[all...]
/openbmc/linux/drivers/pwm/
H A Dpwm-rcar.c51 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 …]
/openbmc/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil-host.c51 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_map_bus() local
73 return rp->config_axi_slave_base + where; in mobiveil_pcie_map_bus()
87 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_isr() local
88 struct mobiveil_msi *msi = &rp->msi; in mobiveil_pcie_isr()
115 ret = generic_handle_domain_irq(rp->intx_domain, in mobiveil_pcie_isr()
170 struct mobiveil_root_port *rp = &pcie->rp; in mobiveil_pcie_parse_dt() local
176 rp->config_axi_slave_base = devm_pci_remap_cfg_resource(dev, res); in mobiveil_pcie_parse_dt()
177 if (IS_ERR(rp->config_axi_slave_base)) in mobiveil_pcie_parse_dt()
178 return PTR_ERR(rp->config_axi_slave_base); in mobiveil_pcie_parse_dt()
179 rp->ob_io_res = res; in mobiveil_pcie_parse_dt()
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H A Diostat.c77 const struct iio_root_port * const rp) in iio_root_port_show() argument
79 if (output && rp) in iio_root_port_show()
81 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
114 struct iio_root_port *rp; in iio_root_port_find_by_notation() local
118 rp = list->rps[idx]; in iio_root_port_find_by_notation()
119 if (rp && rp->domain == domain && rp->bus == bus) in iio_root_port_find_by_notation()
120 return rp; in iio_root_port_find_by_notation()
127 struct iio_root_port * const rp) in iio_root_ports_list_insert() argument
131 if (list && rp) { in iio_root_ports_list_insert()
132 rp->idx = list->nr_entries++; in iio_root_ports_list_insert()
[all …]
/openbmc/linux/fs/ntfs/
H A Dlogfile.c29 * @rp: restart page header to check
32 * Check the restart page header @rp for consistency and return 'true' if it is
35 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not
39 RESTART_PAGE_HEADER *rp, s64 pos) in ntfs_check_restart_page_header() argument
50 logfile_system_page_size = le32_to_cpu(rp->system_page_size); in ntfs_check_restart_page_header()
51 logfile_log_page_size = le32_to_cpu(rp->log_page_size); in ntfs_check_restart_page_header()
70 if (sle16_to_cpu(rp->major_ver) != 1 || in ntfs_check_restart_page_header()
71 sle16_to_cpu(rp->minor_ver) != 1) { in ntfs_check_restart_page_header()
74 "1.1 only.)", (int)sle16_to_cpu(rp->major_ver), in ntfs_check_restart_page_header()
75 (int)sle16_to_cpu(rp->minor_ver)); in ntfs_check_restart_page_header()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_svc.c228 static bfa_boolean_t bfa_rport_send_fwcreate(struct bfa_rport_s *rp);
229 static bfa_boolean_t bfa_rport_send_fwdelete(struct bfa_rport_s *rp);
230 static bfa_boolean_t bfa_rport_send_fwspeed(struct bfa_rport_s *rp);
239 static void bfa_rport_sm_uninit(struct bfa_rport_s *rp,
241 static void bfa_rport_sm_created(struct bfa_rport_s *rp,
243 static void bfa_rport_sm_fwcreate(struct bfa_rport_s *rp,
245 static void bfa_rport_sm_online(struct bfa_rport_s *rp,
247 static void bfa_rport_sm_fwdelete(struct bfa_rport_s *rp,
249 static void bfa_rport_sm_offline(struct bfa_rport_s *rp,
251 static void bfa_rport_sm_deleting(struct bfa_rport_s *rp,
[all …]
/openbmc/linux/drivers/media/pci/tw68/
H A Dtw68-risc.c24 * @rp: pointer to current risc program position
33 static __le32 *tw68_risc_field(__le32 *rp, struct scatterlist *sglist, in tw68_risc_field() argument
42 *(rp++) = cpu_to_le32(RISC_JUMP); in tw68_risc_field()
43 *(rp++) = 0; in tw68_risc_field()
48 *(rp++) = cpu_to_le32(RISC_SYNCO); in tw68_risc_field()
50 *(rp++) = cpu_to_le32(RISC_SYNCE); in tw68_risc_field()
51 *(rp++) = 0; in tw68_risc_field()
63 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field()
65 *(rp++) = cpu_to_le32(sg_dma_address(sg) + offset); in tw68_risc_field()
77 *(rp++) = cpu_to_le32(RISC_LINESTART | in tw68_risc_field()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Dpal.S38 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
170 tpa r8=r8 // convert rp to physical
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c3289 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 …]
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_rapl.c49 struct rapl_package *rp; in proc_thermal_rapl_add() local
78 rp = rapl_find_package_domain(0, &rapl_mmio_priv, false); in proc_thermal_rapl_add()
79 if (rp) { in proc_thermal_rapl_add()
84 rp = rapl_add_package(0, &rapl_mmio_priv, false); in proc_thermal_rapl_add()
85 if (IS_ERR(rp)) { in proc_thermal_rapl_add()
86 ret = PTR_ERR(rp); in proc_thermal_rapl_add()
101 struct rapl_package *rp; in proc_thermal_rapl_remove() local
106 rp = rapl_find_package_domain(0, &rapl_mmio_priv, false); in proc_thermal_rapl_remove()
107 if (rp) in proc_thermal_rapl_remove()
108 rapl_remove_package(rp); in proc_thermal_rapl_remove()

12345678910>>...22