Searched refs:BITS_TO_LONGS (Results 26 - 50 of 244) sorted by relevance

12345678910

/linux-master/drivers/input/joystick/iforce/
H A Diforce.h43 unsigned long flags[BITS_TO_LONGS(FF_MODCORE_CNT)];
/linux-master/include/linux/
H A Dnodemask.h319 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
326 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \
327 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
334 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
H A Dtypes.h11 unsigned long name[BITS_TO_LONGS(bits)]
H A Dbitmap.h227 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long);
237 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long);
248 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long);
/linux-master/tools/include/linux/
H A Dbitops.h18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) macro
/linux-master/drivers/misc/sgi-gru/
H A Dgruhandles.h172 unsigned long fault_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
174 unsigned long done_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
/linux-master/lib/math/
H A Dprime_numbers.c9 #define bitmap_size(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long))
257 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf);
/linux-master/net/rfkill/
H A Dinput.c41 static unsigned long rfkill_sw_pending[BITS_TO_LONGS(NUM_RFKILL_TYPES)];
42 static unsigned long rfkill_sw_state[BITS_TO_LONGS(NUM_RFKILL_TYPES)];
/linux-master/arch/sh/kernel/
H A Dperf_event.c30 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
/linux-master/net/mac80211/
H A Dsta_info.h285 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
286 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
287 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)];
288 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
289 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
/linux-master/fs/ocfs2/cluster/
H A Dheartbeat.c46 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
58 static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
59 static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
60 static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
61 static unsigned long o2hb_failed_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
220 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
249 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
372 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
1082 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)];
1083 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODE
[all...]
/linux-master/drivers/iio/buffer/
H A Dindustrialio-hw-consumer.c62 buf = kzalloc(struct_size(buf, scan_mask, BITS_TO_LONGS(indio_dev->masklength)),
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.h63 unsigned long xehp[BITS_TO_LONGS(I915_MAX_SS_FUSE_BITS)];
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-master/net/batman-adv/
H A Dmain.h84 #define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
/linux-master/drivers/gpu/drm/xe/
H A Dxe_wa.c675 n_gt = BITS_TO_LONGS(ARRAY_SIZE(gt_was));
676 n_engine = BITS_TO_LONGS(ARRAY_SIZE(engine_was));
677 n_lrc = BITS_TO_LONGS(ARRAY_SIZE(lrc_was));
678 n_oob = BITS_TO_LONGS(ARRAY_SIZE(oob_was));
/linux-master/fs/ocfs2/
H A Dstack_o2cb.c257 unsigned long hbmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
258 unsigned long netmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
/linux-master/net/ethtool/
H A Dfeatures.c136 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT);
146 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT);
/linux-master/drivers/input/keyboard/
H A Dgpio_keys_polled.c39 unsigned long rel_axis_seen[BITS_TO_LONGS(REL_CNT)];
40 unsigned long abs_axis_seen[BITS_TO_LONGS(ABS_CNT)];
/linux-master/drivers/infiniband/hw/irdma/
H A Dhw.c1964 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)];
1965 rf->allocated_mrs = &rf->allocated_cqs[BITS_TO_LONGS(rf->max_cq)];
1966 rf->allocated_pds = &rf->allocated_mrs[BITS_TO_LONGS(rf->max_mr)];
1967 rf->allocated_ahs = &rf->allocated_pds[BITS_TO_LONGS(rf->max_pd)];
1968 rf->allocated_mcgs = &rf->allocated_ahs[BITS_TO_LONGS(rf->max_ah)];
1969 rf->allocated_arps = &rf->allocated_mcgs[BITS_TO_LONGS(rf->max_mcg)];
1971 (&rf->allocated_arps[BITS_TO_LONGS(rf->arp_table_size)]);
1990 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp);
1991 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr);
1992 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(r
[all...]
/linux-master/drivers/input/
H A Devdev.c652 len = BITS_TO_LONGS(maxbit) * sizeof(long);
689 len = BITS_TO_LONGS(maxbit) * sizeof(long);
707 BITS_TO_LONGS(maxbit) * sizeof(long);
724 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit);
739 int len = BITS_TO_LONGS(maxbit) * sizeof(long);
755 len = BITS_TO_LONGS(maxbit) * sizeof(long);
1004 size = sizeof(unsigned long) * BITS_TO_LONGS(cnt);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h950 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)];
951 unsigned long vf_vlan_full[BITS_TO_LONGS(HCLGE_VPORT_NUM)];
953 unsigned long vport_config_block[BITS_TO_LONGS(HCLGE_VPORT_NUM)];
963 unsigned long fd_bmap[BITS_TO_LONGS(MAX_FD_FILTER_NUM)];
1057 unsigned long vlan_del_fail_bmap[BITS_TO_LONGS(VLAN_N_VID)];
/linux-master/include/drm/
H A Ddrm_connector.h303 unsigned long y420_vdb_modes[BITS_TO_LONGS(256)];
311 unsigned long y420_cmdb_modes[BITS_TO_LONGS(256)];
/linux-master/drivers/net/wireless/ti/wlcore/
H A Drx.c201 unsigned long active_hlids[BITS_TO_LONGS(WLCORE_MAX_LINKS)] = {0};
/linux-master/drivers/irqchip/
H A Dirq-davinci-cp-intc.c162 unsigned int num_regs = BITS_TO_LONGS(config->num_irqs);

Completed in 509 milliseconds

12345678910