/drivers/mmc/core/ |
D | mmc_test.c | 176 struct mmc_test_card *test; member 186 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() argument 188 return mmc_set_blocklen(test->card, size); in mmc_test_set_blksize() 197 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() argument 200 struct mmc_card *card = test->card; in mmc_test_prepare_sbc() 217 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() argument 233 if (!mmc_card_blockaddr(test->card)) in mmc_test_prepare_mrq() 252 mmc_test_prepare_sbc(test, mrq, blocks); in mmc_test_prepare_mrq() 254 mmc_set_data_timeout(mrq->data, test->card); in mmc_test_prepare_mrq() 266 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() argument [all …]
|
/drivers/misc/ |
D | pci_endpoint_test.c | 109 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl() argument 112 return readl(test->base + offset); in pci_endpoint_test_readl() 115 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel() argument 118 writel(value, test->base + offset); in pci_endpoint_test_writel() 121 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, in pci_endpoint_test_bar_readl() argument 124 return readl(test->bar[bar] + offset); in pci_endpoint_test_bar_readl() 127 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, in pci_endpoint_test_bar_writel() argument 130 writel(value, test->bar[bar] + offset); in pci_endpoint_test_bar_writel() 135 struct pci_endpoint_test *test = dev_id; in pci_endpoint_test_irqhandler() local 138 reg = pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_STATUS); in pci_endpoint_test_irqhandler() [all …]
|
/drivers/of/unittest-data/ |
D | tests-overlay.dtsi | 7 /* test bus */ 8 unittestbus: test-bus { 13 unittest100: test-unittest100 { 19 unittest101: test-unittest101 { 25 unittest0: test-unittest0 { 31 unittest1: test-unittest1 { 37 unittest2: test-unittest2 { 43 unittest3: test-unittest3 { 49 unittest5: test-unittest5 { 55 unittest6: test-unittest6 { [all …]
|
D | tests-platform.dtsi | 9 test-device@0 { 10 compatible = "test-device"; 17 compatible = "test-sub-device"; 22 test-device@1 { 23 compatible = "test-device"; 30 compatible = "test-sub-device", 31 "test-compat2", 32 "test-compat3";
|
/drivers/spi/ |
D | spi-loopback-test.c | 538 struct spi_test *test) in spi_test_check_elapsed_time() argument 544 for (i = 0; i < test->transfer_count; i++) { in spi_test_check_elapsed_time() 545 struct spi_transfer *xfer = test->transfers + i; in spi_test_check_elapsed_time() 556 if (test->elapsed_time < estimated_time) { in spi_test_check_elapsed_time() 559 test->elapsed_time, estimated_time); in spi_test_check_elapsed_time() 673 struct spi_test *test) in spi_test_fill_pattern() argument 675 struct spi_transfer *xfers = test->transfers; in spi_test_fill_pattern() 689 for (i = 0; i < test->transfer_count; i++) { in spi_test_fill_pattern() 701 switch (test->fill_option) { in spi_test_fill_pattern() 703 *tx_buf = test->fill_pattern; in spi_test_fill_pattern() [all …]
|
D | spi-test.h | 86 int (*run_test)(struct spi_device *spi, struct spi_test *test, 88 int (*execute_msg)(struct spi_device *spi, struct spi_test *test, 117 const struct spi_test *test, 122 struct spi_test *test,
|
/drivers/usb/musb/ |
D | musb_debugfs.c | 149 unsigned test; in musb_test_mode_show() local 152 test = musb_readb(musb->mregs, MUSB_TESTMODE); in musb_test_mode_show() 156 if (test == (MUSB_TEST_FORCE_HOST | MUSB_TEST_FORCE_FS)) in musb_test_mode_show() 159 else if (test == (MUSB_TEST_FORCE_HOST | MUSB_TEST_FORCE_HS)) in musb_test_mode_show() 162 else if (test == MUSB_TEST_FORCE_HOST) in musb_test_mode_show() 165 else if (test == MUSB_TEST_FIFO_ACCESS) in musb_test_mode_show() 168 else if (test == MUSB_TEST_FORCE_FS) in musb_test_mode_show() 171 else if (test == MUSB_TEST_FORCE_HS) in musb_test_mode_show() 174 else if (test == MUSB_TEST_PACKET) in musb_test_mode_show() 177 else if (test == MUSB_TEST_K) in musb_test_mode_show() [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.seq | 52 test SEQINTCODE, 0xFF jz idle_loop; 65 test ERROR, 0xFF jz no_error_set; 70 test SCSISEQ0, ENSELO|ENARBO jnz idle_loop_checkbus; 71 test SEQ_FLAGS2, SELECTOUT_QFROZEN jz check_waiting_list; 82 test SSTAT0, SELDO|SELINGO jnz idle_loop_checkbus; 109 * ENSELO is cleared by a SELDO, so we must test for SELDO 112 test SSTAT0, SELDO jnz select_out; 115 test SSTAT0, SELDO jnz select_out; 117 test SSTAT0, SELDI jnz select_in; 118 test SCSIPHASE, ~DATA_PHASE_MASK jz idle_loop_check_nonpackreq; [all …]
|
D | aic7xxx.seq | 81 test SCSISEQ, ENSELO jnz poll_for_selection; 84 test SCSISEQ, ENSELO jnz poll_for_selection; 91 test SSTAT0, SELDO|SELDI jnz selection; 96 test QOFF_CTLSTA, SCB_AVAIL jz poll_for_work_loop; 159 test SSTAT0, SELDO|SELDI jz poll_for_selection; 176 test SSTAT0, SELDI|SELDO jz bus_free_sel; 177 test SSTAT0,SELDO jnz select_out; 181 test SSTAT0, TARGET jz initiator_reselect; 221 test SBLKCTL, SELBUSB jz . + 2; 236 test SCSISIGI, ATNI jz target_busfree; [all …]
|
/drivers/staging/lustre/lnet/selftest/ |
D | console.c | 937 struct lstcon_test *test = NULL; in lstcon_batch_info() local 950 list_for_each_entry(test, &bat->bat_test_list, tes_link) { in lstcon_batch_info() 961 clilst = !test ? &bat->bat_cli_list : in lstcon_batch_info() 962 &test->tes_src_grp->grp_ndl_list; in lstcon_batch_info() 963 srvlst = !test ? &bat->bat_srv_list : in lstcon_batch_info() 964 &test->tes_dst_grp->grp_ndl_list; in lstcon_batch_info() 977 if (!test) { in lstcon_batch_info() 981 entp->u.tbe_test.tse_type = test->tes_type; in lstcon_batch_info() 982 entp->u.tbe_test.tse_loop = test->tes_loop; in lstcon_batch_info() 983 entp->u.tbe_test.tse_concur = test->tes_concur; in lstcon_batch_info() [all …]
|
D | conrpc.c | 809 struct lstcon_test *test, struct lstcon_rpc **crpc) in lstcon_testrpc_prep() argument 811 struct lstcon_group *sgrp = test->tes_src_grp; in lstcon_testrpc_prep() 812 struct lstcon_group *dgrp = test->tes_dst_grp; in lstcon_testrpc_prep() 821 npg = sfw_id_pages(test->tes_span); in lstcon_testrpc_prep() 824 sizeof(struct lnet_process_id_packed) * test->tes_span; in lstcon_testrpc_prep() 834 int ndist = DIV_ROUND_UP(sgrp->grp_nnode, test->tes_dist); in lstcon_testrpc_prep() 835 int nspan = DIV_ROUND_UP(dgrp->grp_nnode, test->tes_span); in lstcon_testrpc_prep() 839 trq->tsr_loop = nmax * test->tes_dist * test->tes_concur; in lstcon_testrpc_prep() 867 rc = lstcon_dstnodes_prep(test->tes_dst_grp, in lstcon_testrpc_prep() 868 test->tes_cliidx++, in lstcon_testrpc_prep() [all …]
|
/drivers/media/radio/ |
D | radio-cadet.c | 163 unsigned freq = 0, test, fifo = 0; in cadet_getfreq() local 176 test = 12500; in cadet_getfreq() 179 freq += test; in cadet_getfreq() 180 test = test << 1; in cadet_getfreq() 191 unsigned test; in cadet_settune() local 197 test = 0; in cadet_settune() 198 test = (fifo >> 23) & 0x02; /* Align data for SDO */ in cadet_settune() 199 test |= 0x1c; /* SDM=1, SWE=1, SEN=1, SCK=0 */ in cadet_settune() 201 outb(test, dev->io + 1); /* Initialize for write */ in cadet_settune() 203 test |= 0x01; /* Toggle SCK High */ in cadet_settune() [all …]
|
/drivers/staging/greybus/tools/ |
D | README.loopback | 5 The driver implements the main logic of the loopback test and provides 6 sysfs files to configure the test and retrieve the results. 7 A user could run a test without the need of the test application given 12 created and for the loopback test application to be able to run. 31 type - By writing the test type to this file, the test starts. 33 0 stop the test 67 The loopback test application manages and formats the results provided by 72 - Gather and format test results (csv or human readable). 79 -t must be one of the test names - sink, transfer or ping 80 -i iteration count - the number of iterations to run the test over [all …]
|
/drivers/soc/fsl/qbman/ |
D | Kconfig | 31 Compile the BMan self-test code. These tests will 36 bool "High-level API self-test" 42 to the cpu(s) the test executes on). 47 Compile self-test code for QMan. 50 bool "QMan high-level self-test" 56 the cpu(s) the test executes on). 59 bool "QMan 'hot potato' data-stashing self-test" 63 This performs a "hot potato" style test enqueuing/dequeuing a frame
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ethtool.c | 610 const struct ixgbevf_reg_test *test; in ixgbevf_reg_test() local 619 test = reg_test_vf; in ixgbevf_reg_test() 624 while (test->reg) { in ixgbevf_reg_test() 625 for (i = 0; i < test->array_len; i++) { in ixgbevf_reg_test() 628 switch (test->test_type) { in ixgbevf_reg_test() 631 test->reg + (i * 0x40), in ixgbevf_reg_test() 632 test->mask, in ixgbevf_reg_test() 633 test->write); in ixgbevf_reg_test() 637 test->reg + (i * 0x40), in ixgbevf_reg_test() 638 test->mask, in ixgbevf_reg_test() [all …]
|
/drivers/staging/speakup/ |
D | speakup_audptr.c | 138 unsigned char test = 0; in synth_version() local 142 synth_id[test] = synth->io_ops->synth_in(); in synth_version() 143 if (synth_id[test] == 'A') { in synth_version() 146 synth_id[++test] = synth->io_ops->synth_in(); in synth_version() 147 } while (synth_id[test] != '\n' && test < 32); in synth_version() 148 synth_id[++test] = 0x00; in synth_version()
|
/drivers/net/wireless/ti/wl12xx/ |
D | cmd.h | 34 struct wl1271_cmd_test_header test; member 49 struct wl1271_cmd_test_header test; member 64 struct wl1271_cmd_test_header test; member 80 struct wl1271_cmd_test_header test; member 99 struct wl1271_cmd_test_header test; member
|
D | cmd.c | 43 ext_radio_parms->test.id = TEST_CMD_INI_FILE_RF_EXTENDED_PARAM; in wl1271_cmd_ext_radio_parms() 84 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM; in wl1271_cmd_general_parms() 151 gen_parms->test.id = TEST_CMD_INI_FILE_GENERAL_PARAM; in wl128x_cmd_general_parms() 212 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl1271_cmd_radio_parms() 256 radio_parms->test.id = TEST_CMD_INI_FILE_RADIO_PARAM; in wl128x_cmd_radio_parms()
|
/drivers/vhost/ |
D | test.c | 173 static long vhost_test_run(struct vhost_test *n, int test) in vhost_test_run() argument 179 if (test < 0 || test > 1) in vhost_test_run() 198 priv = test ? n : NULL; in vhost_test_run() 271 int test; in vhost_test_ioctl() local 276 if (copy_from_user(&test, argp, sizeof test)) in vhost_test_ioctl() 278 return vhost_test_run(n, test); in vhost_test_ioctl()
|
/drivers/net/ieee802154/ |
D | ca8210.c | 366 struct ca8210_test test; member 626 struct ca8210_test *test = &priv->test; in ca8210_test_int_driver_write() local 641 kfifo_in(&test->up_fifo, &fifo_buffer, 4); in ca8210_test_int_driver_write() 642 wake_up_interruptible(&priv->test.readq); in ca8210_test_int_driver_write() 2574 if (kfifo_is_empty(&priv->test.up_fifo)) in ca8210_test_int_user_read() 2579 priv->test.readq, in ca8210_test_int_user_read() 2580 !kfifo_is_empty(&priv->test.up_fifo) in ca8210_test_int_user_read() 2584 if (kfifo_out(&priv->test.up_fifo, &fifo_buffer, 4) != 4) { in ca8210_test_int_user_read() 2657 poll_wait(filp, &priv->test.readq, ptable); in ca8210_test_int_poll() 2658 if (!kfifo_is_empty(&priv->test.up_fifo)) in ca8210_test_int_poll() [all …]
|
/drivers/pci/endpoint/functions/ |
D | Kconfig | 10 Enable this configuration option to enable the test driver 13 If in doubt, say "N" to disable Endpoint test driver.
|
/drivers/nvme/target/ |
D | Kconfig | 24 to test NVMe host and target side features. 57 This enables the NVMe FC loopback test support, which can be useful 58 to test NVMe-FC transport interfaces.
|
/drivers/i2c/busses/ |
D | i2c-iop3xx.c | 158 typedef int (* compare_func)(unsigned test, unsigned mask); 195 all_bits_clear(unsigned test, unsigned mask) in all_bits_clear() argument 197 return (test & mask) == 0; in all_bits_clear() 201 any_bits_set(unsigned test, unsigned mask) in any_bits_set() argument 203 return (test & mask) != 0; in any_bits_set()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | gk208.fuc5 | 43 #include "test.fuc" 54 #include "test.fuc" 67 #include "test.fuc"
|
D | gf119.fuc4 | 43 #include "test.fuc" 54 #include "test.fuc" 67 #include "test.fuc"
|