rad
uint64_t rad:1;
uint64_t rad:1;
uint64_t rad:1;
uint64_t rad:1;
u8 *rad;
rad = sort_connector[j]->mst_output_port->parent->rad;
next_rad = sort_connector[j + 1]->mst_output_port->parent->rad;
int port_num = (rad[k / 2] >> shift) & 0xf;
memcpy(dm->secure_display_ctx.phy_id_mapping[idx].rad,
aconnector->mst_output_port->parent->rad, sizeof(aconnector->mst_output_port->parent->rad));
int port_num = (aconnector->mst_output_port->parent->rad[idx_2 / 2] >> shift) & 0xf;
int port_num2 = (dm->secure_display_ctx.phy_id_mapping[idx].rad[idx_2 / 2] >> shift) & 0xf;
u8 rad[8];
static struct drm_dp_mst_branch *drm_dp_add_mst_branch_device(u8 lct, u8 *rad)
memcpy(mstb->rad, rad, lct / 2);
drm_dp_mst_get_ufp_num_at_lct_from_rad(u8 lct, const u8 *rad)
ufp_num = (rad[idx] >> shift) & 0xf;
drm_dp_mst_rad_to_str(const u8 rad[8], u8 lct, char *out, size_t len)
unpacked_rad[i] = drm_dp_mst_get_ufp_num_at_lct_from_rad(i + 1, rad);
u8 *rad)
memcpy(rad, port->parent->rad, idx + 1);
rad[0] = 0;
rad[idx] |= port->port_num << shift;
u8 rad[8], lct;
lct = drm_dp_calculate_rad(port, rad);
mstb = drm_dp_add_mst_branch_device(lct, rad);
int port_num = (mstb->rad[i / 2] >> shift) & 0xf;
u8 lct, u8 *rad)
int port_num = drm_dp_mst_get_ufp_num_at_lct_from_rad(i + 1, rad);
lct, rad[0]);
memcpy(hdr->rad, mstb->rad, hdr->lct / 2);
buf[idx++] = hdr->rad[i];
drm_dp_mst_rad_to_str(mstb->rad, mstb->lct, buf, sizeof(buf));
hdr->rad[i] = buf[idx++];
*mstb = drm_dp_get_mst_branch_device(mgr, hdr.lct, hdr.rad);
drm_dp_mst_rad_to_str(mstb->rad, mstb->lct, rad_str, sizeof(rad_str));
mstb, hdr->seqno, hdr->lct, hdr->rad[0], msg->msg[0]);
mstb = drm_dp_get_mst_branch_device(mgr, hdr->lct, hdr->rad);
drm_dp_mst_rad_to_str(txmsg->dst->rad, txmsg->dst->lct, buf,
struct rad_panel *rad = to_rad_panel(panel);
ret = regulator_bulk_enable(rad->num_supplies, rad->supplies);
if (rad->reset) {
gpiod_set_value_cansleep(rad->reset, 1);
gpiod_set_value_cansleep(rad->reset, 0);
rad->prepared = true;
struct rad_panel *rad = to_rad_panel(panel);
if (rad->reset) {
gpiod_set_value_cansleep(rad->reset, 1);
gpiod_set_value_cansleep(rad->reset, 0);
ret = regulator_bulk_disable(rad->num_supplies, rad->supplies);
rad->prepared = false;
struct rad_panel *rad = to_rad_panel(panel);
struct mipi_dsi_device *dsi = rad->dsi;
backlight_enable(rad->backlight);
gpiod_set_value_cansleep(rad->reset, 1);
struct rad_panel *rad = to_rad_panel(panel);
struct mipi_dsi_device *dsi = rad->dsi;
backlight_disable(rad->backlight);
struct rad_panel *rad = mipi_dsi_get_drvdata(dsi);
if (!rad->prepared)
struct rad_panel *rad = mipi_dsi_get_drvdata(dsi);
if (!rad->prepared)
static int rad_init_regulators(struct rad_panel *rad)
struct device *dev = &rad->dsi->dev;
rad->num_supplies = ARRAY_SIZE(rad_supply_names);
rad->supplies = devm_kcalloc(dev, rad->num_supplies,
sizeof(*rad->supplies), GFP_KERNEL);
if (!rad->supplies)
for (i = 0; i < rad->num_supplies; i++)
rad->supplies[i].supply = rad_supply_names[i];
return devm_regulator_bulk_get(dev, rad->num_supplies, rad->supplies);
struct rad_panel *rad = mipi_dsi_get_drvdata(dsi);
drm_panel_remove(&rad->panel);
bna_stats_copy(rad, rad);
bna_stats_copy(rlb, rad);
struct ipu3_uapi_yuvp1_iefd_rad_cfg rad;
.rad = { { -2104, X, -1559, X },
uint64_t rad:1;
u8 rad[8];
u8 rad[8];
#define fixp_cos32_rad(rad, twopi) \
fixp_sin32_rad(rad + twopi / 4, twopi)
#define IIO_RAD_TO_DEGREE(rad) \
(((rad) * 18000000ULL + 314159ULL / 2) / 314159ULL)