/Linux-v6.1/drivers/pinctrl/sunplus/ |
D | sppctl_sp7021.c | 14 #define D(x, y) ((x) * 8 + (y)) macro 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 19 D_PIS(0, 4), D_PIS(0, 5), D_PIS(0, 6), D_PIS(0, 7), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), 28 D_PIS(5, 0), D_PIS(5, 1), D_PIS(5, 2), D_PIS(5, 3), 30 D_PIS(6, 0), D_PIS(6, 1), D_PIS(6, 2), D_PIS(6, 3), [all …]
|
/Linux-v6.1/net/bluetooth/rfcomm/ |
D | core.c | 56 static int rfcomm_queue_disc(struct rfcomm_dlc *d); 58 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d); 74 #define __get_dlci(b) ((b & 0xfc) >> 2) 75 #define __get_type(b) ((b & 0xef)) 77 #define __test_ea(b) ((b & 0x01)) 78 #define __test_cr(b) (!!(b & 0x02)) 79 #define __test_pf(b) (!!(b & 0x10)) 81 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01) 83 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) 84 #define __ctrl(type, pf) (((type & 0xef) | (pf << 4))) [all …]
|
/Linux-v6.1/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 15 "disable remote control polling (default: 0)"); 20 "force all DVB USB devices to use a PID filter, if any (default: 0)"); 22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 35 if (ret < 0) { in dvb_usbv2_download_firmware() 36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 37 …"%s: Did not find the firmware file '%s' (status %d). You can use <kernel_dir>/scripts/get_dvb_fir… in dvb_usbv2_download_firmware() 42 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware() [all …]
|
D | rtl28xxu.c | 17 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() argument 19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg() 24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg() 27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg() 36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 47 pipe = usb_rcvctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 49 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 52 ret = usb_control_msg(d->udev, pipe, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 54 dvb_usb_dbg_usb_control_msg(d->udev, 0, requesttype, req->value, in rtl28xxu_ctrl_msg() 56 if (ret < 0) in rtl28xxu_ctrl_msg() [all …]
|
/Linux-v6.1/drivers/mtd/ |
D | mtdswap.c | 62 #define EBLOCK_BAD (1 << 0) 135 #define MTDSWAP_MAGIC_CLEAN 0x2095 137 #define MTDSWAP_TYPE_CLEAN 0 160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) argument 161 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) argument 162 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument 163 #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count) argument 180 "Include builtin swap header (default 0, without header)"); 182 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background); 184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument [all …]
|
/Linux-v6.1/drivers/base/regmap/ |
D | regmap-irq.c | 78 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 80 mutex_lock(&d->lock); in regmap_irq_lock() 85 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 86 struct regmap *map = d->map; in regmap_irq_sync_unlock() 91 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 93 if (ret < 0) in regmap_irq_sync_unlock() 94 dev_err(map->dev, "IRQ sync failed to resume: %d\n", in regmap_irq_sync_unlock() 98 if (d->clear_status) { in regmap_irq_sync_unlock() 99 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 100 reg = d->get_irq_reg(d, d->chip->status_base, i); in regmap_irq_sync_unlock() [all …]
|
/Linux-v6.1/drivers/sh/intc/ |
D | core.c | 74 struct intc_desc_int *d, in intc_register_irq() argument 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq() 95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq() 96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq() 98 primary = 0; in intc_register_irq() 99 if (!data[0] && data[1]) in intc_register_irq() 102 if (!data[0] && !data[1]) in intc_register_irq() 103 pr_warn("missing unique irq mask for irq %d (vect 0x%04x)\n", in intc_register_irq() 106 data[0] = data[0] ? data[0] : intc_get_mask_handle(desc, d, enum_id, 1); in intc_register_irq() 107 data[1] = data[1] ? data[1] : intc_get_prio_handle(desc, d, enum_id, 1); in intc_register_irq() [all …]
|
/Linux-v6.1/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf_rf2959.c | 15 RF_CHANNEL( 1) = { 0x181979, 0x1e6666 }, 16 RF_CHANNEL( 2) = { 0x181989, 0x1e6666 }, 17 RF_CHANNEL( 3) = { 0x181999, 0x1e6666 }, 18 RF_CHANNEL( 4) = { 0x1819a9, 0x1e6666 }, 19 RF_CHANNEL( 5) = { 0x1819b9, 0x1e6666 }, 20 RF_CHANNEL( 6) = { 0x1819c9, 0x1e6666 }, 21 RF_CHANNEL( 7) = { 0x1819d9, 0x1e6666 }, 22 RF_CHANNEL( 8) = { 0x1819e9, 0x1e6666 }, 23 RF_CHANNEL( 9) = { 0x1819f9, 0x1e6666 }, 24 RF_CHANNEL(10) = { 0x181a09, 0x1e6666 }, [all …]
|
/Linux-v6.1/tools/testing/selftests/powerpc/include/ |
D | instructions.h | 10 (0x7c00060c | (RA) << (31-15) | (RB) << (31-20) | (L) << (31-10)) 16 asm volatile(str(COPY(0, %0, 0))";" in copy() 25 asm volatile(str(COPY(0, %0, 1))";" in copy_first() 34 (0x7c00070c | (RA) << (31-15) | (RB) << (31-20) | (L) << (31-10) | (RC) << (31-31)) 42 asm volatile(str(PASTE(0, %1, 0, 0))";" in paste() 43 "mfcr %0;" in paste() 55 asm volatile(str(PASTE(0, %1, 1, 1))";" in paste_last() 56 "mfcr %0;" in paste_last() 64 #define PPC_INST_COPY __COPY(0, 0, 0) 65 #define PPC_INST_COPY_FIRST __COPY(0, 0, 1) [all …]
|
/Linux-v6.1/drivers/clk/ti/ |
D | adpll.c | 14 #define ADPLL_PLLSS_MMR_LOCK_OFFSET 0x00 /* Managed by MPPULL */ 15 #define ADPLL_PLLSS_MMR_LOCK_ENABLED 0x1f125B64 16 #define ADPLL_PLLSS_MMR_UNLOCK_MAGIC 0x1eda4c3d 18 #define ADPLL_PWRCTRL_OFFSET 0x00 24 #define ADPLL_PWRCTRL_OFFMODE 0 26 #define ADPLL_CLKCTRL_OFFSET 0x04 40 #define ADPLL_CLKCTRL_TINITZ 0 42 #define ADPLL_TENABLE_OFFSET 0x08 43 #define ADPLL_TENABLEDIV_OFFSET 0x8c 45 #define ADPLL_M2NDIV_OFFSET 0x10 [all …]
|
/Linux-v6.1/arch/arm64/crypto/ |
D | sha3-ce-core.S | 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 16 .set .Lv\b\().2d, \b 24 .inst 0xce000000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 28 .inst 0xce608c00 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 32 .inst 0xce200000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 36 .inst 0xce800000 | .L\rd | (.L\rn << 5) | ((\imm6) << 10) | (.L\rm << 16) 46 ld1 { v0.1d- v3.1d}, [x0] 47 ld1 { v4.1d- v7.1d}, [x8], #32 48 ld1 { v8.1d-v11.1d}, [x8], #32 49 ld1 {v12.1d-v15.1d}, [x8], #32 [all …]
|
D | ghash-ce-core.S | 64 pmull \rd\().1q, \rn\().1d, \rm\().1d 68 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 107 pmull\t \rq\().8h, \ad, \bd // D = A*B 113 uzp1 t4.2d, t3.2d, t5.2d 114 uzp2 t3.2d, t3.2d, t5.2d 115 uzp1 t6.2d, t7.2d, t9.2d 116 uzp2 t7.2d, t7.2d, t9.2d 131 zip2 t5.2d, t4.2d, t3.2d 132 zip1 t3.2d, t4.2d, t3.2d 133 zip2 t9.2d, t6.2d, t7.2d [all …]
|
/Linux-v6.1/tools/lib/bpf/ |
D | btf_dump.c | 127 return strcmp(a, b) == 0; in str_equal_fn() 130 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 132 return btf__name_by_offset(d->btf, name_off); in btf_name_of() 135 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() argument 140 d->printf_fn(d->cb_ctx, fmt, args); in btf_dump_printf() 144 static int btf_dump_mark_referenced(struct btf_dump *d); 145 static int btf_dump_resize(struct btf_dump *d); 152 struct btf_dump *d; in btf_dump__new() local 161 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 162 if (!d) in btf_dump__new() [all …]
|
/Linux-v6.1/arch/loongarch/mm/ |
D | tlbex.S | 28 jirl ra, t0, 0 33 tlb_do_page_fault 0 44 jirl ra, t0, 0 62 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 63 alsl.d t1, ra, t1, 3 65 ld.d t1, t1, 0 66 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT 67 alsl.d t1, ra, t1, 3 70 ld.d t1, t1, 0 71 bstrpick.d ra, t0, PTRS_PER_PMD_BITS + PMD_SHIFT - 1, PMD_SHIFT [all …]
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 27 for (index = 0; index < keymap_size; index++) in legacy_dvb_usb_get_keymap_index() 33 for (index = 0; index < keymap_size; index++) { in legacy_dvb_usb_get_keymap_index() 48 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_getkeycode() local 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() 64 return 0; in legacy_dvb_usb_getkeycode() 71 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_setkeycode() local 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() 73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode() 93 for (index = 0; index < keymap_size; index++) { in legacy_dvb_usb_setkeycode() [all …]
|
D | dvb-usb-init.c | 20 MODULE_PARM_DESC(disable_rc_polling, "disable remote control polling (default: 0)."); 24 …ESC(force_pid_filter_usage, "force all dvb-usb-devices to use a PID filter, if any (default: 0)."); 26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument 31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init() 32 adap = &d->adapter[n]; in dvb_usb_adapter_init() 33 adap->dev = d; in dvb_usb_adapter_init() 36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init() 38 for (o = 0; o < adap->props.num_frontends; o++) { in dvb_usb_adapter_init() 41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init() 42 err("This USB2.0 device cannot be run on a USB1.1 port. (it lacks a hardware PID filter)"); in dvb_usb_adapter_init() [all …]
|
/Linux-v6.1/drivers/dma/lgm/ |
D | lgm-dma.c | 27 #define DMA_ID 0x0008 28 #define DMA_ID_REV GENMASK(7, 0) 33 #define DMA_VER32 0x32 34 #define DMA_VER31 0x31 35 #define DMA_VER22 0x0A 37 #define DMA_CTRL 0x0010 38 #define DMA_CTRL_RST BIT(0) 50 #define DMA_CPOLL 0x0014 54 #define DMA_CS 0x0018 55 #define DMA_CS_MASK GENMASK(5, 0) [all …]
|
/Linux-v6.1/arch/x86/crypto/ |
D | des3_ede-asm_64.S | 80 movl val##d, RT0d; \ 90 orl RT0d, val##d; 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 97 movabs $0x3f3f3f3f3f3f3f3f, RT3; \ 98 movl left##d, RW0d; \ 99 roll $1, right##d; \ 100 xorl right##d, RW0d; \ [all …]
|
/Linux-v6.1/crypto/ |
D | md5.c | 27 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04, 28 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e, 42 u32 a, b, c, d; in md5_transform() local 44 a = hash[0]; in md5_transform() 47 d = hash[3]; in md5_transform() 49 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 50 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 51 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 52 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 53 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() [all …]
|
/Linux-v6.1/drivers/nvme/target/ |
D | fabrics-cmd-auth.c | 20 pr_debug("%s: ctrl %d qid %d transaction %u expired, resetting\n", in nvmet_auth_expired_work() 34 static u16 nvmet_auth_negotiate(struct nvmet_req *req, void *d) in nvmet_auth_negotiate() argument 37 struct nvmf_auth_dhchap_negotiate_data *data = d; in nvmet_auth_negotiate() 38 int i, hash_id = 0, fallback_hash_id = 0, dhgid, fallback_dhgid; in nvmet_auth_negotiate() 40 pr_debug("%s: ctrl %d qid %d: data sc_d %d napd %d authid %d halen %d dhlen %d\n", in nvmet_auth_negotiate() 42 data->sc_c, data->napd, data->auth_protocol[0].dhchap.authid, in nvmet_auth_negotiate() 43 data->auth_protocol[0].dhchap.halen, in nvmet_auth_negotiate() 44 data->auth_protocol[0].dhchap.dhlen); in nvmet_auth_negotiate() 52 if (data->auth_protocol[0].dhchap.authid != in nvmet_auth_negotiate() 56 for (i = 0; i < data->auth_protocol[0].dhchap.halen; i++) { in nvmet_auth_negotiate() [all …]
|
/Linux-v6.1/drivers/dma/ |
D | k3dma.c | 26 #define DMA_MAX_SIZE 0x1ffc 27 #define DMA_CYCLIC_MAX_PERIOD 0x1000 30 #define INT_STAT 0x00 31 #define INT_TC1 0x04 32 #define INT_TC2 0x08 33 #define INT_ERR1 0x0c 34 #define INT_ERR2 0x10 35 #define INT_TC1_MASK 0x18 36 #define INT_TC2_MASK 0x1c 37 #define INT_ERR1_MASK 0x20 [all …]
|
/Linux-v6.1/net/core/ |
D | gen_stats.c | 24 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size, int padattr) in gnet_stats_copy() argument 26 if (nla_put_64bit(d->skb, type, size, buf, padattr)) in gnet_stats_copy() 28 return 0; in gnet_stats_copy() 31 if (d->lock) in gnet_stats_copy() 32 spin_unlock_bh(d->lock); in gnet_stats_copy() 33 kfree(d->xstats); in gnet_stats_copy() 34 d->xstats = NULL; in gnet_stats_copy() 35 d->xstats_len = 0; in gnet_stats_copy() 46 * @d: dumping handle 56 * Returns 0 on success or -1 if the room in the socket buffer was not sufficient. [all …]
|
/Linux-v6.1/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 33 #define PRCM_DSI_SW_RESET 0x324 34 #define PRCM_DSI_SW_RESET_DSI0_SW_RESETN BIT(0) 69 struct mcde_dsi *d; in mcde_dsi_irq() local 73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq() 75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq() 77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq() 79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq() 81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq() 84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq() 87 dev_err(d->dev, "direct command ACK ERR received\n"); in mcde_dsi_irq() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_processpptables.c | 66 #if 0 71 pr_info("Version = 0x%08x\n", pptable->Version); 73 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); 74 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); 76 pr_info("SocketPowerLimitAc0 = %d\n", pptable->SocketPowerLimitAc0); 77 pr_info("SocketPowerLimitAc0Tau = %d\n", pptable->SocketPowerLimitAc0Tau); 78 pr_info("SocketPowerLimitAc1 = %d\n", pptable->SocketPowerLimitAc1); 79 pr_info("SocketPowerLimitAc1Tau = %d\n", pptable->SocketPowerLimitAc1Tau); 80 pr_info("SocketPowerLimitAc2 = %d\n", pptable->SocketPowerLimitAc2); 81 pr_info("SocketPowerLimitAc2Tau = %d\n", pptable->SocketPowerLimitAc2Tau); [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 32 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 34 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 36 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 39 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 41 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 43 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 46 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 50 if (d->enabled) in ast_vhub_dev_enable() 54 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable() 61 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() [all …]
|