/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
H A D | lmc_media.c | 156 lmc_dummy_set_1 (lmc_softc_t * const sc, int a) in lmc_dummy_set_1() argument 161 lmc_dummy_set2_1 (lmc_softc_t * const sc, lmc_ctl_t * a) in lmc_dummy_set2_1() argument 170 lmc_hssi_init (lmc_softc_t * const sc) in lmc_hssi_init() argument 172 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200; in lmc_hssi_init() 174 lmc_gpio_mkoutput (sc, LMC_GEP_HSSI_CLOCK); in lmc_hssi_init() 178 lmc_hssi_default (lmc_softc_t * const sc) in lmc_hssi_default() argument 180 sc->lmc_miireg16 = LMC_MII16_LED_ALL; in lmc_hssi_default() 182 sc->lmc_media->set_link_status (sc, LMC_LINK_DOWN); in lmc_hssi_default() 183 sc in lmc_hssi_default() 192 lmc_hssi_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_hssi_set_status() argument 223 lmc_hssi_set_clock(lmc_softc_t * const sc, int ie) lmc_hssi_set_clock() argument 250 lmc_hssi_get_link_status(lmc_softc_t * const sc) lmc_hssi_get_link_status() argument 260 lmc_hssi_set_link_status(lmc_softc_t * const sc, int state) lmc_hssi_set_link_status() argument 274 lmc_hssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_hssi_set_crc_length() argument 293 lmc_hssi_watchdog(lmc_softc_t * const sc) lmc_hssi_watchdog() argument 306 lmc_ds3_set_100ft(lmc_softc_t * const sc, int ie) lmc_ds3_set_100ft() argument 322 lmc_ds3_default(lmc_softc_t * const sc) lmc_ds3_default() argument 337 lmc_ds3_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_ds3_set_status() argument 368 lmc_ds3_init(lmc_softc_t * const sc) lmc_ds3_init() argument 403 lmc_ds3_set_scram(lmc_softc_t * const sc, int ie) lmc_ds3_set_scram() argument 423 lmc_ds3_get_link_status(lmc_softc_t * const sc) lmc_ds3_get_link_status() argument 509 lmc_ds3_set_crc_length(lmc_softc_t * const sc, int state) lmc_ds3_set_crc_length() argument 528 lmc_ds3_watchdog(lmc_softc_t * const sc) lmc_ds3_watchdog() argument 538 lmc_ssi_init(lmc_softc_t * const sc) lmc_ssi_init() argument 554 lmc_ssi_default(lmc_softc_t * const sc) lmc_ssi_default() argument 574 lmc_ssi_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_ssi_set_status() argument 611 lmc_ssi_set_clock(lmc_softc_t * const sc, int ie) lmc_ssi_set_clock() argument 634 lmc_ssi_set_speed(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_ssi_set_speed() argument 676 lmc_ssi_get_link_status(lmc_softc_t * const sc) lmc_ssi_get_link_status() argument 764 lmc_ssi_set_link_status(lmc_softc_t * const sc, int state) lmc_ssi_set_link_status() argument 785 lmc_ssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_ssi_set_crc_length() argument 810 write_av9110_bit(lmc_softc_t * sc, int c) write_av9110_bit() argument 835 write_av9110(lmc_softc_t *sc, u32 n, u32 m, u32 v, u32 x, u32 r) write_av9110() argument 882 lmc_ssi_watchdog(lmc_softc_t * const sc) lmc_ssi_watchdog() argument 899 lmc_t1_write(lmc_softc_t * const sc, int a, int d) lmc_t1_write() argument 916 lmc_t1_init(lmc_softc_t * const sc) lmc_t1_init() argument 979 lmc_t1_default(lmc_softc_t * const sc) lmc_t1_default() argument 991 lmc_t1_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_t1_set_status() argument 1015 lmc_t1_get_link_status(lmc_softc_t * const sc) lmc_t1_get_link_status() argument 1129 lmc_t1_set_circuit_type(lmc_softc_t * const sc, int ie) lmc_t1_set_circuit_type() argument 1149 lmc_t1_set_crc_length(lmc_softc_t * const sc, int state) lmc_t1_set_crc_length() argument 1174 lmc_t1_set_clock(lmc_softc_t * const sc, int ie) lmc_t1_set_clock() argument 1197 lmc_t1_watchdog(lmc_softc_t * const sc) lmc_t1_watchdog() argument 1202 lmc_set_protocol(lmc_softc_t * const sc, lmc_ctl_t * ctl) lmc_set_protocol() argument [all...] |
H A D | lmc_main.c | 95 static void lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size); 100 static void lmc_reset(lmc_softc_t * const sc); 101 static void lmc_dec_reset(lmc_softc_t * const sc); 110 lmc_softc_t *sc = dev_to_sc(dev); in lmc_ioctl() local 127 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) in lmc_ioctl() 149 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_ioctl() 150 sc->lmc_media->set_status (sc, &ctl); in lmc_ioctl() 152 if(ctl.crc_length != sc->ictl.crc_length) { in lmc_ioctl() 153 sc in lmc_ioctl() 627 lmc_softc_t *sc = from_timer(sc, t, timer); lmc_watchdog() local 800 lmc_softc_t *sc; lmc_init_one() local 971 lmc_softc_t *sc = dev_to_sc(dev); lmc_open() local 1075 lmc_softc_t *sc = dev_to_sc(dev); lmc_running_reset() local 1108 lmc_softc_t *sc = dev_to_sc(dev); lmc_close() local 1123 lmc_softc_t *sc = dev_to_sc(dev); lmc_ifdown() local 1185 lmc_softc_t *sc = dev_to_sc(dev); lmc_interrupt() local 1365 lmc_softc_t *sc = dev_to_sc(dev); lmc_start_xmit() local 1450 lmc_softc_t *sc = dev_to_sc(dev); lmc_rx() local 1642 lmc_softc_t *sc = dev_to_sc(dev); lmc_get_stats() local 1663 lmc_mii_readreg(lmc_softc_t * const sc, unsigned devaddr, unsigned regno) lmc_mii_readreg() argument 1697 lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr, unsigned regno, unsigned data) lmc_mii_writereg() argument 1736 lmc_softreset(lmc_softc_t * const sc) lmc_softreset() argument 1816 lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits) lmc_gpio_mkinput() argument 1822 lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits) lmc_gpio_mkoutput() argument 1828 lmc_led_on(lmc_softc_t * const sc, u32 led) lmc_led_on() argument 1837 lmc_led_off(lmc_softc_t * const sc, u32 led) lmc_led_off() argument 1846 lmc_reset(lmc_softc_t * const sc) lmc_reset() argument 1885 lmc_dec_reset(lmc_softc_t * const sc) lmc_dec_reset() argument 1945 lmc_initcsrs(lmc_softc_t * const sc, lmc_csrptr_t csr_base, size_t csr_size) lmc_initcsrs() argument 1968 lmc_softc_t *sc = dev_to_sc(dev); lmc_driver_timeout() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | agheader.c | 23 struct xfs_scrub *sc) in xchk_setup_agheader() 25 if (xchk_need_intent_drain(sc)) in xchk_setup_agheader() 26 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_agheader() 27 return xchk_setup_fs(sc); in xchk_setup_agheader() 35 struct xfs_scrub *sc, in xchk_superblock_xref() 38 struct xfs_mount *mp = sc->mp; in xchk_superblock_xref() 39 xfs_agnumber_t agno = sc->sm->sm_agno; in xchk_superblock_xref() 43 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_superblock_xref() 48 error = xchk_ag_init_existing(sc, agno, &sc in xchk_superblock_xref() 22 xchk_setup_agheader( struct xfs_scrub *sc) xchk_setup_agheader() argument 34 xchk_superblock_xref( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_superblock_xref() argument 70 xchk_superblock( struct xfs_scrub *sc) xchk_superblock() argument 380 xchk_agf_xref_freeblks( struct xfs_scrub *sc) xchk_agf_xref_freeblks() argument 400 xchk_agf_xref_cntbt( struct xfs_scrub *sc) xchk_agf_xref_cntbt() argument 432 xchk_agf_xref_btreeblks( struct xfs_scrub *sc) xchk_agf_xref_btreeblks() argument 482 xchk_agf_xref_refcblks( struct xfs_scrub *sc) xchk_agf_xref_refcblks() argument 501 xchk_agf_xref( struct xfs_scrub *sc) xchk_agf_xref() argument 529 xchk_agf( struct xfs_scrub *sc) xchk_agf() argument 633 struct xfs_scrub *sc; global() member 638 xchk_agfl_block_xref( struct xfs_scrub *sc, xfs_agblock_t agbno) xchk_agfl_block_xref() argument 660 struct xfs_scrub *sc = sai->sc; xchk_agfl_block() local 689 xchk_agfl_xref( struct xfs_scrub *sc) xchk_agfl_xref() argument 716 xchk_agfl( struct xfs_scrub *sc) xchk_agfl() argument 794 xchk_agi_xref_icounts( struct xfs_scrub *sc) xchk_agi_xref_icounts() argument 815 xchk_agi_xref_fiblocks( struct xfs_scrub *sc) xchk_agi_xref_fiblocks() argument 844 xchk_agi_xref( struct xfs_scrub *sc) xchk_agi_xref() argument 870 xchk_agi( struct xfs_scrub *sc) xchk_agi() argument [all...] |
H A D | common.c | 67 struct xfs_scrub *sc, in __xchk_process_error() 81 sc->ip ? sc->ip : XFS_I(file_inode(sc->file)), in __xchk_process_error() 82 sc->sm, *error); in __xchk_process_error() 87 sc->sm->sm_flags |= errflag; in __xchk_process_error() 91 trace_xchk_op_error(sc, agno, bno, *error, in __xchk_process_error() 100 struct xfs_scrub *sc, in xchk_process_error() 105 return __xchk_process_error(sc, agno, bno, error, in xchk_process_error() 111 struct xfs_scrub *sc, in xchk_xref_process_error() 66 __xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error, __u32 errflag, void *ret_ip) __xchk_process_error() argument 99 xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_process_error() argument 110 xchk_xref_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_xref_process_error() argument 122 __xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error, __u32 errflag, void *ret_ip) __xchk_fblock_process_error() argument 153 xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_process_error() argument 164 xchk_fblock_xref_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_xref_process_error() argument 188 xchk_block_set_preen( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_set_preen() argument 202 xchk_ino_set_preen( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_preen() argument 212 xchk_set_corrupt( struct xfs_scrub *sc) xchk_set_corrupt() argument 221 xchk_block_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_set_corrupt() argument 231 xchk_block_xref_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_xref_set_corrupt() argument 245 xchk_ino_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_corrupt() argument 255 xchk_ino_xref_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_xref_set_corrupt() argument 265 xchk_fblock_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_set_corrupt() argument 276 xchk_fblock_xref_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_xref_set_corrupt() argument 290 xchk_ino_set_warning( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_warning() argument 300 xchk_fblock_set_warning( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_set_warning() argument 311 xchk_set_incomplete( struct xfs_scrub *sc) xchk_set_incomplete() argument 355 xchk_count_rmap_ownedby_ag( struct xfs_scrub *sc, struct xfs_btree_cur *cur, const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks) xchk_count_rmap_ownedby_ag() argument 381 want_ag_read_header_failure( struct xfs_scrub *sc, unsigned int type) want_ag_read_header_failure() argument 408 xchk_perag_read_headers( struct xfs_scrub *sc, struct xchk_ag *sa) xchk_perag_read_headers() argument 430 xchk_perag_drain_and_lock( struct xfs_scrub *sc) xchk_perag_drain_and_lock() argument 508 xchk_ag_read_headers( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) xchk_ag_read_headers() argument 551 xchk_ag_btcur_init( struct xfs_scrub *sc, struct xchk_ag *sa) xchk_ag_btcur_init() argument 602 xchk_ag_free( struct xfs_scrub *sc, struct xchk_ag *sa) xchk_ag_free() argument 629 xchk_ag_init( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) xchk_ag_init() argument 647 xchk_trans_cancel( struct xfs_scrub *sc) xchk_trans_cancel() argument 665 xchk_trans_alloc( struct xfs_scrub *sc, uint resblks) xchk_trans_alloc() argument 678 xchk_setup_fs( struct xfs_scrub *sc) xchk_setup_fs() argument 689 xchk_setup_ag_btree( struct xfs_scrub *sc, bool force_log) xchk_setup_ag_btree() argument 731 xchk_iget( struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_inode **ipp) xchk_iget() argument 756 xchk_iget_agi( struct xfs_scrub *sc, xfs_ino_t inum, struct xfs_buf **agi_bpp, struct xfs_inode **ipp) xchk_iget_agi() argument 821 xchk_install_handle_inode( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_install_handle_inode() argument 840 xchk_install_live_inode( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_install_live_inode() argument 861 xchk_iget_for_scrubbing( struct xfs_scrub *sc) xchk_iget_for_scrubbing() argument 975 xchk_irele( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_irele() argument 1014 xchk_setup_inode_contents( struct xfs_scrub *sc, unsigned int resblks) xchk_setup_inode_contents() argument 1037 xchk_ilock( struct xfs_scrub *sc, unsigned int ilock_flags) xchk_ilock() argument 1046 xchk_ilock_nowait( struct xfs_scrub *sc, unsigned int ilock_flags) xchk_ilock_nowait() argument 1059 xchk_iunlock( struct xfs_scrub *sc, unsigned int ilock_flags) xchk_iunlock() argument 1073 xchk_should_check_xref( struct xfs_scrub *sc, int *error, struct xfs_btree_cur **curpp) xchk_should_check_xref() argument 1108 xchk_buffer_recheck( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_buffer_recheck() argument 1130 xchk_metadata_inode_subtype( struct xfs_scrub *sc, unsigned int scrub_type) xchk_metadata_inode_subtype() argument 1161 xchk_metadata_inode_forks( struct xfs_scrub *sc) xchk_metadata_inode_forks() argument 1219 xchk_fsgates_enable( struct xfs_scrub *sc, unsigned int scrub_fsgates) xchk_fsgates_enable() argument 1251 xchk_inode_is_allocated( struct xfs_scrub *sc, xfs_agino_t agino, bool *inuse) xchk_inode_is_allocated() argument [all...] |
H A D | rmap.c | 33 struct xfs_scrub *sc) in xchk_setup_ag_rmapbt() 35 if (xchk_need_intent_drain(sc)) in xchk_setup_ag_rmapbt() 36 xchk_fsgates_enable(sc, XCHK_FSGATES_DRAIN); in xchk_setup_ag_rmapbt() 38 return xchk_setup_ag_btree(sc, false); in xchk_setup_ag_rmapbt() 71 struct xfs_scrub *sc, in xchk_rmapbt_xref_refc() 82 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_rmapbt_xref_refc() 91 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc() 93 if (!xchk_should_check_xref(sc, &error, &sc in xchk_rmapbt_xref_refc() 32 xchk_setup_ag_rmapbt( struct xfs_scrub *sc) xchk_setup_ag_rmapbt() argument 70 xchk_rmapbt_xref_refc( struct xfs_scrub *sc, struct xfs_rmap_irec *irec) xchk_rmapbt_xref_refc() argument 101 xchk_rmapbt_xref( struct xfs_scrub *sc, struct xfs_rmap_irec *irec) xchk_rmapbt_xref() argument 139 struct xfs_scrub *sc = bs->sc; xchk_rmapbt_check_unwritten_in_keyflags() local 176 xchk_rmapbt_is_shareable( struct xfs_scrub *sc, const struct xfs_rmap_irec *irec) xchk_rmapbt_is_shareable() argument 277 struct xfs_scrub *sc = bs->sc; xchk_rmapbt_mark_bitmap() local 386 xchk_rmapbt_walk_ag_metadata( struct xfs_scrub *sc, struct xchk_rmap *cr) xchk_rmapbt_walk_ag_metadata() argument 500 xchk_rmapbt_check_bitmaps( struct xfs_scrub *sc, struct xchk_rmap *cr) xchk_rmapbt_check_bitmaps() argument 536 xchk_rmapbt( struct xfs_scrub *sc) xchk_rmapbt() argument 575 xchk_xref_is_only_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xchk_xref_is_only_owned_by() argument 600 xchk_xref_is_not_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xchk_xref_is_not_owned_by() argument 623 xchk_xref_has_no_owner( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len) xchk_xref_has_no_owner() argument [all...] |
H A D | inode.c | 31 struct xfs_scrub *sc) in xchk_prepare_iscrub() 35 xchk_ilock(sc, XFS_IOLOCK_EXCL); in xchk_prepare_iscrub() 37 error = xchk_trans_alloc(sc, 0); in xchk_prepare_iscrub() 41 xchk_ilock(sc, XFS_ILOCK_EXCL); in xchk_prepare_iscrub() 48 struct xfs_scrub *sc, in xchk_install_handle_iscrub() 53 error = xchk_install_handle_inode(sc, ip); in xchk_install_handle_iscrub() 57 return xchk_prepare_iscrub(sc); in xchk_install_handle_iscrub() 68 struct xfs_scrub *sc) in xchk_setup_inode() 72 struct xfs_mount *mp = sc->mp; in xchk_setup_inode() 73 struct xfs_inode *ip_in = XFS_I(file_inode(sc in xchk_setup_inode() 30 xchk_prepare_iscrub( struct xfs_scrub *sc) xchk_prepare_iscrub() argument 47 xchk_install_handle_iscrub( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_install_handle_iscrub() argument 67 xchk_setup_inode( struct xfs_scrub *sc) xchk_setup_inode() argument 203 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 239 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 258 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 303 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 346 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 361 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 593 xchk_inode_xref_finobt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_xref_finobt() argument 636 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) xchk_inode_xref_bmap() argument 670 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument 707 xchk_inode_check_reflink_iflag( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_check_reflink_iflag() argument 731 xchk_inode( struct xfs_scrub *sc) xchk_inode() argument [all...] |
H A D | common.h | 16 struct xfs_scrub *sc, in xchk_should_terminate() 34 int xchk_trans_alloc(struct xfs_scrub *sc, uint resblks); 35 void xchk_trans_cancel(struct xfs_scrub *sc); 37 bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno, 39 bool xchk_fblock_process_error(struct xfs_scrub *sc, int whichfork, 42 bool xchk_xref_process_error(struct xfs_scrub *sc, 44 bool xchk_fblock_xref_process_error(struct xfs_scrub *sc, 47 void xchk_block_set_preen(struct xfs_scrub *sc, 49 void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino); 51 void xchk_set_corrupt(struct xfs_scrub *sc); 15 xchk_should_terminate( struct xfs_scrub *sc, int *error) xchk_should_terminate() argument 95 xchk_setup_rtbitmap(struct xfs_scrub *sc) xchk_setup_rtbitmap() argument 100 xchk_setup_rtsummary(struct xfs_scrub *sc) xchk_setup_rtsummary() argument 109 xchk_setup_quota(struct xfs_scrub *sc) xchk_setup_quota() argument 126 xchk_ag_init_existing( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) xchk_ag_init_existing() argument 199 xchk_need_intent_drain(struct xfs_scrub *sc) xchk_need_intent_drain() argument [all...] |
H A D | fscounters.c | 52 struct xfs_scrub *sc; member 81 struct xfs_scrub *sc) in xchk_fscount_warmup() 83 struct xfs_mount *mp = sc->mp; in xchk_fscount_warmup() 91 if (xchk_should_terminate(sc, &error)) in xchk_fscount_warmup() 98 error = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp); in xchk_fscount_warmup() 101 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp); in xchk_fscount_warmup() 132 struct xfs_scrub *sc) in xchk_fsfreeze() 136 error = freeze_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL); in xchk_fsfreeze() 137 trace_xchk_fsfreeze(sc, error); in xchk_fsfreeze() 143 struct xfs_scrub *sc) in xchk_fsthaw() 80 xchk_fscount_warmup( struct xfs_scrub *sc) xchk_fscount_warmup() argument 131 xchk_fsfreeze( struct xfs_scrub *sc) xchk_fsfreeze() argument 142 xchk_fsthaw( struct xfs_scrub *sc) xchk_fsthaw() argument 162 xchk_fscounters_freeze( struct xfs_scrub *sc) xchk_fscounters_freeze() argument 193 struct xfs_scrub *sc = fsc->sc; xchk_fscounters_cleanup() local 207 xchk_setup_fscounters( struct xfs_scrub *sc) xchk_setup_fscounters() argument 262 xchk_fscount_btreeblks( struct xfs_scrub *sc, struct xchk_fscounters *fsc, xfs_agnumber_t agno) xchk_fscount_btreeblks() argument 296 xchk_fscount_aggregate_agcounts( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_aggregate_agcounts() argument 410 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_count_frextents() argument 435 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_count_frextents() argument 465 xchk_fscount_within_range( struct xfs_scrub *sc, const int64_t old_value, struct percpu_counter *counter, uint64_t expected) xchk_fscount_within_range() argument 498 xchk_fscounters( struct xfs_scrub *sc) xchk_fscounters() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 23 static int ath_set_channel(struct ath_softc *sc) in ath_set_channel() argument 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 47 ath_update_survey_stats(sc); in ath_set_channel() 57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 58 if (sc->cur_survey) in ath_set_channel() 59 sc in ath_set_channel() 103 ath_chanctx_init(struct ath_softc *sc) ath_chanctx_init() argument 130 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_set_channel() argument 157 ath_is_go_chanctx_present(struct ath_softc *sc) ath_is_go_chanctx_present() argument 233 chanctx_event_delta(struct ath_softc *sc) chanctx_event_delta() argument 247 ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_check_active() argument 327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_get_next() argument 334 ath_chanctx_adjust_tbtt_delta(struct ath_softc *sc) ath_chanctx_adjust_tbtt_delta() argument 373 ath_chanctx_setup_timer(struct ath_softc *sc, u32 tsf_time) ath_chanctx_setup_timer() argument 389 ath_chanctx_handle_bmiss(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp) ath_chanctx_handle_bmiss() argument 414 ath_chanctx_offchannel_noa(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp, u32 tsf_time) ath_chanctx_offchannel_noa() argument 440 ath_chanctx_set_periodic_noa(struct ath_softc *sc, struct ath_vif *avp, struct ath_beacon_config *cur_conf, u32 tsf_time, u32 beacon_int) ath_chanctx_set_periodic_noa() argument 473 ath_chanctx_set_oneshot_noa(struct ath_softc *sc, struct ath_vif *avp, u32 tsf_time, u32 duration) ath_chanctx_set_oneshot_noa() argument 494 ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, enum ath_chanctx_event ev) ath_chanctx_event() argument 777 ath_chanctx_beacon_sent_ev(struct ath_softc *sc, enum ath_chanctx_event ev) ath_chanctx_beacon_sent_ev() argument 784 ath_chanctx_beacon_recv_ev(struct ath_softc *sc, enum ath_chanctx_event ev) ath_chanctx_beacon_recv_ev() argument 790 ath_scan_channel_duration(struct ath_softc *sc, struct ieee80211_channel *chan) ath_scan_channel_duration() argument 801 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_switch() argument 848 ath_chanctx_offchan_switch(struct ath_softc *sc, struct ieee80211_channel *chan) ath_chanctx_offchan_switch() argument 861 ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active) ath_chanctx_get_oper_chan() argument 880 ath_scan_next_channel(struct ath_softc *sc) ath_scan_next_channel() argument 910 ath_offchannel_next(struct ath_softc *sc) ath_offchannel_next() argument 939 ath_roc_complete(struct ath_softc *sc, enum ath_roc_complete_reason reason) ath_roc_complete() argument 964 ath_scan_complete(struct ath_softc *sc, bool abort) ath_scan_complete() argument 989 ath_scan_send_probe(struct ath_softc *sc, struct cfg80211_ssid *ssid) ath_scan_send_probe() argument 1026 ath_scan_channel_start(struct ath_softc *sc) ath_scan_channel_start() argument 1048 struct ath_softc *sc = from_timer(sc, t, sched.timer); ath_chanctx_timer() local 1059 struct ath_softc *sc = from_timer(sc, t, offchannel.timer); ath_offchannel_timer() local 1101 ath_chanctx_send_vif_ps_frame(struct ath_softc *sc, struct ath_vif *avp, bool powersave) ath_chanctx_send_vif_ps_frame() argument 1148 ath_chanctx_send_ps_frame(struct ath_softc *sc, bool powersave) ath_chanctx_send_ps_frame() argument 1163 ath_chanctx_defer_switch(struct ath_softc *sc) ath_chanctx_defer_switch() argument 1189 ath_offchannel_channel_change(struct ath_softc *sc) ath_offchannel_channel_change() argument 1229 ath_chanctx_set_next(struct ath_softc *sc, bool force) ath_chanctx_set_next() argument 1326 struct ath_softc *sc = container_of(work, struct ath_softc, ath_chanctx_work() local 1333 ath9k_offchannel_init(struct ath_softc *sc) ath9k_offchannel_init() argument 1361 ath9k_init_channel_context(struct ath_softc *sc) ath9k_init_channel_context() argument 1371 ath9k_deinit_channel_context(struct ath_softc *sc) ath9k_deinit_channel_context() argument 1385 ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_stop_queues() argument 1404 ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_wake_queues() argument 1426 ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) ath9k_update_p2p_ps_timer() argument 1455 ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_update_p2p_ps() argument 1476 ath9k_get_ctwin(struct ath_softc *sc, struct ath_vif *avp) ath9k_get_ctwin() argument 1500 ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, struct sk_buff *skb) ath9k_beacon_add_noa() argument 1557 struct ath_softc *sc = priv; ath9k_p2p_ps_timer() local 1604 ath9k_p2p_bss_info_changed(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_p2p_bss_info_changed() argument 1616 ath9k_p2p_beacon_sync(struct ath_softc *sc) ath9k_p2p_beacon_sync() argument 1622 ath9k_p2p_remove_vif(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_p2p_remove_vif() argument 1635 ath9k_init_p2p(struct ath_softc *sc) ath9k_init_p2p() argument 1645 ath9k_deinit_p2p(struct ath_softc *sc) ath9k_deinit_p2p() argument [all...] |
H A D | main.c | 60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() argument 78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() argument 92 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower() 93 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() 94 spin_unlock_irqrestore(&sc->sc_pm_lock, flags); in ath9k_setpower() 101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); in ath_ps_full_sleep() local 102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep() 110 ath9k_hw_setrxabort(sc in ath_ps_full_sleep() 116 ath9k_ps_wakeup(struct ath_softc *sc) ath9k_ps_wakeup() argument 147 ath9k_ps_restore(struct ath_softc *sc) ath9k_ps_restore() argument 185 __ath_cancel_work(struct ath_softc *sc) __ath_cancel_work() argument 197 ath_cancel_work(struct ath_softc *sc) ath_cancel_work() argument 203 ath_restart_work(struct ath_softc *sc) ath_restart_work() argument 215 ath_prepare_reset(struct ath_softc *sc) ath_prepare_reset() argument 235 ath_complete_reset(struct ath_softc *sc, bool start) ath_complete_reset() argument 285 ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) ath_reset_internal() argument 355 ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, struct ieee80211_vif *vif) ath_node_attach() argument 371 ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) ath_node_detach() argument 381 struct ath_softc *sc = from_tasklet(sc, t, intr_tq); ath9k_tasklet() local 507 struct ath_softc *sc = dev; ath_isr() local 610 ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan) ath_reset() argument 630 ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type) ath9k_queue_reset() argument 643 struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work); ath_reset_work() local 656 struct ath_softc *sc = hw->priv; ath9k_start() local 758 struct ath_softc *sc = hw->priv; ath9k_tx() local 850 ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) ath9k_txq_has_key() argument 885 ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) ath9k_pending_key_del() argument 901 struct ath_softc *sc = hw->priv; ath9k_stop() local 1068 ath9k_update_bssid_mask(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) ath9k_update_bssid_mask() argument 1097 ath9k_calculate_iter_data(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) ath9k_calculate_iter_data() argument 1117 ath9k_set_assoc_state(struct ath_softc *sc, struct ieee80211_vif *vif, bool changed) ath9k_set_assoc_state() argument 1148 ath9k_set_offchannel_state(struct ath_softc *sc) ath9k_set_offchannel_state() argument 1185 ath9k_calculate_summary_state(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_calculate_summary_state() argument 1294 ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_set_txpower() argument 1338 struct ath_softc *sc = hw->priv; ath9k_add_interface() local 1389 struct ath_softc *sc = hw->priv; ath9k_change_interface() local 1423 struct ath_softc *sc = hw->priv; ath9k_remove_interface() local 1450 ath9k_enable_ps(struct ath_softc *sc) ath9k_enable_ps() argument 1469 ath9k_disable_ps(struct ath_softc *sc) ath9k_disable_ps() argument 1495 struct ath_softc *sc = hw->priv; ath9k_config() local 1575 struct ath_softc *sc = hw->priv; ath9k_configure_filter() local 1603 struct ath_softc *sc = hw->priv; ath9k_sta_add() local 1624 ath9k_del_ps_key(struct ath_softc *sc, struct ieee80211_vif *vif, struct ieee80211_sta *sta) ath9k_del_ps_key() argument 1643 struct ath_softc *sc = hw->priv; ath9k_sta_remove() local 1657 struct ath_softc *sc = hw->priv; ath9k_sta_state() local 1703 struct ath_softc *sc = hw->priv; ath9k_sta_notify() local 1724 struct ath_softc *sc = hw->priv; ath9k_conf_tx() local 1767 struct ath_softc *sc = hw->priv; ath9k_set_key() local 1879 struct ath_softc *sc = hw->priv; ath9k_bss_info_changed() local 1953 struct ath_softc *sc = hw->priv; ath9k_get_tsf() local 1977 struct ath_softc *sc = hw->priv; ath9k_set_tsf() local 1993 struct ath_softc *sc = hw->priv; ath9k_reset_tsf() local 2012 struct ath_softc *sc = hw->priv; ath9k_ampdu_action() local 2071 struct ath_softc *sc = hw->priv; ath9k_get_survey() local 2108 ath9k_enable_dynack(struct ath_softc *sc) ath9k_enable_dynack() argument 2125 struct ath_softc *sc = hw->priv; ath9k_set_coverage_class() local 2152 ath9k_has_tx_pending(struct ath_softc *sc, bool sw_pending) ath9k_has_tx_pending() argument 2173 struct ath_softc *sc = hw->priv; ath9k_flush() local 2202 struct ath_softc *sc = hw->priv; __ath9k_flush() local 2252 struct ath_softc *sc = hw->priv; ath9k_tx_frames_pending() local 2259 struct ath_softc *sc = hw->priv; ath9k_tx_last_beacon() local 2301 struct ath_softc *sc = hw->priv; ath9k_get_stats() local 2349 struct ath_softc *sc = hw->priv; ath9k_set_antenna() local 2378 struct ath_softc *sc = hw->priv; ath9k_get_antenna() local 2389 struct ath_softc *sc = hw->priv; ath9k_sw_scan_start() local 2397 struct ath_softc *sc = hw->priv; ath9k_sw_scan_complete() local 2404 ath9k_cancel_pending_offchannel(struct ath_softc *sc) ath9k_cancel_pending_offchannel() argument 2430 struct ath_softc *sc = hw->priv; ath9k_hw_scan() local 2464 struct ath_softc *sc = hw->priv; ath9k_cancel_hw_scan() local 2480 struct ath_softc *sc = hw->priv; ath9k_remain_on_channel() local 2514 struct ath_softc *sc = hw->priv; ath9k_cancel_remain_on_channel() local 2535 struct ath_softc *sc = hw->priv; ath9k_add_chanctx() local 2570 struct ath_softc *sc = hw->priv; ath9k_remove_chanctx() local 2591 struct ath_softc *sc = hw->priv; ath9k_change_chanctx() local 2607 struct ath_softc *sc = hw->priv; ath9k_assign_vif_chanctx() local 2638 struct ath_softc *sc = hw->priv; ath9k_unassign_vif_chanctx() local 2667 struct ath_softc *sc = hw->priv; ath9k_mgd_prepare_tx() local 2761 struct ath_softc *sc = hw->priv; ath9k_get_txpower() local [all...] |
H A D | beacon.c | 22 static void ath9k_reset_beacon_status(struct ath_softc *sc) in ath9k_reset_beacon_status() argument 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 33 static void ath9k_beaconq_config(struct ath_softc *sc) in ath9k_beaconq_config() argument 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 50 txq = sc->tx.txq_map[IEEE80211_AC_BE]; in ath9k_beaconq_config() 60 if (!ath9k_hw_set_txq_props(ah, sc in ath9k_beaconq_config() 72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) ath9k_beacon_setup() argument 115 struct ath_softc *sc = hw->priv; ath9k_beacon_generate() local 195 ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_beacon_assign_slot() argument 217 ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_beacon_remove_slot() argument 244 ath9k_beacon_ensure_primary_slot(struct ath_softc *sc) ath9k_beacon_ensure_primary_slot() argument 306 ath9k_beacon_choose_slot(struct ath_softc *sc) ath9k_beacon_choose_slot() argument 334 ath9k_set_tsfadjust(struct ath_softc *sc, struct ath_beacon_config *cur_conf) ath9k_set_tsfadjust() argument 363 ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_csa_is_finished() argument 377 struct ath_softc *sc = data; ath9k_csa_update_vif() local 381 ath9k_csa_update(struct ath_softc *sc) ath9k_csa_update() argument 390 struct ath_softc *sc = from_tasklet(sc, t, bcon_tasklet); ath9k_beacon_tasklet() local 513 ath9k_beacon_init(struct ath_softc *sc, u32 nexttbtt, u32 intval) ath9k_beacon_init() argument 527 ath9k_beacon_stop(struct ath_softc *sc) ath9k_beacon_stop() argument 541 ath9k_beacon_config_ap(struct ath_softc *sc, struct ath_beacon_config *conf) ath9k_beacon_config_ap() argument 566 ath9k_beacon_config_adhoc(struct ath_softc *sc, struct ath_beacon_config *conf) ath9k_beacon_config_adhoc() argument 586 ath9k_cache_beacon_config(struct ath_softc *sc, struct ath_chanctx *ctx, struct ieee80211_bss_conf *bss_conf) ath9k_cache_beacon_config() argument 624 ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *main_vif, bool beacons) ath9k_beacon_config() argument 697 ath9k_set_beacon(struct ath_softc *sc) ath9k_set_beacon() argument [all...] |
H A D | gpio.c | 25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() argument 27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local 57 if (sc->sc_ah->config.led_active_high) in ath_led_brightness() 60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument 65 if (!sc->led_registered) in ath_deinit_leds() 68 ath_led_brightness(&sc->led_cdev, LED_OFF); in ath_deinit_leds() 69 led_classdev_unregister(&sc in ath_deinit_leds() 74 ath_init_leds(struct ath_softc *sc) ath_init_leds() argument 104 ath_is_rfkill_set(struct ath_softc *sc) ath_is_rfkill_set() argument 119 struct ath_softc *sc = hw->priv; ath9k_rfkill_poll_state() local 125 ath_start_rfkill_poll(struct ath_softc *sc) ath_start_rfkill_poll() argument 142 ath_detect_bt_priority(struct ath_softc *sc) ath_detect_bt_priority() argument 171 ath_mci_ftp_adjust(struct ath_softc *sc) ath_mci_ftp_adjust() argument 196 struct ath_softc *sc = from_timer(sc, t, btcoex.period_timer); ath_btcoex_period_timer() local 257 struct ath_softc *sc = from_timer(sc, t, btcoex.no_stomp_timer); ath_btcoex_no_stomp_timer() local 276 ath_init_btcoex_timer(struct ath_softc *sc) ath_init_btcoex_timer() argument 296 ath9k_btcoex_timer_resume(struct ath_softc *sc) ath9k_btcoex_timer_resume() argument 321 ath9k_btcoex_timer_pause(struct ath_softc *sc) ath9k_btcoex_timer_pause() argument 336 ath9k_btcoex_stop_gen_timer(struct ath_softc *sc) ath9k_btcoex_stop_gen_timer() argument 343 ath9k_btcoex_aggr_limit(struct ath_softc *sc, u32 max_4ms_framelen) ath9k_btcoex_aggr_limit() argument 358 ath9k_btcoex_handle_interrupt(struct ath_softc *sc, u32 status) ath9k_btcoex_handle_interrupt() argument 364 ath9k_start_btcoex(struct ath_softc *sc) ath9k_start_btcoex() argument 382 ath9k_stop_btcoex(struct ath_softc *sc) ath9k_stop_btcoex() argument 397 ath9k_deinit_btcoex(struct ath_softc *sc) ath9k_deinit_btcoex() argument 412 ath9k_init_btcoex(struct ath_softc *sc) ath9k_init_btcoex() argument 452 ath9k_dump_mci_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_mci_btcoex() argument 497 ath9k_dump_legacy_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_legacy_btcoex() argument 511 ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_btcoex() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 23 static int ath_set_channel(struct ath_softc *sc) in ath_set_channel() argument 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 47 ath_update_survey_stats(sc); in ath_set_channel() 57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 58 if (sc->cur_survey) in ath_set_channel() 59 sc in ath_set_channel() 103 ath_chanctx_init(struct ath_softc *sc) ath_chanctx_init() argument 130 ath_chanctx_set_channel(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_set_channel() argument 157 ath_is_go_chanctx_present(struct ath_softc *sc) ath_is_go_chanctx_present() argument 233 chanctx_event_delta(struct ath_softc *sc) chanctx_event_delta() argument 247 ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_check_active() argument 327 ath_chanctx_get_next(struct ath_softc *sc, struct ath_chanctx *ctx) ath_chanctx_get_next() argument 334 ath_chanctx_adjust_tbtt_delta(struct ath_softc *sc) ath_chanctx_adjust_tbtt_delta() argument 373 ath_chanctx_setup_timer(struct ath_softc *sc, u32 tsf_time) ath_chanctx_setup_timer() argument 389 ath_chanctx_handle_bmiss(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp) ath_chanctx_handle_bmiss() argument 414 ath_chanctx_offchannel_noa(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath_vif *avp, u32 tsf_time) ath_chanctx_offchannel_noa() argument 440 ath_chanctx_set_periodic_noa(struct ath_softc *sc, struct ath_vif *avp, struct ath_beacon_config *cur_conf, u32 tsf_time, u32 beacon_int) ath_chanctx_set_periodic_noa() argument 473 ath_chanctx_set_oneshot_noa(struct ath_softc *sc, struct ath_vif *avp, u32 tsf_time, u32 duration) ath_chanctx_set_oneshot_noa() argument 494 ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, enum ath_chanctx_event ev) ath_chanctx_event() argument 777 ath_chanctx_beacon_sent_ev(struct ath_softc *sc, enum ath_chanctx_event ev) ath_chanctx_beacon_sent_ev() argument 784 ath_chanctx_beacon_recv_ev(struct ath_softc *sc, enum ath_chanctx_event ev) ath_chanctx_beacon_recv_ev() argument 790 ath_scan_channel_duration(struct ath_softc *sc, struct ieee80211_channel *chan) ath_scan_channel_duration() argument 801 ath_chanctx_switch(struct ath_softc *sc, struct ath_chanctx *ctx, struct cfg80211_chan_def *chandef) ath_chanctx_switch() argument 848 ath_chanctx_offchan_switch(struct ath_softc *sc, struct ieee80211_channel *chan) ath_chanctx_offchan_switch() argument 861 ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active) ath_chanctx_get_oper_chan() argument 880 ath_scan_next_channel(struct ath_softc *sc) ath_scan_next_channel() argument 910 ath_offchannel_next(struct ath_softc *sc) ath_offchannel_next() argument 939 ath_roc_complete(struct ath_softc *sc, enum ath_roc_complete_reason reason) ath_roc_complete() argument 964 ath_scan_complete(struct ath_softc *sc, bool abort) ath_scan_complete() argument 989 ath_scan_send_probe(struct ath_softc *sc, struct cfg80211_ssid *ssid) ath_scan_send_probe() argument 1026 ath_scan_channel_start(struct ath_softc *sc) ath_scan_channel_start() argument 1048 struct ath_softc *sc = from_timer(sc, t, sched.timer); ath_chanctx_timer() local 1059 struct ath_softc *sc = from_timer(sc, t, offchannel.timer); ath_offchannel_timer() local 1101 ath_chanctx_send_vif_ps_frame(struct ath_softc *sc, struct ath_vif *avp, bool powersave) ath_chanctx_send_vif_ps_frame() argument 1148 ath_chanctx_send_ps_frame(struct ath_softc *sc, bool powersave) ath_chanctx_send_ps_frame() argument 1163 ath_chanctx_defer_switch(struct ath_softc *sc) ath_chanctx_defer_switch() argument 1189 ath_offchannel_channel_change(struct ath_softc *sc) ath_offchannel_channel_change() argument 1229 ath_chanctx_set_next(struct ath_softc *sc, bool force) ath_chanctx_set_next() argument 1326 struct ath_softc *sc = container_of(work, struct ath_softc, ath_chanctx_work() local 1333 ath9k_offchannel_init(struct ath_softc *sc) ath9k_offchannel_init() argument 1361 ath9k_init_channel_context(struct ath_softc *sc) ath9k_init_channel_context() argument 1371 ath9k_deinit_channel_context(struct ath_softc *sc) ath9k_deinit_channel_context() argument 1385 ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_stop_queues() argument 1404 ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_chanctx_wake_queues() argument 1426 ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) ath9k_update_p2p_ps_timer() argument 1455 ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_update_p2p_ps() argument 1476 ath9k_get_ctwin(struct ath_softc *sc, struct ath_vif *avp) ath9k_get_ctwin() argument 1500 ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, struct sk_buff *skb) ath9k_beacon_add_noa() argument 1557 struct ath_softc *sc = priv; ath9k_p2p_ps_timer() local 1604 ath9k_p2p_bss_info_changed(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_p2p_bss_info_changed() argument 1616 ath9k_p2p_beacon_sync(struct ath_softc *sc) ath9k_p2p_beacon_sync() argument 1622 ath9k_p2p_remove_vif(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_p2p_remove_vif() argument 1635 ath9k_init_p2p(struct ath_softc *sc) ath9k_init_p2p() argument 1645 ath9k_deinit_p2p(struct ath_softc *sc) ath9k_deinit_p2p() argument [all...] |
H A D | main.c | 60 static bool ath9k_has_pending_frames(struct ath_softc *sc, struct ath_txq *txq, in ath9k_has_pending_frames() argument 78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 87 static bool ath9k_setpower(struct ath_softc *sc, enum ath9k_power_mode mode) in ath9k_setpower() argument 92 spin_lock_irqsave(&sc->sc_pm_lock, flags); in ath9k_setpower() 93 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() 94 spin_unlock_irqrestore(&sc->sc_pm_lock, flags); in ath9k_setpower() 101 struct ath_softc *sc = from_timer(sc, t, sleep_timer); in ath_ps_full_sleep() local 102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep() 110 ath9k_hw_setrxabort(sc in ath_ps_full_sleep() 116 ath9k_ps_wakeup(struct ath_softc *sc) ath9k_ps_wakeup() argument 147 ath9k_ps_restore(struct ath_softc *sc) ath9k_ps_restore() argument 185 __ath_cancel_work(struct ath_softc *sc) __ath_cancel_work() argument 197 ath_cancel_work(struct ath_softc *sc) ath_cancel_work() argument 203 ath_restart_work(struct ath_softc *sc) ath_restart_work() argument 215 ath_prepare_reset(struct ath_softc *sc) ath_prepare_reset() argument 235 ath_complete_reset(struct ath_softc *sc, bool start) ath_complete_reset() argument 285 ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) ath_reset_internal() argument 355 ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta, struct ieee80211_vif *vif) ath_node_attach() argument 371 ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta) ath_node_detach() argument 381 struct ath_softc *sc = from_tasklet(sc, t, intr_tq); ath9k_tasklet() local 507 struct ath_softc *sc = dev; ath_isr() local 610 ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan) ath_reset() argument 630 ath9k_queue_reset(struct ath_softc *sc, enum ath_reset_type type) ath9k_queue_reset() argument 643 struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work); ath_reset_work() local 656 struct ath_softc *sc = hw->priv; ath9k_start() local 758 struct ath_softc *sc = hw->priv; ath9k_tx() local 850 ath9k_txq_has_key(struct ath_softc *sc, u32 keyix) ath9k_txq_has_key() argument 885 ath9k_pending_key_del(struct ath_softc *sc, u8 keyix) ath9k_pending_key_del() argument 901 struct ath_softc *sc = hw->priv; ath9k_stop() local 1065 ath9k_update_bssid_mask(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) ath9k_update_bssid_mask() argument 1094 ath9k_calculate_iter_data(struct ath_softc *sc, struct ath_chanctx *ctx, struct ath9k_vif_iter_data *iter_data) ath9k_calculate_iter_data() argument 1114 ath9k_set_assoc_state(struct ath_softc *sc, struct ieee80211_vif *vif, bool changed) ath9k_set_assoc_state() argument 1145 ath9k_set_offchannel_state(struct ath_softc *sc) ath9k_set_offchannel_state() argument 1182 ath9k_calculate_summary_state(struct ath_softc *sc, struct ath_chanctx *ctx) ath9k_calculate_summary_state() argument 1289 ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_set_txpower() argument 1333 struct ath_softc *sc = hw->priv; ath9k_add_interface() local 1384 struct ath_softc *sc = hw->priv; ath9k_change_interface() local 1418 struct ath_softc *sc = hw->priv; ath9k_remove_interface() local 1445 ath9k_enable_ps(struct ath_softc *sc) ath9k_enable_ps() argument 1464 ath9k_disable_ps(struct ath_softc *sc) ath9k_disable_ps() argument 1490 struct ath_softc *sc = hw->priv; ath9k_config() local 1570 struct ath_softc *sc = hw->priv; ath9k_configure_filter() local 1597 struct ath_softc *sc = hw->priv; ath9k_sta_add() local 1618 ath9k_del_ps_key(struct ath_softc *sc, struct ieee80211_vif *vif, struct ieee80211_sta *sta) ath9k_del_ps_key() argument 1637 struct ath_softc *sc = hw->priv; ath9k_sta_remove() local 1651 struct ath_softc *sc = hw->priv; ath9k_sta_state() local 1697 struct ath_softc *sc = hw->priv; ath9k_sta_notify() local 1719 struct ath_softc *sc = hw->priv; ath9k_conf_tx() local 1762 struct ath_softc *sc = hw->priv; ath9k_set_key() local 1874 struct ath_softc *sc = hw->priv; ath9k_bss_info_changed() local 1948 struct ath_softc *sc = hw->priv; ath9k_get_tsf() local 1972 struct ath_softc *sc = hw->priv; ath9k_set_tsf() local 1988 struct ath_softc *sc = hw->priv; ath9k_reset_tsf() local 2007 struct ath_softc *sc = hw->priv; ath9k_ampdu_action() local 2066 struct ath_softc *sc = hw->priv; ath9k_get_survey() local 2103 ath9k_enable_dynack(struct ath_softc *sc) ath9k_enable_dynack() argument 2120 struct ath_softc *sc = hw->priv; ath9k_set_coverage_class() local 2147 ath9k_has_tx_pending(struct ath_softc *sc, bool sw_pending) ath9k_has_tx_pending() argument 2168 struct ath_softc *sc = hw->priv; ath9k_flush() local 2197 struct ath_softc *sc = hw->priv; __ath9k_flush() local 2247 struct ath_softc *sc = hw->priv; ath9k_tx_frames_pending() local 2254 struct ath_softc *sc = hw->priv; ath9k_tx_last_beacon() local 2296 struct ath_softc *sc = hw->priv; ath9k_get_stats() local 2344 struct ath_softc *sc = hw->priv; ath9k_set_antenna() local 2373 struct ath_softc *sc = hw->priv; ath9k_get_antenna() local 2384 struct ath_softc *sc = hw->priv; ath9k_sw_scan_start() local 2392 struct ath_softc *sc = hw->priv; ath9k_sw_scan_complete() local 2399 ath9k_cancel_pending_offchannel(struct ath_softc *sc) ath9k_cancel_pending_offchannel() argument 2425 struct ath_softc *sc = hw->priv; ath9k_hw_scan() local 2459 struct ath_softc *sc = hw->priv; ath9k_cancel_hw_scan() local 2475 struct ath_softc *sc = hw->priv; ath9k_remain_on_channel() local 2509 struct ath_softc *sc = hw->priv; ath9k_cancel_remain_on_channel() local 2530 struct ath_softc *sc = hw->priv; ath9k_add_chanctx() local 2565 struct ath_softc *sc = hw->priv; ath9k_remove_chanctx() local 2586 struct ath_softc *sc = hw->priv; ath9k_change_chanctx() local 2603 struct ath_softc *sc = hw->priv; ath9k_assign_vif_chanctx() local 2635 struct ath_softc *sc = hw->priv; ath9k_unassign_vif_chanctx() local 2664 struct ath_softc *sc = hw->priv; ath9k_mgd_prepare_tx() local 2758 struct ath_softc *sc = hw->priv; ath9k_get_txpower() local [all...] |
H A D | beacon.c | 22 static void ath9k_reset_beacon_status(struct ath_softc *sc) in ath9k_reset_beacon_status() argument 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 33 static void ath9k_beaconq_config(struct ath_softc *sc) in ath9k_beaconq_config() argument 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 50 txq = sc->tx.txq_map[IEEE80211_AC_BE]; in ath9k_beaconq_config() 60 if (!ath9k_hw_set_txq_props(ah, sc in ath9k_beaconq_config() 72 ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, struct ath_buf *bf, int rateidx) ath9k_beacon_setup() argument 115 struct ath_softc *sc = hw->priv; ath9k_beacon_generate() local 195 ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_beacon_assign_slot() argument 217 ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_beacon_remove_slot() argument 244 ath9k_beacon_ensure_primary_slot(struct ath_softc *sc) ath9k_beacon_ensure_primary_slot() argument 306 ath9k_beacon_choose_slot(struct ath_softc *sc) ath9k_beacon_choose_slot() argument 334 ath9k_set_tsfadjust(struct ath_softc *sc, struct ath_beacon_config *cur_conf) ath9k_set_tsfadjust() argument 363 ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) ath9k_csa_is_finished() argument 377 struct ath_softc *sc = data; ath9k_csa_update_vif() local 381 ath9k_csa_update(struct ath_softc *sc) ath9k_csa_update() argument 390 struct ath_softc *sc = from_tasklet(sc, t, bcon_tasklet); ath9k_beacon_tasklet() local 513 ath9k_beacon_init(struct ath_softc *sc, u32 nexttbtt, u32 intval) ath9k_beacon_init() argument 527 ath9k_beacon_stop(struct ath_softc *sc) ath9k_beacon_stop() argument 541 ath9k_beacon_config_ap(struct ath_softc *sc, struct ath_beacon_config *conf) ath9k_beacon_config_ap() argument 566 ath9k_beacon_config_adhoc(struct ath_softc *sc, struct ath_beacon_config *conf) ath9k_beacon_config_adhoc() argument 586 ath9k_cache_beacon_config(struct ath_softc *sc, struct ath_chanctx *ctx, struct ieee80211_vif *vif) ath9k_cache_beacon_config() argument 625 ath9k_beacon_config(struct ath_softc *sc, struct ieee80211_vif *main_vif, bool beacons) ath9k_beacon_config() argument 698 ath9k_set_beacon(struct ath_softc *sc) ath9k_set_beacon() argument [all...] |
H A D | gpio.c | 25 static void ath_fill_led_pin(struct ath_softc *sc) in ath_fill_led_pin() argument 27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 54 struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led_cdev); in ath_led_brightness() local 57 if (sc->sc_ah->config.led_active_high) in ath_led_brightness() 60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 63 void ath_deinit_leds(struct ath_softc *sc) in ath_deinit_leds() argument 65 if (!sc->led_registered) in ath_deinit_leds() 68 ath_led_brightness(&sc->led_cdev, LED_OFF); in ath_deinit_leds() 69 led_classdev_unregister(&sc in ath_deinit_leds() 74 ath_init_leds(struct ath_softc *sc) ath_init_leds() argument 104 ath_is_rfkill_set(struct ath_softc *sc) ath_is_rfkill_set() argument 119 struct ath_softc *sc = hw->priv; ath9k_rfkill_poll_state() local 125 ath_start_rfkill_poll(struct ath_softc *sc) ath_start_rfkill_poll() argument 142 ath_detect_bt_priority(struct ath_softc *sc) ath_detect_bt_priority() argument 171 ath_mci_ftp_adjust(struct ath_softc *sc) ath_mci_ftp_adjust() argument 196 struct ath_softc *sc = from_timer(sc, t, btcoex.period_timer); ath_btcoex_period_timer() local 257 struct ath_softc *sc = from_timer(sc, t, btcoex.no_stomp_timer); ath_btcoex_no_stomp_timer() local 276 ath_init_btcoex_timer(struct ath_softc *sc) ath_init_btcoex_timer() argument 296 ath9k_btcoex_timer_resume(struct ath_softc *sc) ath9k_btcoex_timer_resume() argument 321 ath9k_btcoex_timer_pause(struct ath_softc *sc) ath9k_btcoex_timer_pause() argument 336 ath9k_btcoex_stop_gen_timer(struct ath_softc *sc) ath9k_btcoex_stop_gen_timer() argument 343 ath9k_btcoex_aggr_limit(struct ath_softc *sc, u32 max_4ms_framelen) ath9k_btcoex_aggr_limit() argument 358 ath9k_btcoex_handle_interrupt(struct ath_softc *sc, u32 status) ath9k_btcoex_handle_interrupt() argument 364 ath9k_start_btcoex(struct ath_softc *sc) ath9k_start_btcoex() argument 382 ath9k_stop_btcoex(struct ath_softc *sc) ath9k_stop_btcoex() argument 397 ath9k_deinit_btcoex(struct ath_softc *sc) ath9k_deinit_btcoex() argument 412 ath9k_init_btcoex(struct ath_softc *sc) ath9k_init_btcoex() argument 452 ath9k_dump_mci_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_mci_btcoex() argument 497 ath9k_dump_legacy_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_legacy_btcoex() argument 511 ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size) ath9k_dump_btcoex() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | snic_scsi.c | 36 #define snic_cmd_tag(sc) (((struct scsi_cmnd *) sc)->request->tag) 112 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument 114 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash() 129 struct scsi_cmnd *sc) in snic_release_req_buf() 134 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf() 135 (CMD_STATE(sc) == SNIC_IOREQ_ABTS_COMPLETE) || in snic_release_req_buf() 136 (CMD_FLAGS(sc) & SNIC_DEV_RST_NOTSUP) || in snic_release_req_buf() 137 (CMD_FLAGS(sc) & SNIC_IO_INTERNAL_TERM_ISSUED) || in snic_release_req_buf() 138 (CMD_FLAGS(sc) in snic_release_req_buf() 127 snic_release_req_buf(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_release_req_buf() argument 163 snic_queue_icmnd_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int sg_cnt) snic_queue_icmnd_req() argument 240 snic_issue_scsi_req(struct snic *snic, struct snic_tgt *tgt, struct scsi_cmnd *sc) snic_issue_scsi_req() argument 333 snic_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc) snic_queuecommand() argument 377 snic_proc_tmreq_pending_state(struct snic *snic, struct scsi_cmnd *sc, u8 cmpl_status) snic_proc_tmreq_pending_state() argument 409 snic_process_io_failed_state(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, struct scsi_cmnd *sc, u8 cmpl_stat) snic_process_io_failed_state() argument 485 snic_tmreq_pending(struct scsi_cmnd *sc) snic_tmreq_pending() argument 498 snic_process_icmnd_cmpl_status(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_icmnd_cmpl_status() argument 550 struct scsi_cmnd *sc = NULL; snic_icmnd_cmpl_handler() local 686 snic_proc_dr_cmpl_locked(struct snic *snic, struct snic_fw_req *fwreq, u8 cmpl_stat, u32 cmnd_id, struct scsi_cmnd *sc) snic_proc_dr_cmpl_locked() argument 773 snic_process_itmf_cmpl(struct snic *snic, struct snic_fw_req *fwreq, u32 cmnd_id, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_itmf_cmpl() argument 922 struct scsi_cmnd *sc = NULL; snic_itmf_cmpl_handler() local 977 snic_hba_reset_scsi_cleanup(struct snic *snic, struct scsi_cmnd *sc) snic_hba_reset_scsi_cleanup() argument 1009 struct scsi_cmnd *sc = NULL; snic_hba_reset_cmpl_handler() local 1307 snic_queue_itmf_req(struct snic *snic, struct snic_host_req *tmreq, struct scsi_cmnd *sc, u32 tmf, u32 req_id) snic_queue_itmf_req() argument 1356 snic_issue_tm_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_issue_tm_req() argument 1411 snic_queue_abort_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_queue_abort_req() argument 1429 snic_abort_finish(struct snic *snic, struct scsi_cmnd *sc) snic_abort_finish() argument 1506 snic_send_abort_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_abort_and_wait() argument 1632 snic_abort_cmd(struct scsi_cmnd *sc) snic_abort_cmd() argument 1676 struct scsi_cmnd *sc = NULL; snic_is_abts_pending() local 1731 struct scsi_cmnd *sc = NULL; snic_dr_clean_single_req() local 1917 snic_dr_finish(struct snic *snic, struct scsi_cmnd *sc) snic_dr_finish() argument 2012 snic_queue_dr_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_queue_dr_req() argument 2023 snic_send_dr_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_dr_and_wait() argument 2112 snic_unlink_and_release_req(struct snic *snic, struct scsi_cmnd *sc, int flag) snic_unlink_and_release_req() argument 2144 snic_device_reset(struct scsi_cmnd *sc) snic_device_reset() argument 2228 snic_issue_hba_reset(struct snic *snic, struct scsi_cmnd *sc) snic_issue_hba_reset() argument 2325 snic_reset(struct Scsi_Host *shost, struct scsi_cmnd *sc) snic_reset() argument 2382 snic_host_reset(struct scsi_cmnd *sc) snic_host_reset() argument 2406 snic_cmpl_pending_tmreq(struct snic *snic, struct scsi_cmnd *sc) snic_cmpl_pending_tmreq() argument 2438 struct scsi_cmnd *sc = NULL; snic_scsi_cleanup() local 2527 snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf) snic_internal_abort_io() argument 2615 struct scsi_cmnd *sc = NULL; snic_tgt_scsi_abort_io() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | common.c | 65 struct xfs_scrub *sc, in __xchk_process_error() 77 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_process_error() 82 sc->sm->sm_flags |= errflag; in __xchk_process_error() 86 trace_xchk_op_error(sc, agno, bno, *error, in __xchk_process_error() 95 struct xfs_scrub *sc, in xchk_process_error() 100 return __xchk_process_error(sc, agno, bno, error, in xchk_process_error() 106 struct xfs_scrub *sc, in xchk_xref_process_error() 111 return __xchk_process_error(sc, agno, bno, error, in xchk_xref_process_error() 118 struct xfs_scrub *sc, in __xchk_fblock_process_error() 64 __xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error, __u32 errflag, void *ret_ip) __xchk_process_error() argument 94 xchk_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_process_error() argument 105 xchk_xref_process_error( struct xfs_scrub *sc, xfs_agnumber_t agno, xfs_agblock_t bno, int *error) xchk_xref_process_error() argument 117 __xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error, __u32 errflag, void *ret_ip) __xchk_fblock_process_error() argument 147 xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_process_error() argument 158 xchk_fblock_xref_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) xchk_fblock_xref_process_error() argument 182 xchk_block_set_preen( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_set_preen() argument 196 xchk_ino_set_preen( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_preen() argument 206 xchk_set_corrupt( struct xfs_scrub *sc) xchk_set_corrupt() argument 215 xchk_block_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_set_corrupt() argument 225 xchk_block_xref_set_corrupt( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_block_xref_set_corrupt() argument 239 xchk_ino_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_corrupt() argument 249 xchk_ino_xref_set_corrupt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_xref_set_corrupt() argument 259 xchk_fblock_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_set_corrupt() argument 270 xchk_fblock_xref_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_xref_set_corrupt() argument 284 xchk_ino_set_warning( struct xfs_scrub *sc, xfs_ino_t ino) xchk_ino_set_warning() argument 294 xchk_fblock_set_warning( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) xchk_fblock_set_warning() argument 305 xchk_set_incomplete( struct xfs_scrub *sc) xchk_set_incomplete() argument 349 xchk_count_rmap_ownedby_ag( struct xfs_scrub *sc, struct xfs_btree_cur *cur, const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks) xchk_count_rmap_ownedby_ag() argument 375 want_ag_read_header_failure( struct xfs_scrub *sc, unsigned int type) want_ag_read_header_failure() argument 402 xchk_ag_read_headers( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xfs_buf **agi, struct xfs_buf **agf, struct xfs_buf **agfl) xchk_ag_read_headers() argument 456 xchk_ag_btcur_init( struct xfs_scrub *sc, struct xchk_ag *sa) xchk_ag_btcur_init() argument 525 xchk_ag_free( struct xfs_scrub *sc, struct xchk_ag *sa) xchk_ag_free() argument 557 xchk_ag_init( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xchk_ag *sa) xchk_ag_init() argument 599 xchk_trans_alloc( struct xfs_scrub *sc, uint resblks) xchk_trans_alloc() argument 612 xchk_setup_fs( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_setup_fs() argument 624 xchk_setup_ag_btree( struct xfs_scrub *sc, struct xfs_inode *ip, bool force_log) xchk_setup_ag_btree() argument 671 xchk_get_inode( struct xfs_scrub *sc, struct xfs_inode *ip_in) xchk_get_inode() argument 735 xchk_setup_inode_contents( struct xfs_scrub *sc, struct xfs_inode *ip, unsigned int resblks) xchk_setup_inode_contents() argument 766 xchk_should_check_xref( struct xfs_scrub *sc, int *error, struct xfs_btree_cur **curpp) xchk_should_check_xref() argument 801 xchk_buffer_recheck( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_buffer_recheck() argument 827 xchk_metadata_inode_forks( struct xfs_scrub *sc) xchk_metadata_inode_forks() argument 901 xchk_stop_reaping( struct xfs_scrub *sc) xchk_stop_reaping() argument 910 xchk_start_reaping( struct xfs_scrub *sc) xchk_start_reaping() argument [all...] |
H A D | agheader.c | 25 struct xfs_scrub *sc, in xchk_superblock_xref() 28 struct xfs_mount *mp = sc->mp; in xchk_superblock_xref() 29 xfs_agnumber_t agno = sc->sm->sm_agno; in xchk_superblock_xref() 33 if (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_superblock_xref() 38 error = xchk_ag_init(sc, agno, &sc->sa); in xchk_superblock_xref() 39 if (!xchk_xref_process_error(sc, agno, agbno, &error)) in xchk_superblock_xref() 42 xchk_xref_is_used_space(sc, agbno, 1); in xchk_superblock_xref() 43 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_superblock_xref() 44 xchk_xref_is_owned_by(sc, agbn in xchk_superblock_xref() 24 xchk_superblock_xref( struct xfs_scrub *sc, struct xfs_buf *bp) xchk_superblock_xref() argument 59 xchk_superblock( struct xfs_scrub *sc) xchk_superblock() argument 358 xchk_agf_xref_freeblks( struct xfs_scrub *sc) xchk_agf_xref_freeblks() argument 378 xchk_agf_xref_cntbt( struct xfs_scrub *sc) xchk_agf_xref_cntbt() argument 410 xchk_agf_xref_btreeblks( struct xfs_scrub *sc) xchk_agf_xref_btreeblks() argument 456 xchk_agf_xref_refcblks( struct xfs_scrub *sc) xchk_agf_xref_refcblks() argument 475 xchk_agf_xref( struct xfs_scrub *sc) xchk_agf_xref() argument 505 xchk_agf( struct xfs_scrub *sc) xchk_agf() argument 604 struct xfs_scrub *sc; global() member 609 xchk_agfl_block_xref( struct xfs_scrub *sc, xfs_agblock_t agbno) xchk_agfl_block_xref() argument 630 struct xfs_scrub *sc = sai->sc; xchk_agfl_block() local 660 xchk_agfl_xref( struct xfs_scrub *sc) xchk_agfl_xref() argument 689 xchk_agfl( struct xfs_scrub *sc) xchk_agfl() argument 765 xchk_agi_xref_icounts( struct xfs_scrub *sc) xchk_agi_xref_icounts() argument 786 xchk_agi_xref_fiblocks( struct xfs_scrub *sc) xchk_agi_xref_fiblocks() argument 815 xchk_agi_xref( struct xfs_scrub *sc) xchk_agi_xref() argument 843 xchk_agi( struct xfs_scrub *sc) xchk_agi() argument [all...] |
H A D | inode.c | 31 struct xfs_scrub *sc, in xchk_setup_inode() 40 error = xchk_get_inode(sc, ip); in xchk_setup_inode() 46 return xchk_trans_alloc(sc, 0); in xchk_setup_inode() 52 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode() 53 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode() 54 error = xchk_trans_alloc(sc, 0); in xchk_setup_inode() 57 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode() 58 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode() 70 struct xfs_scrub *sc, in xchk_inode_extsize() 30 xchk_setup_inode( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_setup_inode() argument 69 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_extsize() argument 91 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_cowextsize() argument 110 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) xchk_inode_flags() argument 155 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) xchk_inode_flags2() argument 203 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) xchk_dinode_nsec() argument 218 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) xchk_dinode() argument 434 xchk_inode_xref_finobt( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_xref_finobt() argument 477 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) xchk_inode_xref_bmap() argument 511 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) xchk_inode_xref() argument 546 xchk_inode_check_reflink_iflag( struct xfs_scrub *sc, xfs_ino_t ino) xchk_inode_check_reflink_iflag() argument 570 xchk_inode( struct xfs_scrub *sc) xchk_inode() argument [all...] |
H A D | rtbitmap.c | 23 struct xfs_scrub *sc, in xchk_setup_rt() 28 error = xchk_setup_fs(sc, ip); in xchk_setup_rt() 32 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP; in xchk_setup_rt() 33 sc->ip = sc->mp->m_rbmip; in xchk_setup_rt() 34 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_rt() 48 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec() local 56 !xfs_verify_rtbno(sc->mp, startblock) || in xchk_rtbitmap_rec() 57 !xfs_verify_rtbno(sc in xchk_rtbitmap_rec() 22 xchk_setup_rt( struct xfs_scrub *sc, struct xfs_inode *ip) xchk_setup_rt() argument 64 xchk_rtbitmap_check_extents( struct xfs_scrub *sc) xchk_rtbitmap_check_extents() argument 99 xchk_rtbitmap( struct xfs_scrub *sc) xchk_rtbitmap() argument 130 xchk_rtsummary( struct xfs_scrub *sc) xchk_rtsummary() argument 167 xchk_xref_is_used_rt_space( struct xfs_scrub *sc, xfs_rtblock_t fsbno, xfs_extlen_t len) xchk_xref_is_used_rt_space() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/snic/ |
H A D | snic_scsi.c | 22 #define snic_cmd_tag(sc) (scsi_cmd_to_rq(sc)->tag) 98 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument 100 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash() 115 struct scsi_cmnd *sc) in snic_release_req_buf() 120 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf() 121 (CMD_STATE(sc) == SNIC_IOREQ_ABTS_COMPLETE) || in snic_release_req_buf() 122 (CMD_FLAGS(sc) & SNIC_DEV_RST_NOTSUP) || in snic_release_req_buf() 123 (CMD_FLAGS(sc) & SNIC_IO_INTERNAL_TERM_ISSUED) || in snic_release_req_buf() 124 (CMD_FLAGS(sc) in snic_release_req_buf() 113 snic_release_req_buf(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_release_req_buf() argument 149 snic_queue_icmnd_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int sg_cnt) snic_queue_icmnd_req() argument 226 snic_issue_scsi_req(struct snic *snic, struct snic_tgt *tgt, struct scsi_cmnd *sc) snic_issue_scsi_req() argument 319 snic_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc) snic_queuecommand() argument 363 snic_proc_tmreq_pending_state(struct snic *snic, struct scsi_cmnd *sc, u8 cmpl_status) snic_proc_tmreq_pending_state() argument 395 snic_process_io_failed_state(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, struct scsi_cmnd *sc, u8 cmpl_stat) snic_process_io_failed_state() argument 471 snic_tmreq_pending(struct scsi_cmnd *sc) snic_tmreq_pending() argument 484 snic_process_icmnd_cmpl_status(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_icmnd_cmpl_status() argument 531 struct scsi_cmnd *sc = NULL; snic_icmnd_cmpl_handler() local 666 snic_proc_dr_cmpl_locked(struct snic *snic, struct snic_fw_req *fwreq, u8 cmpl_stat, u32 cmnd_id, struct scsi_cmnd *sc) snic_proc_dr_cmpl_locked() argument 753 snic_process_itmf_cmpl(struct snic *snic, struct snic_fw_req *fwreq, u32 cmnd_id, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_itmf_cmpl() argument 900 struct scsi_cmnd *sc = NULL; snic_itmf_cmpl_handler() local 955 snic_hba_reset_scsi_cleanup(struct snic *snic, struct scsi_cmnd *sc) snic_hba_reset_scsi_cleanup() argument 987 struct scsi_cmnd *sc = NULL; snic_hba_reset_cmpl_handler() local 1285 snic_queue_itmf_req(struct snic *snic, struct snic_host_req *tmreq, struct scsi_cmnd *sc, u32 tmf, u32 req_id) snic_queue_itmf_req() argument 1334 snic_issue_tm_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_issue_tm_req() argument 1389 snic_queue_abort_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_queue_abort_req() argument 1407 snic_abort_finish(struct snic *snic, struct scsi_cmnd *sc) snic_abort_finish() argument 1484 snic_send_abort_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_abort_and_wait() argument 1610 snic_abort_cmd(struct scsi_cmnd *sc) snic_abort_cmd() argument 1654 struct scsi_cmnd *sc = NULL; snic_is_abts_pending() local 1709 struct scsi_cmnd *sc = NULL; snic_dr_clean_single_req() local 1895 snic_dr_finish(struct snic *snic, struct scsi_cmnd *sc) snic_dr_finish() argument 1990 snic_queue_dr_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_queue_dr_req() argument 2001 snic_send_dr_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_dr_and_wait() argument 2090 snic_unlink_and_release_req(struct snic *snic, struct scsi_cmnd *sc, int flag) snic_unlink_and_release_req() argument 2122 snic_device_reset(struct scsi_cmnd *sc) snic_device_reset() argument 2206 snic_issue_hba_reset(struct snic *snic, struct scsi_cmnd *sc) snic_issue_hba_reset() argument 2303 snic_reset(struct Scsi_Host *shost, struct scsi_cmnd *sc) snic_reset() argument 2360 snic_host_reset(struct scsi_cmnd *sc) snic_host_reset() argument 2384 snic_cmpl_pending_tmreq(struct snic *snic, struct scsi_cmnd *sc) snic_cmpl_pending_tmreq() argument 2416 struct scsi_cmnd *sc = NULL; snic_scsi_cleanup() local 2503 snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf) snic_internal_abort_io() argument 2591 struct scsi_cmnd *sc = NULL; snic_tgt_scsi_abort_io() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | gdsc.c | 60 static int gdsc_check_status(struct gdsc *sc, enum gdsc_status status) in gdsc_check_status() argument 66 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status() 67 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status() 68 else if (sc->gds_hw_ctrl) in gdsc_check_status() 69 reg = sc->gds_hw_ctrl; in gdsc_check_status() 71 reg = sc->gdscr; in gdsc_check_status() 73 ret = regmap_read(sc->regmap, reg, &val); in gdsc_check_status() 77 if (sc->flags & POLL_CFG_GDSCR) { in gdsc_check_status() 96 static int gdsc_hwctrl(struct gdsc *sc, bool en) in gdsc_hwctrl() argument 100 return regmap_update_bits(sc in gdsc_hwctrl() 103 gdsc_poll_status(struct gdsc *sc, enum gdsc_status status) gdsc_poll_status() argument 119 gdsc_update_collapse_bit(struct gdsc *sc, bool val) gdsc_update_collapse_bit() argument 139 gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status, bool wait) gdsc_toggle_logic() argument 189 gdsc_deassert_reset(struct gdsc *sc) gdsc_deassert_reset() argument 198 gdsc_assert_reset(struct gdsc *sc) gdsc_assert_reset() argument 207 gdsc_force_mem_on(struct gdsc *sc) gdsc_force_mem_on() argument 219 gdsc_clear_mem_on(struct gdsc *sc) gdsc_clear_mem_on() argument 231 gdsc_deassert_clamp_io(struct gdsc *sc) gdsc_deassert_clamp_io() argument 237 gdsc_assert_clamp_io(struct gdsc *sc) gdsc_assert_clamp_io() argument 243 gdsc_assert_reset_aon(struct gdsc *sc) gdsc_assert_reset_aon() argument 252 gdsc_retain_ff_on(struct gdsc *sc) gdsc_retain_ff_on() argument 261 struct gdsc *sc = domain_to_gdsc(domain); gdsc_enable() local 319 struct gdsc *sc = domain_to_gdsc(domain); gdsc_disable() local 366 gdsc_init(struct gdsc *sc) gdsc_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | gdsc.c | 59 static int gdsc_check_status(struct gdsc *sc, enum gdsc_status status) in gdsc_check_status() argument 65 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status() 66 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status() 67 else if (sc->gds_hw_ctrl) in gdsc_check_status() 68 reg = sc->gds_hw_ctrl; in gdsc_check_status() 70 reg = sc->gdscr; in gdsc_check_status() 72 ret = regmap_read(sc->regmap, reg, &val); in gdsc_check_status() 76 if (sc->flags & POLL_CFG_GDSCR) { in gdsc_check_status() 95 static int gdsc_hwctrl(struct gdsc *sc, bool en) in gdsc_hwctrl() argument 99 return regmap_update_bits(sc in gdsc_hwctrl() 102 gdsc_poll_status(struct gdsc *sc, enum gdsc_status status) gdsc_poll_status() argument 118 gdsc_toggle_logic(struct gdsc *sc, enum gdsc_status status) gdsc_toggle_logic() argument 170 gdsc_deassert_reset(struct gdsc *sc) gdsc_deassert_reset() argument 179 gdsc_assert_reset(struct gdsc *sc) gdsc_assert_reset() argument 188 gdsc_force_mem_on(struct gdsc *sc) gdsc_force_mem_on() argument 200 gdsc_clear_mem_on(struct gdsc *sc) gdsc_clear_mem_on() argument 212 gdsc_deassert_clamp_io(struct gdsc *sc) gdsc_deassert_clamp_io() argument 218 gdsc_assert_clamp_io(struct gdsc *sc) gdsc_assert_clamp_io() argument 224 gdsc_assert_reset_aon(struct gdsc *sc) gdsc_assert_reset_aon() argument 233 gdsc_retain_ff_on(struct gdsc *sc) gdsc_retain_ff_on() argument 242 struct gdsc *sc = domain_to_gdsc(domain); gdsc_enable() local 300 struct gdsc *sc = domain_to_gdsc(domain); gdsc_disable() local 337 gdsc_init(struct gdsc *sc) gdsc_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-sony.c | 583 static void sony_set_leds(struct sony_sc *sc); 585 static inline void sony_schedule_work(struct sony_sc *sc, in sony_schedule_work() argument 592 spin_lock_irqsave(&sc->lock, flags); in sony_schedule_work() 593 if (!sc->defer_initialization && sc->state_worker_initialized) in sony_schedule_work() 594 schedule_work(&sc->state_worker); in sony_schedule_work() 595 spin_unlock_irqrestore(&sc->lock, flags); in sony_schedule_work() 598 if (sc->hotplug_worker_initialized) in sony_schedule_work() 599 schedule_work(&sc->hotplug_worker); in sony_schedule_work() 609 struct sony_sc *sc in ds4_show_poll_interval() local 619 struct sony_sc *sc = hid_get_drvdata(hdev); ds4_store_poll_interval() local 646 struct sony_sc *sc = hid_get_drvdata(hdev); sony_show_firmware_version() local 658 struct sony_sc *sc = hid_get_drvdata(hdev); sony_show_hardware_version() local 843 struct sony_sc *sc = hid_get_drvdata(hdev); sony_report_fixup() local 890 sixaxis_parse_report(struct sony_sc *sc, u8 *rd, int size) sixaxis_parse_report() argument 940 dualshock4_parse_report(struct sony_sc *sc, u8 *rd, int size) dualshock4_parse_report() argument 1126 nsg_mrxu_parse_report(struct sony_sc *sc, u8 *rd, int size) nsg_mrxu_parse_report() argument 1203 struct sony_sc *sc = hid_get_drvdata(hdev); sony_raw_event() local 1326 struct sony_sc *sc = hid_get_drvdata(hdev); sony_mapping() local 1368 sony_register_touchpad(struct sony_sc *sc, int touch_count, int w, int h, int touch_major, int touch_minor, int orientation) sony_register_touchpad() argument 1432 sony_register_sensors(struct sony_sc *sc) sony_register_sensors() argument 1512 struct sony_sc *sc = hid_get_drvdata(hdev); sixaxis_set_operational_usb() local 1581 dualshock4_get_calibration_data(struct sony_sc *sc) dualshock4_get_calibration_data() argument 1723 struct sony_sc *sc = container_of(work, struct sony_sc, hotplug_worker); dualshock4_calibration_work() local 1748 dualshock4_get_version_info(struct sony_sc *sc) dualshock4_get_version_info() argument 1773 sixaxis_set_leds_from_id(struct sony_sc *sc) sixaxis_set_leds_from_id() argument 1799 dualshock4_set_leds_from_id(struct sony_sc *sc) dualshock4_set_leds_from_id() argument 1823 buzz_set_leds(struct sony_sc *sc) buzz_set_leds() argument 1844 sony_set_leds(struct sony_sc *sc) sony_set_leds() argument 1964 sony_leds_init(struct sony_sc *sc) sony_leds_init() argument 2070 sixaxis_send_output_report(struct sony_sc *sc) sixaxis_send_output_report() argument 2131 dualshock4_send_output_report(struct sony_sc *sc) dualshock4_send_output_report() argument 2193 motion_send_output_report(struct sony_sc *sc) motion_send_output_report() argument 2213 sony_send_output_report(struct sony_sc *sc) sony_send_output_report() argument 2221 struct sony_sc *sc = container_of(work, struct sony_sc, state_worker); sony_state_worker() local 2226 sony_allocate_output_report(struct sony_sc *sc) sony_allocate_output_report() argument 2260 struct sony_sc *sc = hid_get_drvdata(hid); sony_play_effect() local 2272 sony_init_ff(struct sony_sc *sc) sony_init_ff() argument 2289 sony_init_ff(struct sony_sc *sc) sony_init_ff() argument 2300 struct sony_sc *sc = power_supply_get_drvdata(psy); sony_battery_get_property() local 2337 sony_battery_probe(struct sony_sc *sc, int append_dev_id) sony_battery_probe() argument 2394 sony_check_add_dev_list(struct sony_sc *sc) sony_check_add_dev_list() argument 2426 sony_remove_dev_list(struct sony_sc *sc) sony_remove_dev_list() argument 2437 sony_get_bt_devaddr(struct sony_sc *sc) sony_get_bt_devaddr() argument 2457 sony_check_add(struct sony_sc *sc) sony_check_add() argument 2543 sony_set_device_id(struct sony_sc *sc) sony_set_device_id() argument 2567 sony_release_device_id(struct sony_sc *sc) sony_release_device_id() argument 2575 sony_init_output_report(struct sony_sc *sc, void (*send_output_report)(struct sony_sc *)) sony_init_output_report() argument 2586 sony_cancel_work_sync(struct sony_sc *sc) sony_cancel_work_sync() argument 2603 struct sony_sc *sc = hid_get_drvdata(hdev); sony_input_configured() local 2844 struct sony_sc *sc; sony_probe() local 2910 struct sony_sc *sc = hid_get_drvdata(hdev); sony_remove() local 2940 struct sony_sc *sc = hid_get_drvdata(hdev); sony_suspend() local 2952 struct sony_sc *sc = hid_get_drvdata(hdev); sony_resume() local [all...] |