Home
last modified time | relevance | path

Searched full:ccc (Results 1 – 25 of 106) sorted by relevance

12345

/kernel/linux/linux-5.10/crypto/
Drmd320.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd320_transform() local
63 ccc = state[7]; in rmd320_transform()
86 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in rmd320_transform()
87 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in rmd320_transform()
88 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in rmd320_transform()
89 ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in rmd320_transform()
90 ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in rmd320_transform()
91 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in rmd320_transform()
92 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in rmd320_transform()
93 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in rmd320_transform()
[all …]
Drmd160.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
63 ccc = state[2]; in rmd160_transform()
158 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in rmd160_transform()
159 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in rmd160_transform()
160 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in rmd160_transform()
161 ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in rmd160_transform()
162 ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in rmd160_transform()
163 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in rmd160_transform()
164 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in rmd160_transform()
165 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in rmd160_transform()
[all …]
Drmd256.c47 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd256_transform() local
58 ccc = state[6]; in rmd256_transform()
80 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[5], 8); in rmd256_transform()
81 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[14], 9); in rmd256_transform()
82 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[7], 9); in rmd256_transform()
83 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[0], 11); in rmd256_transform()
84 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[9], 13); in rmd256_transform()
85 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[2], 15); in rmd256_transform()
86 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[11], 15); in rmd256_transform()
87 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[4], 5); in rmd256_transform()
[all …]
Drmd128.c47 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd128_transform() local
58 ccc = state[2]; in rmd128_transform()
134 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[5], 8); in rmd128_transform()
135 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[14], 9); in rmd128_transform()
136 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[7], 9); in rmd128_transform()
137 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[0], 11); in rmd128_transform()
138 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[9], 13); in rmd128_transform()
139 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[2], 15); in rmd128_transform()
140 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[11], 15); in rmd128_transform()
141 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[4], 5); in rmd128_transform()
[all …]
/kernel/linux/linux-6.6/crypto/
Drmd160.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
63 ccc = state[2]; in rmd160_transform()
158 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in rmd160_transform()
159 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in rmd160_transform()
160 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in rmd160_transform()
161 ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in rmd160_transform()
162 ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in rmd160_transform()
163 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in rmd160_transform()
164 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in rmd160_transform()
165 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in rmd160_transform()
[all …]
/kernel/linux/linux-5.10/include/linux/i3c/
Dccc.h14 /* I3C CCC (Common Command Codes) related definitions */
56 * struct i3c_ccc_events - payload passed to ENEC/DISEC CCC
60 * Depending on the CCC command, the specific events coming from all devices
69 * struct i3c_ccc_mwl - payload passed to SETMWL/GETMWL CCC
81 * struct i3c_ccc_mrl - payload passed to SETMRL/GETMRL CCC
121 * struct i3c_ccc_defslvs - payload passed to DEFSLVS CCC
150 * struct i3c_ccc_enttm - payload passed to ENTTM CCC
154 * Information passed to the ENTTM CCC to instruct an I3C device to enter a
174 * struct i3c_ccc_getpid - payload passed to GETPID CCC
183 * struct i3c_ccc_getbcr - payload passed to GETBCR CCC
[all …]
Dmaster.h15 #include <linux/i3c/ccc.h>
319 * dynamic address (RSTDAA CCC), we need to make sure no one is trying
376 * should send an ENTDAA CCC command and then add all devices
381 * @supports_ccc_cmd: should return true if the CCC command is supported, false
384 * all CCC commands are supported.
385 * @send_ccc_cmd: send a CCC command
416 * IRQ) and then send the ENEC CCC command (with the IBI flag set)
419 * @disable_ibi: disable an IBI. First send the DISEC CCC command with the IBI
/kernel/linux/linux-6.6/include/linux/i3c/
Dccc.h14 /* I3C CCC (Common Command Codes) related definitions */
56 * struct i3c_ccc_events - payload passed to ENEC/DISEC CCC
60 * Depending on the CCC command, the specific events coming from all devices
69 * struct i3c_ccc_mwl - payload passed to SETMWL/GETMWL CCC
81 * struct i3c_ccc_mrl - payload passed to SETMRL/GETMRL CCC
121 * struct i3c_ccc_defslvs - payload passed to DEFSLVS CCC
150 * struct i3c_ccc_enttm - payload passed to ENTTM CCC
154 * Information passed to the ENTTM CCC to instruct an I3C device to enter a
174 * struct i3c_ccc_getpid - payload passed to GETPID CCC
183 * struct i3c_ccc_getbcr - payload passed to GETBCR CCC
[all …]
Dmaster.h15 #include <linux/i3c/ccc.h>
338 * dynamic address (RSTDAA CCC), we need to make sure no one is trying
395 * should send an ENTDAA CCC command and then add all devices
400 * @supports_ccc_cmd: should return true if the CCC command is supported, false
403 * all CCC commands are supported.
404 * @send_ccc_cmd: send a CCC command
435 * IRQ) and then send the ENEC CCC command (with the IBI flag set)
438 * @disable_ibi: disable an IBI. First send the DISEC CCC command with the IBI
/kernel/linux/linux-6.6/fs/unicode/
Dutf8-norm.c156 * defined. The CCC of a non-defined code point is 0.
159 * with a non-zero CCC that occur between two characters with
160 * a CCC of 0, or at the begin or end of a string.
161 * The unicode standard guarantees that all CCC values are
164 * Code points with CCC 0 are known as stoppers.
168 * The CCC of a decomposable character is the same as the CCC
172 * These do affect normalization, as they all have CCC 0.
433 u8c->ccc = STOPPER; in utf8ncursor()
454 * Characters are emitted if they match the current CCC in u8c->ccc.
455 * Hitting end-of-string while u8c->ccc == STOPPER means we're done,
[all …]
Dmkutf8data.c151 * defined. The CCC of a non-defined code point is 0.
154 * with a non-zero CCC that occur between two characters with
155 * a CCC of 0, or at the begin or end of a string.
156 * The unicode standard guarantees that all CCC values are
159 * Code points with CCC 0 are known as stoppers.
163 * The CCC of a decomposable character is the same as the CCC
167 * These do affect normalization, as they all have CCC 0.
1341 int ccc; member
1381 if (left->ccc != right->ccc) in nfdi_equal()
1398 if (left->ccc != right->ccc) in nfdicf_equal()
[all …]
/kernel/linux/linux-5.10/fs/unicode/
Dutf8-norm.c173 * defined. The CCC of a non-defined code point is 0.
176 * with a non-zero CCC that occur between two characters with
177 * a CCC of 0, or at the begin or end of a string.
178 * The unicode standard guarantees that all CCC values are
181 * Code points with CCC 0 are known as stoppers.
185 * The CCC of a decomposable character is the same as the CCC
189 * These do affect normalization, as they all have CCC 0.
597 u8c->ccc = STOPPER; in utf8ncursor()
635 * Characters are emitted if they match the current CCC in u8c->ccc.
636 * Hitting end-of-string while u8c->ccc == STOPPER means we're done,
[all …]
Dmkutf8data.c151 * defined. The CCC of a non-defined code point is 0.
154 * with a non-zero CCC that occur between two characters with
155 * a CCC of 0, or at the begin or end of a string.
156 * The unicode standard guarantees that all CCC values are
159 * Code points with CCC 0 are known as stoppers.
163 * The CCC of a decomposable character is the same as the CCC
167 * These do affect normalization, as they all have CCC 0.
1341 int ccc; member
1381 if (left->ccc != right->ccc) in nfdi_equal()
1398 if (left->ccc != right->ccc) in nfdicf_equal()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/i3c/
Dprotocol.rst121 I3C CCC commands
124 CCC (Common Command Code) commands are meant to be used for anything that is
127 CCC commands contain an 8-bit CCC ID describing the command that is executed.
132 payload is either sent by the master sending the command (write CCC command),
133 or sent by the slave receiving the command (read CCC command). Of course, read
135 Note that, when sending a CCC command to a specific device, the device address
139 from the CCC ID.
141 Note that vendors can use a dedicated range of CCC IDs for their own commands
172 using a broadcast CCC command.
/kernel/linux/linux-6.6/Documentation/driver-api/i3c/
Dprotocol.rst121 I3C CCC commands
124 CCC (Common Command Code) commands are meant to be used for anything that is
127 CCC commands contain an 8-bit CCC ID describing the command that is executed.
132 payload is either sent by the master sending the command (write CCC command),
133 or sent by the slave receiving the command (read CCC command). Of course, read
135 Note that, when sending a CCC command to a specific device, the device address
139 from the CCC ID.
141 Note that vendors can use a dedicated range of CCC IDs for their own commands
172 using a broadcast CCC command.
/kernel/linux/linux-6.6/drivers/i3c/master/mipi-i3c-hci/
Dcore.c192 struct i3c_ccc_cmd *ccc) in i3c_hci_send_ccc_cmd() argument
197 bool prefixed = raw && !!(ccc->id & I3C_CCC_DIRECT); in i3c_hci_send_ccc_cmd()
198 unsigned int nxfers = ccc->ndests + prefixed; in i3c_hci_send_ccc_cmd()
203 ccc->id, ccc->rnw, ccc->ndests, ccc->dests[0].payload.len); in i3c_hci_send_ccc_cmd()
214 ccc->id, true); in i3c_hci_send_ccc_cmd()
219 xfer[i].data = ccc->dests[i].payload.data; in i3c_hci_send_ccc_cmd()
220 xfer[i].data_len = ccc->dests[i].payload.len; in i3c_hci_send_ccc_cmd()
221 xfer[i].rnw = ccc->rnw; in i3c_hci_send_ccc_cmd()
222 ret = hci->cmd->prep_ccc(hci, &xfer[i], ccc->dests[i].addr, in i3c_hci_send_ccc_cmd()
223 ccc->id, raw); in i3c_hci_send_ccc_cmd()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dmicrochip,mpfs-ccc.yaml4 $id: http://devicetree.org/schemas/clock/microchip,mpfs-ccc.yaml#
20 const: microchip,mpfs-ccc
31 The CCC PLL's have two input clocks. It is required that even if the input
72 compatible = "microchip,mpfs-ccc";
/kernel/linux/linux-5.10/drivers/i3c/master/
Ddw-i3c-master.c662 struct i3c_ccc_cmd *ccc) in dw_i3c_ccc_set() argument
668 if (ccc->id & I3C_CCC_DIRECT) { in dw_i3c_ccc_set()
669 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_set()
679 cmd->tx_buf = ccc->dests[0].payload.data; in dw_i3c_ccc_set()
680 cmd->tx_len = ccc->dests[0].payload.len; in dw_i3c_ccc_set()
682 cmd->cmd_hi = COMMAND_PORT_ARG_DATA_LEN(ccc->dests[0].payload.len) | in dw_i3c_ccc_set()
687 COMMAND_PORT_CMD(ccc->id) | in dw_i3c_ccc_set()
697 ccc->err = I3C_ERROR_M2; in dw_i3c_ccc_set()
704 static int dw_i3c_ccc_get(struct dw_i3c_master *master, struct i3c_ccc_cmd *ccc) in dw_i3c_ccc_get() argument
710 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_get()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Daxp20x_battery.c605 int ccc = info.constant_charge_current_max_ua; in axp20x_power_probe() local
612 /* Set max to unverified value to be able to set CCC */ in axp20x_power_probe()
613 axp20x_batt->max_ccc = ccc; in axp20x_power_probe()
615 if (ccc <= 0 || axp20x_set_constant_charge_current(axp20x_batt, in axp20x_power_probe()
616 ccc)) { in axp20x_power_probe()
619 ccc = 300000; in axp20x_power_probe()
620 axp20x_batt->max_ccc = ccc; in axp20x_power_probe()
621 axp20x_set_constant_charge_current(axp20x_batt, ccc); in axp20x_power_probe()
626 * Update max CCC to a valid value if battery info is present or set it in axp20x_power_probe()
/kernel/linux/linux-6.6/drivers/power/supply/
Daxp20x_battery.c617 int ccc = info->constant_charge_current_max_ua; in axp20x_power_probe() local
624 /* Set max to unverified value to be able to set CCC */ in axp20x_power_probe()
625 axp20x_batt->max_ccc = ccc; in axp20x_power_probe()
627 if (ccc <= 0 || axp20x_set_constant_charge_current(axp20x_batt, in axp20x_power_probe()
628 ccc)) { in axp20x_power_probe()
631 ccc = 300000; in axp20x_power_probe()
632 axp20x_batt->max_ccc = ccc; in axp20x_power_probe()
633 axp20x_set_constant_charge_current(axp20x_batt, ccc); in axp20x_power_probe()
638 * Update max CCC to a valid value if battery info is present or set it in axp20x_power_probe()
/kernel/linux/linux-6.6/drivers/clk/microchip/
Dclk-mpfs-ccc.c58 * mpfs_ccc_lock prevents anything else from writing to a fabric ccc
204 pll_hw->name = devm_kasprintf(dev, GFP_KERNEL, "ccc%s_pll%u", in mpfs_ccc_register_plls()
216 return dev_err_probe(dev, ret, "failed to register ccc id: %d\n", in mpfs_ccc_register_plls()
267 { .compatible = "microchip,mpfs-ccc", },
275 .name = "microchip-mpfs-ccc",
/kernel/linux/linux-6.6/drivers/i3c/master/
Ddw-i3c-master.c681 struct i3c_ccc_cmd *ccc) in dw_i3c_ccc_set() argument
687 if (ccc->id & I3C_CCC_DIRECT) { in dw_i3c_ccc_set()
688 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_set()
698 cmd->tx_buf = ccc->dests[0].payload.data; in dw_i3c_ccc_set()
699 cmd->tx_len = ccc->dests[0].payload.len; in dw_i3c_ccc_set()
701 cmd->cmd_hi = COMMAND_PORT_ARG_DATA_LEN(ccc->dests[0].payload.len) | in dw_i3c_ccc_set()
706 COMMAND_PORT_CMD(ccc->id) | in dw_i3c_ccc_set()
716 ccc->err = I3C_ERROR_M2; in dw_i3c_ccc_set()
723 static int dw_i3c_ccc_get(struct dw_i3c_master *master, struct i3c_ccc_cmd *ccc) in dw_i3c_ccc_get() argument
729 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_get()
[all …]
Dsvc-i3c-master.c1290 /* cmd->xfer is NULL if I2C or CCC transfer */ in svc_i3c_master_start_xfer_locked()
1344 /* No software support for CCC commands targeting more than one slave */ in svc_i3c_master_supports_ccc_cmd()
1349 struct i3c_ccc_cmd *ccc) in svc_i3c_master_send_bdcast_ccc_cmd() argument
1351 unsigned int xfer_len = ccc->dests[0].payload.len + 1; in svc_i3c_master_send_bdcast_ccc_cmd()
1367 buf[0] = ccc->id; in svc_i3c_master_send_bdcast_ccc_cmd()
1368 memcpy(&buf[1], ccc->dests[0].payload.data, ccc->dests[0].payload.len); in svc_i3c_master_send_bdcast_ccc_cmd()
1373 cmd->addr = ccc->dests[0].addr; in svc_i3c_master_send_bdcast_ccc_cmd()
1374 cmd->rnw = ccc->rnw; in svc_i3c_master_send_bdcast_ccc_cmd()
1395 struct i3c_ccc_cmd *ccc) in svc_i3c_master_send_direct_ccc_cmd() argument
1397 unsigned int xfer_len = ccc->dests[0].payload.len; in svc_i3c_master_send_direct_ccc_cmd()
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/
Dpgtable-bits.h203 * 64-bit, R1 or earlier: CCC D V G [S H] M A W R P
204 * 32-bit, R1 or earler: CCC D V G M A W R P
205 * 64-bit, R2 or later: CCC D V G RI/R XI [S H] M A W P
206 * 32-bit, R2 or later: CCC D V G RI/R XI M A W P
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable-bits.h203 * 64-bit, R1 or earlier: CCC D V G [S H] M A W R P
204 * 32-bit, R1 or earler: CCC D V G M A W R P
205 * 64-bit, R2 or later: CCC D V G RI/R XI [S H] M A W P
206 * 32-bit, R2 or later: CCC D V G RI/R XI M A W P

12345