Home
last modified time | relevance | path

Searched refs:rscs (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/sound/pci/ctxfi/
Dctresource.c23 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument
32 if (rscs[j] & ((u8)1 << k)) { in get_resource()
49 rscs[j] |= ((u8)1 << k); in get_resource()
58 static int put_resource(u8 *rscs, unsigned int multi, unsigned int idx) in put_resource() argument
66 rscs[j] &= ~((u8)1 << k); in put_resource()
80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource()
89 put_resource(mgr->rscs, n, idx); in mgr_put_resource()
211 mgr->rscs = kzalloc(DIV_ROUND_UP(amount, 8), GFP_KERNEL); in rsc_mgr_init()
212 if (!mgr->rscs) in rsc_mgr_init()
250 kfree(mgr->rscs); in rsc_mgr_init()
[all …]
Dctatc.c1118 struct rsc *rscs[2] = {NULL}; in atc_spdif_out_passthru() local
1130 &rscs[0], &rscs[1]); in atc_spdif_out_passthru()
1131 dao->ops->set_left_input(dao, rscs[0]); in atc_spdif_out_passthru()
1132 dao->ops->set_right_input(dao, rscs[1]); in atc_spdif_out_passthru()
1454 struct rsc *rscs[2] = {NULL}; in atc_connect_dai() local
1459 rscs[0] = &dai->daio.rscl; in atc_connect_dai()
1460 rscs[1] = &dai->daio.rscr; in atc_connect_dai()
1464 srcimp->ops->map(srcimp, src, rscs[i]); in atc_connect_dai()
1496 struct rsc *rscs[2] = {NULL}; in atc_connect_resources() local
1502 mixer->get_output_ports(mixer, i, &rscs[0], &rscs[1]); in atc_connect_resources()
[all …]
Dctresource.h57 unsigned char *rscs; /* The bit-map for resource allocation */ member
Dctdaio.c508 if (((struct daio_usage *)mgr->rscs)->data & (0x1 << type)) in daio_mgr_get_rsc()
511 ((struct daio_usage *)mgr->rscs)->data |= (0x1 << type); in daio_mgr_get_rsc()
518 ((struct daio_usage *)mgr->rscs)->data &= ~(0x1 << type); in daio_mgr_put_rsc()
/Linux-v6.6/tools/memory-model/
Dlinux-kernel.bell45 let rcu-rscs = let rec
57 flag ~empty Rcu-lock \ domain(rcu-rscs) as unmatched-rcu-lock
58 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
62 let srcu-rscs = ([Srcu-lock] ; carry-srcu-data ; data ; [Srcu-unlock]) & loc
65 flag ~empty Srcu-lock \ domain(srcu-rscs) as unmatched-srcu-lock
66 flag ~empty Srcu-unlock \ range(srcu-rscs) as unmatched-srcu-unlock
67 flag ~empty (srcu-rscs^-1 ; srcu-rscs) \ id as multiple-srcu-matches
70 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
73 flag ~empty different-values(srcu-rscs) as srcu-bad-value-match
Dlinux-kernel.cat126 let rcu-rscsi = rcu-rscs^-1
127 let srcu-rscsi = srcu-rscs^-1