/Linux-v5.10/Documentation/devicetree/bindings/media/ |
D | rc.yaml | 4 $id: http://devicetree.org/schemas/media/rc.yaml# 17 linux,rc-map-name: 23 - rc-adstech-dvb-t-pci 24 - rc-alink-dtu-m 25 - rc-anysee 26 - rc-apac-viewcomp 27 - rc-astrometa-t2hybrid 28 - rc-asus-pc39 29 - rc-asus-ps3-100 30 - rc-ati-tv-wonder-hd-600 [all …]
|
/Linux-v5.10/drivers/media/rc/keymaps/ |
D | Makefile | 2 obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \ 3 rc-alink-dtu-m.o \ 4 rc-anysee.o \ 5 rc-apac-viewcomp.o \ 6 rc-astrometa-t2hybrid.o \ 7 rc-asus-pc39.o \ 8 rc-asus-ps3-100.o \ 9 rc-ati-tv-wonder-hd-600.o \ 10 rc-ati-x10.o \ 11 rc-avermedia-a16d.o \ [all …]
|
/Linux-v5.10/include/media/ |
D | rc-map.h | 3 * rc-map.h - define RC map names used by RC drivers 178 /* Routines from rc-map.c */ 195 * rc_map_get - gets an RC map from its name 196 * @name: name of the RC scancode map 202 #define RC_MAP_ADSTECH_DVB_T_PCI "rc-adstech-dvb-t-pci" 203 #define RC_MAP_ALINK_DTU_M "rc-alink-dtu-m" 204 #define RC_MAP_ANYSEE "rc-anysee" 205 #define RC_MAP_APAC_VIEWCOMP "rc-apac-viewcomp" 206 #define RC_MAP_ASTROMETA_T2HYBRID "rc-astrometa-t2hybrid" 207 #define RC_MAP_ASUS_PC39 "rc-asus-pc39" [all …]
|
/Linux-v5.10/security/selinux/ss/ |
D | policydb.c | 386 int rc; in roles_init() local 393 rc = -EINVAL; in roles_init() 398 rc = -ENOMEM; in roles_init() 403 rc = symtab_insert(&p->p_roles, key, role); in roles_init() 404 if (rc) in roles_init() 411 return rc; in roles_init() 720 int i, rc; in policydb_index() local 763 rc = cond_init_bool_indexes(p); in policydb_index() 764 if (rc) in policydb_index() 774 rc = hashtab_map(&p->symtab[i].table, index_f[i], p); in policydb_index() [all …]
|
/Linux-v5.10/drivers/video/backlight/ |
D | qcom-wled.c | 233 int rc, i; in wled3_set_brightness() local 240 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness() 242 if (rc < 0) in wled3_set_brightness() 243 return rc; in wled3_set_brightness() 251 int rc, i; in wled4_set_brightness() local 263 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + in wled4_set_brightness() 265 if (rc < 0) in wled4_set_brightness() 266 return rc; in wled4_set_brightness() 274 int rc, offset; in wled5_set_brightness() local 289 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + offset, in wled5_set_brightness() [all …]
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | ucode_loader.c | 42 int rc; in brcms_ucode_data_init() local 44 rc = brcms_check_firmwares(wl); in brcms_ucode_data_init() 46 rc = rc < 0 ? rc : in brcms_ucode_data_init() 49 rc = rc < 0 ? in brcms_ucode_data_init() 50 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0initvals24, in brcms_ucode_data_init() 52 rc = rc < 0 ? in brcms_ucode_data_init() 53 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn1bsinitvals24, in brcms_ucode_data_init() 55 rc = rc < 0 ? in brcms_ucode_data_init() 56 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn1initvals24, in brcms_ucode_data_init() 58 rc = rc < 0 ? rc : in brcms_ucode_data_init() [all …]
|
/Linux-v5.10/net/nfc/ |
D | digital_technology.c | 136 u8 rc; member 220 int rc; in digital_in_recv_ats() local 223 rc = PTR_ERR(resp); in digital_in_recv_ats() 229 rc = -EIO; in digital_in_recv_ats() 241 rc = digital_target_found(ddev, target, NFC_PROTO_ISO14443); in digital_in_recv_ats() 247 if (rc) in digital_in_recv_ats() 254 int rc; in digital_in_send_rats() local 264 rc = digital_in_send_cmd(ddev, skb, 30, digital_in_recv_ats, in digital_in_send_rats() 266 if (rc) in digital_in_send_rats() 269 return rc; in digital_in_send_rats() [all …]
|
D | digital_dep.c | 239 int rc; in digital_recv_dep_data_gather() local 246 rc = -ENOMEM; in digital_recv_dep_data_gather() 259 rc = -ENOMEM; in digital_recv_dep_data_gather() 273 rc = send_ack(ddev, data_exch); in digital_recv_dep_data_gather() 274 if (rc) in digital_recv_dep_data_gather() 292 return ERR_PTR(rc); in digital_recv_dep_data_gather() 300 int rc; in digital_in_recv_psl_res() local 303 rc = PTR_ERR(resp); in digital_in_recv_psl_res() 308 rc = ddev->skb_check_crc(resp); in digital_in_recv_psl_res() 309 if (rc) { in digital_in_recv_psl_res() [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 612 /* RC setting */ 1376 pr_debug("drx3933 i2c operation addr=%x i2c=%p, wc=%x rc=%x\n", in drxbsp_i2c_write_read() 1421 int rc; in drxdap_fasi_read_block() local 1483 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, in drxdap_fasi_read_block() 1485 if (rc == 0) in drxdap_fasi_read_block() 1486 rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data); in drxdap_fasi_read_block() 1489 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, in drxdap_fasi_read_block() 1495 } while (datasize && rc == 0); in drxdap_fasi_read_block() 1497 return rc; in drxdap_fasi_read_block() 1524 int rc; in drxdap_fasi_read_reg16() local [all …]
|
/Linux-v5.10/drivers/iio/pressure/ |
D | dps310.c | 63 #define DPS310_POLL_TIMEOUT_US(rc) ((rc) <= 0 ? 1000000 : 1000000 / (rc)) argument 112 int rc; in dps310_get_coefs() local 118 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 120 if (rc < 0) in dps310_get_coefs() 121 return rc; in dps310_get_coefs() 164 int rc; in dps310_get_pres_precision() local 167 rc = regmap_read(data->regmap, DPS310_PRS_CFG, &val); in dps310_get_pres_precision() 168 if (rc < 0) in dps310_get_pres_precision() 169 return rc; in dps310_get_pres_precision() 176 int rc; in dps310_get_temp_precision() local [all …]
|
/Linux-v5.10/drivers/media/tuners/ |
D | r820t.c | 355 int rc, size, pos = 0; in r820t_write() local 370 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1); in r820t_write() 371 if (rc != size + 1) { in r820t_write() 373 __func__, rc, reg, size, size, &priv->buf[1]); in r820t_write() 374 if (rc < 0) in r820t_write() 375 return rc; in r820t_write() 410 int rc = r820t_read_cache_reg(priv, reg); in r820t_write_reg_mask() local 412 if (rc < 0) in r820t_write_reg_mask() 413 return rc; in r820t_write_reg_mask() 415 tmp = (rc & ~bit_mask) | (tmp & bit_mask); in r820t_write_reg_mask() [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/ |
D | mb86a20s.c | 219 int rc; in mb86a20s_i2c_writereg() local 221 rc = i2c_transfer(state->i2c, &msg, 1); in mb86a20s_i2c_writereg() 222 if (rc != 1) { in mb86a20s_i2c_writereg() 224 "%s: writereg error (rc == %i, reg == 0x%02x, data == 0x%02x)\n", in mb86a20s_i2c_writereg() 225 __func__, rc, reg, data); in mb86a20s_i2c_writereg() 226 return rc; in mb86a20s_i2c_writereg() 235 int i, rc; in mb86a20s_i2c_writeregdata() local 238 rc = mb86a20s_i2c_writereg(state, i2c_addr, rd[i].reg, in mb86a20s_i2c_writeregdata() 240 if (rc < 0) in mb86a20s_i2c_writeregdata() 241 return rc; in mb86a20s_i2c_writeregdata() [all …]
|
/Linux-v5.10/tools/testing/selftests/rtc/ |
D | rtctest.c | 40 int rc; in TEST_F() local 44 rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm); in TEST_F() 45 ASSERT_NE(-1, rc); in TEST_F() 53 int i, rc, irq = 0; variable 57 rc = ioctl(self->fd, RTC_UIE_ON, 0); 58 if (rc == -1) { 66 rc = read(self->fd, &data, sizeof(data)); 67 ASSERT_NE(-1, rc); 73 rc = ioctl(self->fd, RTC_UIE_OFF, 0); 74 ASSERT_NE(-1, rc); [all …]
|
/Linux-v5.10/drivers/fsi/ |
D | fsi-scom.c | 79 int rc; in __put_scom() local 82 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA0_REG, &data, in __put_scom() 84 if (rc) in __put_scom() 85 return rc; in __put_scom() 88 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA1_REG, &data, in __put_scom() 90 if (rc) in __put_scom() 91 return rc; in __put_scom() 94 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_CMD_REG, &data, in __put_scom() 96 if (rc) in __put_scom() 97 return rc; in __put_scom() [all …]
|
/Linux-v5.10/lib/ |
D | decompress_unlzma.c | 67 struct rc { struct 91 static void INIT rc_read(struct rc *rc) in rc_read() argument 93 rc->buffer_size = rc->fill((char *)rc->buffer, LZMA_IOBUF_SIZE); in rc_read() 94 if (rc->buffer_size <= 0) in rc_read() 95 rc->error("unexpected EOF"); in rc_read() 96 rc->ptr = rc->buffer; in rc_read() 97 rc->buffer_end = rc->buffer + rc->buffer_size; in rc_read() 101 static inline void INIT rc_init(struct rc *rc, in rc_init() argument 106 rc->fill = fill; in rc_init() 108 rc->fill = nofill; in rc_init() [all …]
|
/Linux-v5.10/drivers/media/usb/stk1160/ |
D | stk1160-i2c.c | 56 int rc; in stk1160_i2c_write_reg() local 59 rc = stk1160_write_reg(dev, STK1160_SICTL_SDA, addr); in stk1160_i2c_write_reg() 60 if (rc < 0) in stk1160_i2c_write_reg() 61 return rc; in stk1160_i2c_write_reg() 64 rc = stk1160_write_reg(dev, STK1160_SBUSW_WA, reg); in stk1160_i2c_write_reg() 65 if (rc < 0) in stk1160_i2c_write_reg() 66 return rc; in stk1160_i2c_write_reg() 69 rc = stk1160_write_reg(dev, STK1160_SBUSW_WD, value); in stk1160_i2c_write_reg() 70 if (rc < 0) in stk1160_i2c_write_reg() 71 return rc; in stk1160_i2c_write_reg() [all …]
|
/Linux-v5.10/drivers/spi/ |
D | spi-fsi.c | 90 int rc; in fsi_spi_check_mux() local 94 rc = fsi_slave_read(fsi->slave, FSI_MBOX_ROOT_CTRL_8, &root_ctrl_8_be, in fsi_spi_check_mux() 96 if (rc) in fsi_spi_check_mux() 97 return rc; in fsi_spi_check_mux() 110 int rc; in fsi_spi_check_status() local 114 rc = fsi_device_read(ctx->fsi, FSI2SPI_STATUS, &sts_be, in fsi_spi_check_status() 116 if (rc) in fsi_spi_check_status() 117 return rc; in fsi_spi_check_status() 130 int rc; in fsi_spi_read_reg() local 141 rc = fsi_device_write(ctx->fsi, FSI2SPI_CMD, &cmd_be, sizeof(cmd_be)); in fsi_spi_read_reg() [all …]
|
/Linux-v5.10/drivers/acpi/apei/ |
D | erst.c | 147 int rc; in erst_exec_add_value() local 150 rc = __apei_exec_read_register(entry, &val); in erst_exec_add_value() 151 if (rc) in erst_exec_add_value() 152 return rc; in erst_exec_add_value() 154 rc = __apei_exec_write_register(entry, val); in erst_exec_add_value() 155 return rc; in erst_exec_add_value() 161 int rc; in erst_exec_subtract_value() local 164 rc = __apei_exec_read_register(entry, &val); in erst_exec_subtract_value() 165 if (rc) in erst_exec_subtract_value() 166 return rc; in erst_exec_subtract_value() [all …]
|
/Linux-v5.10/drivers/memstick/core/ |
D | mspro_block.c | 185 int rc = -ENXIO; in mspro_block_bd_open() local 192 rc = -EROFS; in mspro_block_bd_open() 194 rc = 0; in mspro_block_bd_open() 199 return rc; in mspro_block_bd_open() 294 ssize_t cnt, rc = 0; in mspro_block_attr_show_default() local 298 if (PAGE_SIZE - rc) in mspro_block_attr_show_default() 299 buffer[rc++] = '\n'; in mspro_block_attr_show_default() 302 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "%02x ", in mspro_block_attr_show_default() 305 return rc; in mspro_block_attr_show_default() 316 ssize_t rc = 0; in mspro_block_attr_show_sysinfo() local [all …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-fsi.c | 166 int rc; in fsi_i2c_read_reg() local 169 rc = fsi_device_read(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_read_reg() 170 if (rc) in fsi_i2c_read_reg() 171 return rc; in fsi_i2c_read_reg() 188 int rc; in fsi_i2c_dev_init() local 193 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_INT_MASK, &interrupt); in fsi_i2c_dev_init() 194 if (rc) in fsi_i2c_dev_init() 195 return rc; in fsi_i2c_dev_init() 198 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_MODE, &mode); in fsi_i2c_dev_init() 199 if (rc) in fsi_i2c_dev_init() [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/syscalls/ |
D | rtas_filter.c | 57 int rc; in read_entire_file() local 70 rc = read(fd, *buf + off, BLOCK_SIZE); in read_entire_file() 71 if (rc < 0) in read_entire_file() 74 off += rc; in read_entire_file() 75 } while (rc == BLOCK_SIZE); in read_entire_file() 107 int rc, fd; in get_property() local 109 rc = open_prop_file(prop_path, prop_name, &fd); in get_property() 110 if (rc) in get_property() 111 return rc; in get_property() 113 rc = read_entire_file(fd, prop_val, prop_len); in get_property() [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | secvar-sysfs.c | 24 ssize_t rc = 0; in format_show() local 32 rc = of_property_read_string(node, "format", &format); in format_show() 33 if (rc) in format_show() 34 return rc; in format_show() 36 rc = sprintf(buf, "%s\n", format); in format_show() 40 return rc; in format_show() 48 int rc; in size_show() local 50 rc = secvar_ops->get(kobj->name, strlen(kobj->name) + 1, NULL, &dsize); in size_show() 51 if (rc) { in size_show() 53 rc); in size_show() [all …]
|
/Linux-v5.10/arch/x86/crypto/ |
D | serpent-sse2-i586-asm_32.S | 29 #define RC %xmm2 macro 513 read_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE); 515 K(RA, RB, RC, RD, RE, 0); 516 S0(RA, RB, RC, RD, RE); LK(RC, RB, RD, RA, RE, 1); 517 S1(RC, RB, RD, RA, RE); LK(RE, RD, RA, RC, RB, 2); 518 S2(RE, RD, RA, RC, RB); LK(RB, RD, RE, RC, RA, 3); 519 S3(RB, RD, RE, RC, RA); LK(RC, RA, RD, RB, RE, 4); 520 S4(RC, RA, RD, RB, RE); LK(RA, RD, RB, RE, RC, 5); 521 S5(RA, RD, RB, RE, RC); LK(RC, RA, RD, RE, RB, 6); 522 S6(RC, RA, RD, RE, RB); LK(RD, RB, RA, RE, RC, 7); [all …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 34 int rc; in efx_ef10_vswitch_alloc() local 43 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_VSWITCH_ALLOC, inbuf, sizeof(inbuf), in efx_ef10_vswitch_alloc() 47 if (rc == -EPROTO) { in efx_ef10_vswitch_alloc() 49 rc = efx_mcdi_rpc(efx, MC_CMD_VSWITCH_ALLOC, inbuf, in efx_ef10_vswitch_alloc() 51 } else if (rc) { in efx_ef10_vswitch_alloc() 54 NULL, 0, rc); in efx_ef10_vswitch_alloc() 56 return rc; in efx_ef10_vswitch_alloc() 78 int rc; in efx_ef10_vport_alloc() local 92 rc = efx_mcdi_rpc(efx, MC_CMD_VPORT_ALLOC, inbuf, sizeof(inbuf), in efx_ef10_vport_alloc() 94 if (rc) in efx_ef10_vport_alloc() [all …]
|
/Linux-v5.10/fs/cifs/ |
D | link.c | 52 int rc; in symlink_hash() local 56 rc = cifs_alloc_hash("md5", &md5, &sdescmd5); in symlink_hash() 57 if (rc) in symlink_hash() 60 rc = crypto_shash_init(&sdescmd5->shash); in symlink_hash() 61 if (rc) { in symlink_hash() 65 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash() 66 if (rc) { in symlink_hash() 70 rc = crypto_shash_final(&sdescmd5->shash, md5_hash); in symlink_hash() 71 if (rc) in symlink_hash() 76 return rc; in symlink_hash() [all …]
|