Searched refs:dcap (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | bq27xxx_battery.c | 1395 int dcap; local 1398 dcap = bq27xxx_read(di, BQ27XXX_REG_DCAP, true); 1400 dcap = bq27xxx_read(di, BQ27XXX_REG_DCAP, false); 1402 if (dcap < 0) { 1404 return dcap; 1408 dcap = (dcap << 8) * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS; 1410 dcap *= 1000; 1412 return dcap;
|
/Linux-v4.19/drivers/gpu/drm/bridge/ |
D | sil-sii8620.c | 518 u8 dcap[MHL_DCAP_SIZE]; in sii8620_mr_devcap() local 521 sii8620_read_buf(ctx, REG_EDID_FIFO_RD_DATA, dcap, MHL_DCAP_SIZE); in sii8620_mr_devcap() 526 dcap[MHL_DCAP_MHL_VERSION] / 16, in sii8620_mr_devcap() 527 dcap[MHL_DCAP_MHL_VERSION] % 16, in sii8620_mr_devcap() 528 dcap[MHL_DCAP_ADOPTER_ID_H], dcap[MHL_DCAP_ADOPTER_ID_L], in sii8620_mr_devcap() 529 dcap[MHL_DCAP_DEVICE_ID_H], dcap[MHL_DCAP_DEVICE_ID_L]); in sii8620_mr_devcap() 530 sii8620_update_array(ctx->devcap, dcap, MHL_DCAP_SIZE); in sii8620_mr_devcap()
|