Home
last modified time | relevance | path

Searched refs:cpr (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/util/
H A Dcall-path.c28 struct call_path_root *cpr; in call_path_root__new() local
30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
31 if (!cpr) in call_path_root__new()
33 call_path__init(&cpr->call_path, NULL, NULL, 0, false); in call_path_root__new()
34 INIT_LIST_HEAD(&cpr->blocks); in call_path_root__new()
35 return cpr; in call_path_root__new()
38 void call_path_root__free(struct call_path_root *cpr) in call_path_root__free() argument
42 list_for_each_entry_safe(pos, n, &cpr->blocks, node) { in call_path_root__free()
46 free(cpr); in call_path_root__free()
49 static struct call_path *call_path__new(struct call_path_root *cpr, in call_path__new() argument
77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) call_path__findnew() argument
[all...]
H A Dthread-stack.c761 crp->cpr = call_path_root__new(); in call_return_processor__new()
762 if (!crp->cpr) in call_return_processor__new()
776 call_path_root__free(crp->cpr); in call_return_processor__free()
863 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local
878 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
908 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local
909 struct call_path *root = &cpr in thread_stack__no_call_return()
1021 struct call_path_root *cpr = ts->crp->cpr; thread_stack__trace_end() local
1055 struct call_path_root *cpr = ts->crp->cpr; thread_stack__x86_retpoline() local
1151 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
1212 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
[all...]
H A Dcall-path.h62 void call_path_root__free(struct call_path_root *cpr);
64 struct call_path *call_path__findnew(struct call_path_root *cpr,
H A Ddb-export.c216 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample()
263 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample()
273 if (current == &dbe->cpr->call_path) { in call_path_from_sample()
382 if (dbe->cpr) { in db_export__sample()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcall-path.c28 struct call_path_root *cpr; in call_path_root__new() local
30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
31 if (!cpr) in call_path_root__new()
33 call_path__init(&cpr->call_path, NULL, NULL, 0, false); in call_path_root__new()
34 INIT_LIST_HEAD(&cpr->blocks); in call_path_root__new()
35 return cpr; in call_path_root__new()
38 void call_path_root__free(struct call_path_root *cpr) in call_path_root__free() argument
42 list_for_each_entry_safe(pos, n, &cpr->blocks, node) { in call_path_root__free()
46 free(cpr); in call_path_root__free()
49 static struct call_path *call_path__new(struct call_path_root *cpr, in call_path__new() argument
77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) call_path__findnew() argument
[all...]
H A Dthread-stack.c762 crp->cpr = call_path_root__new(); in call_return_processor__new()
763 if (!crp->cpr) in call_return_processor__new()
777 call_path_root__free(crp->cpr); in call_return_processor__free()
864 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom() local
879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
909 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return() local
910 struct call_path *root = &cpr in thread_stack__no_call_return()
1022 struct call_path_root *cpr = ts->crp->cpr; thread_stack__trace_end() local
1054 struct call_path_root *cpr = ts->crp->cpr; thread_stack__x86_retpoline() local
1150 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
1211 struct call_path_root *cpr = ts->crp->cpr; thread_stack__process() local
[all...]
H A Dcall-path.h62 void call_path_root__free(struct call_path_root *cpr);
64 struct call_path *call_path__findnew(struct call_path_root *cpr,
H A Ddb-export.c216 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample()
266 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample()
277 if (current == &dbe->cpr->call_path) { in call_path_from_sample()
388 if (dbe->cpr) { in db_export__sample()
/kernel/linux/linux-5.10/drivers/parport/
H A Dparport_ax88796.c71 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_read_control() local
74 if (!(cpr & AX_CPR_STRB)) in parport_ax88796_read_control()
77 if (!(cpr & AX_CPR_ATFD)) in parport_ax88796_read_control()
80 if (cpr & AX_CPR_nINIT) in parport_ax88796_read_control()
83 if (!(cpr & AX_CPR_SLCTIN)) in parport_ax88796_read_control()
93 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_write_control() local
95 cpr &= AX_CPR_nDOE; in parport_ax88796_write_control()
98 cpr |= AX_CPR_STRB; in parport_ax88796_write_control()
101 cpr |= AX_CPR_ATFD; in parport_ax88796_write_control()
104 cpr | in parport_ax88796_write_control()
189 void __iomem *cpr = dd->spp_cpr; parport_ax88796_data_forward() local
198 void __iomem *cpr = dd->spp_cpr; parport_ax88796_data_reverse() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c17 struct bnxt_cp_ring_info *cpr = container_of(dim, in bnxt_dim_work() local
20 struct bnxt_napi *bnapi = container_of(cpr, in bnxt_dim_work()
26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec; in bnxt_dim_work()
27 cpr->rx_ring_coal.coal_bufs = cur_moder.pkts; in bnxt_dim_work()
H A Dbnxt.c886 struct bnxt_cp_ring_info *cpr, in bnxt_get_agg()
893 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_get_agg()
906 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, in bnxt_reuse_rx_agg_bufs() argument
909 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs()
930 agg = bnxt_get_agg(bp, cpr, idx, start + i); in bnxt_reuse_rx_agg_bufs()
1040 struct bnxt_cp_ring_info *cpr, in bnxt_rx_pages()
1044 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_rx_pages()
1064 agg = bnxt_get_agg(bp, cpr, idx, i); in bnxt_rx_pages()
1098 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa); in bnxt_rx_pages()
1116 static int bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_agg_bufs_valid() argument
885 bnxt_get_agg(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u16 cp_cons, u16 curr) bnxt_get_agg() argument
1039 bnxt_rx_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct sk_buff *skb, u16 idx, u32 agg_bufs, bool tpa) bnxt_rx_pages() argument
1154 bnxt_discard_rx(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, void *cmp) bnxt_discard_rx() argument
1325 bnxt_abort_tpa(struct bnxt_cp_ring_info *cpr, u16 idx, u32 agg_bufs) bnxt_abort_tpa() argument
1538 bnxt_tpa_end(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, struct rx_tpa_end_cmp *tpa_end, struct rx_tpa_end_cmp_ext *tpa_end1, u8 *event) bnxt_tpa_end() argument
1713 bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) bnxt_rx_pkt() argument
1935 bnxt_force_rx_discard(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) bnxt_force_rx_discard() argument
2226 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_msix() local
2235 bnxt_has_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) bnxt_has_work() argument
2250 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_inta() local
2274 __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) __bnxt_poll_work() argument
2379 bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) bnxt_poll_work() argument
2401 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_nitroa0() local
2477 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll() local
2509 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs() local
2527 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs_done() local
2547 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_p5() local
3119 struct bnxt_cp_ring_info *cpr; bnxt_free_cp_rings() local
3148 struct bnxt_cp_ring_info *cpr; bnxt_alloc_cp_sub_ring() local
3180 struct bnxt_cp_ring_info *cpr; bnxt_alloc_cp_rings() local
3232 struct bnxt_cp_ring_info *cpr; bnxt_init_ring_struct() local
3398 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnxt_init_cp_rings() local
3951 struct bnxt_cp_ring_info *cpr; bnxt_init_stats() local
4038 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_free_ring_stats() local
4053 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_alloc_stats() local
4116 struct bnxt_cp_ring_info *cpr; bnxt_clear_ring_indices() local
4244 struct bnxt_cp_ring_info *cpr = bnxt_alloc_mem() local
4355 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_disable_int() local
4366 struct bnxt_cp_ring_info *cpr; bnxt_cp_num_to_irq_num() local
4393 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_enable_int() local
5080 struct bnxt_cp_ring_info *cpr; bnxt_cp_ring_for_rx() local
5093 struct bnxt_cp_ring_info *cpr; bnxt_cp_ring_for_tx() local
5759 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local
5791 struct bnxt_cp_ring_info *cpr, *cpr2; bnxt_hwrm_ring_alloc() local
5830 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local
5973 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_free() local
6586 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_hwrm_set_coal_nq() local
6610 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_set_ring_coal() local
6709 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_free() local
6744 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_alloc() local
7904 struct bnxt_cp_ring_info *cpr; bnxt_accumulate_all_stats() local
8927 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnxt_disable_napi() local
8941 struct bnxt_cp_ring_info *cpr; bnxt_enable_napi() local
10180 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_get_ring_stats() local
10691 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_dump_cp_sw_state() local
10718 struct bnxt_cp_ring_info *cpr; bnxt_hwrm_rx_ring_reset() local
10882 struct bnxt_cp_ring_info *cpr; bnxt_rx_ring_reset() local
11065 struct bnxt_cp_ring_info *cpr; bnxt_chk_missed_irq() local
[all...]
H A Dbnxt_debugfs.c84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init() local
86 if (cpr && bp->bnapi[i]->rx_ring) in bnxt_debug_dev_init()
87 debugfs_dim_ring_init(&cpr->dim, i, dir); in bnxt_debug_dev_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c17 struct bnxt_cp_ring_info *cpr = container_of(dim, in bnxt_dim_work() local
20 struct bnxt_napi *bnapi = container_of(cpr, in bnxt_dim_work()
26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec; in bnxt_dim_work()
27 cpr->rx_ring_coal.coal_bufs = cur_moder.pkts; in bnxt_dim_work()
H A Dbnxt.c900 struct bnxt_cp_ring_info *cpr, in bnxt_get_agg()
907 &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)]; in bnxt_get_agg()
920 static void bnxt_reuse_rx_agg_bufs(struct bnxt_cp_ring_info *cpr, u16 idx, in bnxt_reuse_rx_agg_bufs() argument
923 struct bnxt_napi *bnapi = cpr->bnapi; in bnxt_reuse_rx_agg_bufs()
944 agg = bnxt_get_agg(bp, cpr, idx, start + i); in bnxt_reuse_rx_agg_bufs()
1086 struct bnxt_cp_ring_info *cpr, in __bnxt_rx_agg_pages()
1091 struct bnxt_napi *bnapi = cpr->bnapi; in __bnxt_rx_agg_pages()
1112 agg = bnxt_get_agg(bp, cpr, idx, i); in __bnxt_rx_agg_pages()
1142 bnxt_reuse_rx_agg_bufs(cpr, idx, i, agg_bufs - i, tpa); in __bnxt_rx_agg_pages()
1157 struct bnxt_cp_ring_info *cpr, in bnxt_rx_agg_pages_skb()
899 bnxt_get_agg(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u16 cp_cons, u16 curr) bnxt_get_agg() argument
1085 __bnxt_rx_agg_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct skb_shared_info *shinfo, u16 idx, u32 agg_bufs, bool tpa, struct xdp_buff *xdp) __bnxt_rx_agg_pages() argument
1156 bnxt_rx_agg_pages_skb(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct sk_buff *skb, u16 idx, u32 agg_bufs, bool tpa) bnxt_rx_agg_pages_skb() argument
1178 bnxt_rx_agg_pages_xdp(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct xdp_buff *xdp, u16 idx, u32 agg_bufs, bool tpa) bnxt_rx_agg_pages_xdp() argument
1199 bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u8 agg_bufs, u32 *raw_cons) bnxt_agg_bufs_valid() argument
1237 bnxt_discard_rx(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, void *cmp) bnxt_discard_rx() argument
1376 bnxt_abort_tpa(struct bnxt_cp_ring_info *cpr, u16 idx, u32 agg_bufs) bnxt_abort_tpa() argument
1589 bnxt_tpa_end(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, struct rx_tpa_end_cmp *tpa_end, struct rx_tpa_end_cmp_ext *tpa_end1, u8 *event) bnxt_tpa_end() argument
1785 bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) bnxt_rx_pkt() argument
2062 bnxt_force_rx_discard(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) bnxt_force_rx_discard() argument
2449 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_msix() local
2458 bnxt_has_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) bnxt_has_work() argument
2473 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_inta() local
2497 __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) __bnxt_poll_work() argument
2604 bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) bnxt_poll_work() argument
2626 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_nitroa0() local
2702 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll() local
2738 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs() local
2756 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_poll_cqs_done() local
2776 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_poll_p5() local
3373 bnxt_free_cp_arrays(struct bnxt_cp_ring_info *cpr) bnxt_free_cp_arrays() argument
3385 bnxt_alloc_cp_arrays(struct bnxt_cp_ring_info *cpr, int n) bnxt_alloc_cp_arrays() argument
3438 struct bnxt_cp_ring_info *cpr; bnxt_free_cp_rings() local
3468 struct bnxt_cp_ring_info *cpr; bnxt_alloc_cp_sub_ring() local
3507 struct bnxt_cp_ring_info *cpr; bnxt_alloc_cp_rings() local
3559 struct bnxt_cp_ring_info *cpr; bnxt_init_ring_struct() local
3725 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; bnxt_init_cp_rings() local
4252 struct bnxt_cp_ring_info *cpr; bnxt_init_stats() local
4339 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_free_ring_stats() local
4354 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_alloc_stats() local
4417 struct bnxt_cp_ring_info *cpr; bnxt_clear_ring_indices() local
4544 struct bnxt_cp_ring_info *cpr = bnxt_alloc_mem() local
4659 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_disable_int() local
4670 struct bnxt_cp_ring_info *cpr; bnxt_cp_num_to_irq_num() local
4700 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_enable_int() local
5156 struct bnxt_cp_ring_info *cpr; bnxt_cp_ring_for_rx() local
5169 struct bnxt_cp_ring_info *cpr; bnxt_cp_ring_for_tx() local
5903 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local
5935 struct bnxt_cp_ring_info *cpr, *cpr2; bnxt_hwrm_ring_alloc() local
5974 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_alloc() local
6121 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_ring_free() local
6751 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; __bnxt_hwrm_set_coal_nq() local
6778 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_set_ring_coal() local
6889 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_free() local
6926 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_hwrm_stat_ctx_alloc() local
8357 struct bnxt_cp_ring_info *cpr; bnxt_accumulate_all_stats() local
9417 struct bnxt_cp_ring_info *cpr; bnxt_disable_napi() local
9437 struct bnxt_cp_ring_info *cpr; bnxt_enable_napi() local
10875 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_get_ring_stats() local
10966 bnxt_get_one_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats, struct bnxt_cp_ring_info *cpr) bnxt_get_one_ring_err_stats() argument
11581 struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring; bnxt_dump_cp_sw_state() local
11608 struct bnxt_cp_ring_info *cpr; bnxt_hwrm_rx_ring_reset() local
11774 struct bnxt_cp_ring_info *cpr; bnxt_rx_ring_reset() local
11984 struct bnxt_cp_ring_info *cpr; bnxt_chk_missed_irq() local
[all...]
H A Dbnxt_debugfs.c84 struct bnxt_cp_ring_info *cpr = &bp->bnapi[i]->cp_ring; in bnxt_debug_dev_init() local
86 if (cpr && bp->bnapi[i]->rx_ring) in bnxt_debug_dev_init()
87 debugfs_dim_ring_init(&cpr->dim, i, dir); in bnxt_debug_dev_init()
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c58 unsigned short cpr, csr; in sharpsl_pcmcia_socket_state() local
61 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state()
77 else if (cpr & 0x0003) { in sharpsl_pcmcia_socket_state()
99 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { in sharpsl_pcmcia_socket_state()
100 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); in sharpsl_pcmcia_socket_state()
111 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
130 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket()
162 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c57 unsigned short cpr, csr; in sharpsl_pcmcia_socket_state() local
60 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state()
76 else if (cpr & 0x0003) { in sharpsl_pcmcia_socket_state()
98 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { in sharpsl_pcmcia_socket_state()
99 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); in sharpsl_pcmcia_socket_state()
110 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local
129 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket()
161 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
H A Dspitz.c202 unsigned short cpr; in spitz_card_pwr_ctrl() local
212 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR); in spitz_card_pwr_ctrl()
215 cpr |= new_cpr; in spitz_card_pwr_ctrl()
217 cpr &= ~enable; in spitz_card_pwr_ctrl()
219 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr); in spitz_card_pwr_ctrl()
223 if (!(cpr & 0x7)) { in spitz_card_pwr_ctrl()
238 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) in spitz_pcmcia_pwr() argument
243 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr); in spitz_pcmcia_pwr()
245 write_scoop_reg(scoop, SCOOP_CPR, cpr); in spitz_pcmcia_pwr()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-pxa/
H A Dspitz.c202 unsigned short cpr; in spitz_card_pwr_ctrl() local
212 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR); in spitz_card_pwr_ctrl()
215 cpr |= new_cpr; in spitz_card_pwr_ctrl()
217 cpr &= ~enable; in spitz_card_pwr_ctrl()
219 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr); in spitz_card_pwr_ctrl()
223 if (!(cpr & 0x7)) { in spitz_card_pwr_ctrl()
238 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) in spitz_pcmcia_pwr() argument
243 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr); in spitz_pcmcia_pwr()
245 write_scoop_reg(scoop, SCOOP_CPR, cpr); in spitz_pcmcia_pwr()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c2391 struct dispc_csc_coef *cpr) in dispc_k2g_cpr_from_ctm()
2393 memset(cpr, 0, sizeof(*cpr)); in dispc_k2g_cpr_from_ctm()
2395 cpr->to_regval = dispc_csc_cpr_regval; in dispc_k2g_cpr_from_ctm()
2396 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]); in dispc_k2g_cpr_from_ctm()
2397 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]); in dispc_k2g_cpr_from_ctm()
2398 cpr->m[CSC_RB] = dispc_S31_32_to_s2_8(ctm->matrix[2]); in dispc_k2g_cpr_from_ctm()
2399 cpr->m[CSC_GR] = dispc_S31_32_to_s2_8(ctm->matrix[3]); in dispc_k2g_cpr_from_ctm()
2400 cpr->m[CSC_GG] = dispc_S31_32_to_s2_8(ctm->matrix[4]); in dispc_k2g_cpr_from_ctm()
2401 cpr in dispc_k2g_cpr_from_ctm()
2390 dispc_k2g_cpr_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) dispc_k2g_cpr_from_ctm() argument
2443 struct dispc_csc_coef cpr; dispc_k2g_vp_set_ctm() local
2468 dispc_csc_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) dispc_csc_from_ctm() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c2442 struct dispc_csc_coef *cpr) in dispc_k2g_cpr_from_ctm()
2444 memset(cpr, 0, sizeof(*cpr)); in dispc_k2g_cpr_from_ctm()
2446 cpr->to_regval = dispc_csc_cpr_regval; in dispc_k2g_cpr_from_ctm()
2447 cpr->m[CSC_RR] = dispc_S31_32_to_s2_8(ctm->matrix[0]); in dispc_k2g_cpr_from_ctm()
2448 cpr->m[CSC_RG] = dispc_S31_32_to_s2_8(ctm->matrix[1]); in dispc_k2g_cpr_from_ctm()
2449 cpr->m[CSC_RB] = dispc_S31_32_to_s2_8(ctm->matrix[2]); in dispc_k2g_cpr_from_ctm()
2450 cpr->m[CSC_GR] = dispc_S31_32_to_s2_8(ctm->matrix[3]); in dispc_k2g_cpr_from_ctm()
2451 cpr->m[CSC_GG] = dispc_S31_32_to_s2_8(ctm->matrix[4]); in dispc_k2g_cpr_from_ctm()
2452 cpr in dispc_k2g_cpr_from_ctm()
2441 dispc_k2g_cpr_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) dispc_k2g_cpr_from_ctm() argument
2494 struct dispc_csc_coef cpr; dispc_k2g_vp_set_ctm() local
2519 dispc_csc_from_ctm(const struct drm_color_ctm *ctm, struct dispc_csc_coef *cpr) dispc_csc_from_ctm() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c382 struct omap_dss_cpr_coefs *cpr) in omap_crtc_cpr_coefs_from_ctm()
384 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]); in omap_crtc_cpr_coefs_from_ctm()
385 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]); in omap_crtc_cpr_coefs_from_ctm()
386 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]); in omap_crtc_cpr_coefs_from_ctm()
387 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]); in omap_crtc_cpr_coefs_from_ctm()
388 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]); in omap_crtc_cpr_coefs_from_ctm()
389 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]); in omap_crtc_cpr_coefs_from_ctm()
390 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]); in omap_crtc_cpr_coefs_from_ctm()
391 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]); in omap_crtc_cpr_coefs_from_ctm()
392 cpr in omap_crtc_cpr_coefs_from_ctm()
381 omap_crtc_cpr_coefs_from_ctm(const struct drm_color_ctm *ctm, struct omap_dss_cpr_coefs *cpr) omap_crtc_cpr_coefs_from_ctm() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/hardware/
H A Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/kernel/linux/linux-6.6/arch/arm/include/asm/hardware/
H A Dscoop.h60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A DMakefile6 obj-$(CONFIG_QCOM_CPR) += cpr.o

Completed in 35 milliseconds

12