Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c48 u32 mode_data; member
250 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_dp()
251 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_dp()
253 req.mode_data |= (state->mode - TYPEC_STATE_MODAL) << in pmc_usb_mux_dp()
281 req.mode_data = (port->orientation - 1) << PMC_USB_ALTMODE_ORI_SHIFT; in pmc_usb_mux_tbt()
282 req.mode_data |= (port->role - 1) << PMC_USB_ALTMODE_UFP_SHIFT; in pmc_usb_mux_tbt()
285 req.mode_data |= PMC_USB_ALTMODE_TBT_TYPE; in pmc_usb_mux_tbt()
288 req.mode_data |= PMC_USB_ALTMODE_CABLE_TYPE; in pmc_usb_mux_tbt()
291 req.mode_data |= PMC_USB_ALTMODE_ACTIVE_LINK; in pmc_usb_mux_tbt()
294 req.mode_data |= PMC_USB_ALTMODE_ACTIVE_CABLE; in pmc_usb_mux_tbt()
[all …]
/kernel/liteos_a/compat/posix/src/
Dmqueue.c126 mqueueCB->mode_data.data = 0; in DoMqueueDelete()
423 mqueueCB->mode_data.usr |= S_IRUSR; in MqueueModeAnalysisSet()
426 mqueueCB->mode_data.usr |= S_IWUSR; in MqueueModeAnalysisSet()
429 mqueueCB->mode_data.grp |= S_IRGRP; in MqueueModeAnalysisSet()
432 mqueueCB->mode_data.grp |= S_IWGRP; in MqueueModeAnalysisSet()
435 mqueueCB->mode_data.oth |= S_IROTH; in MqueueModeAnalysisSet()
438 mqueueCB->mode_data.oth |= S_IWOTH; in MqueueModeAnalysisSet()
467 if (!((mqueueCB->mode_data.usr & S_IRUSR) || (mqueueCB->mode_data.usr & S_IWUSR))) { in GetPermissionOfVisitor()
472 if (!((mqueueCB->mode_data.grp & S_IRGRP) || (mqueueCB->mode_data.grp & S_IWGRP))) { in GetPermissionOfVisitor()
477 if (!((mqueueCB->mode_data.oth & S_IROTH) || (mqueueCB->mode_data.oth & S_IWOTH))) { in GetPermissionOfVisitor()
/kernel/liteos_m/kal/posix/src/
Dmqueue_impl.h125 mode_s mode_data; /* mode data of mqueue */ member
/kernel/liteos_a/compat/posix/include/
Dmqueue.h99 mode_s mode_data; /* mode data of mqueue */ member
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_sas.c1236 struct scsi_mode_data mode_data; in sas_read_port_mode_page() local
1243 &mode_data, NULL); in sas_read_port_mode_page()
1248 msdata = buffer + mode_data.header_length + in sas_read_port_mode_page()
1249 mode_data.block_descriptor_length; in sas_read_port_mode_page()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
Dtcpm.c374 struct pd_mode_data mode_data; member
1088 memset(&port->mode_data, 0, sizeof(port->mode_data)); in svdm_consume_identity()
1103 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_svids()
1151 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_modes()
1178 struct pd_mode_data *modep = &port->mode_data; in tcpm_register_partner_altmodes()
1213 modep = &port->mode_data; in tcpm_pd_svdm()
2887 struct pd_mode_data *modep = &port->mode_data; in tcpm_unregister_altmodes()
/kernel/linux/linux-5.10/drivers/mtd/devices/
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()