Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/ctxfi/
Dctresource.c27 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument
36 if (rscs[j] & ((u8)1 << k)) { in get_resource()
53 rscs[j] |= ((u8)1 << k); in get_resource()
62 static int put_resource(u8 *rscs, unsigned int multi, unsigned int idx) in put_resource() argument
70 rscs[j] &= ~((u8)1 << k); in put_resource()
84 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource()
93 put_resource(mgr->rscs, n, idx); in mgr_put_resource()
216 mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); in rsc_mgr_init()
217 if (!mgr->rscs) in rsc_mgr_init()
255 kfree(mgr->rscs); in rsc_mgr_init()
[all …]
Dctatc.c1119 struct rsc *rscs[2] = {NULL}; in atc_spdif_out_passthru() local
1131 &rscs[0], &rscs[1]); in atc_spdif_out_passthru()
1132 dao->ops->set_left_input(dao, rscs[0]); in atc_spdif_out_passthru()
1133 dao->ops->set_right_input(dao, rscs[1]); in atc_spdif_out_passthru()
1455 struct rsc *rscs[2] = {NULL}; in atc_connect_dai() local
1460 rscs[0] = &dai->daio.rscl; in atc_connect_dai()
1461 rscs[1] = &dai->daio.rscr; in atc_connect_dai()
1465 srcimp->ops->map(srcimp, src, rscs[i]); in atc_connect_dai()
1497 struct rsc *rscs[2] = {NULL}; in atc_connect_resources() local
1503 mixer->get_output_ports(mixer, i, &rscs[0], &rscs[1]); in atc_connect_resources()
[all …]
Dctresource.h61 unsigned char *rscs; /* The bit-map for resource allocation */ member
Dctdaio.c512 if (((struct daio_usage *)mgr->rscs)->data & (0x1 << type)) in daio_mgr_get_rsc()
515 ((struct daio_usage *)mgr->rscs)->data |= (0x1 << type); in daio_mgr_get_rsc()
522 ((struct daio_usage *)mgr->rscs)->data &= ~(0x1 << type); in daio_mgr_put_rsc()
/Linux-v4.19/tools/memory-model/
Dlinux-kernel.cat96 let rscs = po ; crit^-1 ; po?
110 (gp ; rcu-link ; rscs) |
111 (rscs ; rcu-link ; gp) |
112 (gp ; rcu-link ; rcu-fence ; rcu-link ; rscs) |
113 (rscs ; rcu-link ; rcu-fence ; rcu-link ; gp) |
/Linux-v4.19/tools/memory-model/Documentation/
Dexplanation.txt30 22. RCU RELATIONS: rcu-link, gp, rscs, rcu-fence, and rb
1454 RCU RELATIONS: rcu-link, gp, rscs, rcu-fence, and rb
1540 The LKMM also defines the gp and rscs relations. They bring grace
1548 E ->rscs F means there is a critical section delimited by an
1561 ends.) Similarly, X ->rscs Y ->rcu-link Z says that X is part of (or
1566 and rscs links separated by rcu-link links, in which the number of gp
1567 links is >= the number of rscs links. For example:
1569 X ->gp Y ->rcu-link Z ->rscs T ->rcu-link U ->gp V
1572 gp links and only one rscs link. (It also implies that X ->rcu-fence T
1575 X ->rscs Y ->rcu-link Z ->rscs T ->rcu-link U ->gp V
[all …]