/drivers/staging/lustre/lustre/libcfs/ |
H A D | hash.c | 206 cfs_hash_lock_setup(struct cfs_hash *hs) argument 208 if (cfs_hash_with_no_lock(hs)) { 209 hs->hs_lops = &cfs_hash_nl_lops; 211 } else if (cfs_hash_with_no_bktlock(hs)) { 212 hs->hs_lops = &cfs_hash_nbl_lops; 213 spin_lock_init(&hs->hs_lock.spin); 215 } else if (cfs_hash_with_rehash(hs)) { 216 rwlock_init(&hs->hs_lock.rw); 218 if (cfs_hash_with_rw_bktlock(hs)) 219 hs 243 cfs_hash_hh_hhead_size(struct cfs_hash *hs) argument 249 cfs_hash_hh_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 257 cfs_hash_hh_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 265 cfs_hash_hh_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 282 cfs_hash_hd_hhead_size(struct cfs_hash *hs) argument 288 cfs_hash_hd_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 297 cfs_hash_hd_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 307 cfs_hash_hd_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 326 cfs_hash_dh_hhead_size(struct cfs_hash *hs) argument 332 cfs_hash_dh_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 341 cfs_hash_dh_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 356 cfs_hash_dh_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnd) argument 381 cfs_hash_dd_hhead_size(struct cfs_hash *hs) argument 387 cfs_hash_dd_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 396 cfs_hash_dd_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 411 cfs_hash_dd_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnd) argument 454 cfs_hash_hlist_setup(struct cfs_hash *hs) argument 466 cfs_hash_bd_from_key(struct cfs_hash *hs, struct cfs_hash_bucket **bkts, unsigned int bits, const void *key, struct cfs_hash_bd *bd) argument 478 cfs_hash_bd_get(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bd) argument 493 cfs_hash_bd_dep_record(struct cfs_hash *hs, struct cfs_hash_bd *bd, int dep_cur) argument 516 cfs_hash_bd_add_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 536 cfs_hash_bd_del_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 557 cfs_hash_bd_move_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd_old, struct cfs_hash_bd *bd_new, struct hlist_node *hnode) argument 614 cfs_hash_bd_lookup_intent(struct cfs_hash *hs, struct cfs_hash_bd *bd, const void *key, struct hlist_node *hnode, cfs_hash_lookup_intent_t intent) argument 655 cfs_hash_bd_lookup_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, const void *key) argument 663 cfs_hash_bd_peek_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, const void *key) argument 671 cfs_hash_bd_findadd_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, const void *key, struct hlist_node *hnode, int noref) argument 682 cfs_hash_bd_finddel_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, const void *key, struct hlist_node *hnode) argument 692 cfs_hash_multi_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds, unsigned n, int excl) argument 715 cfs_hash_multi_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds, unsigned n, int excl) argument 730 cfs_hash_multi_bd_lookup_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, unsigned n, const void *key) argument 746 cfs_hash_multi_bd_findadd_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, unsigned n, const void *key, struct hlist_node *hnode, int noref) argument 777 cfs_hash_multi_bd_finddel_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, unsigned n, const void *key, struct hlist_node *hnode) argument 821 cfs_hash_dual_bd_get(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bds) argument 841 cfs_hash_dual_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds, int excl) argument 848 cfs_hash_dual_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds, int excl) argument 855 cfs_hash_dual_bd_lookup_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, const void *key) argument 863 cfs_hash_dual_bd_findadd_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, const void *key, struct hlist_node *hnode, int noref) argument 873 cfs_hash_dual_bd_finddel_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds, const void *key, struct hlist_node *hnode) argument 900 cfs_hash_buckets_realloc(struct cfs_hash *hs, struct cfs_hash_bucket **old_bkts, unsigned int old_size, unsigned int new_size) argument 966 struct cfs_hash *hs = container_of(wi, struct cfs_hash, hs_dep_wi); local 987 cfs_hash_depth_wi_init(struct cfs_hash *hs) argument 993 cfs_hash_depth_wi_cancel(struct cfs_hash *hs) argument 1009 cfs_hash_depth_wi_init(struct cfs_hash *hs) argument 1010 cfs_hash_depth_wi_cancel(struct cfs_hash *hs) argument 1020 struct cfs_hash *hs; local 1090 cfs_hash_destroy(struct cfs_hash *hs) argument 1148 cfs_hash_getref(struct cfs_hash *hs) argument 1156 cfs_hash_putref(struct cfs_hash *hs) argument 1164 cfs_hash_rehash_bits(struct cfs_hash *hs) argument 1201 cfs_hash_rehash_inline(struct cfs_hash *hs) argument 1212 cfs_hash_add(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 1235 cfs_hash_find_or_add(struct cfs_hash *hs, const void *key, struct hlist_node *hnode, int noref) argument 1267 cfs_hash_add_unique(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 1281 cfs_hash_findadd_unique(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 1298 cfs_hash_del(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 1338 cfs_hash_del_key(struct cfs_hash *hs, const void *key) argument 1353 cfs_hash_lookup(struct cfs_hash *hs, const void *key) argument 1374 cfs_hash_for_each_enter(struct cfs_hash *hs) argument 1400 cfs_hash_for_each_exit(struct cfs_hash *hs) argument 1431 cfs_hash_for_each_tight(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data, int remove_safe) argument 1489 cfs_hash_cond_del_locked(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *data) argument 1505 cfs_hash_cond_del(struct cfs_hash *hs, cfs_hash_cond_opt_cb_t func, void *data) argument 1517 cfs_hash_for_each(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data) argument 1525 cfs_hash_for_each_safe(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data) argument 1533 cfs_hash_peek(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *data) argument 1541 cfs_hash_is_empty(struct cfs_hash *hs) argument 1551 cfs_hash_size_get(struct cfs_hash *hs) argument 1575 cfs_hash_for_each_relax(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data) argument 1636 cfs_hash_for_each_nolock(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data) argument 1669 cfs_hash_for_each_empty(struct cfs_hash *hs, cfs_hash_for_each_cb_t func, void *data) argument 1693 cfs_hash_hlist_for_each(struct cfs_hash *hs, unsigned hindex, cfs_hash_for_each_cb_t func, void *data) argument 1728 cfs_hash_for_each_key(struct cfs_hash *hs, const void *key, cfs_hash_for_each_cb_t func, void *data) argument 1769 cfs_hash_rehash_cancel_locked(struct cfs_hash *hs) argument 1798 cfs_hash_rehash_cancel(struct cfs_hash *hs) argument 1807 cfs_hash_rehash(struct cfs_hash *hs, int do_rehash) argument 1837 cfs_hash_rehash_bd(struct cfs_hash *hs, struct cfs_hash_bd *old) argument 1870 struct cfs_hash *hs = container_of(wi, struct cfs_hash, hs_rehash_wi); local 1977 cfs_hash_rehash_key(struct cfs_hash *hs, const void *old_key, void *new_key, struct hlist_node *hnode) argument 2026 cfs_hash_full_bkts(struct cfs_hash *hs) argument 2038 cfs_hash_full_nbkt(struct cfs_hash *hs) argument 2049 cfs_hash_debug_str(struct cfs_hash *hs, struct seq_file *m) argument [all...] |
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_hash.h | 288 struct hlist_head *(*hop_hhead)(struct cfs_hash *hs, struct cfs_hash_bd *bd); 290 int (*hop_hhead_size)(struct cfs_hash *hs); 292 int (*hop_hnode_add)(struct cfs_hash *hs, 295 int (*hop_hnode_del)(struct cfs_hash *hs, 301 unsigned (*hs_hash)(struct cfs_hash *hs, const void *key, unsigned mask); 314 void (*hs_get)(struct cfs_hash *hs, struct hlist_node *hnode); 316 void (*hs_put)(struct cfs_hash *hs, struct hlist_node *hnode); 318 void (*hs_put_locked)(struct cfs_hash *hs, struct hlist_node *hnode); 320 void (*hs_exit)(struct cfs_hash *hs, struct hlist_node *hnode); 323 /** total number of buckets in @hs */ 341 cfs_hash_with_no_lock(struct cfs_hash *hs) argument 348 cfs_hash_with_no_bktlock(struct cfs_hash *hs) argument 355 cfs_hash_with_rw_bktlock(struct cfs_hash *hs) argument 362 cfs_hash_with_spin_bktlock(struct cfs_hash *hs) argument 369 cfs_hash_with_add_tail(struct cfs_hash *hs) argument 375 cfs_hash_with_no_itemref(struct cfs_hash *hs) argument 384 cfs_hash_with_bigname(struct cfs_hash *hs) argument 390 cfs_hash_with_counter(struct cfs_hash *hs) argument 396 cfs_hash_with_rehash(struct cfs_hash *hs) argument 402 cfs_hash_with_rehash_key(struct cfs_hash *hs) argument 408 cfs_hash_with_shrink(struct cfs_hash *hs) argument 414 cfs_hash_with_assert_empty(struct cfs_hash *hs) argument 420 cfs_hash_with_depth(struct cfs_hash *hs) argument 426 cfs_hash_with_nblk_change(struct cfs_hash *hs) argument 432 cfs_hash_is_exiting(struct cfs_hash *hs) argument 438 cfs_hash_is_rehashing(struct cfs_hash *hs) argument 444 cfs_hash_is_iterating(struct cfs_hash *hs) argument 450 cfs_hash_bkt_size(struct cfs_hash *hs) argument 460 cfs_hash_id(struct cfs_hash *hs, const void *key, unsigned mask) argument 466 cfs_hash_key(struct cfs_hash *hs, struct hlist_node *hnode) argument 472 cfs_hash_keycpy(struct cfs_hash *hs, struct hlist_node *hnode, void *key) argument 482 cfs_hash_keycmp(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 488 cfs_hash_object(struct cfs_hash *hs, struct hlist_node *hnode) argument 494 cfs_hash_get(struct cfs_hash *hs, struct hlist_node *hnode) argument 500 cfs_hash_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) argument 508 cfs_hash_put(struct cfs_hash *hs, struct hlist_node *hnode) argument 516 cfs_hash_exit(struct cfs_hash *hs, struct hlist_node *hnode) argument 522 cfs_hash_lock(struct cfs_hash *hs, int excl) argument 527 cfs_hash_unlock(struct cfs_hash *hs, int excl) argument 532 cfs_hash_dec_and_lock(struct cfs_hash *hs, atomic_t *condition) argument 539 cfs_hash_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bd, int excl) argument 545 cfs_hash_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bd, int excl) argument 557 cfs_hash_bd_get_and_lock(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bd, int excl) argument 564 cfs_hash_bd_index_get(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 569 cfs_hash_bd_index_set(struct cfs_hash *hs, unsigned index, struct cfs_hash_bd *bd) argument 577 cfs_hash_bd_extra_get(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 622 cfs_hash_bd_dec_and_lock(struct cfs_hash *hs, struct cfs_hash_bd *bd, atomic_t *condition) argument 630 cfs_hash_bd_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) argument 656 cfs_hash_dual_bd_get_and_lock(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bds, int excl) argument 732 cfs_hash_key_validate(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 740 cfs_hash_bucket_validate(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 753 cfs_hash_key_validate(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument 757 cfs_hash_bucket_validate(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode) argument 779 __cfs_hash_theta(struct cfs_hash *hs) argument 785 __cfs_hash_set_theta(struct cfs_hash *hs, int min, int max) argument [all...] |
/drivers/usb/wusbcore/ |
H A D | security.c | 370 struct usb_handshake *hs; local 376 hs = kcalloc(3, sizeof(hs[0]), GFP_KERNEL); 377 if (hs == NULL) { 391 hs[0].bMessageNumber = 1; 392 hs[0].bStatus = 0; 393 memcpy(hs[0].tTKID, &tkid_le, sizeof(hs[0].tTKID)); 394 hs[0].bReserved = 0; 395 memcpy(hs[ [all...] |
H A D | rh.c | 196 memset(&descr->u.hs.DeviceRemovable[0], 0, temp); 197 memset(&descr->u.hs.DeviceRemovable[temp], 0xff, temp);
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_pkg_sender.h | 81 u8 param, u8 param_num, bool hs); 83 u32 len, bool hs); 85 u8 param1, u8 param_num, bool hs); 87 u32 len, bool hs); 90 u32 *data, u16 len, bool hs);
|
H A D | mdfld_dsi_pkg_sender.c | 229 u8 cmd, u8 param, bool hs) 236 if (hs) { 255 u8 *data, int len, bool hs) 266 if (hs) { 384 u8 *data, u16 len, bool hs) 417 ret = send_short_pkg(sender, data_type, data[0], data[1], hs); 421 ret = send_long_pkg(sender, data_type, data, len, hs); 433 u32 len, bool hs) 443 send_pkg(sender, DSI_DT_DCS_LONG_WRITE, data, len, hs); 450 u8 param, u8 param_num, bool hs) 228 send_short_pkg(struct mdfld_dsi_pkg_sender *sender, u8 data_type, u8 cmd, u8 param, bool hs) argument 254 send_long_pkg(struct mdfld_dsi_pkg_sender *sender, u8 data_type, u8 *data, int len, bool hs) argument 383 send_pkg(struct mdfld_dsi_pkg_sender *sender, u8 data_type, u8 *data, u16 len, bool hs) argument 432 mdfld_dsi_send_mcs_long(struct mdfld_dsi_pkg_sender *sender, u8 *data, u32 len, bool hs) argument 449 mdfld_dsi_send_mcs_short(struct mdfld_dsi_pkg_sender *sender, u8 cmd, u8 param, u8 param_num, bool hs) argument 478 mdfld_dsi_send_gen_short(struct mdfld_dsi_pkg_sender *sender, u8 param0, u8 param1, u8 param_num, bool hs) argument 515 mdfld_dsi_send_gen_long(struct mdfld_dsi_pkg_sender *sender, u8 *data, u32 len, bool hs) argument 532 __read_panel_data(struct mdfld_dsi_pkg_sender *sender, u8 data_type, u8 *data, u16 len, u32 *data_out, u16 len_out, bool hs) argument 589 mdfld_dsi_read_mcs(struct mdfld_dsi_pkg_sender *sender, u8 cmd, u32 *data, u16 len, bool hs) argument [all...] |
H A D | mdfld_dsi_output.c | 187 u8 dcs, u32 *data, bool hs) 197 return mdfld_dsi_read_mcs(sender, dcs, data, 1, hs); 201 bool hs) 208 return mdfld_dsi_get_panel_status(dsi_config, 0x0a, mode, hs); 186 mdfld_dsi_get_panel_status(struct mdfld_dsi_config *dsi_config, u8 dcs, u32 *data, bool hs) argument 200 mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config, u32 *mode, bool hs) argument
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | connection.c | 164 conn_hashfn(struct cfs_hash *hs, const void *key, unsigned mask) argument 198 conn_get(struct cfs_hash *hs, struct hlist_node *hnode) argument 207 conn_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) argument 216 conn_exit(struct cfs_hash *hs, struct hlist_node *hnode) argument
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | lu_object.c | 600 struct cfs_hash *hs; local 608 hs = dev->ld_site->ls_obj_hash; 609 cfs_hash_bd_get_and_lock(hs, (void *)f, &bd, 1); 610 bkt = cfs_hash_bd_extra_get(hs, &bd); 611 cfs_hash_bd_add_locked(hs, &bd, &o->lo_header->loh_hash); 613 cfs_hash_bd_unlock(hs, &bd, 1); 629 struct cfs_hash *hs; local 657 hs = s->ls_obj_hash; 658 cfs_hash_bd_get_and_lock(hs, (void *)f, &bd, 1); 660 cfs_hash_bd_unlock(hs, 799 lu_site_obj_print(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *data) argument 885 lu_obj_hop_hash(struct cfs_hash *hs, const void *key, unsigned mask) argument 925 lu_obj_hop_get(struct cfs_hash *hs, struct hlist_node *hnode) argument 940 lu_obj_hop_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) argument 1799 lu_site_stats_get(struct cfs_hash *hs, lu_site_stats_t *stats, int populated) argument 2083 struct cfs_hash *hs; local [all...] |
/drivers/block/paride/ |
H A D | pg.c | 572 int hs = sizeof (hdr); local 576 if (count < hs) 579 if (copy_from_user(&hdr, buf, hs)) 586 if ((count - hs) > PG_MAX_DATA) 590 if (count != hs) 611 if (copy_from_user(dev->bufptr, buf + hs, count - hs)) 620 int hs = sizeof (hdr); local 625 if (count < hs) 642 if (copy > (count - hs)) [all...] |
/drivers/usb/gadget/ |
H A D | config.c | 164 struct usb_descriptor_header **hs, 174 if (hs && gadget_is_dualspeed(g)) { 175 f->hs_descriptors = usb_copy_descriptors(hs); 162 usb_assign_descriptors(struct usb_function *f, struct usb_descriptor_header **fs, struct usb_descriptor_header **hs, struct usb_descriptor_header **ss) argument
|
/drivers/staging/lustre/lustre/osc/ |
H A D | osc_quota.c | 139 oqi_hashfn(struct cfs_hash *hs, const void *key, unsigned mask) argument 172 oqi_get(struct cfs_hash *hs, struct hlist_node *hnode) argument 177 oqi_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) argument 182 oqi_exit(struct cfs_hash *hs, struct hlist_node *hnode) argument
|
/drivers/video/fbdev/omap/ |
H A D | sossi.c | 398 int hs, vs; local 404 hs = ps_to_sossi_ticks(hs_pulse_time, div); 406 if (vs < 8 || vs <= hs || vs >= (1 << 12)) 410 if (hs > 8) 411 hs = 8; 412 if (hs) 413 hs--; 416 "setup_tearsync: hs %d vs %d hs_inv %d vs_inv %d\n", 417 hs, vs, hs_pol_inv, vs_pol_inv); 423 l |= hs; [all...] |
H A D | hwa742.c | 793 int hs, vs; local 850 hs = hndp; 858 hs = hsw; 866 hs = hs * 1000000 / (pix_clk / 1000); /* ps */ 867 hs *= 1000; 872 if (vs <= hs) 875 vs = hs * 12 / 10; 877 hs = 10000; 891 "hs [all...] |
/drivers/gpu/drm/i915/ |
H A D | intel_dsi_cmd.c | 106 /* enable or disable command mode hs transmissions */ 124 intel_dsi->hs = enable; 142 if (intel_dsi->hs) { 184 if (intel_dsi->hs) { 299 if (intel_dsi->hs) { 392 int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs) argument 401 /* XXX: pipe, hs */ 402 if (hs)
|
H A D | intel_dsi.h | 82 bool hs; member in struct:intel_dsi
|
H A D | intel_dsi_cmd.h | 53 int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs);
|
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_resource.c | 393 static unsigned ldlm_res_hop_hash(struct cfs_hash *hs, argument 405 static unsigned ldlm_res_hop_fid_hash(struct cfs_hash *hs, argument 425 hash = hash_long(hash, hs->hs_bkt_bits); 427 hash -= hash_long((unsigned long)hs, val % 11 + 3); 429 hash <<= hs->hs_cur_bits - hs->hs_bkt_bits; 430 hash |= ldlm_res_hop_hash(hs, key, CFS_HASH_NBKT(hs) - 1); 457 static void ldlm_res_hop_get_locked(struct cfs_hash *hs, struct hlist_node *hnode) argument 465 static void ldlm_res_hop_put_locked(struct cfs_hash *hs, struc argument 474 ldlm_res_hop_put(struct cfs_hash *hs, struct hlist_node *hnode) argument 746 ldlm_resource_clean(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *arg) argument 759 ldlm_resource_complain(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *arg) argument 1346 ldlm_res_hash_dump(struct cfs_hash *hs, struct cfs_hash_bd *bd, struct hlist_node *hnode, void *arg) argument [all...] |
/drivers/video/fbdev/ |
H A D | acornfb.c | 419 unsigned long hs, vs; local 422 * hs(Hz) = 10^12 / (pixclock * xtotal) 423 * vs(Hz) = hs(Hz) / ytotal 428 hs = 1953125000 / var->pixclock; 429 hs = hs * 512 / 431 vs = hs / 435 hs >= monspecs->hfmin && hs <= monspecs->hfmax) ? 0 : -EINVAL; 991 unsigned long hs; local [all...] |
/drivers/usb/dwc2/ |
H A D | gadget.c | 739 struct s3c_hsotg *hs = hs_ep->parent; local 742 dev_dbg(hs->dev, "%s: req %p: %d@%p, noi=%d, zero=%d, snok=%d\n", 752 if (using_dma(hs)) { 753 int ret = s3c_hsotg_map_dma(hs, hs_ep, req); 762 s3c_hsotg_start_req(hs, hs_ep, hs_req, false); 771 struct s3c_hsotg *hs = hs_ep->parent; local 775 spin_lock_irqsave(&hs->lock, flags); 777 spin_unlock_irqrestore(&hs->lock, flags); 2661 struct s3c_hsotg *hs = hs_ep->parent; local 2664 dev_dbg(hs 2687 struct s3c_hsotg *hs = hs_ep->parent; local 2751 struct s3c_hsotg *hs = hs_ep->parent; local [all...] |
/drivers/usb/host/ |
H A D | ohci-hub.c | 560 memset(desc->u.hs.DeviceRemovable, 0xff, 561 sizeof(desc->u.hs.DeviceRemovable)); 562 desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR; 564 desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8; 565 desc->u.hs.DeviceRemovable[2] = 0xff; 567 desc->u.hs.DeviceRemovable[1] = 0xff;
|
/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 56 int hs = 0, stat = 0; local 60 hs = DID_NO_CONNECT; 69 hs = DID_NO_CONNECT; 74 hs = DID_ERROR; 77 hs = DID_ERROR; 80 hs = DID_SOFT_ERROR; /* retry */ 83 hs = DID_BAD_TARGET; 86 hs = DID_PARITY; 90 hs = DID_SOFT_ERROR; /* retry */ 92 hs [all...] |
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_misc.c | 191 unsigned int hd, hs, he, hbe, ht; local 240 hs = m->HSyncStart >> 3; 249 hs >>= 1; 258 hs <<= 1; 264 hs = hs - 1; 282 hw->CRTCEXT[5] = (hs + he - ht) >> 1; 290 ((hs & 0x100) >> 6) | /* sync start */ 307 hw->CRTC[4] = hs;
|
/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 5314 struct fc_host_statistics *hs = &phba->link_stats; local 5355 memset(hs, 0, sizeof (struct fc_host_statistics)); 5357 hs->tx_frames = pmb->un.varRdStatus.xmitFrameCnt; 5362 hs->tx_words = (uint64_t) 5365 hs->rx_frames = pmb->un.varRdStatus.rcvFrameCnt; 5366 hs->rx_words = (uint64_t) 5387 hs->link_failure_count = pmb->un.varRdLnk.linkFailureCnt; 5388 hs->loss_of_sync_count = pmb->un.varRdLnk.lossSyncCnt; 5389 hs->loss_of_signal_count = pmb->un.varRdLnk.lossSignalCnt; 5390 hs [all...] |
/drivers/staging/lustre/lustre/llite/ |
H A D | vvp_dev.c | 300 static int vvp_pgcache_obj_get(struct cfs_hash *hs, struct cfs_hash_bd *bd, argument 304 struct lu_object_header *hdr = cfs_hash_object(hs, hnode); 312 cfs_hash_get(hs, hnode);
|