/drivers/isdn/hardware/eicon/ |
D | os_bri.c | 26 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 36 static int diva_bri_cleanup_adapter(diva_os_xdi_adapter_t *a); 37 static dword diva_bri_get_serial_number(diva_os_xdi_adapter_t *a); 38 static int diva_bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 40 static int diva_bri_reregister_io(diva_os_xdi_adapter_t *a); 47 static int diva_bri_stop_adapter(diva_os_xdi_adapter_t *a); 49 static void diva_bri_set_addresses(diva_os_xdi_adapter_t *a) in diva_bri_set_addresses() argument 51 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_bri_set_addresses() 52 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 1; in diva_bri_set_addresses() 53 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_bri_set_addresses() [all …]
|
D | os_4bri.c | 30 extern void diva_add_slave_adapter(diva_os_xdi_adapter_t *a); 35 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 60 static int diva_4bri_cleanup_adapter(diva_os_xdi_adapter_t *a); 61 static int _4bri_get_serial_number(diva_os_xdi_adapter_t *a); 62 static int diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 65 static int diva_4bri_cleanup_slave_adapters(diva_os_xdi_adapter_t *a); 66 static int diva_4bri_write_fpga_image(diva_os_xdi_adapter_t *a, 76 static int diva_4bri_stop_adapter(diva_os_xdi_adapter_t *a); 102 static void diva_4bri_set_addresses(diva_os_xdi_adapter_t *a) in diva_4bri_set_addresses() argument 104 dword offset = a->resources.pci.qoffset; in diva_4bri_set_addresses() [all …]
|
D | os_pri.c | 31 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 40 static int diva_pri_cleanup_adapter(diva_os_xdi_adapter_t *a); 41 static int diva_pri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 43 static int pri_get_serial_number(diva_os_xdi_adapter_t *a); 44 static int diva_pri_stop_adapter(diva_os_xdi_adapter_t *a); 45 static dword diva_pri_detect_dsps(diva_os_xdi_adapter_t *a); 60 static void diva_pri_set_addresses(diva_os_xdi_adapter_t *a) in diva_pri_set_addresses() argument 62 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 0; in diva_pri_set_addresses() 63 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_pri_set_addresses() 64 a->resources.pci.mem_type_id[MEM_TYPE_CONFIG] = 4; in diva_pri_set_addresses() [all …]
|
D | di.c | 43 void pr_out(ADAPTER *a); 44 byte pr_dpc(ADAPTER *a); 45 static byte pr_ready(ADAPTER *a); 78 void pr_out(ADAPTER *a) in pr_out() argument 93 e_no = look_req(a); in pr_out() 99 ReadyCount = pr_ready(a); in pr_out() 107 next_req(a); in pr_out() 108 this = entity_ptr(a, e_no); in pr_out() 113 xdi_xlog_sec++, (int)((ISDN_ADAPTER *)a->io)->ANum)) in pr_out() 114 e_no = look_req(a); in pr_out() [all …]
|
D | diva.c | 31 extern int create_adapter_proc(diva_os_xdi_adapter_t *a); 32 extern void remove_adapter_proc(diva_os_xdi_adapter_t *a); 155 diva_os_xdi_adapter_t *a = NULL; in diva_q_get_next() local 158 a = list_entry(what->next, diva_os_xdi_adapter_t, link); in diva_q_get_next() 160 return (a); in diva_q_get_next() 263 diva_os_xdi_adapter_t *a = NULL; in get_and_remove_from_queue() local 268 a = list_entry(adapter_queue.next, diva_os_xdi_adapter_t, link); in get_and_remove_from_queue() 273 return (a); in get_and_remove_from_queue() 282 diva_os_xdi_adapter_t *a[4]; in diva_driver_remove_card() local 286 pa = a[0] = (diva_os_xdi_adapter_t *) pdiva; in diva_driver_remove_card() [all …]
|
D | istream.c | 56 void diva_xdi_provide_istream_info(ADAPTER *a, in diva_xdi_provide_istream_info() argument 77 ADAPTER *a = (ADAPTER *)context; in diva_istream_write() local 82 a->ram_in_dw(a, in diva_istream_write() 84 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 86 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 97 a->ram_out_buffer(a, in diva_istream_write() 99 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 101 (void *)(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 117 a->ram_out_dw(a, in diva_istream_write() 119 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() [all …]
|
D | divasproc.c | 148 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in grp_opt_proc_write() local 149 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_write() 175 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in d_l1_down_proc_write() local 176 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_write() 201 diva_os_xdi_adapter_t *a = m->private; in d_l1_down_proc_show() local 202 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_show() 227 diva_os_xdi_adapter_t *a = m->private; in grp_opt_proc_show() local 228 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_show() 254 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in info_proc_write() local 255 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in info_proc_write() [all …]
|
D | io.c | 296 diva_xdi_provide_istream_info(&IoAdapter->a, in request() 454 ADAPTER *a = &IoAdapter->a; in DIDpcRoutine() local 458 if (IoAdapter->tst_irq(a)) in DIDpcRoutine() 461 IoAdapter->dpc(a); in DIDpcRoutine() 462 IoAdapter->clr_irq(a); in DIDpcRoutine() 464 IoAdapter->out(a); in DIDpcRoutine() 478 a->ram_out(a, &IoAdapter->pcm->rc, 0); in DIDpcRoutine() 479 a->ram_out(a, &IoAdapter->pcm->req, pcm->req); in DIDpcRoutine() 483 if ((int)(a->ram_in(a, &IoAdapter->pcm->rc))) { in DIDpcRoutine() 484 a->ram_in_buffer(a, IoAdapter->pcm, pcm, sizeof(*pcm)); in DIDpcRoutine() [all …]
|
D | di.h | 51 byte (*ram_in)(ADAPTER *a, void *adr); 52 word (*ram_inw)(ADAPTER *a, void *adr); 53 void (*ram_in_buffer)(ADAPTER *a, void *adr, void *P, word length); 54 void (*ram_look_ahead)(ADAPTER *a, PBUFFER *RBuffer, ENTITY *e); 55 void (*ram_out)(ADAPTER *a, void *adr, byte data); 56 void (*ram_outw)(ADAPTER *a, void *adr, word data); 57 void (*ram_out_buffer)(ADAPTER *a, void *adr, void *P, word length); 58 void (*ram_inc)(ADAPTER *a, void *adr); 65 dword (*ram_offset)(ADAPTER *a); 66 void (*ram_out_dw)(ADAPTER *a, [all …]
|
D | capifunc.c | 155 DIVA_CAPI_ADAPTER *a; in find_free_id() local 158 a = &adapter[num]; in find_free_id() 159 if (!a->Id) in find_free_id() 348 DIVA_CAPI_ADAPTER *a; in clean_adapter() local 351 a = &adapter[id]; in clean_adapter() 352 k = li_total_channels - a->li_channels; in clean_adapter() 359 if (a->li_base < k) { in clean_adapter() 360 memmove(&li_config_table[a->li_base], in clean_adapter() 361 &li_config_table[a->li_base + a->li_channels], in clean_adapter() 362 (k - a->li_base) * sizeof(LI_CONFIG)); in clean_adapter() [all …]
|
D | platform.h | 102 #define DIVA_OS_MEM_ATTACH_RAM(a) ((a)->ram) argument 103 #define DIVA_OS_MEM_ATTACH_PORT(a) ((a)->port) argument 104 #define DIVA_OS_MEM_ATTACH_PROM(a) ((a)->prom) argument 105 #define DIVA_OS_MEM_ATTACH_CTLREG(a) ((a)->ctlReg) argument 106 #define DIVA_OS_MEM_ATTACH_RESET(a) ((a)->reset) argument 107 #define DIVA_OS_MEM_ATTACH_CFG(a) ((a)->cfg) argument 108 #define DIVA_OS_MEM_ATTACH_ADDRESS(a) ((a)->Address) argument 109 #define DIVA_OS_MEM_ATTACH_CONFIG(a) ((a)->Config) argument 110 #define DIVA_OS_MEM_ATTACH_CONTROL(a) ((a)->Control) argument 112 #define DIVA_OS_MEM_DETACH_RAM(a, x) do { } while (0) argument [all …]
|
D | um_idi.c | 28 static void cleanup_adapter(diva_um_idi_adapter_t *a); 30 static int diva_user_mode_idi_adapter_features(diva_um_idi_adapter_t *a, 52 diva_user_mode_idi_adapter_features(diva_um_idi_adapter_t *a, in diva_user_mode_idi_adapter_features() argument 58 if ((a) && (a->d.request)) { in diva_user_mode_idi_adapter_features() 59 features->type = a->d.type; in diva_user_mode_idi_adapter_features() 60 features->features = a->d.features; in diva_user_mode_idi_adapter_features() 61 features->channels = a->d.channels; in diva_user_mode_idi_adapter_features() 66 (*(a->d.request)) ((ENTITY *)&sync_req); in diva_user_mode_idi_adapter_features() 73 (*(a->d.request))((ENTITY *)&sync_req); in diva_user_mode_idi_adapter_features() 77 return ((a) ? 0 : -1); in diva_user_mode_idi_adapter_features() [all …]
|
/drivers/net/wireless/mwifiex/ |
D | sdio.h | 179 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0) argument 182 #define MP_TX_AGGR_BUF_HAS_ROOM(a, len) ((a->mpa_tx.buf_len+len) \ argument 183 <= a->mpa_tx.buf_size) 186 #define MP_TX_AGGR_BUF_PUT(a, payload, pkt_len, port) do { \ argument 187 memmove(&a->mpa_tx.buf[a->mpa_tx.buf_len], \ 189 a->mpa_tx.buf_len += pkt_len; \ 190 if (!a->mpa_tx.pkt_cnt) \ 191 a->mpa_tx.start_port = port; \ 192 if (a->mpa_tx.start_port <= port) \ 193 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \ [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-debug.h | 47 #define IWL_ERR(m, f, a...) __iwl_err((m)->dev, false, false, f, ## a) argument 48 #define IWL_ERR_DEV(d, f, a...) __iwl_err((d), false, false, f, ## a) argument 49 #define IWL_WARN(m, f, a...) __iwl_warn((m)->dev, f, ## a) argument 50 #define IWL_INFO(m, f, a...) __iwl_info((m)->dev, f, ## a) argument 51 #define IWL_CRIT(m, f, a...) __iwl_crit((m)->dev, f, ## a) argument 150 #define IWL_DEBUG_INFO(p, f, a...) IWL_DEBUG(p, IWL_DL_INFO, f, ## a) argument 151 #define IWL_DEBUG_MAC80211(p, f, a...) IWL_DEBUG(p, IWL_DL_MAC80211, f, ## a) argument 152 #define IWL_DEBUG_TEMP(p, f, a...) IWL_DEBUG(p, IWL_DL_TEMP, f, ## a) argument 153 #define IWL_DEBUG_SCAN(p, f, a...) IWL_DEBUG(p, IWL_DL_SCAN, f, ## a) argument 154 #define IWL_DEBUG_RX(p, f, a...) IWL_DEBUG(p, IWL_DL_RX, f, ## a) argument [all …]
|
/drivers/acpi/acpica/ |
D | acmacros.h | 210 #define ACPI_DIV_2(a) _ACPI_DIV(a, 1) argument 211 #define ACPI_MUL_2(a) _ACPI_MUL(a, 1) argument 212 #define ACPI_MOD_2(a) _ACPI_MOD(a, 2) argument 214 #define ACPI_DIV_4(a) _ACPI_DIV(a, 2) argument 215 #define ACPI_MUL_4(a) _ACPI_MUL(a, 2) argument 216 #define ACPI_MOD_4(a) _ACPI_MOD(a, 4) argument 218 #define ACPI_DIV_8(a) _ACPI_DIV(a, 3) argument 219 #define ACPI_MUL_8(a) _ACPI_MUL(a, 3) argument 220 #define ACPI_MOD_8(a) _ACPI_MOD(a, 8) argument 222 #define ACPI_DIV_16(a) _ACPI_DIV(a, 4) argument [all …]
|
/drivers/net/ethernet/smsc/ |
D | smc91x.h | 63 #define SMC_inb(a, r) readb((a) + (r)) argument 64 #define SMC_inw(a, r) readw((a) + (r)) argument 65 #define SMC_inl(a, r) readl((a) + (r)) argument 66 #define SMC_outb(v, a, r) writeb(v, (a) + (r)) argument 67 #define SMC_outl(v, a, r) writel(v, (a) + (r)) argument 68 #define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) argument 69 #define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l) argument 70 #define SMC_insl(a, r, p, l) readsl((a) + (r), p, l) argument 71 #define SMC_outsl(a, r, p, l) writesl((a) + (r), p, l) argument 94 #define SMC_inb(a, r) readb((a) + (r)) argument [all …]
|
/drivers/target/iscsi/ |
D | iscsi_target_nodeattrib.c | 40 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_set_default_node_attribues() local 42 a->dataout_timeout = NA_DATAOUT_TIMEOUT; in iscsit_set_default_node_attribues() 43 a->dataout_timeout_retries = NA_DATAOUT_TIMEOUT_RETRIES; in iscsit_set_default_node_attribues() 44 a->nopin_timeout = NA_NOPIN_TIMEOUT; in iscsit_set_default_node_attribues() 45 a->nopin_response_timeout = NA_NOPIN_RESPONSE_TIMEOUT; in iscsit_set_default_node_attribues() 46 a->random_datain_pdu_offsets = NA_RANDOM_DATAIN_PDU_OFFSETS; in iscsit_set_default_node_attribues() 47 a->random_datain_seq_offsets = NA_RANDOM_DATAIN_SEQ_OFFSETS; in iscsit_set_default_node_attribues() 48 a->random_r2t_offsets = NA_RANDOM_R2T_OFFSETS; in iscsit_set_default_node_attribues() 49 a->default_erl = NA_DEFAULT_ERL; in iscsit_set_default_node_attribues() 56 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout() local [all …]
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_osdep.h | 62 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument 63 writel((value), ((a)->hw_addr + \ 64 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 67 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument 68 readl((a)->hw_addr + \ 69 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 75 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument 76 writew((value), ((a)->hw_addr + \ 77 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 80 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument [all …]
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | debug.h | 54 #define brcms_dbg(core, l, f, a...) __brcms_dbg(&(core)->dev, l, __func__, f, ##a) argument 55 #define brcms_info(core, f, a...) __brcms_info(&(core)->dev, f, ##a) argument 56 #define brcms_warn(core, f, a...) __brcms_warn(&(core)->dev, f, ##a) argument 57 #define brcms_err(core, f, a...) __brcms_err(&(core)->dev, f, ##a) argument 58 #define brcms_crit(core, f, a...) __brcms_crit(&(core)->dev, f, ##a) argument 60 #define brcms_dbg_info(core, f, a...) brcms_dbg(core, BRCM_DL_INFO, f, ##a) argument 61 #define brcms_dbg_mac80211(core, f, a...) brcms_dbg(core, BRCM_DL_MAC80211, f, ##a) argument 62 #define brcms_dbg_rx(core, f, a...) brcms_dbg(core, BRCM_DL_RX, f, ##a) argument 63 #define brcms_dbg_tx(core, f, a...) brcms_dbg(core, BRCM_DL_TX, f, ##a) argument 64 #define brcms_dbg_int(core, f, a...) brcms_dbg(core, BRCM_DL_INT, f, ##a) argument [all …]
|
/drivers/media/pci/zoran/ |
D | videocodec.c | 80 struct attached_list *a, *ptr; in videocodec_attach() local 135 a = h->list; in videocodec_attach() 136 if (!a) { in videocodec_attach() 141 while (a->next) in videocodec_attach() 142 a = a->next; // find end in videocodec_attach() 143 a->next = ptr; in videocodec_attach() 172 struct attached_list *a, *prev; in videocodec_detach() local 191 a = h->list; in videocodec_detach() 193 while (a) { in videocodec_detach() 194 if (codec == a->codec) { in videocodec_detach() [all …]
|
/drivers/gpu/drm/nouveau/core/include/core/ |
D | printk.h | 21 #define nv_printk(o,l,f,a...) do { \ argument 23 nv_printk_(nv_object(o), NV_PRINTK_##l, NV_DBG_##l, f, ##a); \ 26 #define nv_fatal(o,f,a...) nv_printk((o), FATAL, f, ##a) argument 27 #define nv_error(o,f,a...) nv_printk((o), ERROR, f, ##a) argument 28 #define nv_warn(o,f,a...) nv_printk((o), WARN, f, ##a) argument 29 #define nv_info(o,f,a...) nv_printk((o), INFO, f, ##a) argument 30 #define nv_debug(o,f,a...) nv_printk((o), DEBUG, f, ##a) argument 31 #define nv_trace(o,f,a...) nv_printk((o), TRACE, f, ##a) argument 32 #define nv_spam(o,f,a...) nv_printk((o), SPAM, f, ##a) argument 34 #define nv_assert(f,a...) do { \ argument [all …]
|
/drivers/net/wireless/hostap/ |
D | hostap_pci.c | 56 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() argument 68 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTB, a, v); in hfa384x_outb_debug() 69 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug() 73 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() argument 86 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug() 87 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INB, a, v); in hfa384x_inb_debug() 92 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() argument 104 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTW, a, v); in hfa384x_outw_debug() 105 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug() 109 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() argument [all …]
|
/drivers/staging/wlan-ng/ |
D | p80211types.h | 153 #define P80211DID_MK(a, m, l) ((((u32)(a)) & (m)) << (l)) argument 155 #define P80211DID_MKSECTION(a) P80211DID_MK(a, \ argument 158 #define P80211DID_MKGROUP(a) P80211DID_MK(a, \ argument 161 #define P80211DID_MKITEM(a) P80211DID_MK(a, \ argument 164 #define P80211DID_MKINDEX(a) P80211DID_MK(a, \ argument 167 #define P80211DID_MKISTABLE(a) P80211DID_MK(a, \ argument 171 #define P80211DID_MKID(s, g, i, n, t, a) (P80211DID_MKSECTION(s) | \ argument 176 (a)) 178 #define P80211DID_GET(a, m, l) ((((u32)(a)) >> (l)) & (m)) argument 180 #define P80211DID_SECTION(a) P80211DID_GET(a, \ argument [all …]
|
/drivers/media/pci/bt8xx/ |
D | bttv.h | 262 #define _MUXSELf(a) 0##a << 30 argument 263 #define _MUXSELe(a, b...) 0##a << 28 | _MUXSELf(b) argument 264 #define _MUXSELd(a, b...) 0##a << 26 | _MUXSELe(b) argument 265 #define _MUXSELc(a, b...) 0##a << 24 | _MUXSELd(b) argument 266 #define _MUXSELb(a, b...) 0##a << 22 | _MUXSELc(b) argument 267 #define _MUXSELa(a, b...) 0##a << 20 | _MUXSELb(b) argument 268 #define _MUXSEL9(a, b...) 0##a << 18 | _MUXSELa(b) argument 269 #define _MUXSEL8(a, b...) 0##a << 16 | _MUXSEL9(b) argument 270 #define _MUXSEL7(a, b...) 0##a << 14 | _MUXSEL8(b) argument 271 #define _MUXSEL6(a, b...) 0##a << 12 | _MUXSEL7(b) argument [all …]
|
/drivers/net/fddi/skfp/h/ |
D | cmtdef.h | 57 #define DB_PR(flag,a,b,c) { if (flag) printf(a,b,c) ; } argument 59 #define DB_PR(flag,a,b,c) argument 63 #define DB_ECM(a,b,c) DB_PR((smc->debug.d_smt&1),a,b,c) argument 64 #define DB_ECMN(n,a,b,c) DB_PR((smc->debug.d_ecm >=(n)),a,b,c) argument 65 #define DB_RMT(a,b,c) DB_PR((smc->debug.d_smt&2),a,b,c) argument 66 #define DB_RMTN(n,a,b,c) DB_PR((smc->debug.d_rmt >=(n)),a,b,c) argument 67 #define DB_CFM(a,b,c) DB_PR((smc->debug.d_smt&4),a,b,c) argument 68 #define DB_CFMN(n,a,b,c) DB_PR((smc->debug.d_cfm >=(n)),a,b,c) argument 69 #define DB_PCM(a,b,c) DB_PR((smc->debug.d_smt&8),a,b,c) argument 70 #define DB_PCMN(n,a,b,c) DB_PR((smc->debug.d_pcm >=(n)),a,b,c) argument [all …]
|