Home
last modified time | relevance | path

Searched refs:mode_data (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c50 u32 mode_data; member
290 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
291 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_dp()
293 req.mode_data |= (state->mode - TYPEC_STATE_MODAL) << in pmc_usb_mux_dp()
322 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
323 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_tbt()
326 req.mode_data |= PMC_USB_ALTMODE_TBT_TYPE; in pmc_usb_mux_tbt()
329 req.mode_data |= PMC_USB_ALTMODE_CABLE_TYPE; in pmc_usb_mux_tbt()
332 req.mode_data |= PMC_USB_ALTMODE_ACTIVE_LINK; in pmc_usb_mux_tbt()
338 req.mode_data |= PMC_USB_ALTMODE_RETIMER_CABLE; in pmc_usb_mux_tbt()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35950.c80 const struct nt35950_panel_mode *mode_data; member
251 const struct nt35950_panel_mode *mode_data = nt->desc->mode_data; in nt35950_set_dispout() local
253 if (mode_data[nt->cur_mode].is_video_mode) in nt35950_set_dispout()
255 if (mode_data[nt->cur_mode].enable_sram) in nt35950_set_dispout()
276 &nt->desc->mode_data[i].mode, in nt35950_get_current_mode()
286 const struct nt35950_panel_mode *mode_data = nt->desc->mode_data; in nt35950_on() local
299 ret = nt35950_set_data_compression(nt, mode_data[nt->cur_mode].compression); in nt35950_on()
303 ret = nt35950_set_scale_mode(nt, mode_data[nt->cur_mode].scaler_mode); in nt35950_on()
307 ret = nt35950_set_scaler(nt, mode_data[nt->cur_mode].scaler_on); in nt35950_on()
504 &nt->desc->mode_data[i].mode); in nt35950_get_modes()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_sas.c1265 struct scsi_mode_data mode_data; in sas_read_port_mode_page() local
1272 &mode_data, NULL); in sas_read_port_mode_page()
1277 msdata = buffer + mode_data.header_length + in sas_read_port_mode_page()
1278 mode_data.block_descriptor_length; in sas_read_port_mode_page()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c457 struct pd_mode_data mode_data; member
1485 memset(&port->mode_data, 0, sizeof(port->mode_data)); in svdm_consume_identity()
1501 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_svids()
1549 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_modes()
1576 struct pd_mode_data *modep = &port->mode_data; in tcpm_register_partner_altmodes()
1616 modep = &port->mode_data; in tcpm_pd_svdm()
3685 struct pd_mode_data *modep = &port->mode_data; in tcpm_unregister_altmodes()
/openbmc/linux/drivers/mtd/devices/
H A Dst_spi_fsm.c281 uint8_t mode_data; /* MODE data */ member
1069 seq->mode = ((cfg->mode_data & 0xff) << 0 | /* data */ in stfsm_prepare_rw_seq()