/linux-4.19.296/drivers/uwb/i1480/dfu/ |
D | mac.c | 111 int result; in fw_hdrs_load() local 116 result = -EINVAL; in fw_hdrs_load() 126 result = -ENOMEM; in fw_hdrs_load() 133 result = fw_hdr_load(i1480, hdr, hdr_cnt, in fw_hdrs_load() 135 if (result < 0) in fw_hdrs_load() 150 return result; in fw_hdrs_load() 169 ssize_t result = 0; in i1480_fw_cmp() local 177 result = i1480->read(i1480, hdr->address + src_itr, chunk_size); in i1480_fw_cmp() 178 if (result < 0) { in i1480_fw_cmp() 180 "%zd\n", result); in i1480_fw_cmp() [all …]
|
D | dfu.c | 56 int result = 0; in i1480_rceb_check() local 63 result = -EINVAL; in i1480_rceb_check() 70 result = -EINVAL; in i1480_rceb_check() 77 result = -EINVAL; in i1480_rceb_check() 79 return result; in i1480_rceb_check() 95 ssize_t result; in i1480_cmd() local 108 result = i1480->cmd(i1480, cmd_name, cmd_size); in i1480_cmd() 109 if (result < 0) in i1480_cmd() 112 result = wait_for_completion_interruptible_timeout( in i1480_cmd() 114 if (result == 0) { in i1480_cmd() [all …]
|
D | usb.c | 66 int result = -ENOMEM; in i1480_usb_create() local 80 return result; in i1480_usb_create() 113 int result = 0; in i1480_usb_write() local 121 result = usb_control_msg( in i1480_usb_write() 126 if (result < 0) in i1480_usb_write() 128 itr += result; in i1480_usb_write() 129 memory_address += result; in i1480_usb_write() 130 size -= result; in i1480_usb_write() 132 return result; in i1480_usb_write() 152 ssize_t result = 0, bytes = 0; in i1480_usb_read() local [all …]
|
D | phy.c | 54 int result; in i1480_mpi_write() local 59 result = -ENOMEM; in i1480_mpi_write() 66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply)); in i1480_mpi_write() 67 if (result < 0) in i1480_mpi_write() 72 result = -EIO; in i1480_mpi_write() 75 return result; in i1480_mpi_write() 102 int result; in i1480_mpi_read() local 111 result = -ENOMEM; in i1480_mpi_read() 121 result = i1480_cmd(i1480, "MPI-READ", sizeof(*cmd) + 2*size, in i1480_mpi_read() 123 if (result < 0) in i1480_mpi_read() [all …]
|
/linux-4.19.296/include/linux/ |
D | mii.h | 116 u32 result = 0; in ethtool_adv_to_mii_adv_t() local 119 result |= ADVERTISE_10HALF; in ethtool_adv_to_mii_adv_t() 121 result |= ADVERTISE_10FULL; in ethtool_adv_to_mii_adv_t() 123 result |= ADVERTISE_100HALF; in ethtool_adv_to_mii_adv_t() 125 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t() 127 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t() 129 result |= ADVERTISE_PAUSE_ASYM; in ethtool_adv_to_mii_adv_t() 131 return result; in ethtool_adv_to_mii_adv_t() 143 u32 result = 0; in mii_adv_to_ethtool_adv_t() local 146 result |= ADVERTISED_10baseT_Half; in mii_adv_to_ethtool_adv_t() [all …]
|
D | adfs_fs.h | 14 unsigned int result = 0; in adfs_checkbblk() local 18 result = (result & 0xff) + (result >> 8); in adfs_checkbblk() 19 result = result + *--p; in adfs_checkbblk() 22 return (result & 0xff) != ptr[511]; in adfs_checkbblk()
|
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 196 int result; in inv_mpu6050_switch_engine() local 203 result = regmap_read(st->map, st->reg->pwr_mgmt_1, &mgmt_1); in inv_mpu6050_switch_engine() 204 if (result) in inv_mpu6050_switch_engine() 205 return result; in inv_mpu6050_switch_engine() 216 result = regmap_write(st->map, st->reg->pwr_mgmt_1, mgmt_1); in inv_mpu6050_switch_engine() 217 if (result) in inv_mpu6050_switch_engine() 218 return result; in inv_mpu6050_switch_engine() 221 result = regmap_read(st->map, st->reg->pwr_mgmt_2, &d); in inv_mpu6050_switch_engine() 222 if (result) in inv_mpu6050_switch_engine() 223 return result; in inv_mpu6050_switch_engine() [all …]
|
D | inv_mpu_trigger.c | 45 int result; in inv_mpu6050_set_enable() local 48 result = inv_mpu6050_set_power_itg(st, true); in inv_mpu6050_set_enable() 49 if (result) in inv_mpu6050_set_enable() 50 return result; in inv_mpu6050_set_enable() 54 result = inv_mpu6050_switch_engine(st, true, in inv_mpu6050_set_enable() 56 if (result) in inv_mpu6050_set_enable() 62 result = inv_mpu6050_switch_engine(st, true, in inv_mpu6050_set_enable() 64 if (result) in inv_mpu6050_set_enable() 67 result = inv_reset_fifo(indio_dev); in inv_mpu6050_set_enable() 68 if (result) in inv_mpu6050_set_enable() [all …]
|
D | inv_mpu_ring.c | 103 int result; in inv_reset_fifo() local 111 result = regmap_write(st->map, st->reg->int_enable, 0); in inv_reset_fifo() 112 if (result) { in inv_reset_fifo() 114 result); in inv_reset_fifo() 115 return result; in inv_reset_fifo() 118 result = regmap_write(st->map, st->reg->fifo_en, 0); in inv_reset_fifo() 119 if (result) in inv_reset_fifo() 122 result = regmap_write(st->map, st->reg->user_ctrl, in inv_reset_fifo() 124 if (result) in inv_reset_fifo() 129 result = regmap_write(st->map, st->reg->user_ctrl, d); in inv_reset_fifo() [all …]
|
/linux-4.19.296/fs/hpfs/ |
D | namei.c | 32 struct inode *result; in hpfs_mkdir() local 54 result = new_inode(dir->i_sb); in hpfs_mkdir() 55 if (!result) in hpfs_mkdir() 57 hpfs_init_inode(result); in hpfs_mkdir() 58 result->i_ino = fno; in hpfs_mkdir() 59 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir() 60 hpfs_i(result)->i_dno = dno; in hpfs_mkdir() 61 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_mkdir() 62 result->i_ctime.tv_nsec = 0; in hpfs_mkdir() 63 result->i_mtime.tv_nsec = 0; in hpfs_mkdir() [all …]
|
D | dir.c | 210 struct inode *result = NULL; in hpfs_lookup() local 244 result = iget_locked(dir->i_sb, ino); in hpfs_lookup() 245 if (!result) { in hpfs_lookup() 247 result = ERR_PTR(-ENOMEM); in hpfs_lookup() 250 if (result->i_state & I_NEW) { in hpfs_lookup() 251 hpfs_init_inode(result); in hpfs_lookup() 253 hpfs_read_inode(result); in hpfs_lookup() 255 hpfs_read_inode(result); in hpfs_lookup() 257 result->i_mode |= S_IFREG; in hpfs_lookup() 258 result->i_mode &= ~0111; in hpfs_lookup() [all …]
|
/linux-4.19.296/drivers/uwb/ |
D | address.c | 63 int result; in uwb_rc_dev_addr_mgmt() local 66 result = -ENOMEM; in uwb_rc_dev_addr_mgmt() 84 result = uwb_rc_cmd(rc, "DEV-ADDR-MGMT", in uwb_rc_dev_addr_mgmt() 87 if (result < 0) in uwb_rc_dev_addr_mgmt() 89 if (result < sizeof(*reply)) { in uwb_rc_dev_addr_mgmt() 92 "%d vs %zu bytes needed\n", result, sizeof(*reply)); in uwb_rc_dev_addr_mgmt() 93 result = -ENOMSG; in uwb_rc_dev_addr_mgmt() 99 result = -EIO; in uwb_rc_dev_addr_mgmt() 101 result = 0; in uwb_rc_dev_addr_mgmt() 105 return result; in uwb_rc_dev_addr_mgmt() [all …]
|
D | lc-rc.c | 136 int result = 0; in ASIE_show() local 139 result = scnprintf(buf, PAGE_SIZE, "\n"); in ASIE_show() 149 result = uwb_ie_dump_hex(ie, in ASIE_show() 157 return result; in ASIE_show() 170 int result, ie_len = 0; in ASIE_store() local 217 result = uwb_rc_ie_add(rc, ie, ie->length + sizeof(struct uwb_ie_hdr)); in ASIE_store() 219 return result >= 0 ? size : result; in ASIE_store() 261 int result; in uwb_rc_mac_addr_setup() local 267 result = uwb_rc_mac_addr_get(rc, &addr); in uwb_rc_mac_addr_setup() 268 if (result < 0) { in uwb_rc_mac_addr_setup() [all …]
|
D | beacon.c | 45 int result; in uwb_rc_start_beacon() local 58 result = uwb_rc_cmd(rc, "START-BEACON", &cmd->rccb, sizeof(*cmd), in uwb_rc_start_beacon() 60 if (result < 0) in uwb_rc_start_beacon() 66 result = -EIO; in uwb_rc_start_beacon() 70 return result; in uwb_rc_start_beacon() 75 int result; in uwb_rc_stop_beacon() local 86 result = uwb_rc_cmd(rc, "STOP-BEACON", cmd, sizeof(*cmd), in uwb_rc_stop_beacon() 88 if (result < 0) in uwb_rc_stop_beacon() 94 result = -EIO; in uwb_rc_stop_beacon() 98 return result; in uwb_rc_stop_beacon() [all …]
|
D | ie.c | 112 ssize_t result; in uwb_rc_get_ie() local 124 result = uwb_rc_vcmd(uwb_rc, "GET_IE", cmd, sizeof(*cmd), in uwb_rc_get_ie() 128 if (result < 0) in uwb_rc_get_ie() 129 return result; in uwb_rc_get_ie() 132 if (result < sizeof(*get_ie)) { in uwb_rc_get_ie() 135 result, sizeof(*get_ie)); in uwb_rc_get_ie() 137 } else if (result < sizeof(*get_ie) + le16_to_cpu(get_ie->wIELength)) { in uwb_rc_get_ie() 139 "payload (%zu bytes received vs %zu needed)\n", result, in uwb_rc_get_ie() 145 return result; in uwb_rc_get_ie() 157 int result; in uwb_rc_set_ie() local [all …]
|
D | scan.c | 61 int result; in uwb_rc_scan() local 65 result = -ENOMEM; in uwb_rc_scan() 77 result = uwb_rc_cmd(rc, "SCAN", &cmd->rccb, sizeof(*cmd), in uwb_rc_scan() 79 if (result < 0) in uwb_rc_scan() 85 result = -EIO; in uwb_rc_scan() 94 return result; in uwb_rc_scan() 105 ssize_t result; in uwb_rc_scan_show() local 108 result = sprintf(buf, "%d %d\n", rc->scanning, rc->scan_type); in uwb_rc_scan_show() 110 return result; in uwb_rc_scan_show() 125 ssize_t result = -EINVAL; in uwb_rc_scan_store() local [all …]
|
D | driver.c | 90 ssize_t result; in beacon_timeout_ms_store() local 91 result = sscanf(buf, "%lu", &bt); in beacon_timeout_ms_store() 92 if (result != 1) in beacon_timeout_ms_store() 114 int result = 0; in uwb_subsys_init() local 116 result = uwb_est_create(); in uwb_subsys_init() 117 if (result < 0) { in uwb_subsys_init() 122 result = class_register(&uwb_rc_class); in uwb_subsys_init() 123 if (result < 0) in uwb_subsys_init() 127 result = bus_register(&uwb_bus_type); in uwb_subsys_init() 128 if (result) { in uwb_subsys_init() [all …]
|
/linux-4.19.296/lib/ |
D | checksum.c | 53 unsigned int result = 0; in do_csum() local 60 result += (*buff << 8); in do_csum() 62 result = *buff; in do_csum() 69 result += *(unsigned short *) buff; in do_csum() 79 result += carry; in do_csum() 80 result += w; in do_csum() 81 carry = (w > result); in do_csum() 83 result += carry; in do_csum() 84 result = (result & 0xffff) + (result >> 16); in do_csum() 87 result += *(unsigned short *) buff; in do_csum() [all …]
|
/linux-4.19.296/crypto/ |
D | testmgr.h | 86 const char *result; member 104 const char *result; member 11505 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef" 11524 .result = "Network Security People Have A Strange Sense Of Humor" 11549 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef", 11568 .result = "Network Security People Have A Strange Sense Of Humor", 11596 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8" 11627 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a" 11657 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53" 11696 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e" [all …]
|
D | ecc.c | 191 static u64 vli_lshift(u64 *result, const u64 *in, unsigned int shift, in vli_lshift() argument 200 result[i] = (temp << shift) | carry; in vli_lshift() 223 static u64 vli_add(u64 *result, const u64 *left, const u64 *right, in vli_add() argument 236 result[i] = sum; in vli_add() 243 static u64 vli_sub(u64 *result, const u64 *left, const u64 *right, in vli_sub() argument 256 result[i] = diff; in vli_sub() 272 uint128_t result; in mul_64_64() local 281 result.m_low = (m0 & 0xffffffffull) | (m2 << 32); in mul_64_64() 282 result.m_high = m3 + (m2 >> 32); in mul_64_64() 284 return result; in mul_64_64() [all …]
|
/linux-4.19.296/drivers/misc/ibmasm/ |
D | module.c | 67 int result; in ibmasm_init_one() local 70 if ((result = pci_enable_device(pdev))) { in ibmasm_init_one() 72 return result; in ibmasm_init_one() 74 if ((result = pci_request_regions(pdev, DRIVER_NAME))) { in ibmasm_init_one() 84 result = -ENOMEM; in ibmasm_init_one() 97 result = ibmasm_event_buffer_init(sp); in ibmasm_init_one() 98 if (result) { in ibmasm_init_one() 103 result = ibmasm_heartbeat_init(sp); in ibmasm_init_one() 104 if (result) { in ibmasm_init_one() 113 result = -ENODEV; in ibmasm_init_one() [all …]
|
/linux-4.19.296/drivers/misc/vmw_vmci/ |
D | vmci_queue_pair.c | 757 int result; in qp_host_map_queues() local 778 result = VMCI_SUCCESS; in qp_host_map_queues() 781 result = VMCI_ERROR_NO_MEM; in qp_host_map_queues() 784 result = VMCI_SUCCESS; in qp_host_map_queues() 787 return result; in qp_host_map_queues() 897 int result; in qp_guest_endpoint_create() local 922 result = vmci_resource_add(&entry->resource, in qp_guest_endpoint_create() 926 if ((result != VMCI_SUCCESS) || in qp_guest_endpoint_create() 929 handle.context, handle.resource, result); in qp_guest_endpoint_create() 960 int result; in qp_alloc_hypercall() local [all …]
|
/linux-4.19.296/drivers/cpufreq/ |
D | speedstep-smi.c | 66 u32 command, result, magic, dummy; in speedstep_smi_ownership() local 80 : "=D" (result), in speedstep_smi_ownership() 88 pr_debug("result is %x\n", result); in speedstep_smi_ownership() 90 return result; in speedstep_smi_ownership() 104 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; in speedstep_smi_get_freqs() local 122 : "=a" (result), in speedstep_smi_get_freqs() 133 result, low_mhz, high_mhz); in speedstep_smi_get_freqs() 142 return result; in speedstep_smi_get_freqs() 152 unsigned int result = 0, command, new_state, dummy; in speedstep_set_state() local 181 retry, result); in speedstep_set_state() [all …]
|
/linux-4.19.296/drivers/isdn/mISDN/ |
D | dsp_dtmf.c | 126 s32 result[NCOEFF], tresh, treshl; in dsp_dtmf_goertzel_decode() local 166 result[k] = in dsp_dtmf_goertzel_decode() 200 result[k] = in dsp_dtmf_goertzel_decode() 212 if (result[i] < 0) in dsp_dtmf_goertzel_decode() 213 result[i] = 0; in dsp_dtmf_goertzel_decode() 214 if (result[i] > dsp->dtmf.treshold) { in dsp_dtmf_goertzel_decode() 215 if (result[i] > tresh) in dsp_dtmf_goertzel_decode() 216 tresh = result[i]; in dsp_dtmf_goertzel_decode() 236 result[0] / 10000, result[1] / 10000, result[2] / 10000, in dsp_dtmf_goertzel_decode() 237 result[3] / 10000, result[4] / 10000, result[5] / 10000, in dsp_dtmf_goertzel_decode() [all …]
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-dvb.c | 85 int result; in vb2_dvb_register_adapter() local 90 result = dvb_register_adapter(&fe->adapter, adapter_name, module, in vb2_dvb_register_adapter() 92 if (result < 0) { in vb2_dvb_register_adapter() 94 adapter_name, result); in vb2_dvb_register_adapter() 102 return result; in vb2_dvb_register_adapter() 108 int result; in vb2_dvb_register_frontend() local 111 result = dvb_register_frontend(adapter, dvb->frontend); in vb2_dvb_register_frontend() 112 if (result < 0) { in vb2_dvb_register_frontend() 114 dvb->name, result); in vb2_dvb_register_frontend() 127 result = dvb_dmx_init(&dvb->demux); in vb2_dvb_register_frontend() [all …]
|