/drivers/media/tuners/ |
H A D | it913x.h | 46 * tuner role 51 unsigned int role:2; member in struct:it913x_config
|
H A D | it913x.c | 31 u8 role:2; member in struct:it913x_dev 48 dev_dbg(&dev->client->dev, "role %u\n", dev->role); 164 dev_dbg(&dev->client->dev, "role %u\n", dev->role); 176 if (dev->role == IT913X_ROLE_DUAL_MASTER) 181 dev_dbg(&dev->client->dev, "role %u, len %d\n", dev->role, len); 227 dev_dbg(&dev->client->dev, "role=%u, frequency %u, bandwidth_hz %u\n", 228 dev->role, [all...] |
H A D | tda18271.h | 94 enum tda18271_role role; member in struct:tda18271_config
|
/drivers/usb/chipidea/ |
H A D | otg.c | 47 * ci_otg_role - pick role based on ID pin state 52 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) local 56 return role; 73 enum ci_role role = ci_otg_role(ci); local 75 if (role != ci->role) { 77 ci_role(ci)->name, ci->roles[role]->name); 83 ci_role_start(ci, role);
|
H A D | ci.h | 101 * struct ci_role_driver - host/gadget role driver 102 * @start: start this role 103 * @stop: stop this role 104 * @irq: irq handler for this role 105 * @name: role name string (host/gadget) 141 * @role: current role 145 * @work: work for role changing 178 enum ci_role role; member in struct:ci_hdrc 214 BUG_ON(ci->role > 218 ci_role_start(struct ci_hdrc *ci, enum ci_role role) argument 236 enum ci_role role = ci->role; local [all...] |
H A D | debug.c | 126 if (ci->role != CI_ROLE_GADGET) { 172 if (ci->role != CI_ROLE_GADGET) { 299 enum ci_role role; local 306 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) 307 if (ci->roles[role] && 308 !strncmp(buf, ci->roles[role]->name, 309 strlen(ci->roles[role]->name))) 312 if (role [all...] |
H A D | core.c | 451 if (ci->role != CI_ROLE_END) 652 /* initialize role(s) before the interrupt is requested */ 684 ci->role = ci_otg_role(ci); 690 * role switch, the defalt role is gadget, and the 693 ci->role = CI_ROLE_GADGET; 696 ci->role = ci->roles[CI_ROLE_HOST] 702 if (ci->role == CI_ROLE_GADGET) 706 ret = ci_role_start(ci, ci->role); 708 dev_err(dev, "can't start %s role\ [all...] |
H A D | host.c | 128 if (ci->role == CI_ROLE_HOST && ci->hcd)
|
/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 31 &card->options.sbp.role, &state); 45 switch (card->options.sbp.role) { 57 card->options.sbp.role, state); 78 enum qeth_sbp_roles role; local 83 role = QETH_SBP_ROLE_PRIMARY; 85 role = QETH_SBP_ROLE_SECONDARY; 87 role = QETH_SBP_ROLE_NONE; 94 rc = qeth_bridgeport_setrole(card, role); 96 card->options.sbp.role = role; [all...] |
/drivers/staging/wlan-ng/ |
H A D | prism2sta.c | 680 hw->cap_sup_mfi.role = le16_to_cpu(hw->cap_sup_mfi.role); 687 "MFI:SUP:role=0x%02x:id=0x%02x:var=0x%02x:b/t=%d/%d\n", 688 hw->cap_sup_mfi.role, hw->cap_sup_mfi.id, 703 hw->cap_sup_cfi.role = le16_to_cpu(hw->cap_sup_cfi.role); 710 "CFI:SUP:role=0x%02x:id=0x%02x:var=0x%02x:b/t=%d/%d\n", 711 hw->cap_sup_cfi.role, hw->cap_sup_cfi.id, 726 hw->cap_sup_pri.role = le16_to_cpu(hw->cap_sup_pri.role); [all...] |
/drivers/block/drbd/ |
H A D | drbd_state.c | 76 device->state.role != R_SECONDARY) { 107 enum drbd_role role = R_UNKNOWN; local 114 role = max_role(role, device->state.role); 118 return role; 229 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || 418 drbd_role_str(ns.role), 448 if (ns.role ! [all...] |
H A D | drbd_state.h | 23 * is in secondary role. 82 unsigned role:2 ; /* 3/4 primary/secondary/unknown */ member in struct:drbd_dev_state::__anon310 102 unsigned role:2 ; /* 3/4 primary/secondary/unknown */
|
H A D | Kconfig | 24 Each minor device has a role, which can be 'primary' or 'secondary'.
|
H A D | drbd_proc.c | 258 ro .. node role (local/remote) 287 state.role == R_SECONDARY) { 300 drbd_role_str(state.role),
|
/drivers/scsi/csiostor/ |
H A D | csio_rnode.c | 457 rn->role = CSIO_RNFR_FABRIC; 470 rn->role = CSIO_RNFR_NS; 480 rn->role = CSIO_RNFR_NPORT; 494 rn->role |= CSIO_RNFR_TARGET; 497 rn->role |= CSIO_RNFR_INITIATOR; 504 rn->role = 0; 557 if (rn->role & CSIO_RNFR_TARGET) 578 if (rn->role & CSIO_RNFR_TARGET) {
|
H A D | csio_rnode.h | 81 /* Defines for rnode role */ 105 uint32_t role; /* Fabric/Target/ member in struct:csio_rnode
|
H A D | csio_attr.c | 55 * If remote port is Initiator OR Target OR both, change the role appropriately. 72 if (rn->role & CSIO_RNFR_INITIATOR || rn->role & CSIO_RNFR_TARGET) { 98 if (rn->role & CSIO_RNFR_INITIATOR) 100 if (rn->role & CSIO_RNFR_TARGET) 108 csio_ln_dbg(ln, "Remote port x%x role 0x%x registered\n", 126 rn->role &= ~(CSIO_RNFR_INITIATOR | CSIO_RNFR_TARGET);
|
/drivers/usb/musb/ |
H A D | Kconfig | 11 Say Y here if your system has a dual role high speed USB 14 it's being used with, including the USB peripheral role, 15 or the USB host role, or both.
|
/drivers/usb/phy/ |
H A D | Makefile | 7 obj-$(CONFIG_DUAL_ROLE_USB_INTF) += class-dual-role.o
|
/drivers/staging/rtl8188eu/include/ |
H A D | rtl8188e_cmd.h | 94 u8 role:1; /* 1: Owner, 0: Client */ member in struct:P2P_PS_Offload_t
|
/drivers/staging/rtl8723au/include/ |
H A D | rtl8723a_cmd.h | 93 u8 role:1; /* 1: Owner, 0: Client */ member in struct:P2P_PS_Offload_t
|
/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 507 while (dev->board.buttons[j].role >= 0 && 508 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) { 533 switch (button->role) { 552 WARN_ONCE(1, "BUG: unhandled button role."); 609 while (dev->board.buttons[i].role >= 0 && 610 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) { 626 /* Button role specific checks and actions */ 627 if (button->role == EM28XX_BUTTON_SNAPSHOT) { 631 } else if (button->role == EM28XX_BUTTON_ILLUMINATION) {
|
H A D | em28xx.h | 417 enum em28xx_led_role role; member in struct:em28xx_led 430 enum em28xx_button_role role; member in struct:em28xx_button 758 enum em28xx_led_role role);
|
/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 155 role_t role); 270 role_t role, uint32_t status); 455 * of the target role. Since the parameters for a connection 456 * in the initiator role to a given target are the same as 1274 if (devinfo.role == ROLE_INITIATOR) { 2218 u_int *period, u_int *ppr_options, role_t role) 2247 if (role == ROLE_TARGET) 2391 u_int *offset, int wide, role_t role) 2408 if (role == ROLE_TARGET) 2421 u_int *bus_width, role_t role) 2216 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 2388 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument 2420 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 2773 role_t role; local 2820 ahc_compile_devinfo(struct ahc_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument 2845 role_t role; local 5756 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 5863 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument 6333 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument [all...] |
H A D | aic7xxx.h | 242 * the initiator role to allow multi-scsi-id target mode 244 * ID as our initiator role if we allow initiator operation. 371 * As initialized by the host driver for the initiator role, this area 375 * For the target role, the contents of this area do not change, but 376 * still serve a different purpose than for the initiator role. See 712 * for each initiator<->target mapping. For the initiator role we pretend 714 * negotiation is the same regardless of role. 1105 role_t role; /* member in struct:ahc_devinfo 1158 u_int tag, role_t role); 1185 role_t role, uint32_ [all...] |