Searched refs:OFFSETOF (Results 1 - 14 of 14) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dsiutils.c546 chipcontrol = si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol),
708 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol),
723 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, gci_indirect_addr), ~0, regidx);
730 return si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, gci_input[reg]), 0, 0);
736 return si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, gci_output[reg]), mask, val);
744 offs = OFFSETOF(chipcregs_t, intmask);
753 si_gci_direct(sih, OFFSETOF(chipcregs_t, gci_corectrl), 0xFFFFFFFF, 0x01);
755 si_gci_direct(sih, OFFSETOF(chipcregs_t, gci_corectrl), 0xFFFFFFFF, 0x00);
759 si_gci_direct(sih, OFFSETOF(chipcregs_t, gci_event[i]), 0xFFFFFFFF, 0x00);
774 si_gci_direct(sih, OFFSETOF(chipcregs_
[all...]
H A Dhndpci.c568 if (off == OFFSETOF(ppb_config_regs, prim_bus) && len >= 2)
570 else if (off == OFFSETOF(ppb_config_regs, sec_bus))
577 if (off >= OFFSETOF(pci_config_regs, base[0]) &&
578 off <= OFFSETOF(pci_config_regs, base[3]) &&
584 if (off == OFFSETOF(pci_config_regs, base[0]))
586 else if (off == OFFSETOF(pci_config_regs, base[1]) && bar->n >= 1)
588 else if (off == OFFSETOF(pci_config_regs, base[2]) && bar->n >= 2)
590 else if (off == OFFSETOF(pci_config_regs, base[3]) && bar->n >= 3)
893 root_cap = cap_ptr + OFFSETOF(pciconfig_cap_pcie, root_cap);
898 root_ctrl = cap_ptr + OFFSETOF(pciconfig_cap_pci
[all...]
H A Dnicpci.c771 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_addr),
773 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_data),
781 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_addr),
783 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_data),
932 si_corereg(pi->sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol),
H A Dsbutils.c455 (regoff == OFFSETOF(chipcregs_t, watchdog))) {
811 SBCONFIGOFF + OFFSETOF(sbconfig_t, sbimstate), 0, 0);
814 SBCONFIGOFF + OFFSETOF(sbconfig_t, sbimstate), ~0,
H A Dhndpmu.c123 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_addr), ~0, reg);
124 return si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol_data), mask, val);
131 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, regcontrol_addr), ~0, reg);
132 return si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, regcontrol_data), mask, val);
139 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, pllcontrol_addr), ~0, reg);
140 return si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, pllcontrol_data), mask, val);
157 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, pmucontrol),
548 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, regcontrol_addr), /* PMU VREG register */
550 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, regcontrol_data),
575 si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_
[all...]
H A Dbcmotp.c2121 OFFSETOF(chipcregs_t, otplayout), 0, 0);
H A Dbcmutils.c1002 bzero(pq, OFFSETOF(struct pktq, q) + (sizeof(struct pktq_prec) * num_prec));
H A Dbcmsrom.c6380 otplayout = si_corereg(sih, SI_CC_IDX, OFFSETOF(chipcregs_t, otplayout), 0, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/
H A Dwlioctl.h432 #define WL_ISCAN_PARAMS_FIXED_SIZE (OFFSETOF(wl_iscan_params_t, params) + sizeof(wlc_ssid_t))
479 #define WL_ESCAN_PARAMS_FIXED_SIZE (OFFSETOF(wl_escan_params_t, params) + sizeof(wlc_ssid_t))
499 (WL_SCAN_RESULTS_FIXED_SIZE + OFFSETOF(wl_iscan_results_t, results))
617 #define WL_ASSOC_PARAMS_FIXED_SIZE OFFSETOF(wl_assoc_params_t, chanspec_list)
636 #define WL_JOIN_PARAMS_FIXED_SIZE (OFFSETOF(wl_join_params_t, params) + \
662 #define WL_EXTJOIN_PARAMS_FIXED_SIZE (OFFSETOF(wl_extjoin_params_t, assoc) + \
891 #define WL_RM_REQ_FIXED_LEN OFFSETOF(wl_rm_req_t, req)
1197 #define WL_OLD_STAINFO_SIZE OFFSETOF(sta_info_t, tx_tot_pkts)
3066 #define WL_MKEEP_ALIVE_FIXED_LEN OFFSETOF(wl_mkeep_alive_pkt_t, data)
3668 #define WL_KEEP_ALIVE_FIXED_LEN OFFSETOF(wl_keep_alive_pkt_
[all...]
H A Dbcmutils.h691 #ifndef OFFSETOF
694 * The ARM RVCT compiler complains when using OFFSETOF where a constant
699 #define OFFSETOF(type, member) offsetof(type, member) macro
702 #define OFFSETOF(type, member) __builtin_offsetof(type, member) macro
704 #define OFFSETOF(type, member) ((uint)(uintptr)&((type *)0)->member) macro
706 #endif /* OFFSETOF */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/rc/
H A Dmtd.c190 sizeof(struct trx_header) - OFFSETOF(struct trx_header, flag_version),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/bcm947xx/
H A Dbcm947xx-i2s.c423 ret = si_corereg(snd->sih, SI_CC_IDX, OFFSETOF(chipcregs_t, chipcontrol),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dsx.c384 #define OFFSETOF(strct, elem) ((long)&(((struct strct *)NULL)->elem)) macro
386 #define CHAN_OFFSET(port,elem) (port->ch_base + OFFSETOF (_SXCHANNEL, elem))
387 #define MODU_OFFSET(board,addr,elem) (addr + OFFSETOF (_SXMODULE, elem))
388 #define BRD_OFFSET(board,elem) (OFFSETOF (_SXCARD, elem))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/brcm-boards/bcm947xx/
H A Dsetup.c1010 sizeof(struct trx_header) - OFFSETOF(struct trx_header, flag_version),

Completed in 307 milliseconds