/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_init.c | 46 static bool esas2r_initmem_alloc(struct esas2r_adapter *a, in esas2r_initmem_alloc() argument 53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc() 75 static void esas2r_initmem_free(struct esas2r_adapter *a, in esas2r_initmem_free() argument 92 dma_free_coherent(&a->pcid->dev, in esas2r_initmem_free() 103 static bool alloc_vda_req(struct esas2r_adapter *a, in alloc_vda_req() argument 117 if (!esas2r_initmem_alloc(a, memdesc, 256)) { in alloc_vda_req() 123 a->num_vrqs++; in alloc_vda_req() 124 list_add(&memdesc->next_desc, &a->vrq_mds_head); in alloc_vda_req() 128 rq->vrq->scsi.handle = a->num_vrqs; in alloc_vda_req() 133 static void esas2r_unmap_regions(struct esas2r_adapter *a) in esas2r_unmap_regions() argument [all …]
|
D | esas2r_int.c | 48 static void esas2r_doorbell_interrupt(struct esas2r_adapter *a, u32 doorbell); 49 static void esas2r_get_outbound_responses(struct esas2r_adapter *a); 50 static void esas2r_process_bus_reset(struct esas2r_adapter *a); 56 void esas2r_polled_interrupt(struct esas2r_adapter *a) in esas2r_polled_interrupt() argument 61 esas2r_disable_chip_interrupts(a); in esas2r_polled_interrupt() 63 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_polled_interrupt() 68 esas2r_write_register_dword(a, MU_OUT_LIST_INT_STAT, in esas2r_polled_interrupt() 70 esas2r_flush_register_dword(a, MU_OUT_LIST_INT_STAT); in esas2r_polled_interrupt() 72 esas2r_get_outbound_responses(a); in esas2r_polled_interrupt() 76 doorbell = esas2r_read_register_dword(a, MU_DOORBELL_OUT); in esas2r_polled_interrupt() [all …]
|
D | esas2r_disc.c | 48 static void esas2r_disc_abort(struct esas2r_adapter *a, 50 static bool esas2r_disc_continue(struct esas2r_adapter *a, 52 static void esas2r_disc_fix_curr_requests(struct esas2r_adapter *a); 54 static bool esas2r_disc_start_request(struct esas2r_adapter *a, 58 static bool esas2r_disc_block_dev_scan(struct esas2r_adapter *a, 60 static void esas2r_disc_block_dev_scan_cb(struct esas2r_adapter *a, 62 static bool esas2r_disc_dev_add(struct esas2r_adapter *a, 64 static bool esas2r_disc_dev_remove(struct esas2r_adapter *a, 66 static bool esas2r_disc_part_info(struct esas2r_adapter *a, 68 static void esas2r_disc_part_info_cb(struct esas2r_adapter *a, [all …]
|
D | esas2r_ioctl.c | 68 struct esas2r_adapter *a; member 82 static void complete_fm_api_req(struct esas2r_adapter *a, in complete_fm_api_req() argument 85 a->fm_api_command_done = 1; in complete_fm_api_req() 86 wake_up_interruptible(&a->fm_api_waiter); in complete_fm_api_req() 92 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api() local 93 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api() 95 (*addr) = a->firmware.phys + offset; in get_physaddr_fm_api() 96 return a->firmware.orig_len - offset; in get_physaddr_fm_api() 101 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api_header() local 102 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api_header() [all …]
|
D | esas2r_targdb.c | 46 void esas2r_targ_db_initialize(struct esas2r_adapter *a) in esas2r_targ_db_initialize() argument 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 59 void esas2r_targ_db_remove_all(struct esas2r_adapter *a, bool notify) in esas2r_targ_db_remove_all() argument 64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all() 68 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_targ_db_remove_all() 69 esas2r_targ_db_remove(a, t); in esas2r_targ_db_remove_all() 70 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_targ_db_remove_all() 74 a)); in esas2r_targ_db_remove_all() 75 esas2r_target_state_changed(a, esas2r_targ_get_id(t, in esas2r_targ_db_remove_all() 76 a), in esas2r_targ_db_remove_all() [all …]
|
D | esas2r_io.c | 46 void esas2r_start_request(struct esas2r_adapter *a, struct esas2r_request *rq) in esas2r_start_request() argument 52 if (unlikely(test_bit(AF_DEGRADED_MODE, &a->flags) || in esas2r_start_request() 53 test_bit(AF_POWER_DOWN, &a->flags))) { in esas2r_start_request() 59 t = a->targetdb + rq->target_id; in esas2r_start_request() 61 if (unlikely(t >= a->targetdb_end in esas2r_start_request() 74 !test_bit(AF_DISC_PENDING, &a->flags))) in esas2r_start_request() 80 esas2r_complete_request(a, rq); in esas2r_start_request() 92 spin_lock_irqsave(&a->queue_lock, flags); in esas2r_start_request() 94 if (likely(list_empty(&a->defer_list) && in esas2r_start_request() 95 !test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_start_request() [all …]
|
D | esas2r.h | 141 #define esas2r_read_register_dword(a, reg) \ argument 142 readl((void __iomem *)a->regs + (reg) + MW_REG_OFFSET_HWREG) 144 #define esas2r_write_register_dword(a, reg, data) \ argument 145 writel(data, (void __iomem *)(a->regs + (reg) + MW_REG_OFFSET_HWREG)) 147 #define esas2r_flush_register_dword(a, r) esas2r_read_register_dword(a, r) argument 153 #define esas2r_read_data_byte(a, reg) \ argument 154 readb((void __iomem *)a->data_window + (reg)) 405 typedef void (*RQCALLBK) (struct esas2r_adapter *a, 407 typedef bool (*RQBUILDSGL) (struct esas2r_adapter *a, 776 struct esas2r_adapter *a; member [all …]
|
D | esas2r_main.c | 72 struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj); in read_fw() local 74 return esas2r_read_fw(a, buf, off, count); in read_fw() 81 struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj); in write_fw() local 83 return esas2r_write_fw(a, buf, off, count); in write_fw() 90 struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj); in read_fs() local 92 return esas2r_read_fs(a, buf, off, count); in read_fs() 99 struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj); in write_fs() local 103 result = esas2r_write_fs(a, buf, off, count); in write_fs() 115 struct esas2r_adapter *a = esas2r_adapter_from_kobj(kobj); in read_vda() local 117 return esas2r_read_vda(a, buf, off, count); in read_vda() [all …]
|
D | esas2r_flash.c | 133 static void esas2r_fmapi_callback(struct esas2r_adapter *a, in esas2r_fmapi_callback() argument 169 (*fc->interrupt_cb)(a, rq); in esas2r_fmapi_callback() 176 static void build_flash_msg(struct esas2r_adapter *a, in build_flash_msg() argument 194 esas2r_build_flash_req(a, in build_flash_msg() 201 esas2r_rq_free_sg_lists(rq, a); in build_flash_msg() 212 esas2r_sgc_init(sgc, a, rq, &rq->vrq->flash.data.sge[0]); in build_flash_msg() 214 if (!esas2r_build_sg_list(a, rq, sgc)) { in build_flash_msg() 227 static bool load_image(struct esas2r_adapter *a, struct esas2r_request *rq) in load_image() argument 234 if (test_bit(AF_DEGRADED_MODE, &a->flags)) in load_image() 237 build_flash_msg(a, rq); in load_image() [all …]
|
/linux-4.1.27/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 | 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 | 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 | 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 | 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 | 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 …]
|
D | s_pri.c | 43 static dword pri_ram_offset(ADAPTER *a) { in pri_ram_offset() argument 109 IoAdapter->a.ram_out(&IoAdapter->a, &RAM->SWReg, SWREG_HALT_CPU); in stop_pri_hardware() 111 while ((i < 100) && (IoAdapter->a.ram_in(&IoAdapter->a, &RAM->SWReg) != 0)) in stop_pri_hardware() 163 ADAPTER *a = &IoAdapter->a; in prepare_common_pri_functions() local 164 a->ram_in = mem_in; in prepare_common_pri_functions() 165 a->ram_inw = mem_inw; in prepare_common_pri_functions() 166 a->ram_in_buffer = mem_in_buffer; in prepare_common_pri_functions() 167 a->ram_look_ahead = mem_look_ahead; in prepare_common_pri_functions() 168 a->ram_out = mem_out; in prepare_common_pri_functions() 169 a->ram_outw = mem_outw; in prepare_common_pri_functions() [all …]
|
D | io.h | 199 ADAPTER a; /* not a separate structure */ member 200 void (*out)(ADAPTER *a); 201 byte (*dpc)(ADAPTER *a); 202 byte (*tst_irq)(ADAPTER *a); 203 void (*clr_irq)(ADAPTER *a); 257 extern void *PTR_P(ADAPTER *a, ENTITY *e, void *P); 258 extern void *PTR_X(ADAPTER *a, ENTITY *e); 259 extern void *PTR_R(ADAPTER *a, ENTITY *e); 260 extern void CALLBACK(ADAPTER *a, ENTITY *e); 265 byte io_in(ADAPTER *a, void *adr); [all …]
|
/linux-4.1.27/sound/pci/au88x0/ |
D | au88x0_a3d.c | 33 a3dsrc_SetTimeConsts(a3dsrc_t * a, short HrtfTrack, short ItdTrack, in a3dsrc_SetTimeConsts() argument 36 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() 38 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts() 40 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts() 42 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts() 44 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts() 49 a3dsrc_GetTimeConsts(a3dsrc_t * a, short *HrtfTrack, short *ItdTrack, 59 a3dsrc_SetAtmosTarget(a3dsrc_t * a, short aa, short b, short c, short d, in a3dsrc_SetAtmosTarget() argument 62 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() 64 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget() [all …]
|
/linux-4.1.27/lib/mpi/ |
D | mpiutil.c | 32 MPI a; in mpi_alloc() local 34 a = kmalloc(sizeof *a, GFP_KERNEL); in mpi_alloc() 35 if (!a) in mpi_alloc() 36 return a; in mpi_alloc() 39 a->d = mpi_alloc_limb_space(nlimbs); in mpi_alloc() 40 if (!a->d) { in mpi_alloc() 41 kfree(a); in mpi_alloc() 45 a->d = NULL; in mpi_alloc() 48 a->alloced = nlimbs; in mpi_alloc() 49 a->nlimbs = 0; in mpi_alloc() [all …]
|
D | mpi-bit.c | 30 void mpi_normalize(MPI a) in mpi_normalize() argument 32 for (; a->nlimbs && !a->d[a->nlimbs - 1]; a->nlimbs--) in mpi_normalize() 39 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits() argument 43 mpi_normalize(a); in mpi_get_nbits() 45 if (a->nlimbs) { in mpi_get_nbits() 46 mpi_limb_t alimb = a->d[a->nlimbs - 1]; in mpi_get_nbits() 51 n = BITS_PER_MPI_LIMB - n + (a->nlimbs - 1) * BITS_PER_MPI_LIMB; in mpi_get_nbits()
|
D | mpicoder.c | 37 mpi_limb_t a; in mpi_read_raw_data() local 67 a = 0; in mpi_read_raw_data() 69 a <<= 8; in mpi_read_raw_data() 70 a |= *buffer++; in mpi_read_raw_data() 73 val->d[j - 1] = a; in mpi_read_raw_data() 85 mpi_limb_t a; in mpi_read_from_buffer() local 110 a = 0; in mpi_read_from_buffer() 118 a <<= 8; in mpi_read_from_buffer() 119 a |= *buffer++; in mpi_read_from_buffer() 122 val->d[j - 1] = a; in mpi_read_from_buffer() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-debug.h | 54 #define IWL_ERR_DEV(d, f, a...) \ argument 57 __iwl_err((d), false, false, f, ## a); \ 59 #define IWL_ERR(m, f, a...) \ argument 60 IWL_ERR_DEV((m)->dev, f, ## a) 61 #define IWL_WARN(m, f, a...) \ argument 64 __iwl_warn((m)->dev, f, ## a); \ 66 #define IWL_INFO(m, f, a...) \ argument 69 __iwl_info((m)->dev, f, ## a); \ 71 #define IWL_CRIT(m, f, a...) \ argument 74 __iwl_crit((m)->dev, f, ## a); \ [all …]
|
/linux-4.1.27/net/ceph/crush/ |
D | hash.c | 10 #define crush_hashmix(a, b, c) do { \ argument 11 a = a-b; a = a-c; a = a^(c>>13); \ 12 b = b-c; b = b-a; b = b^(a<<8); \ 13 c = c-a; c = c-b; c = c^(b>>13); \ 14 a = a-b; a = a-c; a = a^(c>>12); \ 15 b = b-c; b = b-a; b = b^(a<<16); \ 16 c = c-a; c = c-b; c = c^(b>>5); \ 17 a = a-b; a = a-c; a = a^(c>>3); \ 18 b = b-c; b = b-a; b = b^(a<<10); \ 19 c = c-a; c = c-b; c = c^(b>>15); \ [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | addrspace.h | 28 #define KSEGX(a) (((unsigned long)(a)) & 0xe0000000) argument 30 #define KSEGX(a) ((a) & 0xe0000000) argument 37 #define PHYSADDR(a) (((unsigned long)(a)) & 0x1fffffff) argument 39 #define PHYSADDR(a) ((a) & 0x1fffffff) argument 46 #define KSEG0ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG0)) argument 47 #define KSEG1ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG1)) argument 48 #define KSEG2ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG2)) argument 49 #define KSEG3ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG3)) argument 51 #define KSEG0ADDR(a) (((a) & 0x1fffffff) | KSEG0) argument 52 #define KSEG1ADDR(a) (((a) & 0x1fffffff) | KSEG1) argument [all …]
|
D | bitops.h | 47 volatile __u32 *a = addr; in set_bit() local 51 a += (nr >> 5); in set_bit() 61 : "r" (a), "r" (mask) in set_bit() 83 volatile __u32 *a = addr; in clear_bit() local 87 a += (nr >> 5); in clear_bit() 98 : "r" (a), "r" (~mask) in clear_bit() 119 volatile __u32 *a = addr; in change_bit() local 123 a += (nr >> 5); in change_bit() 133 : "r" (a), "r" (mask) in change_bit() 153 volatile __u32 *a = addr; in test_and_set_bit() local [all …]
|
/linux-4.1.27/net/ceph/ |
D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
/linux-4.1.27/include/linux/ |
D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ 46 #define __jhash_final(a, b, c) \ argument 49 a ^= c; a -= rol32(c, 11); \ 50 b ^= a; b -= rol32(a, 25); \ [all …]
|
D | jiffies.h | 101 #define time_after(a,b) \ argument 102 (typecheck(unsigned long, a) && \ 104 ((long)((b) - (a)) < 0)) 105 #define time_before(a,b) time_after(b,a) argument 107 #define time_after_eq(a,b) \ argument 108 (typecheck(unsigned long, a) && \ 110 ((long)((a) - (b)) >= 0)) 111 #define time_before_eq(a,b) time_after_eq(b,a) argument 116 #define time_in_range(a,b,c) \ argument 117 (time_after_eq(a,b) && \ [all …]
|
D | mpi.h | 60 #define mpi_get_nlimbs(a) ((a)->nlimbs) argument 61 #define mpi_is_neg(a) ((a)->sign) argument 66 MPI mpi_alloc_like(MPI a); 67 void mpi_free(MPI a); 68 int mpi_resize(MPI a, unsigned nlimbs); 69 int mpi_copy(MPI *copy, const MPI a); 70 void mpi_clear(MPI a); 74 void mpi_m_check(MPI a); 75 void mpi_swap(MPI a, MPI b); 82 u32 mpi_get_keyid(MPI a, u32 *keyid); [all …]
|
D | capability.h | 101 #define CAP_BOP_ALL(c, a, b, OP) \ argument 105 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \ 109 #define CAP_UOP_ALL(c, a, OP) \ argument 113 c.cap[__capi] = OP a.cap[__capi]; \ 117 static inline kernel_cap_t cap_combine(const kernel_cap_t a, in cap_combine() argument 121 CAP_BOP_ALL(dest, a, b, |); in cap_combine() 125 static inline kernel_cap_t cap_intersect(const kernel_cap_t a, in cap_intersect() argument 129 CAP_BOP_ALL(dest, a, b, &); in cap_intersect() 133 static inline kernel_cap_t cap_drop(const kernel_cap_t a, in cap_drop() argument 137 CAP_BOP_ALL(dest, a, drop, &~); in cap_drop() [all …]
|
D | etherdevice.h | 73 __be16 *a = (__be16 *)addr; in is_link_local_ether_addr() local 79 ((a[2] ^ b[2]) & m)) == 0; in is_link_local_ether_addr() 81 return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | ((a[2] ^ b[2]) & m)) == 0; in is_link_local_ether_addr() 237 u16 *a = (u16 *)dst; in ether_addr_copy() 240 a[0] = b[0]; in ether_addr_copy() 241 a[1] = b[1]; in ether_addr_copy() 242 a[2] = b[2]; in ether_addr_copy() 278 const u16 *a = (const u16 *)addr1; in ether_addr_equal() 281 return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) == 0; in ether_addr_equal() 373 static inline unsigned long compare_ether_header(const void *a, const void *b) in compare_ether_header() argument [all …]
|
/linux-4.1.27/lib/ |
D | md5.c | 15 u32 a, b, c, d; in md5_transform() local 17 a = hash[0]; in md5_transform() 22 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 23 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 24 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 25 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 26 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 27 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 28 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 29 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
D | halfmd4.c | 16 #define ROUND(f, a, b, c, d, x, s) \ argument 17 (a += f(b, c, d) + x, a = (a << s) | (a >> (32 - s))) 27 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in half_md4_transform() local 30 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 31 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() 32 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform() 33 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform() 34 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform() 35 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform() 36 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform() [all …]
|
D | sort.c | 11 static void u32_swap(void *a, void *b, int size) in u32_swap() argument 13 u32 t = *(u32 *)a; in u32_swap() 14 *(u32 *)a = *(u32 *)b; in u32_swap() 18 static void generic_swap(void *a, void *b, int size) in generic_swap() argument 23 t = *(char *)a; in generic_swap() 24 *(char *)a++ = *(char *)b; in generic_swap() 90 int cmpint(const void *a, const void *b) 92 return *(int *)a - *(int *)b; 97 int *a, i, r = 1; 99 a = kmalloc(1000 * sizeof(int), GFP_KERNEL); [all …]
|
D | list_sort.c | 20 int (*cmp)(void *priv, struct list_head *a, in merge() argument 22 struct list_head *a, struct list_head *b) in merge() 26 while (a && b) { in merge() 28 if ((*cmp)(priv, a, b) <= 0) { in merge() 29 tail->next = a; in merge() 30 a = a->next; in merge() 37 tail->next = a?:b; in merge() 49 int (*cmp)(void *priv, struct list_head *a, in merge_and_restore_back_links() argument 52 struct list_head *a, struct list_head *b) in merge_and_restore_back_links() 57 while (a && b) { in merge_and_restore_back_links() [all …]
|
D | lcm.c | 7 unsigned long lcm(unsigned long a, unsigned long b) in lcm() argument 9 if (a && b) in lcm() 10 return (a / gcd(a, b)) * b; in lcm() 16 unsigned long lcm_not_zero(unsigned long a, unsigned long b) in lcm_not_zero() argument 18 unsigned long l = lcm(a, b); in lcm_not_zero() 23 return (b ? : a); in lcm_not_zero()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | addrspace.h | 29 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) argument 35 #define P1SEGADDR(a) \ argument 36 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P1SEG)) 37 #define P2SEGADDR(a) \ argument 38 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P2SEG)) 39 #define P3SEGADDR(a) \ argument 40 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P3SEG)) 41 #define P4SEGADDR(a) \ argument 42 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P4SEG)) 47 #define P1SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument [all …]
|
D | bitops-llsc.h | 7 volatile unsigned int *a = addr; in set_bit() local 10 a += nr >> 5; in set_bit() 20 : "r" (a), "r" (mask) in set_bit() 28 volatile unsigned int *a = addr; in clear_bit() local 31 a += nr >> 5; in clear_bit() 41 : "r" (a), "r" (~mask) in clear_bit() 49 volatile unsigned int *a = addr; in change_bit() local 52 a += nr >> 5; in change_bit() 62 : "r" (a), "r" (mask) in change_bit() 70 volatile unsigned int *a = addr; in test_and_set_bit() local [all …]
|
D | bitops-grb.h | 7 volatile unsigned int *a = addr; in set_bit() local 10 a += nr >> 5; in set_bit() 23 "+r" (a) in set_bit() 31 volatile unsigned int *a = addr; in clear_bit() local 34 a += nr >> 5; in clear_bit() 46 "+r" (a) in clear_bit() 54 volatile unsigned int *a = addr; in change_bit() local 57 a += nr >> 5; in change_bit() 69 "+r" (a) in change_bit() 77 volatile unsigned int *a = addr; in test_and_set_bit() local [all …]
|
D | io.h | 28 #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile u8 __force *)(a) = (v)) argument 29 #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile u16 __force *)(a) = (v)) argument 30 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile u32 __force *)(a) = (v)) argument 31 #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) argument 33 #define __raw_readb(a) (__chk_io_ptr(a), *(volatile u8 __force *)(a)) argument 34 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile u16 __force *)(a)) argument 35 #define __raw_readl(a) (__chk_io_ptr(a), *(volatile u32 __force *)(a)) argument 36 #define __raw_readq(a) (__chk_io_ptr(a), *(volatile u64 __force *)(a)) argument 48 #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; }) argument 49 #define readw(a) ({ u16 r_ = readw_relaxed(a); rmb(); r_; }) argument [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | device.h | 40 #define nvxx_device(a) nv_device(nvxx_object((a))) argument 41 #define nvxx_bios(a) nvkm_bios(nvxx_device(a)) argument 42 #define nvxx_fb(a) nvkm_fb(nvxx_device(a)) argument 43 #define nvxx_mmu(a) nvkm_mmu(nvxx_device(a)) argument 44 #define nvxx_bar(a) nvkm_bar(nvxx_device(a)) argument 45 #define nvxx_gpio(a) nvkm_gpio(nvxx_device(a)) argument 46 #define nvxx_clk(a) nvkm_clk(nvxx_device(a)) argument 47 #define nvxx_i2c(a) nvkm_i2c(nvxx_device(a)) argument 48 #define nvxx_timer(a) nvkm_timer(nvxx_device(a)) argument 49 #define nvxx_wait(a,b,c,d) nv_wait(nvxx_timer(a), (b), (c), (d)) argument [all …]
|
D | object.h | 37 #define nvif_object(a) (a)->object argument 41 #define nvif_rd(a,b,c) ({ \ argument 42 struct nvif_object *_object = nvif_object(a); \ 50 #define nvif_wr(a,b,c,d) ({ \ argument 51 struct nvif_object *_object = nvif_object(a); \ 57 #define nvif_rd08(a,b) ({ u8 _v = nvif_rd((a), 8, (b)); _v; }) argument 58 #define nvif_rd16(a,b) ({ u16 _v = nvif_rd((a), 16, (b)); _v; }) argument 59 #define nvif_rd32(a,b) ({ u32 _v = nvif_rd((a), 32, (b)); _v; }) argument 60 #define nvif_wr08(a,b,c) nvif_wr((a), 8, (b), (u8)(c)) argument 61 #define nvif_wr16(a,b,c) nvif_wr((a), 16, (b), (u16)(c)) argument [all …]
|
/linux-4.1.27/crypto/ |
D | memneq.c | 68 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic() argument 74 neq |= *(unsigned long *)a ^ *(unsigned long *)b; in __crypto_memneq_generic() 76 a += sizeof(unsigned long); in __crypto_memneq_generic() 82 neq |= *(unsigned char *)a ^ *(unsigned char *)b; in __crypto_memneq_generic() 84 a += 1; in __crypto_memneq_generic() 92 static inline unsigned long __crypto_memneq_16(const void *a, const void *b) in __crypto_memneq_16() argument 98 neq |= *(unsigned long *)(a) ^ *(unsigned long *)(b); in __crypto_memneq_16() 100 neq |= *(unsigned long *)(a+8) ^ *(unsigned long *)(b+8); in __crypto_memneq_16() 103 neq |= *(unsigned int *)(a) ^ *(unsigned int *)(b); in __crypto_memneq_16() 105 neq |= *(unsigned int *)(a+4) ^ *(unsigned int *)(b+4); in __crypto_memneq_16() [all …]
|
D | des_generic.c | 617 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 634 unsigned long a, b, c, d, w; in des_ekey() local 640 a = k[7]; a &= 0x0e; a <<= 4; a |= k[3] & 0x1e; a = pc1[a]; in des_ekey() 642 pe[15 * 2 + 0] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey() 643 pe[14 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 644 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 645 pe[12 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 646 pe[11 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 647 pe[10 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 648 pe[ 9 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() [all …]
|
D | md4.c | 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 86 u32 a, b, c, d; in md4_transform() local 88 a = hash[0]; in md4_transform() 93 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 94 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 95 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 96 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 97 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
D | sha256_generic.c | 57 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 70 a=state[0]; b=state[1]; c=state[2]; d=state[3]; in sha256_transform() 75 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha256_transform() 77 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha256_transform() 79 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha256_transform() 81 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha256_transform() 82 t1 = d + e1(a) + Ch(a,b,c) + 0x3956c25b + W[ 4]; in sha256_transform() 84 t1 = c + e1(h) + Ch(h,a,b) + 0x59f111f1 + W[ 5]; in sha256_transform() 86 t1 = b + e1(g) + Ch(g,h,a) + 0x923f82a4 + W[ 6]; in sha256_transform() 88 t1 = a + e1(f) + Ch(f,g,h) + 0xab1c5ed5 + W[ 7]; in sha256_transform() [all …]
|
D | twofish_generic.c | 54 #define G1(a) \ argument 55 (ctx->s[0][(a) & 0xFF]) ^ (ctx->s[1][((a) >> 8) & 0xFF]) \ 56 ^ (ctx->s[2][((a) >> 16) & 0xFF]) ^ (ctx->s[3][(a) >> 24]) 67 #define ENCROUND(n, a, b, c, d) \ argument 68 x = G1 (a); y = G2 (b); \ 74 #define DECROUND(n, a, b, c, d) \ argument 75 x = G1 (a); y = G2 (b); \ 86 ENCROUND (2 * (n), a, b, c, d); \ 87 ENCROUND (2 * (n) + 1, c, d, a, b) 90 DECROUND (2 * (n) + 1, c, d, a, b); \ [all …]
|
D | tgr192.c | 38 u64 a, b, c; member 403 u64 a = *ra; in tgr192_round() local 408 a -= sbox1[c & 0xff] ^ sbox2[(c >> 16) & 0xff] in tgr192_round() 414 *ra = a; in tgr192_round() 422 u64 a = *ra; in tgr192_pass() local 426 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass() 427 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass() 428 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass() 429 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass() 430 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass() [all …]
|
D | twofish_common.c | 482 #define CALC_S(a, b, c, d, i, w, x, y, z) \ argument 485 (a) ^= exp_to_poly[tmp + (w)]; \ 497 #define CALC_SB_2(i, a, b) \ argument 498 ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ 500 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 505 #define CALC_SB192_2(i, a, b) \ argument 508 ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \ 509 ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl]; 513 #define CALC_SB256_2(i, a, b) \ argument 515 ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \ [all …]
|
/linux-4.1.27/arch/arm/nwfpe/ |
D | softfloat.c | 113 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac() argument 116 return a & 0x007FFFFF; in extractFloat32Frac() 125 INLINE int16 extractFloat32Exp( float32 a ) in extractFloat32Exp() argument 128 return ( a>>23 ) & 0xFF; in extractFloat32Exp() 138 INLINE flag extractFloat32Sign( float32 a ) 141 return a>>31; 294 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() argument 297 return a & LIT64( 0x000FFFFFFFFFFFFF ); in extractFloat64Frac() 306 INLINE int16 extractFloat64Exp( float64 a ) in extractFloat64Exp() argument 309 return ( a>>52 ) & 0x7FF; in extractFloat64Exp() [all …]
|
D | softfloat-specialize | 12 of this code was written as part of a project to build a fixed-point vector 43 defined here if desired. It is currently not possible for such a trap to 44 substitute a result value. If traps are not implemented, this routine 71 The pattern for a default generated single-precision NaN. 78 Returns 1 if the single-precision floating-point value `a' is a NaN; 82 flag float32_is_nan( float32 a ) 85 return ( 0xFF000000 < (bits32) ( a<<1 ) ); 91 Returns 1 if the single-precision floating-point value `a' is a signaling 95 flag float32_is_signaling_nan( float32 a ) 98 return ( ( ( a>>22 ) & 0x1FF ) == 0x1FE ) && ( a & 0x003FFFFF ); [all …]
|
D | softfloat.h | 233 static inline flag extractFloat32Sign(float32 a) in extractFloat32Sign() argument 235 return a >> 31; in extractFloat32Sign() 238 static inline flag float32_eq_nocheck(float32 a, float32 b) in float32_eq_nocheck() argument 240 return (a == b) || ((bits32) ((a | b) << 1) == 0); in float32_eq_nocheck() 243 static inline flag float32_lt_nocheck(float32 a, float32 b) in float32_lt_nocheck() argument 247 aSign = extractFloat32Sign(a); in float32_lt_nocheck() 250 return aSign && ((bits32) ((a | b) << 1) != 0); in float32_lt_nocheck() 251 return (a != b) && (aSign ^ (a < b)); in float32_lt_nocheck() 254 static inline flag extractFloat64Sign(float64 a) in extractFloat64Sign() argument 256 return a >> 63; in extractFloat64Sign() [all …]
|
/linux-4.1.27/arch/mips/include/asm/ |
D | addrspace.h | 48 #define KSEGX(a) ((_ACAST32_ (a)) & 0xe0000000) argument 53 #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) argument 54 #define XPHYSADDR(a) ((_ACAST64_(a)) & \ argument 73 #define CKSEG0ADDR(a) (CPHYSADDR(a) | CKSEG0) argument 74 #define CKSEG1ADDR(a) (CPHYSADDR(a) | CKSEG1) argument 75 #define CKSEG2ADDR(a) (CPHYSADDR(a) | CKSEG2) argument 76 #define CKSEG3ADDR(a) (CPHYSADDR(a) | CKSEG3) argument 80 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 81 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 82 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument [all …]
|
D | local.h | 13 atomic_long_t a; member 18 #define local_read(l) atomic_long_read(&(l)->a) 19 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) 21 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) 22 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) 23 #define local_inc(l) atomic_long_inc(&(l)->a) 24 #define local_dec(l) atomic_long_dec(&(l)->a) 44 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_add_return() 45 : "Ir" (i), "m" (l->a.counter) in local_add_return() 58 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_add_return() [all …]
|
/linux-4.1.27/firmware/keyspan_pda/ |
D | xircom_pgs.S | 189 .org 0x100H ; wants to be on a page boundary 221 clr a 222 mov tx_ring_in, a 223 mov tx_ring_out, a 224 mov rx_ring_in, a 225 mov rx_ring_out, a 226 mov tx_unthrottle_threshold, a 232 mov a, #0xfe 235 movx @dptr, a 239 mov a, #0xfd [all …]
|
D | keyspan_pda.S | 187 .org 0x100H ; wants to be on a page boundary 219 clr a 220 mov tx_ring_in, a 221 mov tx_ring_out, a 222 mov rx_ring_in, a 223 mov rx_ring_out, a 224 mov tx_unthrottle_threshold, a 230 mov a, #0xfe 233 movx @dptr, a 237 mov a, #0xfd [all …]
|
/linux-4.1.27/include/net/ |
D | 6lowpan.h | 68 #define is_addr_mac_addr_based(a, m) \ argument 69 ((((a)->s6_addr[8]) == (((m)[0]) ^ 0x02)) && \ 70 (((a)->s6_addr[9]) == (m)[1]) && \ 71 (((a)->s6_addr[10]) == (m)[2]) && \ 72 (((a)->s6_addr[11]) == (m)[3]) && \ 73 (((a)->s6_addr[12]) == (m)[4]) && \ 74 (((a)->s6_addr[13]) == (m)[5]) && \ 75 (((a)->s6_addr[14]) == (m)[6]) && \ 76 (((a)->s6_addr[15]) == (m)[7])) 82 #define lowpan_is_iid_16_bit_compressable(a) \ argument [all …]
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | io_trivial.h | 9 IO_CONCAT(__IO_PREFIX,ioread8)(void __iomem *a) in IO_CONCAT() 11 return __kernel_ldbu(*(volatile u8 __force *)a); in IO_CONCAT() 15 IO_CONCAT(__IO_PREFIX,ioread16)(void __iomem *a) in IO_CONCAT() 17 return __kernel_ldwu(*(volatile u16 __force *)a); in IO_CONCAT() 21 IO_CONCAT(__IO_PREFIX,iowrite8)(u8 b, void __iomem *a) in IO_CONCAT() 23 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 27 IO_CONCAT(__IO_PREFIX,iowrite16)(u16 b, void __iomem *a) in IO_CONCAT() 29 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() 35 IO_CONCAT(__IO_PREFIX,ioread32)(void __iomem *a) in IO_CONCAT() 37 return *(volatile u32 __force *)a; in IO_CONCAT() [all …]
|
D | vga.h | 46 #define vga_readb(a) readb((u8 __iomem *)(a)) argument 47 #define vga_writeb(v,a) writeb(v, (u8 __iomem *)(a)) argument 55 # define __is_port_vga(a) \ argument 56 (((a) >= 0x3b0) && ((a) < 0x3e0) && \ 57 ((a) != 0x3b3) && ((a) != 0x3d3)) 59 # define __is_mem_vga(a) \ argument 60 (((a) >= 0xa0000) && ((a) <= 0xc0000)) 62 # define FIXUP_IOADDR_VGA(a) do { \ argument 63 if (pci_vga_hose && __is_port_vga(a)) \ 64 (a) += pci_vga_hose->io_space->start; \ [all …]
|
D | local.h | 9 atomic_long_t a; member 13 #define local_read(l) atomic_long_read(&(l)->a) 14 #define local_set(l,i) atomic_long_set(&(l)->a, (i)) 15 #define local_inc(l) atomic_long_inc(&(l)->a) 16 #define local_dec(l) atomic_long_dec(&(l)->a) 17 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) 18 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) 32 :"=&r" (temp), "=m" (l->a.counter), "=&r" (result) in local_add_return() 33 :"Ir" (i), "m" (l->a.counter) : "memory"); in local_add_return() 49 :"=&r" (temp), "=m" (l->a.counter), "=&r" (result) in local_sub_return() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | ppc-opcode.h | 254 #define ___PPC_RA(a) (((a) & 0x1f) << 16) argument 258 #define __PPC_RA(a) ___PPC_RA(__REG_##a) argument 259 #define __PPC_RA0(a) ___PPC_RA(__REGA0_##a) argument 263 #define __PPC_XA(a) ((((a) & 0x1f) << 16) | (((a) & 0x20) >> 3)) argument 301 #define PPC_DCBAL(a, b) stringify_in_c(.long PPC_INST_DCBAL | \ argument 302 __PPC_RA(a) | __PPC_RB(b)) 303 #define PPC_DCBZL(a, b) stringify_in_c(.long PPC_INST_DCBZL | \ argument 304 __PPC_RA(a) | __PPC_RB(b)) 305 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ argument 306 ___PPC_RT(t) | ___PPC_RA(a) | \ [all …]
|
D | local.h | 9 atomic_long_t a; member 14 #define local_read(l) atomic_long_read(&(l)->a) 15 #define local_set(l,i) atomic_long_set(&(l)->a, (i)) 17 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) 18 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) 19 #define local_inc(l) atomic_long_inc(&(l)->a) 20 #define local_dec(l) atomic_long_dec(&(l)->a) 22 static __inline__ long local_add_return(long a, local_t *l) in local_add_return() argument 33 : "r" (a), "r" (&(l->a.counter)) in local_add_return() 39 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0) argument [all …]
|
D | io-defs.h | 29 DEF_PCI_AC_NORET(readsb, (const PCI_IO_ADDR a, void *b, unsigned long c), 30 (a, b, c), mem, a) 31 DEF_PCI_AC_NORET(readsw, (const PCI_IO_ADDR a, void *b, unsigned long c), 32 (a, b, c), mem, a) 33 DEF_PCI_AC_NORET(readsl, (const PCI_IO_ADDR a, void *b, unsigned long c), 34 (a, b, c), mem, a) 35 DEF_PCI_AC_NORET(writesb, (PCI_IO_ADDR a, const void *b, unsigned long c), 36 (a, b, c), mem, a) 37 DEF_PCI_AC_NORET(writesw, (PCI_IO_ADDR a, const void *b, unsigned long c), 38 (a, b, c), mem, a) [all …]
|
D | ide.h | 12 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) argument 13 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) argument 14 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) argument 15 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) argument
|
D | atomic.h | 30 static __inline__ void atomic_##op(int a, atomic_t *v) \ 41 : "r" (a), "r" (&v->counter) \ 46 static __inline__ int atomic_##op##_return(int a, atomic_t *v) \ 59 : "r" (a), "r" (&v->counter) \ 74 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) in ATOMIC_OPS() argument 166 static __inline__ int __atomic_add_unless(atomic_t *v, int a, int u) in __atomic_add_unless() argument 183 : "r" (&v->counter), "r" (a), "r" (u) in __atomic_add_unless() 220 #define atomic_sub_and_test(a, v) (atomic_sub_return((a), (v)) == 0) argument 270 static __inline__ void atomic64_##op(long a, atomic64_t *v) \ 280 : "r" (a), "r" (&v->counter) \ [all …]
|
/linux-4.1.27/include/asm-generic/ |
D | local64.h | 24 local_t a; member 29 #define local64_read(l) local_read(&(l)->a) 30 #define local64_set(l,i) local_set((&(l)->a),(i)) 31 #define local64_inc(l) local_inc(&(l)->a) 32 #define local64_dec(l) local_dec(&(l)->a) 33 #define local64_add(i,l) local_add((i),(&(l)->a)) 34 #define local64_sub(i,l) local_sub((i),(&(l)->a)) 36 #define local64_sub_and_test(i, l) local_sub_and_test((i), (&(l)->a)) 37 #define local64_dec_and_test(l) local_dec_and_test(&(l)->a) 38 #define local64_inc_and_test(l) local_inc_and_test(&(l)->a) [all …]
|
D | local.h | 23 atomic_long_t a; member 28 #define local_read(l) atomic_long_read(&(l)->a) 29 #define local_set(l,i) atomic_long_set((&(l)->a),(i)) 30 #define local_inc(l) atomic_long_inc(&(l)->a) 31 #define local_dec(l) atomic_long_dec(&(l)->a) 32 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) 33 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) 35 #define local_sub_and_test(i, l) atomic_long_sub_and_test((i), (&(l)->a)) 36 #define local_dec_and_test(l) atomic_long_dec_and_test(&(l)->a) 37 #define local_inc_and_test(l) atomic_long_inc_and_test(&(l)->a) [all …]
|
/linux-4.1.27/arch/sparc/crypto/ |
D | opcodes.h | 17 #define CRC32C(a,b,c) \ argument 18 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c)); 29 #define AES_EROUND01(a,b,c,d) \ argument 30 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 31 #define AES_EROUND23(a,b,c,d) \ argument 32 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 33 #define AES_DROUND01(a,b,c,d) \ argument 34 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 35 #define AES_DROUND23(a,b,c,d) \ argument 36 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d)); [all …]
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | io.h | 50 #define out_be32(a, v) __raw_writel((v), (void __iomem __force *)(a)) argument 51 #define out_be16(a, v) __raw_writew((v), (a)) argument 53 #define in_be32(a) __raw_readl((const void __iomem __force *)(a)) argument 54 #define in_be16(a) __raw_readw(a) argument 56 #define writel_be(v, a) out_be32((__force unsigned *)a, v) argument 57 #define readl_be(a) in_be32((__force unsigned *)a) argument 60 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a)) argument 61 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a)) argument 63 #define in_le32(a) __le32_to_cpu(__raw_readl(a)) argument 64 #define in_le16(a) __le16_to_cpu(__raw_readw(a)) argument [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_nodeattrib.c | 39 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_set_default_node_attribues() local 41 a->dataout_timeout = NA_DATAOUT_TIMEOUT; in iscsit_set_default_node_attribues() 42 a->dataout_timeout_retries = NA_DATAOUT_TIMEOUT_RETRIES; in iscsit_set_default_node_attribues() 43 a->nopin_timeout = NA_NOPIN_TIMEOUT; in iscsit_set_default_node_attribues() 44 a->nopin_response_timeout = NA_NOPIN_RESPONSE_TIMEOUT; in iscsit_set_default_node_attribues() 45 a->random_datain_pdu_offsets = NA_RANDOM_DATAIN_PDU_OFFSETS; in iscsit_set_default_node_attribues() 46 a->random_datain_seq_offsets = NA_RANDOM_DATAIN_SEQ_OFFSETS; in iscsit_set_default_node_attribues() 47 a->random_r2t_offsets = NA_RANDOM_R2T_OFFSETS; in iscsit_set_default_node_attribues() 48 a->default_erl = tpg->tpg_attrib.default_erl; in iscsit_set_default_node_attribues() 55 struct iscsi_node_attrib *a = &acl->node_attrib; in iscsit_na_dataout_timeout() local [all …]
|
D | iscsi_target_tpg.c | 213 struct iscsi_tpg_attrib *a = &tpg->tpg_attrib; in iscsit_set_default_tpg_attribs() local 215 a->authentication = TA_AUTHENTICATION; in iscsit_set_default_tpg_attribs() 216 a->login_timeout = TA_LOGIN_TIMEOUT; in iscsit_set_default_tpg_attribs() 217 a->netif_timeout = TA_NETIF_TIMEOUT; in iscsit_set_default_tpg_attribs() 218 a->default_cmdsn_depth = TA_DEFAULT_CMDSN_DEPTH; in iscsit_set_default_tpg_attribs() 219 a->generate_node_acls = TA_GENERATE_NODE_ACLS; in iscsit_set_default_tpg_attribs() 220 a->cache_dynamic_acls = TA_CACHE_DYNAMIC_ACLS; in iscsit_set_default_tpg_attribs() 221 a->demo_mode_write_protect = TA_DEMO_MODE_WRITE_PROTECT; in iscsit_set_default_tpg_attribs() 222 a->prod_mode_write_protect = TA_PROD_MODE_WRITE_PROTECT; in iscsit_set_default_tpg_attribs() 223 a->demo_mode_discovery = TA_DEMO_MODE_DISCOVERY; in iscsit_set_default_tpg_attribs() [all …]
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | acmacros.h | 203 #define ACPI_DIV_2(a) _ACPI_DIV(a, 1) argument 204 #define ACPI_MUL_2(a) _ACPI_MUL(a, 1) argument 205 #define ACPI_MOD_2(a) _ACPI_MOD(a, 2) argument 207 #define ACPI_DIV_4(a) _ACPI_DIV(a, 2) argument 208 #define ACPI_MUL_4(a) _ACPI_MUL(a, 2) argument 209 #define ACPI_MOD_4(a) _ACPI_MOD(a, 4) argument 211 #define ACPI_DIV_8(a) _ACPI_DIV(a, 3) argument 212 #define ACPI_MUL_8(a) _ACPI_MUL(a, 3) argument 213 #define ACPI_MOD_8(a) _ACPI_MOD(a, 8) argument 215 #define ACPI_DIV_16(a) _ACPI_DIV(a, 4) argument [all …]
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/arch/mips/lib/ |
D | bitops.c | 22 unsigned long *a = (unsigned long *)addr; in __mips_set_bit() local 27 a += nr >> SZLONG_LOG; in __mips_set_bit() 30 *a |= mask; in __mips_set_bit() 44 unsigned long *a = (unsigned long *)addr; in __mips_clear_bit() local 49 a += nr >> SZLONG_LOG; in __mips_clear_bit() 52 *a &= ~mask; in __mips_clear_bit() 66 unsigned long *a = (unsigned long *)addr; in __mips_change_bit() local 71 a += nr >> SZLONG_LOG; in __mips_change_bit() 74 *a ^= mask; in __mips_change_bit() 89 unsigned long *a = (unsigned long *)addr; in __mips_test_and_set_bit() local [all …]
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/arch/mn10300/unit-asb2303/include/unit/ |
D | smc91111.h | 27 #define SMC_inb(a, r) inb((unsigned long) ((a) + (r))) argument 28 #define SMC_outb(v, a, r) outb(v, (unsigned long) ((a) + (r))) argument 32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r))) argument 33 #define SMC_outw(v, a, r) outw(v, (unsigned long) ((a) + (r))) argument 34 #define SMC_insw(a, r, p, l) insw((unsigned long) ((a) + (r)), (p), (l)) argument 35 #define SMC_outsw(a, r, p, l) outsw((unsigned long) ((a) + (r)), (p), (l)) argument 39 #define SMC_inl(a, r) inl((unsigned long) ((a) + (r))) argument 40 #define SMC_outl(v, a, r) outl(v, (unsigned long) ((a) + (r))) argument 41 #define SMC_insl(a, r, p, l) insl((unsigned long) ((a) + (r)), (p), (l)) argument 42 #define SMC_outsl(a, r, p, l) outsl((unsigned long) ((a) + (r)), (p), (l)) argument
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | addrspace.h | 24 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) argument 27 #define PHYSADDR(a) (((unsigned long)(a)) & 0x1fffffff) argument 32 #define P1SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \ argument 34 #define P2SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \ argument 36 #define P3SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \ argument 38 #define P4SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \ argument
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | printk.h | 10 #define nv_printk(o,l,f,a...) do { \ argument 12 nv_printk_(nv_object(o), NV_DBG_##l, f, ##a); \ 15 #define nv_fatal(o,f,a...) nv_printk((o), FATAL, f, ##a) argument 16 #define nv_error(o,f,a...) nv_printk((o), ERROR, f, ##a) argument 17 #define nv_warn(o,f,a...) nv_printk((o), WARN, f, ##a) argument 18 #define nv_info(o,f,a...) nv_printk((o), INFO, f, ##a) argument 19 #define nv_debug(o,f,a...) nv_printk((o), DEBUG, f, ##a) argument 20 #define nv_trace(o,f,a...) nv_printk((o), TRACE, f, ##a) argument 21 #define nv_spam(o,f,a...) nv_printk((o), SPAM, f, ##a) argument 22 #define nv_ioctl(o,f,a...) nv_trace(nvkm_client(o), "ioctl: "f, ##a) argument [all …]
|
/linux-4.1.27/sound/pci/hda/ |
D | ca0132_regs.h | 363 #define X_RANGE_MAIN(a, s) \ argument 364 (((a)+((s)-1)*XRAM_XRAM_CHAN_INCR < X_END)) 365 #define X_RANGE_AUX(a, s) \ argument 366 (((a) >= X_END) && ((a)+((s)-1)*XRAM_XRAM_CHAN_INCR < AX_END)) 367 #define X_RANGE_EXT(a, s) \ argument 368 (((a)+((s)-1)*XRAM_XRAM_CHAN_INCR < X_EXT)) 369 #define X_RANGE_ALL(a, s) \ argument 370 (((a)+((s)-1)*XRAM_XRAM_CHAN_INCR < AX_END)) 372 #define Y_RANGE_MAIN(a, s) \ argument 373 (((a) >= YRAM_CHIP_OFFSET) && \ [all …]
|
D | hda_eld.c | 171 struct cea_sad *a, in hdmi_update_short_audio_desc() argument 178 a->rates = 0; in hdmi_update_short_audio_desc() 181 a->rates |= cea_sampling_frequencies[i + 1]; in hdmi_update_short_audio_desc() 183 a->channels = GRAB_BITS(buf, 0, 0, 3); in hdmi_update_short_audio_desc() 184 a->channels++; in hdmi_update_short_audio_desc() 186 a->sample_bits = 0; in hdmi_update_short_audio_desc() 187 a->max_bitrate = 0; in hdmi_update_short_audio_desc() 189 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc() 190 switch (a->format) { in hdmi_update_short_audio_desc() 199 a->sample_bits |= cea_sample_sizes[i + 1]; in hdmi_update_short_audio_desc() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | softfloat.c | 42 #define LIT64( a ) a##LL argument 71 bits64 extractFloat64Frac(float64 a); 72 flag extractFloat64Sign(float64 a); 73 int16 extractFloat64Exp(float64 a); 74 int16 extractFloat32Exp(float32 a); 75 flag extractFloat32Sign(float32 a); 76 bits32 extractFloat32Frac(float32 a); 78 void shift64RightJamming(bits64 a, int16 count, bits64 * zPtr); 80 void shift32RightJamming(bits32 a, int16 count, bits32 * zPtr); 81 float64 float64_sub(float64 a, float64 b); [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha256-avx-asm.S | 11 # This software is available to you under a choice of one of two 47 # This code schedules 1 block at a time, with 4 lanes per block 107 a = %eax define 141 # Rotate values of symbols a...h 150 b = a 151 a = TMP_ define 155 ## compute s0 four at a time and s1 two at a time 156 ## compute W[-16] + W[-7] 4 at a time 160 mov a, y1 # y1 = a 162 MY_ROR (22-13), y1 # y1 = a >> (22-13) [all …]
|
D | sha256-ssse3-asm.S | 11 # This software is available to you under a choice of one of two 99 a = %eax define 134 # Rotate values of symbols a...h 143 b = a 144 a = TMP_ define 148 ## compute s0 four at a time and s1 two at a time 149 ## compute W[-16] + W[-7] 4 at a time 153 mov a, y1 # y1 = a 155 ror $(22-13), y1 # y1 = a >> (22-13) 160 xor a, y1 # y1 = a ^ (a >> (22-13) [all …]
|
D | sha256-avx2-asm.S | 11 # This software is available to you under a choice of one of two 48 # This code schedules 2 blocks at a time, with 4 lanes per block 105 a = %eax define 144 # Rotate values of symbols a...h 154 b = a 155 a = TMP_ define 161 mov a, y3 # y3 = a # MAJA 166 or c, y3 # y3 = a|c # MAJA 169 rorx $13, a, T1 # T1 = a >> 13 # S0B 178 rorx $22, a, y1 # y1 = a >> 22 # S0A [all …]
|
D | sha512-avx2-asm.S | 12 # This software is available to you under a choice of one of two 49 # This code schedules 1 blocks at a time, with 4 lanes per block 86 a = %rax define 146 # Rotate symbols a..h right 155 b = a 156 a = TMP_ define 185 mov a, y3 # y3 = a # MAJA 189 or c, y3 # y3 = a|c # MAJA 191 rorx $34, a, T1 # T1 = a >> 34 # S0B 199 rorx $39, a, y1 # y1 = a >> 39 # S0A [all …]
|
/linux-4.1.27/security/smack/ |
D | smack.h | 228 struct common_audit_data a; member 369 static inline void smk_ad_init(struct smk_audit_info *a, const char *func, in smk_ad_init() argument 372 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 373 a->a.type = type; in smk_ad_init() 374 a->a.smack_audit_data = &a->sad; in smk_ad_init() 375 a->a.smack_audit_data->function = func; in smk_ad_init() 378 static inline void smk_ad_init_net(struct smk_audit_info *a, const char *func, in smk_ad_init_net() argument 381 smk_ad_init(a, func, type); in smk_ad_init_net() 383 a->a.u.net = net; in smk_ad_init_net() 386 static inline void smk_ad_setfield_u_tsk(struct smk_audit_info *a, in smk_ad_setfield_u_tsk() argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smc91x.h | 56 #define SMC_inb(a, r) readb((a) + (r)) argument 57 #define SMC_inw(a, r) readw((a) + (r)) argument 58 #define SMC_inl(a, r) readl((a) + (r)) argument 59 #define SMC_outb(v, a, r) writeb(v, (a) + (r)) argument 60 #define SMC_outl(v, a, r) writel(v, (a) + (r)) argument 61 #define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) argument 62 #define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l) argument 63 #define SMC_insl(a, r, p, l) readsl((a) + (r), p, l) argument 64 #define SMC_outsl(a, r, p, l) writesl((a) + (r), p, l) argument 86 #define SMC_inb(a, r) inb((a) + (r) - 0xa0000000) argument [all …]
|
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/ |
D | io.h | 10 # define ioswabb(a, x) (x) argument 11 # define ioswabw(a, x) (x) argument 12 # define ioswabl(a, x) (x) argument 13 # define __mem_ioswabb(a, x) (x) argument 14 # define __mem_ioswabw(a, x) swab16(x) argument 15 # define __mem_ioswabl(a, x) swab32(x) argument 20 # define ioswabb(a, x) (x) argument 21 # define ioswabw(a, x) (x) argument 22 # define ioswabl(a, x) swahw32(x) argument 23 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/net/sched/ |
D | act_api.c | 30 void tcf_hash_destroy(struct tc_action *a) in tcf_hash_destroy() argument 32 struct tcf_common *p = a->priv; in tcf_hash_destroy() 33 struct tcf_hashinfo *hinfo = a->ops->hinfo; in tcf_hash_destroy() 48 int __tcf_hash_release(struct tc_action *a, bool bind, bool strict) in __tcf_hash_release() argument 50 struct tcf_common *p = a->priv; in __tcf_hash_release() 61 if (a->ops->cleanup) in __tcf_hash_release() 62 a->ops->cleanup(a, bind); in __tcf_hash_release() 63 tcf_hash_destroy(a); in __tcf_hash_release() 73 struct tc_action *a) in tcf_dump_walker() argument 75 struct tcf_hashinfo *hinfo = a->ops->hinfo; in tcf_dump_walker() [all …]
|
/linux-4.1.27/arch/arm/mach-ebsa110/ |
D | io.c | 33 u32 ret, a = (u32 __force) addr; in __isamem_convert_addr() local 51 ret = (a & 0xf803fe) << 1; in __isamem_convert_addr() 52 ret |= (a & 0x03fc00) << 2; in __isamem_convert_addr() 56 if ((a & 0x20000) == (a & 0x40000) >> 1) in __isamem_convert_addr() 68 void __iomem *a = __isamem_convert_addr(addr); in __readb() local 72 ret = __raw_readl(a); in __readb() 74 ret = __raw_readb(a); in __readb() 80 void __iomem *a = __isamem_convert_addr(addr); in __readw() local 85 return __raw_readw(a); in __readw() 90 void __iomem *a = __isamem_convert_addr(addr); in __readl() local [all …]
|
/linux-4.1.27/include/media/ |
D | lm3646.h | 29 #define LM3646_TOTAL_FLASH_BRT_uA_TO_REG(a) \ argument 30 ((a) < LM3646_TOTAL_FLASH_BRT_MIN ? 0 : \ 31 ((((a) - LM3646_TOTAL_FLASH_BRT_MIN) / LM3646_TOTAL_FLASH_BRT_STEP))) 39 #define LM3646_TOTAL_TORCH_BRT_uA_TO_REG(a) \ argument 40 ((a) < LM3646_TOTAL_TORCH_BRT_MIN ? 0 : \ 41 ((((a) - LM3646_TOTAL_TORCH_BRT_MIN) / LM3646_TOTAL_TORCH_BRT_STEP))) 49 #define LM3646_LED1_FLASH_BRT_uA_TO_REG(a) \ argument 50 ((a) <= LM3646_LED1_FLASH_BRT_MIN ? 0 : \ 51 ((((a) - LM3646_LED1_FLASH_BRT_MIN) / LM3646_LED1_FLASH_BRT_STEP))+1) 59 #define LM3646_LED1_TORCH_BRT_uA_TO_REG(a) \ argument [all …]
|
D | lm3560.h | 39 #define LM3560_FLASH_BRT_uA_TO_REG(a) \ argument 40 ((a) < LM3560_FLASH_BRT_MIN ? 0 : \ 41 (((a) - LM3560_FLASH_BRT_MIN) / LM3560_FLASH_BRT_STEP)) 42 #define LM3560_FLASH_BRT_REG_TO_uA(a) \ argument 43 ((a) * LM3560_FLASH_BRT_STEP + LM3560_FLASH_BRT_MIN) 51 #define LM3560_FLASH_TOUT_ms_TO_REG(a) \ argument 52 ((a) < LM3560_FLASH_TOUT_MIN ? 0 : \ 53 (((a) - LM3560_FLASH_TOUT_MIN) / LM3560_FLASH_TOUT_STEP)) 54 #define LM3560_FLASH_TOUT_REG_TO_ms(a) \ argument 55 ((a) * LM3560_FLASH_TOUT_STEP + LM3560_FLASH_TOUT_MIN) [all …]
|
D | v4l2-ioctl.h | 125 struct v4l2_framebuffer *a); 127 const struct v4l2_framebuffer *a); 138 int (*vidioc_querystd) (struct file *file, void *fh, v4l2_std_id *a); 148 struct v4l2_output *a); 154 struct v4l2_queryctrl *a); 156 struct v4l2_query_ext_ctrl *a); 158 struct v4l2_control *a); 160 struct v4l2_control *a); 162 struct v4l2_ext_controls *a); 164 struct v4l2_ext_controls *a); [all …]
|
/linux-4.1.27/arch/x86/math-emu/ |
D | reg_add_sub.c | 28 int add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, 38 FPU_REG *a = &st(0); in FPU_add() local 42 u_char signa = getsign(a); in FPU_add() 47 expa = exponent(a); in FPU_add() 55 FPU_u_add(a, b, dest, control_w, signa, expa, expb); in FPU_add() 60 diff = a->sigh - b->sigh; /* This works only if the ms bits in FPU_add() 63 diff = a->sigl > b->sigl; in FPU_add() 65 diff = -(a->sigl < b->sigl); in FPU_add() 71 FPU_u_sub(a, b, dest, control_w, signa, in FPU_add() 75 FPU_u_sub(b, a, dest, control_w, signb, in FPU_add() [all …]
|
D | fpu_emu.h | 158 #define signbyte(a) (((u_char *)(a))[9]) argument 159 #define getsign(a) (signbyte(a) & 0x80) argument 160 #define setsign(a,b) { if (b) signbyte(a) |= 0x80; else signbyte(a) &= 0x7f; } argument 161 #define copysign(a,b) { if (getsign(a)) signbyte(b) |= 0x80; \ argument 163 #define changesign(a) { signbyte(a) ^= 0x80; } argument 164 #define setpositive(a) { signbyte(a) &= 0x7f; } argument 165 #define setnegative(a) { signbyte(a) |= 0x80; } argument 166 #define signpositive(a) ( (signbyte(a) & 0x80) == 0 ) argument 167 #define signnegative(a) (signbyte(a) & 0x80) argument
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
D | mangle-port.h | 30 # define ioswabb(a, x) (x) argument 31 # define __mem_ioswabb(a, x) (x) argument 32 # define ioswabw(a, x) le16_to_cpu(x) argument 33 # define __mem_ioswabw(a, x) (x) argument 34 # define ioswabl(a, x) le32_to_cpu(x) argument 35 # define __mem_ioswabl(a, x) (x) argument 36 # define ioswabq(a, x) le64_to_cpu(x) argument 37 # define __mem_ioswabq(a, x) (x) argument 41 # define ioswabb(a, x) (x) argument 42 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 251 #define LASSERT_ATOMIC_EQ(a, v) \ argument 253 LASSERTF(atomic_read(a) == v, \ 254 "value: %d\n", atomic_read((a))); \ 258 #define LASSERT_ATOMIC_NE(a, v) \ argument 260 LASSERTF(atomic_read(a) != v, \ 261 "value: %d\n", atomic_read((a))); \ 265 #define LASSERT_ATOMIC_LT(a, v) \ argument 267 LASSERTF(atomic_read(a) < v, \ 268 "value: %d\n", atomic_read((a))); \ 272 #define LASSERT_ATOMIC_LE(a, v) \ argument [all …]
|
/linux-4.1.27/fs/reiserfs/ |
D | hashes.c | 36 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); \ 49 u32 a, b, c, d; in keyed_hash() local 59 a = (u32) msg[0] | in keyed_hash() 77 a = (u32) msg[0] | in keyed_hash() 91 a = (u32) msg[0] | in keyed_hash() 102 a = (u32) msg[0] | in keyed_hash() 111 a = b = c = d = pad; in keyed_hash() 113 a <<= 8; in keyed_hash() 114 a |= msg[i]; in keyed_hash() 131 u32 a, c; in yura_hash() local [all …]
|
/linux-4.1.27/arch/powerpc/net/ |
D | bpf_jit.h | 97 #define PPC_ADDI(d, a, i) EMIT(PPC_INST_ADDI | ___PPC_RT(d) | \ argument 98 ___PPC_RA(a) | IMM_L(i)) 99 #define PPC_MR(d, a) PPC_OR(d, a, a) argument 101 #define PPC_ADDIS(d, a, i) EMIT(PPC_INST_ADDIS | \ argument 102 ___PPC_RS(d) | ___PPC_RA(a) | IMM_L(i)) 174 #define PPC_CMPWI(a, i) EMIT(PPC_INST_CMPWI | ___PPC_RA(a) | IMM_L(i)) argument 175 #define PPC_CMPDI(a, i) EMIT(PPC_INST_CMPDI | ___PPC_RA(a) | IMM_L(i)) argument 176 #define PPC_CMPLWI(a, i) EMIT(PPC_INST_CMPLWI | ___PPC_RA(a) | IMM_L(i)) argument 177 #define PPC_CMPLW(a, b) EMIT(PPC_INST_CMPLW | ___PPC_RA(a) | ___PPC_RB(b)) argument 179 #define PPC_SUB(d, a, b) EMIT(PPC_INST_SUB | ___PPC_RT(d) | \ argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/ |
D | mangle-port.h | 52 # define ioswabb(a, x) (x) argument 53 # define __mem_ioswabb(a, x) (x) argument 54 # define ioswabw(a, x) le16_to_cpu(x) argument 55 # define __mem_ioswabw(a, x) (x) argument 56 # define ioswabl(a, x) le32_to_cpu(x) argument 57 # define __mem_ioswabl(a, x) (x) argument 58 # define ioswabq(a, x) le64_to_cpu(x) argument 59 # define __mem_ioswabq(a, x) (x) argument 63 # define ioswabb(a, x) (x) argument 64 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/arch/x86/purgatory/ |
D | sha256.c | 50 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 63 a = state[0]; b = state[1]; c = state[2]; d = state[3]; in sha256_transform() 68 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform() 70 t2 = e0(h) + Maj(h, a, b); c += t1; g = t1 + t2; in sha256_transform() 72 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha256_transform() 74 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform() 75 t1 = d + e1(a) + Ch(a, b, c) + 0x3956c25b + W[4]; in sha256_transform() 77 t1 = c + e1(h) + Ch(h, a, b) + 0x59f111f1 + W[5]; in sha256_transform() 79 t1 = b + e1(g) + Ch(g, h, a) + 0x923f82a4 + W[6]; in sha256_transform() 81 t1 = a + e1(f) + Ch(f, g, h) + 0xab1c5ed5 + W[7]; in sha256_transform() [all …]
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/arch/powerpc/crypto/ |
D | md5-asm.S | 69 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 77 add a,a,rT0; /* 1: a = a + f */ \ 80 add a,a,w0; /* 1: a = a + wk */ \ 82 rotrwi a,a,p; /* 1: a = a rotl x */ \ 84 add a,a,b; /* 1: a = a + b */ \ 85 and rT0,a,b; /* 2: f = b and c */ \ 86 andc rT1,c,a; /* 2: f' = ~b and d */ \ 91 add d,d,a; /* 2: a = a + b */ 93 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument 99 add a,a,rT0; /* 1: a = a + f */ \ [all …]
|
D | aes-tab-4k.S | 30 #define R(a, b, c, d) \ argument 31 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 45 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 55 .long R(3d, 93, 93, ae), R(4c, 26, 26, 6a) 56 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) 61 .long R(62, 31, 31, 53), R(2a, 15, 15, 3f) 65 .long R(0a, 05, 05, 0f), R(2f, 9a, 9a, b5) 71 .long R(58, 2c, 2c, 74), R(34, 1a, 1a, 2e) 73 .long R(b4, 5a, 5a, ee), R(5b, a0, a0, fb) 82 .long R(d4, 6a, 6a, be), R(8d, cb, cb, 46) [all …]
|
/linux-4.1.27/scripts/mod/ |
D | sumversion.c | 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 90 uint32_t a, b, c, d; in md4_transform() local 92 a = hash[0]; in md4_transform() 97 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 98 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 99 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 100 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 101 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
/linux-4.1.27/fs/hpfs/ |
D | name.c | 22 static inline unsigned char upcase(unsigned char *dir, unsigned char a) in upcase() argument 24 if (a<128 || a==255) return a>='a' && a<='z' ? a - 0x20 : a; in upcase() 25 if (!dir) return a; in upcase() 26 return dir[a-128]; in upcase() 29 unsigned char hpfs_upcase(unsigned char *dir, unsigned char a) in hpfs_upcase() argument 31 return upcase(dir, a); in hpfs_upcase() 34 static inline unsigned char locase(unsigned char *dir, unsigned char a) in locase() argument 36 if (a<128 || a==255) return a>='A' && a<='Z' ? a + 0x20 : a; in locase() 37 if (!dir) return a; in locase() 38 return dir[a]; in locase()
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/include/drm/ |
D | drm_fixed.h | 79 static inline s64 drm_int2fixp(int a) in drm_int2fixp() argument 81 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp() 84 static inline int drm_fixp2int(s64 a) in drm_fixp2int() argument 86 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int() 89 static inline int drm_fixp2int_ceil(s64 a) in drm_fixp2int_ceil() argument 91 if (a > 0) in drm_fixp2int_ceil() 92 return drm_fixp2int(a + DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil() 94 return drm_fixp2int(a - DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil() 97 static inline unsigned drm_fixp_msbset(s64 a) in drm_fixp_msbset() argument 99 unsigned shift, sign = (a >> 63) & 1; in drm_fixp_msbset() [all …]
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_pci.c | 55 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() argument 67 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTB, a, v); in hfa384x_outb_debug() 68 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug() 72 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() argument 85 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug() 86 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INB, a, v); in hfa384x_inb_debug() 91 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() argument 103 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTW, a, v); in hfa384x_outw_debug() 104 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug() 108 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() argument [all …]
|
D | hostap_plx.c | 108 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() argument 118 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTB, a, v); in hfa384x_outb_debug() 119 outb(v, dev->base_addr + a); in hfa384x_outb_debug() 123 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() argument 134 v = inb(dev->base_addr + a); in hfa384x_inb_debug() 135 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INB, a, v); in hfa384x_inb_debug() 140 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() argument 150 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTW, a, v); in hfa384x_outw_debug() 151 outw(v, dev->base_addr + a); in hfa384x_outw_debug() 155 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() argument [all …]
|
D | hostap_cs.c | 46 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() argument 55 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTB, a, v); in hfa384x_outb_debug() 56 outb(v, dev->base_addr + a); in hfa384x_outb_debug() 60 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() argument 70 v = inb(dev->base_addr + a); in hfa384x_inb_debug() 71 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INB, a, v); in hfa384x_inb_debug() 76 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() argument 85 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTW, a, v); in hfa384x_outw_debug() 86 outw(v, dev->base_addr + a); in hfa384x_outw_debug() 90 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() argument [all …]
|
/linux-4.1.27/arch/frv/include/asm/ |
D | bitops.h | 150 volatile unsigned long *a = addr; in __clear_bit() local 153 a += nr >> 5; in __clear_bit() 155 *a &= ~mask; in __clear_bit() 160 volatile unsigned long *a = addr; in __set_bit() local 163 a += nr >> 5; in __set_bit() 165 *a |= mask; in __set_bit() 170 volatile unsigned long *a = addr; in __change_bit() local 173 a += nr >> 5; in __change_bit() 175 *a ^= mask; in __change_bit() 180 volatile unsigned long *a = addr; in __test_and_clear_bit() local [all …]
|
/linux-4.1.27/include/linux/decompress/ |
D | mm.h | 61 #define large_malloc(a) malloc(a) argument 62 #define large_free(a) free(a) argument 80 #define malloc(a) kmalloc(a, GFP_KERNEL) argument 81 #define free(a) kfree(a) argument 83 #define large_malloc(a) vmalloc(a) argument 84 #define large_free(a) vfree(a) argument
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv.h | 268 #define _MUXSELf(a) 0##a << 30 argument 269 #define _MUXSELe(a, b...) 0##a << 28 | _MUXSELf(b) argument 270 #define _MUXSELd(a, b...) 0##a << 26 | _MUXSELe(b) argument 271 #define _MUXSELc(a, b...) 0##a << 24 | _MUXSELd(b) argument 272 #define _MUXSELb(a, b...) 0##a << 22 | _MUXSELc(b) argument 273 #define _MUXSELa(a, b...) 0##a << 20 | _MUXSELb(b) argument 274 #define _MUXSEL9(a, b...) 0##a << 18 | _MUXSELa(b) argument 275 #define _MUXSEL8(a, b...) 0##a << 16 | _MUXSEL9(b) argument 276 #define _MUXSEL7(a, b...) 0##a << 14 | _MUXSEL8(b) argument 277 #define _MUXSEL6(a, b...) 0##a << 12 | _MUXSEL7(b) argument [all …]
|
/linux-4.1.27/fs/xfs/ |
D | xfs_linux.h | 168 #define MIN(a,b) (min(a,b)) argument 169 #define MAX(a,b) (max(a,b)) argument 217 #define xfs_sort(a,n,s,fn) sort(a,n,s,fn,NULL) argument 228 static inline __u32 xfs_do_div(void *a, __u32 b, int n) in xfs_do_div() argument 234 mod = *(__u32 *)a % b; in xfs_do_div() 235 *(__u32 *)a = *(__u32 *)a / b; in xfs_do_div() 240 __u64 c = *(__u64 *)a; in xfs_do_div() 249 *(__u64 *)a = c; in xfs_do_div() 259 static inline __u32 xfs_do_mod(void *a, __u32 b, int n) in xfs_do_mod() argument 263 return *(__u32 *)a % b; in xfs_do_mod() [all …]
|
/linux-4.1.27/fs/ntfs/ |
D | attrib.c | 90 ATTR_RECORD *a; in ntfs_map_runlist_nolock() local 117 a = ctx->attr; in ntfs_map_runlist_nolock() 118 BUG_ON(!a->non_resident); in ntfs_map_runlist_nolock() 120 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_map_runlist_nolock() 125 if (!a->data.non_resident.lowest_vcn && end_vcn <= 0) in ntfs_map_runlist_nolock() 134 if (vcn >= allocated_size_vcn || (a->type == ni->type && in ntfs_map_runlist_nolock() 135 a->name_length == ni->name_len && in ntfs_map_runlist_nolock() 136 !memcmp((u8*)a + le16_to_cpu(a->name_offset), in ntfs_map_runlist_nolock() 138 sle64_to_cpu(a->data.non_resident.lowest_vcn) in ntfs_map_runlist_nolock() 175 a = ctx->attr; in ntfs_map_runlist_nolock() [all …]
|
D | inode.c | 555 ATTR_RECORD *a; in ntfs_read_locked_inode() local 662 a = ctx->attr; in ntfs_read_locked_inode() 664 si = (STANDARD_INFORMATION*)((u8*)a + in ntfs_read_locked_inode() 665 le16_to_cpu(a->data.resident.value_offset)); in ntfs_read_locked_inode() 704 a = ctx->attr; in ntfs_read_locked_inode() 705 if (a->flags & ATTR_COMPRESSION_MASK) { in ntfs_read_locked_inode() 710 if (a->flags & ATTR_IS_ENCRYPTED || in ntfs_read_locked_inode() 711 a->flags & ATTR_IS_SPARSE) { in ntfs_read_locked_inode() 712 if (a->non_resident) { in ntfs_read_locked_inode() 728 ni->attr_list_size = (u32)ntfs_attr_size(a); in ntfs_read_locked_inode() [all …]
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | io.h | 376 #define readb(a) __readb((a)) argument 377 #define readw(a) __readw((a)) argument 378 #define readl(a) __readl((a)) argument 379 #define readq(a) __readq((a)) argument 380 #define readb_relaxed(a) __readb_relaxed((a)) argument 381 #define readw_relaxed(a) __readw_relaxed((a)) argument 382 #define readl_relaxed(a) __readl_relaxed((a)) argument 383 #define readq_relaxed(a) __readq_relaxed((a)) argument 392 #define writeb(v,a) __writeb((v), (a)) argument 393 #define writew(v,a) __writew((v), (a)) argument [all …]
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sdio.h | 103 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0) argument 106 #define MP_TX_AGGR_BUF_HAS_ROOM(a, len) ((a->mpa_tx.buf_len+len) \ argument 107 <= a->mpa_tx.buf_size) 110 #define MP_TX_AGGR_BUF_PUT(a, payload, pkt_len, port) do { \ argument 111 memmove(&a->mpa_tx.buf[a->mpa_tx.buf_len], \ 113 a->mpa_tx.buf_len += pkt_len; \ 114 if (!a->mpa_tx.pkt_cnt) \ 115 a->mpa_tx.start_port = port; \ 116 if (a->mpa_tx.start_port <= port) \ 117 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \ [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | bitops.h | 60 volatile unsigned long *a = addr + (nr >> 5); in set_bit() local 61 __raw_bit_set_asm(a, nr & 0x1f); in set_bit() 66 volatile unsigned long *a = addr + (nr >> 5); in clear_bit() local 67 __raw_bit_clear_asm(a, nr & 0x1f); in clear_bit() 72 volatile unsigned long *a = addr + (nr >> 5); in change_bit() local 73 __raw_bit_toggle_asm(a, nr & 0x1f); in change_bit() 78 volatile const unsigned long *a = addr + (nr >> 5); in test_bit() local 79 return __raw_bit_test_asm(a, nr & 0x1f) != 0; in test_bit() 84 volatile unsigned long *a = addr + (nr >> 5); in test_and_set_bit() local 85 return __raw_bit_test_set_asm(a, nr & 0x1f); in test_and_set_bit() [all …]
|
/linux-4.1.27/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 …]
|
D | skfbi.h | 898 #define FMA(a) (0x0400|((a)<<2)) /* FORMAC+ (r/w) (SN3) */ argument 899 #define P1(a) (0x0380|((a)<<2)) /* PLC1 (r/w) (DAS) */ argument 900 #define P2(a) (0x0600|((a)<<2)) /* PLC2 (r/w) (covered by the SN3) */ argument 901 #define PRA(a) (B2_MAC_0 + (a)) /* configuration PROM (MAC address) */ argument 929 #define ADDR(a) (char far *) smc->hw.iop+(a) argument 930 #define ADDRS(smc,a) (char far *) (smc)->hw.iop+(a) argument 932 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), \ argument 933 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \ 934 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) 935 #define ADDRS(smc,a) (((a)>>7) ? (outp((smc)->hw.iop+B0_RAP,(a)>>7), \ argument [all …]
|
/linux-4.1.27/include/acpi/ |
D | acoutput.h | 290 #define ACPI_DO_WHILE0(a) do a while(0) argument 292 #define ACPI_DO_WHILE0(a) a argument 414 #define ACPI_DEBUG_EXEC(a) a argument 415 #define ACPI_DEBUG_ONLY_MEMBERS(a) a; argument 420 #define ACPI_DUMP_STACK_ENTRY(a) acpi_ex_dump_operand((a), 0) argument 421 #define ACPI_DUMP_OPERANDS(a, b ,c) acpi_ex_dump_operands(a, b, c) argument 422 #define ACPI_DUMP_ENTRY(a, b) acpi_ns_dump_entry (a, b) argument 423 #define ACPI_DUMP_PATHNAME(a, b, c, d) acpi_ns_dump_pathname(a, b, c, d) argument 424 #define ACPI_DUMP_BUFFER(a, b) acpi_ut_debug_dump_buffer((u8 *) a, b, DB_BYTE_DISPLAY, _CO… argument 433 #define ACPI_DEBUG_EXEC(a) argument [all …]
|
/linux-4.1.27/Documentation/filesystems/nfs/ |
D | Exporting | 8 All filesystem operations require a dentry (or two) as a starting 9 point. Local applications have a reference-counted hold on suitable 11 applications that access a filesystem via a remote filesystem protocol 12 such as NFS may not be able to hold such a reference, and so need a 13 different way to refer to a particular dentry. As the alternative 22 This byte string will be called a "filehandle fragment" as it 33 The dcache normally contains a proper prefix of any given filesystem 37 maintained easily (by each object maintaining a reference count on 40 However when objects are included into the dcache by interpreting a 41 filehandle fragment, there is no automatic creation of a path prefix [all …]
|
D | rpc-cache.txt | 1 This document gives a brief introduction to the caching 8 a wide variety of values to be caches. 10 There are a number of caches that are similar in structure though 11 quite possibly very different in content and use. There is a corpus 35 Creating a Cache 38 1/ A cache needs a datum to store. This is in the form of a 39 structure definition that must contain a 42 It will also contain a key and some content. 45 2/ A cache needs a "cache_detail" structure that 52 a pointer to the cache_detail embedded within the [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
D | local.h | 10 atomic_long_t a; member 15 #define local_read(l) atomic_long_read(&(l)->a) 16 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) 21 : "+m" (l->a.counter)); in local_inc() 27 : "+m" (l->a.counter)); in local_dec() 33 : "+m" (l->a.counter) in local_add() 40 : "+m" (l->a.counter) in local_sub() 55 GEN_BINARY_RMWcc(_ASM_SUB, l->a.counter, "er", i, "%0", "e"); in local_sub_and_test() 68 GEN_UNARY_RMWcc(_ASM_DEC, l->a.counter, "%0", "e"); in local_dec_and_test() 81 GEN_UNARY_RMWcc(_ASM_INC, l->a.counter, "%0", "e"); in local_inc_and_test() [all …]
|
D | io.h | 70 #define readb_relaxed(a) __readb(a) argument 71 #define readw_relaxed(a) __readw(a) argument 72 #define readl_relaxed(a) __readl(a) argument 77 #define writeb_relaxed(v, a) __writeb(v, a) argument 78 #define writew_relaxed(v, a) __writew(v, a) argument 79 #define writel_relaxed(v, a) __writel(v, a) argument 91 #define readq_relaxed(a) readq(a) argument 92 #define writeq_relaxed(v, a) writeq(v, a) argument 94 #define __raw_readq(a) readq(a) argument
|
/linux-4.1.27/arch/unicore32/lib/ |
D | copy_template.S | 63 sub.a r2, r2, #4 65 and.a ip, r0, #3 67 and.a ip, r1, #3 70 1: sub.a r2, r2, #(28) 76 sub.a r2, r2, #32 80 5: and.a ip, r2, #28 107 8: mov.a r2, r2 << #31 118 csub.a ip, #2 124 sub.a r2, r2, ip 127 and.a ip, r1, #3 [all …]
|
D | findbit.S | 21 cxor.a r1, #0 25 xor.a r3, r3, #0xff @ invert bits 28 2: csub.a r2, r1 @ any more? 40 cxor.a r1, #0 42 and.a ip, r2, #7 45 xor r3, r3, #0xff @ now looking for a 1 bit 46 mov.a r3, r3 >> ip @ shift off unused bits 59 cxor.a r1, #0 63 mov.a r3, r3 66 2: csub.a r2, r1 @ any more? [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | ni_stc.h | 191 #define DIO_Parallel_Data_Out(a) ((a)&0xff) argument 195 #define DIO_Serial_Data_Out(a) (((a)&0xff)<<8) argument 203 #define DIO_Pins_Dir(a) ((a)&0xff) argument 207 #define AI_CONVERT_Source_Select(a) (((a) & 0x1f) << 11) argument 208 #define AI_SI_Source_select(a) (((a) & 0x1f) << 6) argument 224 #define AI_SI_Reload_Mode(a) (((a) & 0x7)<<4) argument 376 #define AI_STOP_Select(a) (((a) & 0x1f)<<7) argument 379 #define AI_START_Select(a) ((a) & 0x1f) argument 386 #define AI_START2_Select(a) (((a) & 0x1f) << 7) argument 389 #define AI_START1_Select(a) ((a) & 0x1f) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_osdep.h | 46 #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg))) argument 47 #define rd32(a, reg) readl((a)->hw_addr + (reg)) argument 49 #define wr64(a, reg, value) writeq((value), ((a)->hw_addr + (reg))) argument 50 #define rd64(a, reg) readq((a)->hw_addr + (reg)) argument 51 #define i40e_flush(a) readl((a)->hw_addr + I40E_GLGEN_STAT) argument 60 #define i40e_allocate_dma_mem(h, m, unused, s, a) \ argument 61 i40e_allocate_dma_mem_d(h, m, s, a)
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_osdep.h | 45 #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg))) argument 46 #define rd32(a, reg) readl((a)->hw_addr + (reg)) argument 48 #define wr64(a, reg, value) writeq((value), ((a)->hw_addr + (reg))) argument 49 #define rd64(a, reg) readq((a)->hw_addr + (reg)) argument 50 #define i40e_flush(a) readl((a)->hw_addr + I40E_VFGEN_RSTAT) argument 59 #define i40e_allocate_dma_mem(h, m, unused, s, a) \ argument 60 i40evf_allocate_dma_mem_d(h, m, s, a)
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 179 #define _U_(a,m) (a)<=(1<<m)?m: argument 184 #define _LGRU16_(a) \ argument 186 _U_(a, 0)_U_(a, 1)_U_(a, 2)_U_(a, 3)_U_(a, 4)_U_(a, 5)_U_(a, 6)_U_(a, 7) \ 187 _U_(a, 8)_U_(a, 9)_U_(a,10)_U_(a,11)_U_(a,12)_U_(a,13)_U_(a,14)_U_(a,15) \
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | fw.c | 27 #define R(a) ioread32(wil->csr + HOSTADDR(a)) argument 29 #define W(a, v) do { iowrite32(v, wil->csr + HOSTADDR(a)); wmb(); } while (0) argument 31 #define S(a, v) W(a, R(a) | v) argument 33 #define C(a, v) W(a, R(a) & ~v) argument
|
D | ioctl.c | 30 void __iomem *a; in wil_ioc_addr() local 35 a = wmi_buffer(wil, cpu_to_le32(addr)); in wil_ioc_addr() 38 a = wmi_addr(wil, addr); in wil_ioc_addr() 41 a = wmi_addr(wil, addr + WIL6210_FW_HOST_OFF); in wil_ioc_addr() 48 off = a - wil->csr; in wil_ioc_addr() 55 return a; in wil_ioc_addr() 61 void __iomem *a; in wil_ioc_memio_dword() local 70 a = wil_ioc_addr(wil, io.addr, sizeof(u32), io.op); in wil_ioc_memio_dword() 71 if (!a) { in wil_ioc_memio_dword() 79 io.val = ioread32(a); in wil_ioc_memio_dword() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_osdep.h | 48 #define IXGB_WRITE_REG(a, reg, value) ( \ argument 49 writel((value), ((a)->hw_addr + IXGB_##reg))) 51 #define IXGB_READ_REG(a, reg) ( \ argument 52 readl((a)->hw_addr + IXGB_##reg)) 54 #define IXGB_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument 55 writel((value), ((a)->hw_addr + IXGB_##reg + ((offset) << 2)))) 57 #define IXGB_READ_REG_ARRAY(a, reg, offset) ( \ argument 58 readl((a)->hw_addr + IXGB_##reg + ((offset) << 2))) 60 #define IXGB_WRITE_FLUSH(a) IXGB_READ_REG(a, STATUS) argument
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-rpmsg | 6 Every rpmsg device is a communication channel with a remote 7 processor. Channels are identified with a (textual) name, 18 Every rpmsg device is a communication channel with a remote 19 processor. Channels have a local ("source") rpmsg address, 21 starts listening on one end of a channel, it assigns it with 22 a unique rpmsg address (a 32 bits integer). This way when 24 dispatches them to the listening entity (a kernel driver). 36 Every rpmsg device is a communication channel with a remote 37 processor. Channels have a local ("source") rpmsg address, 39 starts listening on one end of a channel, it assigns it with [all …]
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_gs.c | 1297 memcpy(eiter->a.node_name, vha->node_name, WWN_SIZE); in qla2x00_fdmi_rhba() 1301 "NodeName = %8phN.\n", eiter->a.node_name); in qla2x00_fdmi_rhba() 1307 snprintf(eiter->a.manufacturer, sizeof(eiter->a.manufacturer), in qla2x00_fdmi_rhba() 1314 "Manufacturer = %s.\n", eiter->a.manufacturer); in qla2x00_fdmi_rhba() 1320 qla2xxx_get_vpd_field(vha, "SN", eiter->a.serial_num, in qla2x00_fdmi_rhba() 1321 sizeof(eiter->a.serial_num)); in qla2x00_fdmi_rhba() 1325 snprintf(eiter->a.serial_num, sizeof(eiter->a.serial_num), in qla2x00_fdmi_rhba() 1328 alen = strlen(eiter->a.serial_num); in qla2x00_fdmi_rhba() 1334 "Serial no. = %s.\n", eiter->a.serial_num); in qla2x00_fdmi_rhba() 1339 snprintf(eiter->a.model, sizeof(eiter->a.model), in qla2x00_fdmi_rhba() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | alternative.c | 270 recompute_jump(struct alt_instr *a, u8 *orig_insn, u8 *repl_insn, u8 *insnbuf) in recompute_jump() argument 276 if (a->replacementlen != 5) in recompute_jump() 282 next_rip = repl_insn + a->replacementlen; in recompute_jump() 326 static void __init_or_module optimize_nops(struct alt_instr *a, u8 *instr) in optimize_nops() argument 334 add_nops(instr + (a->instrlen - a->padlen), a->padlen); in optimize_nops() 338 DUMP_BYTES(instr, a->instrlen, "%p: [%d:%d) optimized NOPs: ", in optimize_nops() 339 instr, a->instrlen - a->padlen, a->padlen); in optimize_nops() 352 struct alt_instr *a; in apply_alternatives() local 366 for (a = start; a < end; a++) { in apply_alternatives() 369 instr = (u8 *)&a->instr_offset + a->instr_offset; in apply_alternatives() [all …]
|
/linux-4.1.27/security/ |
D | lsm_audit.c | 212 struct common_audit_data *a) in dump_common_audit_data() argument 221 BUILD_BUG_ON(sizeof(a->u) > sizeof(void *)*2); in dump_common_audit_data() 226 switch (a->type) { in dump_common_audit_data() 230 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data() 233 audit_log_format(ab, " capability=%d ", a->u.cap); in dump_common_audit_data() 238 audit_log_d_path(ab, " path=", &a->u.path); in dump_common_audit_data() 240 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data() 252 audit_log_untrustedstring(ab, a->u.dentry->d_name.name); in dump_common_audit_data() 254 inode = d_backing_inode(a->u.dentry); in dump_common_audit_data() 266 inode = a->u.inode; in dump_common_audit_data() [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-tx49xx/ |
D | mangle-port.h | 9 #define ioswabb(a, x) (x) argument 10 #define __mem_ioswabb(a, x) (x) argument 15 extern u16 (*ioswabw)(volatile u16 *a, u16 x); 16 extern u16 (*__mem_ioswabw)(volatile u16 *a, u16 x); 18 #define ioswabw(a, x) le16_to_cpu(x) argument 19 #define __mem_ioswabw(a, x) (x) argument 21 #define ioswabl(a, x) le32_to_cpu(x) argument 22 #define __mem_ioswabl(a, x) (x) argument 23 #define ioswabq(a, x) le64_to_cpu(x) argument 24 #define __mem_ioswabq(a, x) (x) argument
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.h | 45 #define LEN(a, b) ((a) > (b) ? (a) - (b) + 1 : (b) - (a) + 1) argument 75 struct tcm_area a; member 87 void assign(struct tcm_area *a, u16 x0, u16 y0, u16 x1, u16 y1) in assign() argument 89 a->p0.x = x0; in assign() 90 a->p0.y = y0; in assign() 91 a->p1.x = x1; in assign() 92 a->p1.y = y1; in assign()
|
D | tcm.h | 259 static inline bool __tcm_is_in(struct tcm_pt *p, struct tcm_area *a) in __tcm_is_in() argument 263 if (a->is2d) { in __tcm_is_in() 264 return p->x >= a->p0.x && p->x <= a->p1.x && in __tcm_is_in() 265 p->y >= a->p0.y && p->y <= a->p1.y; in __tcm_is_in() 267 i = p->x + p->y * a->tcm->width; in __tcm_is_in() 268 return i >= a->p0.x + a->p0.y * a->tcm->width && in __tcm_is_in() 269 i <= a->p1.x + a->p1.y * a->tcm->width; in __tcm_is_in() 299 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument 301 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit() 306 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit() [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | uuid.h | 35 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument 37 {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \ 42 #define UUID_BE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument 44 {{ ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((a) >> 8) & 0xff, (a) & 0xff, \
|
D | in.h | 235 #define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) argument 241 #define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) argument 247 #define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) argument 252 #define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) argument 253 #define IN_MULTICAST(a) IN_CLASSD(a) argument 256 #define IN_EXPERIMENTAL(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000) argument 257 #define IN_BADCLASS(a) IN_EXPERIMENTAL((a)) argument 273 #define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) argument
|
/linux-4.1.27/net/appletalk/ |
D | aarp.c | 93 static void __aarp_expire(struct aarp_entry *a) in __aarp_expire() argument 95 skb_queue_purge(&a->packet_queue); in __aarp_expire() 96 kfree(a); in __aarp_expire() 104 static void __aarp_send_query(struct aarp_entry *a) in __aarp_send_query() argument 108 struct net_device *dev = a->dev; in __aarp_send_query() 147 eah->pa_dst_net = a->target_addr.s_net; in __aarp_send_query() 148 eah->pa_dst_node = a->target_addr.s_node; in __aarp_send_query() 153 a->xmit_count++; in __aarp_send_query() 154 a->last_sent = jiffies; in __aarp_send_query() 388 struct aarp_entry *a = kmalloc(sizeof(*a), GFP_ATOMIC); in aarp_alloc() local [all …]
|
/linux-4.1.27/drivers/edac/ |
D | i5100_edac.c | 110 static inline u16 i5100_spddata_rdo(u16 a) in i5100_spddata_rdo() argument 112 return a >> 15 & 1; in i5100_spddata_rdo() 115 static inline u16 i5100_spddata_sbe(u16 a) in i5100_spddata_sbe() argument 117 return a >> 13 & 1; in i5100_spddata_sbe() 120 static inline u16 i5100_spddata_busy(u16 a) in i5100_spddata_busy() argument 122 return a >> 12 & 1; in i5100_spddata_busy() 125 static inline u16 i5100_spddata_data(u16 a) in i5100_spddata_data() argument 127 return a & ((1 << 8) - 1); in i5100_spddata_data() 141 static inline u16 i5100_tolm_tolm(u16 a) in i5100_tolm_tolm() argument 143 return a >> 12 & ((1 << 4) - 1); in i5100_tolm_tolm() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | rs690.c | 267 fixed20_12 a, b, c; in rs690_crtc_bandwidth_compute() local 286 a.full = dfixed_const(100); in rs690_crtc_bandwidth_compute() 288 sclk.full = dfixed_div(sclk, a); in rs690_crtc_bandwidth_compute() 291 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute() 292 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in rs690_crtc_bandwidth_compute() 301 a.full = dfixed_div(b, c); in rs690_crtc_bandwidth_compute() 302 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute() 304 if (a.full < dfixed_const(4)) { in rs690_crtc_bandwidth_compute() 316 a.full = dfixed_const(mode->clock); in rs690_crtc_bandwidth_compute() 318 a.full = dfixed_div(a, b); in rs690_crtc_bandwidth_compute() [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | io_no.h | 109 #define memset_io(a,b,c) memset((void *)(a),(b),(c)) argument 110 #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) argument 111 #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) argument 127 #define outsb(a,b,l) io_outsb(a,b,l) argument 128 #define outsw(a,b,l) io_outsw(a,b,l) argument 129 #define outsl(a,b,l) io_outsl(a,b,l) argument 131 #define insb(a,b,l) io_insb(a,b,l) argument 132 #define insw(a,b,l) io_insw(a,b,l) argument 133 #define insl(a,b,l) io_insl(a,b,l) argument
|
D | bootstd.h | 59 #define _bsc1(type,name,atype,a) \ argument 60 type name(atype a) \ 63 register long __a __asm__ ("%d1") = (long)a; \ 71 #define _bsc2(type,name,atype,a,btype,b) \ argument 72 type name(atype a, btype b) \ 75 register long __a __asm__ ("%d1") = (long)a; \ 84 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \ argument 85 type name(atype a, btype b, ctype c) \ 88 register long __a __asm__ ("%d1") = (long)a; \ 99 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ argument [all …]
|
D | amigayle.h | 63 #define gayle_inb(a) readb( GAYLE_IO+(a)+(((a)&1)*GAYLE_ODD) ) 64 #define gayle_outb(v,a) writeb( v, GAYLE_IO+(a)+(((a)&1)*GAYLE_ODD) ) 66 #define gayle_inw(a) readw( GAYLE_IO+(a) ) 67 #define gayle_outw(v,a) writew( v, GAYLE_IO+(a) )
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 86 region_head(struct nvkm_mm *mm, struct nvkm_mm_node *a, u32 size) in region_head() argument 90 if (a->length == size) in region_head() 91 return a; in region_head() 97 b->offset = a->offset; in region_head() 99 b->heap = a->heap; in region_head() 100 b->type = a->type; in region_head() 101 a->offset += size; in region_head() 102 a->length -= size; in region_head() 103 list_add_tail(&b->nl_entry, &a->nl_entry); in region_head() 105 list_add_tail(&b->fl_entry, &a->fl_entry); in region_head() [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_io.h | 53 #define bcm_readb(a) (*(volatile unsigned char *) BCM_REGS_VA(a)) argument 54 #define bcm_readw(a) (*(volatile unsigned short *) BCM_REGS_VA(a)) argument 55 #define bcm_readl(a) (*(volatile unsigned int *) BCM_REGS_VA(a)) argument 56 #define bcm_readq(a) (*(volatile u64 *) BCM_REGS_VA(a)) argument 57 #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v)) argument 58 #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v)) argument 59 #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v)) argument 60 #define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v)) argument
|
/linux-4.1.27/drivers/input/joystick/ |
D | Kconfig | 7 If you have a joystick, 6dof controller, gamepad, steering wheel, 21 Say Y here if you have a joystick that connects to the PC 31 To compile this driver as a module, choose M here: the 41 To compile this driver as a module, choose M here: the 48 Say Y here if you have a Logitech controller using the ADI 51 To compile this driver as a module, choose M here: the 58 Say Y here if you have a Creative Labs Blaster Cobra gamepad. 60 To compile this driver as a module, choose M here: the 67 Say Y here if you have a Genius Flight2000 or MaxFighter digitally 70 To compile this driver as a module, choose M here: the [all …]
|
/linux-4.1.27/net/openvswitch/ |
D | flow_netlink.c | 359 const struct nlattr *a[], in __parse_flow_nlattrs() argument 391 a[type] = nla; in __parse_flow_nlattrs() 404 const struct nlattr *a[], u64 *attrsp, in parse_flow_mask_nlattrs() argument 407 return __parse_flow_nlattrs(attr, a, attrsp, log, true); in parse_flow_mask_nlattrs() 411 const struct nlattr *a[], u64 *attrsp, in parse_flow_nlattrs() argument 414 return __parse_flow_nlattrs(attr, a, attrsp, log, false); in parse_flow_nlattrs() 417 static int genev_tun_opt_from_nlattr(const struct nlattr *a, in genev_tun_opt_from_nlattr() argument 423 if (nla_len(a) > sizeof(match->key->tun_opts)) { in genev_tun_opt_from_nlattr() 425 nla_len(a), sizeof(match->key->tun_opts)); in genev_tun_opt_from_nlattr() 429 if (nla_len(a) % 4 != 0) { in genev_tun_opt_from_nlattr() [all …]
|
D | actions.c | 615 const struct nlattr *a; in output_userspace() local 623 for (a = nla_data(attr), rem = nla_len(attr); rem > 0; in output_userspace() 624 a = nla_next(a, &rem)) { in output_userspace() 625 switch (nla_type(a)) { in output_userspace() 627 upcall.userdata = a; in output_userspace() 631 upcall.portid = nla_get_u32(a); in output_userspace() 638 vport = ovs_vport_rcu(dp, nla_get_u32(a)); in output_userspace() 660 const struct nlattr *a; in sample() local 663 for (a = nla_data(attr), rem = nla_len(attr); rem > 0; in sample() 664 a = nla_next(a, &rem)) { in sample() [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | mandatory-locking.txt | 11 The Linux implementation is prey to a number of difficult-to-fix race 14 - The write system call checks for a mandatory lock only once 15 at its start. It is therefore possible for a lock request to 17 A process may then see file data change even while a mandatory 19 - Similarly, an exclusive lock may be granted on a file after 20 the kernel has decided to proceed with a read, but before the 22 the file data in a state which should not have been visible 33 (and the lockf() library routine which is a wrapper around fcntl().) It is 34 normally a process' responsibility to check for locks on a file it wishes to 37 troublesome) is access to a user's mailbox. The mail user agent and the mail [all …]
|
D | sharedsubtree.txt | 33 a. shared mount 39 2a) A shared mount can be replicated to as many mountpoints and all the 44 Let's say /mnt has a mount that is shared. 56 a b c 59 a b c 61 Now let's say we mount a device at /tmp/a 62 # mount /dev/sd0 /tmp/a 64 #ls /tmp/a 67 #ls /mnt/a 72 And the same is true even when /dev/sd0 is mounted on /mnt/a. The [all …]
|
D | gfs2.txt | 6 GFS is a cluster file system. It allows a cluster of computers to 7 simultaneously use a block device that is shared between them (with FC, 8 iSCSI, NBD, etc). GFS reads and writes to the block device like a local 9 file system, but also uses a lock module to allow the computers coordinate 17 lock_nolock -- allows gfs to be used as a local file system 19 lock_dlm -- uses a distributed lock manager (dlm) for inter-node locking 25 To use gfs as a local file system, no external clustering systems are 33 and write a cluster.conf as per the documentation. For F17 and above 40 fsck.gfs2 to repair a filesystem 41 gfs2_grow to expand a filesystem online [all …]
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | soc_camera_platform.c | 77 struct v4l2_crop *a) in soc_camera_platform_g_crop() argument 81 a->c.left = 0; in soc_camera_platform_g_crop() 82 a->c.top = 0; in soc_camera_platform_g_crop() 83 a->c.width = p->format.width; in soc_camera_platform_g_crop() 84 a->c.height = p->format.height; in soc_camera_platform_g_crop() 85 a->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in soc_camera_platform_g_crop() 91 struct v4l2_cropcap *a) in soc_camera_platform_cropcap() argument 95 a->bounds.left = 0; in soc_camera_platform_cropcap() 96 a->bounds.top = 0; in soc_camera_platform_cropcap() 97 a->bounds.width = p->format.width; in soc_camera_platform_cropcap() [all …]
|
/linux-4.1.27/tools/perf/arch/x86/util/ |
D | header.c | 10 cpuid(unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, in cpuid() argument 15 : "=a" (*a), in cpuid() 25 unsigned int a, b, c, d, lvl; in get_cpuid() local 37 cpuid(1, &a, &b, &c, &d); in get_cpuid() 39 family = (a >> 8) & 0xf; /* bits 11 - 8 */ in get_cpuid() 40 model = (a >> 4) & 0xf; /* Bits 7 - 4 */ in get_cpuid() 41 step = a & 0xf; in get_cpuid() 45 family += (a >> 20) & 0xff; in get_cpuid() 49 model += ((a >> 16) & 0xf) << 4; in get_cpuid()
|
/linux-4.1.27/Documentation/vm/ |
D | frontswap.txt | 1 Frontswap provides a "transcendent memory" interface for swap pages. 3 swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk. 8 See the LWN.net article "Transcendent memory in a nutshell" for a detailed 13 a "backing" store for a swap device. The storage is assumed to be 14 a synchronous concurrency-safe page-oriented "pseudo-RAM device" conforming 33 Once a page is successfully stored, a matching load on the page will normally 34 succeed. So when the kernel finds itself in a situation where it needs 35 to swap out a page, it first attempts to use frontswap. If the store returns 37 a disk write and, if the data is later read back, a disk read are avoided. 38 If a store returns failure, transcendent memory has rejected the data, and the [all …]
|
/linux-4.1.27/Documentation/ |
D | kobject.txt | 13 place. Dealing with kobjects requires understanding a few different types, 15 easier, we'll take a multi-pass approach, starting with vague terms and 19 - A kobject is an object of type struct kobject. Kobjects have a name 20 and a reference count. A kobject also has a parent pointer (allowing 21 objects to be arranged into hierarchies), a specific type, and, 22 usually, a representation in the sysfs virtual filesystem. 32 - A ktype is the type of object that embeds a kobject. Every structure 33 that embeds a kobject needs a corresponding ktype. The ktype controls 36 - A kset is a group of kobjects. These kobjects can be of the same ktype 42 When you see a sysfs directory full of other directories, generally each [all …]
|
D | crc32.txt | 3 A CRC is a long-division remainder. You add the CRC to the message, 4 and the whole thing (message+CRC) is a multiple of the given 8 is used by a lot of hardware implementations, and is why so many 14 subtract, we just xor. Thus, we tend to get a bit sloppy about 18 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial. 23 Note that a CRC is computed over a string of *bits*, so you have 28 is sent last. And when appending a CRC word to a message, you should 31 Just like with ordinary division, you proceed one digit (bit) at a time. 36 and to make the XOR cancel, it's just a copy of bit 32 of the remainder. 38 When computing a CRC, we don't care about the quotient, so we can [all …]
|
D | sysfs-rules.txt | 5 by the kernel developers that the Linux kernel does not provide a stable 10 low-level userspace applications, with a new kernel release, the users 26 current kernel development. The goal of providing a stable interface 31 Parsing /proc/mounts is a waste of time. Other mount points are a 33 possibly support a SYSFS_PATH environment variable to overwrite the 40 just simply a "device". Class-, bus-, physical, ... types are just 44 The properties of a device are: 50 /sys, and always starting with a slash 51 - all elements of a devpath must be real directories. Symlinks 56 - using or exposing symlink values as elements in a devpath string [all …]
|
D | xillybus.txt | 38 An FPGA (Field Programmable Gate Array) is a piece of logic hardware, which 39 can be programmed to become virtually anything that is usually found as a 40 dedicated chipset: For instance, a display adapter, network interface card, 41 or even a processor with its peripherals. FPGAs are the LEGO of hardware: 44 available on the market as a chipset, so FPGAs are mostly used when some 48 The challenge with FPGAs is that everything is implemented at a very low 53 mathematical functions, a functional unit (e.g. a USB interface), an entire 54 processor (e.g. ARM) or anything that might come handy. Think of them as a 58 One of the daunting tasks in FPGA design is communicating with a fullblown 61 (registers, interrupts, DMA etc.) is a project in itself. When the FPGA's [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mipi/dsi/ |
D | mipi-dsi-bus.txt | 4 The MIPI Display Serial Interface specifies a serial bus and a protocol for 5 communication between a host and up to four peripherals. This document will 6 define the syntax used to represent a DSI bus in a device tree. 11 Each DSI host provides a DSI bus. The DSI host controller's node contains a 15 The following assumes that only a single peripheral is connected to a DSI 22 a DSI host, the following properties apply to a node representing a DSI host. 26 bus. DSI peripherals are addressed using a 2-bit virtual channel number, so 27 a maximum of 4 devices can be addressed on a single bus. Hence the value of 29 - #size-cells: Should be 0. There are cases where it makes sense to use a 40 - reg: The virtual channel number of a DSI peripheral. Must be in the range [all …]
|
/linux-4.1.27/drivers/firewire/ |
D | core-cdev.c | 446 struct fw_cdev_get_info *a = &arg->get_info; in ioctl_get_info() local 450 client->version = a->version; in ioctl_get_info() 451 a->version = FW_CDEV_KERNEL_VERSION; in ioctl_get_info() 452 a->card = client->device->card->index; in ioctl_get_info() 456 if (a->rom != 0) { in ioctl_get_info() 457 size_t want = a->rom_length; in ioctl_get_info() 460 ret = copy_to_user(u64_to_uptr(a->rom), in ioctl_get_info() 463 a->rom_length = client->device->config_rom_length * 4; in ioctl_get_info() 472 client->bus_reset_closure = a->bus_reset_closure; in ioctl_get_info() 473 if (a->bus_reset != 0) { in ioctl_get_info() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | sys_s390.c | 50 struct s390_mmap_arg_struct a; in SYSCALL_DEFINE1() local 53 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1() 55 error = sys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, a.offset); in SYSCALL_DEFINE1()
|
/linux-4.1.27/Documentation/dmaengine/ |
D | provider.txt | 10 They have a given number of channels to use for the DMA transfers, and 11 a given number of requests lines. 20 will want to start a transfer, it will assert a DMA request (DRQ) by 23 A very simple DMA controller would only take into account a single 24 parameter: the transfer size. At each clock cycle, it would transfer a 29 require a specific number of bits to be transferred in a single 31 physical bus allows to maximize performances when doing a simple 32 memory copy operation, but our audio device could have a narrower FIFO 33 that requires data to be written exactly 16 or 24 bits at a time. This 34 is why most if not all of the DMA controllers can adjust this, using a [all …]
|
/linux-4.1.27/arch/ia64/lib/ |
D | idiv64.S | 27 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b argument 28 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b argument 31 # define INT_TO_FP(a,b) fcvt.xf a=b argument 32 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b argument 35 #define PASTE1(a,b) a##b argument 36 #define PASTE(a,b) PASTE1(a,b) argument
|
D | idiv32.S | 28 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b argument 29 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b argument 33 # define INT_TO_FP(a,b) fcvt.xf a=b argument 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b argument 37 #define PASTE1(a,b) a##b argument 38 #define PASTE(a,b) PASTE1(a,b) argument
|
/linux-4.1.27/Documentation/accounting/ |
D | delay-accounting.txt | 5 for some kernel resource to become available e.g. a 6 runnable task may wait for a free CPU to run on. 9 the delays experienced by a task while 11 a) waiting for a CPU (while being runnable) 19 Such delays provide feedback for setting a task's cpu priority, 21 important tasks could be a trigger for raising its corresponding priority. 24 delay statistics aggregated for all tasks (or threads) belonging to a 25 thread group (corresponding to a traditional Unix process). This is a commonly 30 statistics of a task are available both during its lifetime as well as on its 38 in detail in a separate document in this directory. Taskstats returns a [all …]
|
/linux-4.1.27/Documentation/i2c/ |
D | smbus-protocol | 4 The following is a summary of the SMBus protocol. It applies to 10 which is a subset from the I2C protocol. Fortunately, many devices use 13 If you write a driver for some I2C device, please try to use the SMBus 20 Below is a list of SMBus protocol operations, and the functions executing 22 don't match these function names. For some of the operations which pass a 24 a different protocol operation entirely. 26 Each transaction type corresponds to a functionality flag. Before calling a 27 transaction function, a device driver should always check (just once) for 41 get a 10 bit I2C address. 42 Comm (8 bits): Command byte, a data byte which often selects a register on [all …]
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 80 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128() 86 dst->a = cpu_to_le64(be64_to_cpu(src->a)); in be128_to_le128() 92 u64 a = le64_to_cpu(i->a); in le128_inc() local 97 a++; in le128_inc() 99 i->a = cpu_to_le64(a); in le128_inc() 105 u64 a = le64_to_cpu(src->a); in le128_gf128mul_x_ble() local 107 u64 _tt = ((s64)a >> 63) & 0x87; in le128_gf128mul_x_ble() 109 dst->a = cpu_to_le64((a << 1) ^ (b >> 63)); in le128_gf128mul_x_ble()
|
/linux-4.1.27/arch/mips/include/asm/mach-ip27/ |
D | mangle-port.h | 16 # define ioswabb(a, x) (x) argument 17 # define __mem_ioswabb(a, x) (x) argument 18 # define ioswabw(a, x) (x) argument 19 # define __mem_ioswabw(a, x) cpu_to_le16(x) argument 20 # define ioswabl(a, x) (x) argument 21 # define __mem_ioswabl(a, x) cpu_to_le32(x) argument 22 # define ioswabq(a, x) (x) argument 23 # define __mem_ioswabq(a, x) cpu_to_le32(x) argument
|
/linux-4.1.27/arch/mips/include/asm/mach-ip32/ |
D | mangle-port.h | 17 # define ioswabb(a, x) (x) argument 18 # define __mem_ioswabb(a, x) (x) argument 19 # define ioswabw(a, x) (x) argument 20 # define __mem_ioswabw(a, x) cpu_to_le16(x) argument 21 # define ioswabl(a, x) (x) argument 22 # define __mem_ioswabl(a, x) cpu_to_le32(x) argument 23 # define ioswabq(a, x) (x) argument 24 # define __mem_ioswabq(a, x) cpu_to_le32(x) argument
|
/linux-4.1.27/Documentation/networking/ |
D | rxrpc.txt | 5 The RxRPC protocol driver provides a reliable two-phase transport on top of UDP 37 RxRPC is a two-layer protocol. There is a session layer which provides 39 layer, but implements a real network protocol; and there's the presentation 57 making the session part of it a Linux network protocol (AF_RXRPC). 59 (2) A two-phase protocol. The client transmits a blob (the request) and then 60 receives a blob (the reply), and the server receives the request and then 80 (2) provided with a protocol of the type of underlying transport they're going 102 (*) Each connection goes to a particular "service". A connection may not go 104 a port number. AF_RXRPC permits multiple services to share an endpoint. 106 (*) Client-originating packets are marked, thus a transport endpoint can be [all …]
|
D | scaling.txt | 7 This document describes a set of complementary techniques in the Linux 24 (multi-queue). On reception, a NIC can send different packets to different 26 applying a filter to each packet that assigns it to one of a small number 27 of logical flows. Packets for each flow are steered to a separate receive 34 The filter used in RSS is typically a hash function over the network 35 and/or transport layer headers-- for example, a 4-tuple hash over 36 IP addresses and TCP ports of a packet. The most common hardware 37 implementation of RSS uses a 128-entry indirection table where each entry 38 stores a queue number. The receive queue for a packet is determined 40 packet (usually a Toeplitz hash), taking this number as a key into the [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-tx39xx/ |
D | mangle-port.h | 14 #define ioswabb(a, x) (x) argument 15 #define __mem_ioswabb(a, x) (x) argument 16 #define ioswabw(a, x) le16_to_cpu(x) argument 17 #define __mem_ioswabw(a, x) (x) argument 18 #define ioswabl(a, x) le32_to_cpu(x) argument 19 #define __mem_ioswabl(a, x) (x) argument 20 #define ioswabq(a, x) le64_to_cpu(x) argument 21 #define __mem_ioswabq(a, x) (x) argument
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
D | corgi.h | 58 #define CORGI_GPIO_STROBE_BIT(a) GPIO_bit(66+(a)) argument 59 #define CORGI_GPIO_SENSE_BIT(a) GPIO_bit(58+(a)) argument 63 #define CORGI_GPIO_KEY_SENSE(a) (58+(a)) argument 64 #define CORGI_GPIO_KEY_STROBE(a) (66+(a)) argument 81 #define CORGI_IRQ_GPIO_KEY_SENSE(a) PXA_GPIO_TO_IRQ(58+(a)) /* Keyboard Sense lines */ argument
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | pcnet32.c | 273 const struct pcnet32_access *a; member 463 val = lp->a->read_csr(ioaddr, CSR3); in pcnet32_netif_start() 465 lp->a->write_csr(ioaddr, CSR3, val); in pcnet32_netif_start() 735 r = (lp->a->read_bcr(ioaddr, 4) != 0xc0); in pcnet32_get_link() 797 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_set_ringparam() 873 const struct pcnet32_access *a = lp->a; /* access to registers */ in pcnet32_loopback_test() local 893 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_loopback_test() 898 lp->a->reset(ioaddr); in pcnet32_loopback_test() 899 lp->a->write_csr(ioaddr, CSR4, 0x0915); /* auto tx pad */ in pcnet32_loopback_test() 902 lp->a->write_bcr(ioaddr, 20, 2); in pcnet32_loopback_test() [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | err_common.c | 221 struct el_subpacket_annotation *a; in el_annotate_subpacket() local 224 for (a = subpacket_annotation_list; a; a = a->next) { in el_annotate_subpacket() 225 if (a->class == header->class && in el_annotate_subpacket() 226 a->type == header->type && in el_annotate_subpacket() 227 a->revision == header->revision) { in el_annotate_subpacket() 231 annotation = a->annotation; in el_annotate_subpacket() 232 printk("%s %s\n", err_print_prefix, a->description); in el_annotate_subpacket() 281 struct el_subpacket_annotation *a = subpacket_annotation_list; in cdl_register_subpacket_annotation() local 283 if (a == NULL) subpacket_annotation_list = new; in cdl_register_subpacket_annotation() 285 for (; a->next != NULL; a = a->next) { in cdl_register_subpacket_annotation() [all …]
|
/linux-4.1.27/Documentation/device-mapper/ |
D | era.txt | 4 dm-era is a target that behaves similar to the linear target. In 5 addition it keeps track of which blocks were written within a user 7 maintains the current era as a monotonically increasing 32-bit 11 partially invalidating the contents of a cache to restore cache 12 coherency after rolling back a vendor snapshot. 32 Possibly move to a new era. You shouldn't assume the era has 39 Create a clone of the metadata, to allow a userland process to read it. 64 The scenario of invalidating a cache when rolling back a vendor 67 Taking a vendor snapshot 70 - Send a checkpoint message to the era target [all …]
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 7 As of 3.13, biovecs should never be modified after a bio has been submitted. 8 Instead, we have a new struct bvec_iter which represents a range of a biovec - 11 More specifically, old code that needed to partially complete a bio would 13 ended up partway through a biovec, it would increment bv_offset and decrement 17 partially complete a bio is segregated into struct bvec_iter: bi_sector, 22 There are a bunch of new helper macros for hiding the gory details - in 31 bio_for_each_segment() has been updated to take a bvec_iter argument 32 instead of an integer (that corresponded to bi_idx); for a lot of code the 36 * Advancing a bvec_iter is done with bio_advance_iter(); bio_advance() is a 40 There is a lower level advance function - bvec_iter_advance() - which takes [all …]
|
/linux-4.1.27/Documentation/development-process/ |
D | 5.Posting | 5 kernel. Unsurprisingly, the kernel development community has evolved a set 16 There is a constant temptation to avoid posting patches before they are 17 completely "ready." For simple patches, that is not a problem. If the 18 work being done is complex, though, there is a lot to be gained by getting 20 consider posting in-progress work, or even making a git tree available so 23 When posting code which is not yet considered ready for inclusion, it is a 32 There are a number of things which should be done before you consider 44 benchmarks showing what the impact (or benefit) of your change is; a 48 for an employer, the employer likely has a right to the work and must be 51 As a general rule, putting in some extra thought before posting code almost [all …]
|
/linux-4.1.27/Documentation/cgroups/ |
D | cgroups.txt | 40 Control Groups provide a mechanism for aggregating/partitioning sets of 46 A *cgroup* associates a set of tasks with a set of parameters for one 49 A *subsystem* is a module that makes use of the task grouping 51 particular ways. A subsystem is typically a "resource controller" that 52 schedules a resource or applies per-cgroup limits, but it may be 53 anything that wants to act on a group of processes, e.g. a 56 A *hierarchy* is a set of cgroups arranged in a tree, such that 58 hierarchy, and a set of subsystems; each subsystem has system-specific 63 cgroups. Each hierarchy is a partition of all tasks in the system. 67 which cgroup a task is assigned, and list the task PIDs assigned to [all …]
|
/linux-4.1.27/arch/mips/alchemy/common/ |
D | clock.c | 180 struct alchemy_auxpll_clk *a = to_auxpll_clk(hw); in alchemy_clk_aux_recalc() local 182 return (alchemy_rdsys(a->reg) & 0xff) * parent_rate; in alchemy_clk_aux_recalc() 189 struct alchemy_auxpll_clk *a = to_auxpll_clk(hw); in alchemy_clk_aux_setr() local 198 if (((d < 7) && (d != 0)) || (d > a->maxmult)) in alchemy_clk_aux_setr() 201 alchemy_wrsys(d, a->reg); in alchemy_clk_aux_setr() 209 struct alchemy_auxpll_clk *a = to_auxpll_clk(hw); in alchemy_clk_aux_roundr() local 219 if (mult > a->maxmult) in alchemy_clk_aux_roundr() 220 mult = a->maxmult; in alchemy_clk_aux_roundr() 237 struct alchemy_auxpll_clk *a; in alchemy_clk_setup_aux() local 239 a = kzalloc(sizeof(*a), GFP_KERNEL); in alchemy_clk_setup_aux() [all …]
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_debug.h | 17 #define OSD_ERR(fmt, a...) printk(KERN_ERR "osd: " fmt, ##a) argument 18 #define OSD_INFO(fmt, a...) printk(KERN_NOTICE "osd: " fmt, ##a) argument 21 #define OSD_DEBUG(fmt, a...) \ argument 22 printk(KERN_NOTICE "osd @%s:%d: " fmt, __func__, __LINE__, ##a) 24 #define OSD_DEBUG(fmt, a...) do {} while (0) argument
|
/linux-4.1.27/drivers/hwmon/ |
D | iio_hwmon.c | 64 struct sensor_device_attribute *a; in iio_hwmon_probe() local 99 a = devm_kzalloc(dev, sizeof(*a), GFP_KERNEL); in iio_hwmon_probe() 100 if (a == NULL) { in iio_hwmon_probe() 105 sysfs_attr_init(&a->dev_attr.attr); in iio_hwmon_probe() 112 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe() 117 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe() 122 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe() 127 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe() 135 if (a->dev_attr.attr.name == NULL) { in iio_hwmon_probe() 139 a->dev_attr.show = iio_hwmon_read_val; in iio_hwmon_probe() [all …]
|
/linux-4.1.27/Documentation/usb/ |
D | WUSB-Design-overview.txt | 16 You should have received a copy of the GNU General Public License 27 This code implements a Ultra Wide Band stack for Linux, as well as 35 2. DWA: Device Wired Adaptor, a Wireless USB hub for wired 56 UWB is a wide-band communication protocol that is to serve also as the 61 UWB uses a band from roughly 3 to 10 GHz, transmitting at a max of 64 a bunch of ~1.5 GHz wide channels (or band groups) composed of three 67 driver considers them all a single one. 72 each superframe there is a Beacon Period (BP), where every device 73 transmit its beacon on a single MAS. The length of the BP depends on how 76 Devices have a MAC (fixed, 48 bit address) and a device (changeable, 16 [all …]
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-radio-tx.c | 112 int vidioc_g_modulator(struct file *file, void *fh, struct v4l2_modulator *a) in vidioc_g_modulator() argument 116 if (a->index > 0) in vidioc_g_modulator() 119 strlcpy(a->name, "AM/FM/SW Transmitter", sizeof(a->name)); in vidioc_g_modulator() 120 a->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vidioc_g_modulator() 125 a->rangelow = AM_FREQ_RANGE_LOW; in vidioc_g_modulator() 126 a->rangehigh = FM_FREQ_RANGE_HIGH; in vidioc_g_modulator() 127 a->txsubchans = dev->radio_tx_subchans; in vidioc_g_modulator() 131 int vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a) in vidioc_s_modulator() argument 135 if (a->index) in vidioc_s_modulator() 137 if (a->txsubchans & ~0x13) in vidioc_s_modulator() [all …]
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | spinlock.h | 11 volatile unsigned int *a = __ldcw_align(x); in arch_spin_is_locked() local 12 return *a == 0; in arch_spin_is_locked() 22 volatile unsigned int *a; in arch_spin_lock_flags() local 25 a = __ldcw_align(x); in arch_spin_lock_flags() 26 while (__ldcw(a) == 0) in arch_spin_lock_flags() 27 while (*a == 0) in arch_spin_lock_flags() 39 volatile unsigned int *a; in arch_spin_unlock() local 41 a = __ldcw_align(x); in arch_spin_unlock() 42 *a = 1; in arch_spin_unlock() 48 volatile unsigned int *a; in arch_spin_trylock() local [all …]
|
/linux-4.1.27/fs/jfs/ |
D | jfs_extent.c | 37 #define DPD(a) (printk("(a): %d\n",(a))) argument 38 #define DPC(a) (printk("(a): %c\n",(a))) argument 39 #define DPL1(a) \ argument 41 if ((a) >> 32) \ 42 printk("(a): %x%08x ",(a)); \ 44 printk("(a): %x ",(a) << 32); \ 46 #define DPL(a) \ argument 48 if ((a) >> 32) \ 49 printk("(a): %x%08x\n",(a)); \ 51 printk("(a): %x\n",(a) << 32); \ [all …]
|