/linux-6.6.21/drivers/crypto/amlogic/ |
D | amlogic-gxl-core.c | 36 mc->chanlist[flow].status = 1; in meson_irq_handler() 37 complete(&mc->chanlist[flow].complete); in meson_irq_handler() 116 mc->chanlist[i].stat_req); in meson_debugfs_show() 142 crypto_engine_exit(mc->chanlist[i].engine); in meson_free_chanlist() 143 if (mc->chanlist[i].tl) in meson_free_chanlist() 145 mc->chanlist[i].tl, in meson_free_chanlist() 146 mc->chanlist[i].t_phy); in meson_free_chanlist() 158 mc->chanlist = devm_kcalloc(mc->dev, MAXFLOW, in meson_allocate_chanlist() 160 if (!mc->chanlist) in meson_allocate_chanlist() 164 init_completion(&mc->chanlist[i].complete); in meson_allocate_chanlist() [all …]
|
D | amlogic-gxl-cipher.c | 114 mc->chanlist[flow].stat_req++; in meson_cipher() 164 desc = &mc->chanlist[flow].tl[tloffset]; in meson_cipher() 207 desc = &mc->chanlist[flow].tl[tloffset]; in meson_cipher() 226 reinit_completion(&mc->chanlist[flow].complete); in meson_cipher() 227 mc->chanlist[flow].status = 0; in meson_cipher() 228 writel(mc->chanlist[flow].t_phy | 2, mc->base + (flow << 2)); in meson_cipher() 229 wait_for_completion_interruptible_timeout(&mc->chanlist[flow].complete, in meson_cipher() 231 if (mc->chanlist[flow].status == 0) { in meson_cipher() 286 engine = op->mc->chanlist[e].engine; in meson_skdecrypt() 304 engine = op->mc->chanlist[e].engine; in meson_skencrypt()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | pcl816.c | 151 unsigned int *chanlist, in pcl816_ai_setup_chanlist() argument 154 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl816_ai_setup_chanlist() 161 last_chan = CR_CHAN(chanlist[i]); in pcl816_ai_setup_chanlist() 162 range = CR_RANGE(chanlist[i]); in pcl816_ai_setup_chanlist() 279 unsigned int *chanlist, in check_channel_list() argument 293 chansegment[0] = chanlist[0]; in check_channel_list() 296 if (chanlist[0] == chanlist[i]) in check_channel_list() 300 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list() 304 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list() 305 CR_CHAN(chanlist[0])); in check_channel_list() [all …]
|
D | adv_pci1710.c | 185 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in pci1710_ai_check_chanlist() 186 unsigned int last_aref = CR_AREF(cmd->chanlist[0]); in pci1710_ai_check_chanlist() 198 chansegment[0] = cmd->chanlist[0]; in pci1710_ai_check_chanlist() 201 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci1710_ai_check_chanlist() 202 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci1710_ai_check_chanlist() 204 if (cmd->chanlist[0] == cmd->chanlist[i]) in pci1710_ai_check_chanlist() 223 chansegment[i] = cmd->chanlist[i]; in pci1710_ai_check_chanlist() 229 if (cmd->chanlist[i] != chansegment[i % seglen]) { in pci1710_ai_check_chanlist() 235 CR_CHAN(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist() 236 CR_RANGE(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist() [all …]
|
D | pcl818.c | 340 unsigned int *chanlist, in pcl818_ai_setup_chanlist() argument 344 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl818_ai_setup_chanlist() 354 last_chan = CR_CHAN(chanlist[i]); in pcl818_ai_setup_chanlist() 355 range = CR_RANGE(chanlist[i]); in pcl818_ai_setup_chanlist() 571 unsigned int *chanlist, unsigned int n_chan) in check_channel_list() argument 584 chansegment[0] = chanlist[0]; in check_channel_list() 589 if (chanlist[0] == chanlist[i]) in check_channel_list() 593 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list() 597 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list() 598 CR_CHAN(chanlist[0])); in check_channel_list() [all …]
|
D | usbduxfast.c | 323 unsigned int gain0 = CR_RANGE(cmd->chanlist[0]); in usbduxfast_ai_check_chanlist() 332 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in usbduxfast_ai_check_chanlist() 333 unsigned int gain = CR_RANGE(cmd->chanlist[i]); in usbduxfast_ai_check_chanlist() 426 if (cmd->chanlist && cmd->chanlist_len > 0) in usbduxfast_ai_cmdtest() 493 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 576 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 587 if (CR_RANGE(cmd->chanlist[1]) > 0) in usbduxfast_ai_cmd() 610 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 634 if (CR_RANGE(cmd->chanlist[j]) > 0) in usbduxfast_ai_cmd() 647 if (CR_RANGE(cmd->chanlist[j + 1]) > 0) in usbduxfast_ai_cmd() [all …]
|
D | das6402.c | 226 unsigned int chan_lo = CR_CHAN(cmd->chanlist[0]); in das6402_ai_cmd() 227 unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das6402_ai_cmd() 229 das6402_ai_set_mode(dev, s, cmd->chanlist[0], DAS6402_MODE_FIFONEPTY); in das6402_ai_cmd() 250 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in das6402_ai_check_chanlist() 251 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das6402_ai_check_chanlist() 252 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in das6402_ai_check_chanlist() 256 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in das6402_ai_check_chanlist() 257 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das6402_ai_check_chanlist() 258 unsigned int aref = CR_AREF(cmd->chanlist[i]); in das6402_ai_check_chanlist() 341 if (cmd->chanlist && cmd->chanlist_len > 0) in das6402_ai_cmdtest()
|
D | ni_at_a2150.c | 354 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in a2150_ai_check_chanlist() 355 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in a2150_ai_check_chanlist() 371 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in a2150_ai_check_chanlist() 372 unsigned int aref = CR_AREF(cmd->chanlist[i]); in a2150_ai_check_chanlist() 453 if (cmd->chanlist && cmd->chanlist_len > 0) in a2150_ai_cmdtest() 481 if (a2150_set_chanlist(dev, CR_CHAN(cmd->chanlist[0]), in a2150_ai_cmd() 486 if (CR_AREF(cmd->chanlist[0]) == AREF_OTHER) in a2150_ai_cmd() 490 if (CR_AREF(cmd->chanlist[2]) == AREF_OTHER) in a2150_ai_cmd()
|
D | adl_pci9111.c | 204 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci9111_ai_check_chanlist() 205 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in pci9111_ai_check_chanlist() 209 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci9111_ai_check_chanlist() 210 unsigned int range = CR_RANGE(cmd->chanlist[i]); in pci9111_ai_check_chanlist() 211 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9111_ai_check_chanlist() 326 if (cmd->chanlist && cmd->chanlist_len > 0) in pci9111_ai_do_cmd_test() 340 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in pci9111_ai_do_cmd() 341 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci9111_ai_do_cmd()
|
D | das800.c | 267 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in das800_ai_check_chanlist() 268 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das800_ai_check_chanlist() 272 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in das800_ai_check_chanlist() 273 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das800_ai_check_chanlist() 355 if (cmd->chanlist && cmd->chanlist_len > 0) in das800_ai_do_cmdtest() 370 unsigned int gain = CR_RANGE(cmd->chanlist[0]); in das800_ai_do_cmd() 371 unsigned int start_chan = CR_CHAN(cmd->chanlist[0]); in das800_ai_do_cmd()
|
D | amplc_pci230.c | 851 unsigned int prev_chan = CR_CHAN(cmd->chanlist[0]); in pci230_ao_check_chanlist() 852 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci230_ao_check_chanlist() 856 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci230_ao_check_chanlist() 857 unsigned int range = CR_RANGE(cmd->chanlist[i]); in pci230_ao_check_chanlist() 997 if (cmd->chanlist && cmd->chanlist_len > 0) in pci230_ao_cmdtest() 1072 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci230_handle_ao_nofifo() 1143 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci230_handle_ao_fifo() 1318 range = CR_RANGE(cmd->chanlist[0]); in pci230_ao_cmd() 1328 dacen |= 1 << CR_CHAN(cmd->chanlist[i]); in pci230_ao_cmd() 1415 unsigned int chanspec = cmd->chanlist[i]; in pci230_ai_check_chanlist() [all …]
|
D | dmm32at.c | 236 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in dmm32at_ai_check_chanlist() 237 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in dmm32at_ai_check_chanlist() 241 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in dmm32at_ai_check_chanlist() 242 unsigned int range = CR_RANGE(cmd->chanlist[i]); in dmm32at_ai_check_chanlist() 322 if (cmd->chanlist && cmd->chanlist_len > 0) in dmm32at_ai_cmdtest() 368 dmm32at_ai_set_chanspec(dev, s, cmd->chanlist[0], cmd->chanlist_len); in dmm32at_ai_cmd()
|
D | cb_pcidas.c | 651 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ai_check_chanlist() 652 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in cb_pcidas_ai_check_chanlist() 656 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in cb_pcidas_ai_check_chanlist() 657 unsigned int range = CR_RANGE(cmd->chanlist[i]); in cb_pcidas_ai_check_chanlist() 775 if (cmd->chanlist && cmd->chanlist_len > 0) in cb_pcidas_ai_cmdtest() 791 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in cb_pcidas_ai_cmd() 803 bits = PCIDAS_AI_FIRST(CR_CHAN(cmd->chanlist[0])) | in cb_pcidas_ai_cmd() 804 PCIDAS_AI_LAST(CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])) | in cb_pcidas_ai_cmd() 810 if (CR_AREF(cmd->chanlist[0]) != AREF_DIFF) in cb_pcidas_ai_cmd() 873 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ao_check_chanlist() [all …]
|
D | amplc_pci224.c | 628 range_check_0 = board->ao_range_check[CR_RANGE(cmd->chanlist[0])]; in pci224_ao_check_chanlist() 630 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci224_ao_check_chanlist() 640 if (board->ao_range_check[CR_RANGE(cmd->chanlist[i])] != in pci224_ao_check_chanlist() 796 if (cmd->chanlist && cmd->chanlist_len > 0) in pci224_ao_cmdtest() 841 if (!cmd->chanlist || cmd->chanlist_len == 0) in pci224_ao_cmd() 848 ch = CR_CHAN(cmd->chanlist[i]); in pci224_ao_cmd() 852 if (CR_CHAN(cmd->chanlist[j]) < ch) in pci224_ao_cmd() 862 range = CR_RANGE(cmd->chanlist[0]); in pci224_ao_cmd() 927 if ((board->ao_hwrange[CR_RANGE(cmd->chanlist[0])] & in pci224_ao_munge()
|
D | ni_labpc_common.c | 424 if (!cmd->chanlist) in labpc_ai_scan_mode() 427 chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_scan_mode() 428 chan1 = CR_CHAN(cmd->chanlist[1]); in labpc_ai_scan_mode() 444 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_check_chanlist() 445 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in labpc_ai_check_chanlist() 446 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in labpc_ai_check_chanlist() 450 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in labpc_ai_check_chanlist() 451 unsigned int range = CR_RANGE(cmd->chanlist[i]); in labpc_ai_check_chanlist() 452 unsigned int aref = CR_AREF(cmd->chanlist[i]); in labpc_ai_check_chanlist() 602 if (cmd->chanlist && cmd->chanlist_len > 0) in labpc_ai_cmdtest() [all …]
|
D | cb_pcidas64.c | 2062 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in cb_pcidas64_ai_check_chanlist() 2066 unsigned int aref = CR_AREF(cmd->chanlist[i]); in cb_pcidas64_ai_check_chanlist() 2076 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas64_ai_check_chanlist() 2079 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in cb_pcidas64_ai_check_chanlist() 2214 if (cmd->chanlist && cmd->chanlist_len > 0) in ai_cmdtest() 2399 if (CR_CHAN(cmd->chanlist[i + 1]) != in use_internal_queue_6xxx() 2400 CR_CHAN(cmd->chanlist[i]) + 1) in use_internal_queue_6xxx() 2402 if (CR_RANGE(cmd->chanlist[i + 1]) != in use_internal_queue_6xxx() 2403 CR_RANGE(cmd->chanlist[i])) in use_internal_queue_6xxx() 2405 if (CR_AREF(cmd->chanlist[i + 1]) != CR_AREF(cmd->chanlist[i])) in use_internal_queue_6xxx() [all …]
|
D | adl_pci9118.c | 291 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci9118_ai_check_chanlist() 292 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in pci9118_ai_check_chanlist() 300 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci9118_ai_check_chanlist() 301 unsigned int range = CR_RANGE(cmd->chanlist[i]); in pci9118_ai_check_chanlist() 302 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9118_ai_check_chanlist() 328 int n_chan, unsigned int *chanlist, in pci9118_set_chanlist() argument 332 unsigned int chan0 = CR_CHAN(chanlist[0]); in pci9118_set_chanlist() 333 unsigned int range0 = CR_RANGE(chanlist[0]); in pci9118_set_chanlist() 334 unsigned int aref0 = CR_AREF(chanlist[0]); in pci9118_set_chanlist() 369 unsigned int chan = CR_CHAN(chanlist[i]); in pci9118_set_chanlist() [all …]
|
D | das1800.c | 615 unsigned int range = CR_RANGE(cmd->chanlist[0]); in das1800_ai_check_chanlist() 620 range = CR_RANGE(cmd->chanlist[i]); in das1800_ai_check_chanlist() 716 if (cmd->chanlist && cmd->chanlist_len > 0) in das1800_ai_cmdtest() 805 unsigned int *chanlist, unsigned int len) in das1800_ai_set_chanlist() argument 819 unsigned int chan = CR_CHAN(chanlist[i]); in das1800_ai_set_chanlist() 820 unsigned int range = CR_RANGE(chanlist[i]); in das1800_ai_set_chanlist() 840 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das1800_ai_cmd() 875 control_c = das1800_ai_chanspec_bits(s, cmd->chanlist[0]); in das1800_ai_cmd() 894 das1800_ai_set_chanlist(dev, cmd->chanlist, cmd->chanlist_len); in das1800_ai_cmd()
|
D | das16.c | 559 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in das16_ai_check_chanlist() 560 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das16_ai_check_chanlist() 564 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in das16_ai_check_chanlist() 565 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das16_ai_check_chanlist() 674 if (cmd->chanlist && cmd->chanlist_len > 0) in das16_cmd_test() 699 unsigned int first_chan = CR_CHAN(cmd->chanlist[0]); in das16_cmd_exec() 700 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das16_cmd_exec() 701 unsigned int range = CR_RANGE(cmd->chanlist[0]); in das16_cmd_exec()
|
D | me4000.c | 537 unsigned int aref0 = CR_AREF(cmd->chanlist[0]); in me4000_ai_check_chanlist() 541 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in me4000_ai_check_chanlist() 542 unsigned int range = CR_RANGE(cmd->chanlist[i]); in me4000_ai_check_chanlist() 543 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_check_chanlist() 633 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in me4000_ai_write_chanlist() 634 unsigned int range = CR_RANGE(cmd->chanlist[i]); in me4000_ai_write_chanlist() 635 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_write_chanlist() 910 if (cmd->chanlist && cmd->chanlist_len > 0) in me4000_ai_do_cmd_test()
|
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-core.c | 162 struct ce_task *cet = ce->chanlist[flow].tl; in sun8i_ce_run_task() 165 ce->chanlist[flow].stat_req++; in sun8i_ce_run_task() 174 reinit_completion(&ce->chanlist[flow].complete); in sun8i_ce_run_task() 175 writel(ce->chanlist[flow].t_phy, ce->base + CE_TDQ); in sun8i_ce_run_task() 177 ce->chanlist[flow].status = 0; in sun8i_ce_run_task() 184 v = 1 | ((le32_to_cpu(ce->chanlist[flow].tl->t_common_ctl) & 0x7F) << 8); in sun8i_ce_run_task() 188 wait_for_completion_interruptible_timeout(&ce->chanlist[flow].complete, in sun8i_ce_run_task() 189 msecs_to_jiffies(ce->chanlist[flow].timeout)); in sun8i_ce_run_task() 191 if (ce->chanlist[flow].status == 0) { in sun8i_ce_run_task() 193 ce->chanlist[flow].timeout, flow); in sun8i_ce_run_task() [all …]
|
D | sun8i-ce-trng.c | 62 chan = &ce->chanlist[flow]; in sun8i_ce_trng_read() 82 ce->chanlist[flow].timeout = todo; in sun8i_ce_trng_read()
|
D | sun8i-ce-prng.c | 116 chan = &ce->chanlist[flow]; in sun8i_ce_prng_generate() 140 ce->chanlist[flow].timeout = 2000; in sun8i_ce_prng_generate()
|
/linux-6.6.21/drivers/comedi/ |
D | range.c | 106 unsigned int *chanlist) in comedi_check_chanlist() argument 113 chanspec = chanlist[i]; in comedi_check_chanlist()
|
D | comedi_fops.c | 745 kfree(async->cmd.chanlist); in do_become_nonbusy() 746 async->cmd.chanlist = NULL; in do_become_nonbusy() 1712 unsigned int *chanlist; in __comedi_get_user_chanlist() local 1716 cmd->chanlist = NULL; in __comedi_get_user_chanlist() 1717 chanlist = memdup_user(user_chanlist, in __comedi_get_user_chanlist() 1719 if (IS_ERR(chanlist)) in __comedi_get_user_chanlist() 1720 return PTR_ERR(chanlist); in __comedi_get_user_chanlist() 1723 ret = comedi_check_chanlist(s, cmd->chanlist_len, chanlist); in __comedi_get_user_chanlist() 1725 kfree(chanlist); in __comedi_get_user_chanlist() 1729 cmd->chanlist = chanlist; in __comedi_get_user_chanlist() [all …]
|