/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.c | 29 static int mtk_vcodec_get_hw_count(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_dec_dev *dev) in mtk_vcodec_get_hw_count() argument 31 switch (dev->vdec_pdata->hw_arch) { in mtk_vcodec_get_hw_count() 37 mtk_v4l2_vdec_err(ctx, "hw arch %d not supported", dev->vdec_pdata->hw_arch); in mtk_vcodec_get_hw_count() 42 static bool mtk_vcodec_is_hw_active(struct mtk_vcodec_dec_dev *dev) in mtk_vcodec_is_hw_active() argument 46 if (dev->vdecsys_regmap) in mtk_vcodec_is_hw_active() 47 return !regmap_test_bits(dev->vdecsys_regmap, VDEC_HW_ACTIVE_ADDR, in mtk_vcodec_is_hw_active() 50 cg_status = readl(dev->reg_base[VDEC_SYS] + VDEC_HW_ACTIVE_ADDR); in mtk_vcodec_is_hw_active() 56 struct mtk_vcodec_dec_dev *dev = priv; in mtk_vcodec_dec_irq_handler() local 59 void __iomem *vdec_misc_addr = dev->reg_base[VDEC_MISC] + in mtk_vcodec_dec_irq_handler() 62 ctx = mtk_vcodec_get_curr_ctx(dev, MTK_VDEC_COR in mtk_vcodec_dec_irq_handler() 88 mtk_vcodec_get_reg_bases(struct mtk_vcodec_dec_dev *dev) mtk_vcodec_get_reg_bases() argument 160 mtk_vcodec_init_dec_resources(struct mtk_vcodec_dec_dev *dev) mtk_vcodec_init_dec_resources() argument 197 struct mtk_vcodec_dec_dev *dev = video_drvdata(file); fops_vcodec_open() local 294 struct mtk_vcodec_dec_dev *dev = video_drvdata(file); fops_vcodec_release() local 331 struct mtk_vcodec_dec_dev *dev; mtk_vcodec_probe() local 538 struct mtk_vcodec_dec_dev *dev = platform_get_drvdata(pdev); mtk_vcodec_dec_remove() local [all...] |
/third_party/backends/backend/ |
H A D | matsushita.c | 527 matsushita_read_document_size (Matsushita_Scanner * dev) in matsushita_read_document_size() argument 538 status = sanei_scsi_cmd2 (dev->sfd, cdb.data, cdb.len, in matsushita_read_document_size() 539 NULL, 0, dev->buffer, &size); in matsushita_read_document_size() 548 hexdump (DBG_info2, "document size", dev->buffer, 16); in matsushita_read_document_size() 552 assert (dev->params.lines == B32TOI (&dev->buffer[4])); in matsushita_read_document_size() 553 assert (dev->params.pixels_per_line == B32TOI (&dev->buffer[0])); in matsushita_read_document_size() 566 Matsushita_Scanner *dev; in matsushita_init() local 571 dev in matsushita_init() 607 matsushita_close(Matsushita_Scanner * dev) matsushita_close() argument 622 matsushita_free(Matsushita_Scanner * dev) matsushita_free() argument 661 matsushita_identify_scanner(Matsushita_Scanner * dev) matsushita_identify_scanner() argument 742 matsushita_build_paper_sizes(Matsushita_Scanner * dev) matsushita_build_paper_sizes() argument 951 matsushita_check_next_page(Matsushita_Scanner * dev) matsushita_check_next_page() argument 973 Matsushita_Scanner *dev; attach_scanner() local 1050 attach_one(const char *dev) attach_one() argument 1058 matsushita_init_options(Matsushita_Scanner * dev) matsushita_init_options() argument 1320 matsushita_wait_scanner(Matsushita_Scanner * dev) matsushita_wait_scanner() argument 1354 matsushita_reset_window(Matsushita_Scanner * dev) matsushita_reset_window() argument 1372 matsushita_set_window(Matsushita_Scanner * dev, int side) matsushita_set_window() argument 1507 matsushita_fill_image(Matsushita_Scanner * dev) matsushita_fill_image() argument 1660 matsushita_copy_raw_to_frontend(Matsushita_Scanner * dev, SANE_Byte * buf, size_t * len) matsushita_copy_raw_to_frontend() argument 1678 do_cancel(Matsushita_Scanner * dev) do_cancel() argument 1752 Matsushita_Scanner *dev; sane_get_devices() local 1779 Matsushita_Scanner *dev; sane_open() local 1834 Matsushita_Scanner *dev = handle; sane_get_option_descriptor() local 1852 Matsushita_Scanner *dev = handle; sane_control_option() local 2166 Matsushita_Scanner *dev = handle; sane_get_parameters() local 2236 Matsushita_Scanner *dev = handle; sane_start() local 2350 Matsushita_Scanner *dev = handle; sane_read() local 2415 Matsushita_Scanner *dev = handle; sane_set_io_mode() local 2448 Matsushita_Scanner *dev = handle; sane_cancel() local 2460 Matsushita_Scanner *dev = handle; sane_close() local [all...] |
H A D | lexmark_low.c | 4 (C) 2006-2013 Stéphane Voltz <stef.dev@free.fr> 75 static SANE_Bool low_is_home_line (Lexmark_Device * dev, 80 Lexmark_Device * dev); 81 static void low_rewind (Lexmark_Device * dev, SANE_Byte * regs); 85 static SANE_Status low_simple_scan (Lexmark_Device * dev, 98 SANE_Byte * regs, Lexmark_Device * dev); 101 static SANE_Status read_buffer_init (Lexmark_Device * dev, int bytesperline); 389 lexmark_low_wake_up (Lexmark_Device * dev) 398 if (rts88xx_write_reg (dev->devnum, regs[i], values + i) != 459 sanei_lexmark_low_init (Lexmark_Device * dev) in sanei_lexmark_low_init() argument 840 sanei_lexmark_low_destroy(Lexmark_Device * dev) sanei_lexmark_low_destroy() argument 1035 low_simple_scan(Lexmark_Device * dev, SANE_Byte * regs, int xoffset, int pixels, int yoffset, int lines, SANE_Byte ** data) low_simple_scan() argument 1150 sanei_lexmark_low_open_device(Lexmark_Device * dev) sanei_lexmark_low_open_device() argument 1242 sanei_lexmark_low_close_device(Lexmark_Device * dev) sanei_lexmark_low_close_device() argument 1304 low_is_home_line(Lexmark_Device * dev, unsigned char *buffer) low_is_home_line() argument 1464 sanei_lexmark_low_move_fwd(SANE_Int distance, Lexmark_Device * dev, SANE_Byte * regs) sanei_lexmark_low_move_fwd() argument 1648 sanei_lexmark_low_search_home_fwd(Lexmark_Device * dev) sanei_lexmark_low_search_home_fwd() argument 1946 sanei_lexmark_low_search_home_bwd(Lexmark_Device * dev) sanei_lexmark_low_search_home_bwd() argument 2310 low_get_start_loc(SANE_Int resolution, SANE_Int * vert_start, SANE_Int * hor_start, SANE_Int offset, Lexmark_Device * dev) low_get_start_loc() argument 2401 low_set_scan_area(SANE_Int res, SANE_Int tlx, SANE_Int tly, SANE_Int brx, SANE_Int bry, SANE_Int offset, SANE_Bool half_step, SANE_Byte * regs, Lexmark_Device * dev) low_set_scan_area() argument 2457 sanei_lexmark_low_find_start_line(Lexmark_Device * dev) sanei_lexmark_low_find_start_line() argument 2864 sanei_lexmark_low_set_scan_regs(Lexmark_Device * dev, SANE_Int resolution, SANE_Int offset, SANE_Bool calibrated) sanei_lexmark_low_set_scan_regs() argument 4819 sanei_lexmark_low_start_scan(Lexmark_Device * dev) sanei_lexmark_low_start_scan() argument 4913 sanei_lexmark_low_read_scan_data(SANE_Byte * data, SANE_Int size, Lexmark_Device * dev) sanei_lexmark_low_read_scan_data() argument 5101 low_rewind(Lexmark_Device * dev, SANE_Byte * regs) low_rewind() argument 5199 read_buffer_init(Lexmark_Device * dev, int bytesperline) read_buffer_init() argument 5523 sanei_lexmark_low_offset_calibration(Lexmark_Device * dev) sanei_lexmark_low_offset_calibration() argument 5665 sanei_lexmark_low_gain_calibration(Lexmark_Device * dev) sanei_lexmark_low_gain_calibration() argument 5761 sanei_lexmark_low_shading_calibration(Lexmark_Device * dev) sanei_lexmark_low_shading_calibration() argument 5962 sanei_lexmark_low_calibration(Lexmark_Device * dev) sanei_lexmark_low_calibration() argument 6028 sanei_lexmark_low_assign_sensor(Lexmark_Device * dev) sanei_lexmark_low_assign_sensor() argument 6053 sanei_lexmark_low_assign_model(Lexmark_Device * dev, SANE_String_Const devname, SANE_Int vendor, SANE_Int product, SANE_Byte mainboard) sanei_lexmark_low_assign_model() argument [all...] |
H A D | umax_pp.c | 2 Copyright (C) 2001-2012 Stéphane Voltz <stef.dev@free.fr> 185 #define UMAX_PP_DEFAULT_PORT "/dev/parport0" 191 * or the device name used by ppdev on linux systems (/dev/parport0 ) 198 Umax_PP_Descriptor *dev; in umax_pp_attach() local 289 dev = malloc (sizeof (Umax_PP_Descriptor) * (num_devices + 1)); in umax_pp_attach() 291 if (dev == NULL) in umax_pp_attach() 298 memset (dev, 0, sizeof (Umax_PP_Descriptor) * (num_devices + 1)); in umax_pp_attach() 302 memcpy (dev + 1, devlist, sizeof (Umax_PP_Descriptor) * (num_devices)); in umax_pp_attach() 306 devlist = dev; in umax_pp_attach() 312 dev in umax_pp_attach() 498 init_options(Umax_PP_Device * dev) init_options() argument 978 Umax_PP_Device *dev; sane_exit() local 1059 Umax_PP_Device *dev; sane_open() local 1245 Umax_PP_Device *prev, *dev; sane_close() local 1314 Umax_PP_Device *dev = handle; sane_get_option_descriptor() local 1333 Umax_PP_Device *dev = handle; sane_control_option() local 1837 Umax_PP_Device *dev = handle; sane_get_parameters() local 1997 Umax_PP_Device *dev = handle; sane_start() local 2167 Umax_PP_Device *dev = handle; sane_read() local 2339 Umax_PP_Device *dev = handle; sane_cancel() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed.c | 49 struct net_device *dev; member 53 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32() argument 55 regmap_update_bits(dev->hw->regs, reg, mask | val, val); in wed_m32() 59 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() argument 61 return wed_m32(dev, reg, 0, mask); in wed_set() 65 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() argument 67 return wed_m32(dev, reg, mask, 0); in wed_clr() 71 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() argument 73 wdma_w32(dev, reg, (wdma_r32(dev, re in wdma_m32() 77 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) wdma_set() argument 83 wdma_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) wdma_clr() argument 89 wifi_r32(struct mtk_wed_device *dev, u32 reg) wifi_r32() argument 95 wifi_w32(struct mtk_wed_device *dev, u32 reg, u32 val) wifi_w32() argument 101 mtk_wed_read_reset(struct mtk_wed_device *dev) mtk_wed_read_reset() argument 107 mtk_wdma_read_reset(struct mtk_wed_device *dev) mtk_wdma_read_reset() argument 113 mtk_wdma_rx_reset(struct mtk_wed_device *dev) mtk_wdma_rx_reset() argument 139 mtk_wdma_tx_reset(struct mtk_wed_device *dev) mtk_wdma_tx_reset() argument 158 mtk_wed_reset(struct mtk_wed_device *dev, u32 mask) mtk_wed_reset() argument 169 mtk_wed_wo_read_status(struct mtk_wed_device *dev) mtk_wed_wo_read_status() argument 175 mtk_wed_wo_reset(struct mtk_wed_device *dev) mtk_wed_wo_reset() argument 225 struct mtk_wed_device *dev; mtk_wed_fe_reset() local 252 struct mtk_wed_device *dev; mtk_wed_fe_reset_complete() local 268 mtk_wed_assign(struct mtk_wed_device *dev) mtk_wed_assign() argument 301 mtk_wed_tx_buffer_alloc(struct mtk_wed_device *dev) mtk_wed_tx_buffer_alloc() argument 388 mtk_wed_free_tx_buffer(struct mtk_wed_device *dev) mtk_wed_free_tx_buffer() argument 423 mtk_wed_rx_buffer_alloc(struct mtk_wed_device *dev) mtk_wed_rx_buffer_alloc() argument 443 mtk_wed_free_rx_buffer(struct mtk_wed_device *dev) mtk_wed_free_rx_buffer() argument 456 mtk_wed_rx_buffer_hw_init(struct mtk_wed_device *dev) mtk_wed_rx_buffer_hw_init() argument 469 mtk_wed_free_ring(struct mtk_wed_device *dev, struct mtk_wed_ring *ring) mtk_wed_free_ring() argument 479 mtk_wed_free_rx_rings(struct mtk_wed_device *dev) mtk_wed_free_rx_rings() argument 486 mtk_wed_free_tx_rings(struct mtk_wed_device *dev) mtk_wed_free_tx_rings() argument 497 mtk_wed_set_ext_int(struct mtk_wed_device *dev, bool en) mtk_wed_set_ext_int() argument 517 mtk_wed_set_512_support(struct mtk_wed_device *dev, bool enable) mtk_wed_set_512_support() argument 532 mtk_wed_check_wfdma_rx_fill(struct mtk_wed_device *dev, int idx) mtk_wed_check_wfdma_rx_fill() argument 563 mtk_wed_dma_disable(struct mtk_wed_device *dev) mtk_wed_dma_disable() argument 599 mtk_wed_stop(struct mtk_wed_device *dev) mtk_wed_stop() argument 617 mtk_wed_deinit(struct mtk_wed_device *dev) mtk_wed_deinit() argument 638 __mtk_wed_detach(struct mtk_wed_device *dev) __mtk_wed_detach() argument 677 mtk_wed_detach(struct mtk_wed_device *dev) mtk_wed_detach() argument 686 mtk_wed_bus_init(struct mtk_wed_device *dev) mtk_wed_bus_init() argument 732 mtk_wed_set_wpdma(struct mtk_wed_device *dev) mtk_wed_set_wpdma() argument 749 mtk_wed_hw_init_early(struct mtk_wed_device *dev) mtk_wed_hw_init_early() argument 795 mtk_wed_rro_ring_alloc(struct mtk_wed_device *dev, struct mtk_wed_ring *ring, int size) mtk_wed_rro_ring_alloc() argument 812 mtk_wed_rro_alloc(struct mtk_wed_device *dev) mtk_wed_rro_alloc() argument 841 mtk_wed_rro_cfg(struct mtk_wed_device *dev) mtk_wed_rro_cfg() argument 872 mtk_wed_rro_hw_init(struct mtk_wed_device *dev) mtk_wed_rro_hw_init() argument 899 mtk_wed_route_qm_hw_init(struct mtk_wed_device *dev) mtk_wed_route_qm_hw_init() argument 920 mtk_wed_hw_init(struct mtk_wed_device *dev) mtk_wed_hw_init() argument 1012 mtk_wed_check_busy(struct mtk_wed_device *dev, u32 reg, u32 mask) mtk_wed_check_busy() argument 1018 mtk_wed_poll_busy(struct mtk_wed_device *dev, u32 reg, u32 mask) mtk_wed_poll_busy() argument 1029 mtk_wed_rx_reset(struct mtk_wed_device *dev) mtk_wed_rx_reset() argument 1139 mtk_wed_reset_dma(struct mtk_wed_device *dev) mtk_wed_reset_dma() argument 1233 mtk_wed_ring_alloc(struct mtk_wed_device *dev, struct mtk_wed_ring *ring, int size, u32 desc_size, bool tx) mtk_wed_ring_alloc() argument 1249 mtk_wed_wdma_rx_ring_setup(struct mtk_wed_device *dev, int idx, int size, bool reset) mtk_wed_wdma_rx_ring_setup() argument 1278 mtk_wed_wdma_tx_ring_setup(struct mtk_wed_device *dev, int idx, int size, bool reset) mtk_wed_wdma_tx_ring_setup() argument 1317 mtk_wed_ppe_check(struct mtk_wed_device *dev, struct sk_buff *skb, u32 reason, u32 hash) mtk_wed_ppe_check() argument 1336 mtk_wed_configure_irq(struct mtk_wed_device *dev, u32 irq_mask) mtk_wed_configure_irq() argument 1402 mtk_wed_dma_enable(struct mtk_wed_device *dev) mtk_wed_dma_enable() argument 1453 mtk_wed_start(struct mtk_wed_device *dev, u32 irq_mask) mtk_wed_start() argument 1573 mtk_wed_tx_ring_setup(struct mtk_wed_device *dev, int idx, void __iomem *regs, bool reset) mtk_wed_tx_ring_setup() argument 1619 mtk_wed_txfree_ring_setup(struct mtk_wed_device *dev, void __iomem *regs) mtk_wed_txfree_ring_setup() argument 1643 mtk_wed_rx_ring_setup(struct mtk_wed_device *dev, int idx, void __iomem *regs, bool reset) mtk_wed_rx_ring_setup() argument 1676 mtk_wed_irq_get(struct mtk_wed_device *dev, u32 mask) mtk_wed_irq_get() argument 1704 mtk_wed_irq_set_mask(struct mtk_wed_device *dev, u32 mask) mtk_wed_irq_set_mask() argument 1781 mtk_wed_setup_tc_block(struct mtk_wed_hw *hw, struct net_device *dev, struct flow_block_offload *f) mtk_wed_setup_tc_block() argument 1840 mtk_wed_setup_tc(struct mtk_wed_device *wed, struct net_device *dev, enum tc_setup_type type, void *type_data) mtk_wed_setup_tc() argument [all...] |
/kernel/linux/linux-6.6/drivers/misc/mei/ |
H A D | hw-me.c | 55 * @dev: the device structure 59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read() argument 61 return mei_me_reg_read(to_me_hw(dev), ME_CB_RW); in mei_me_mecbrw_read() 67 * @dev: the device structure 70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write() argument 72 mei_me_reg_write(to_me_hw(dev), H_CB_WW, data); in mei_me_hcbww_write() 78 * @dev: the device structure 82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read() argument 86 reg = mei_me_reg_read(to_me_hw(dev), ME_CSR_HA); in mei_me_mecsr_read() 87 trace_mei_reg_read(dev in mei_me_mecsr_read() 99 mei_hcsr_read(const struct mei_device *dev) mei_hcsr_read() argument 115 mei_hcsr_write(struct mei_device *dev, u32 reg) mei_hcsr_write() argument 128 mei_hcsr_set(struct mei_device *dev, u32 reg) mei_hcsr_set() argument 139 mei_hcsr_set_hig(struct mei_device *dev) mei_hcsr_set_hig() argument 154 mei_me_d0i3c_read(const struct mei_device *dev) mei_me_d0i3c_read() argument 170 mei_me_d0i3c_write(struct mei_device *dev, u32 reg) mei_me_d0i3c_write() argument 184 mei_me_trc_status(struct mei_device *dev, u32 *trc) mei_me_trc_status() argument 205 mei_me_fw_status(struct mei_device *dev, struct mei_fw_status *fw_status) mei_me_fw_status() argument 240 mei_me_hw_config(struct mei_device *dev) mei_me_hw_config() argument 276 mei_me_pg_state(struct mei_device *dev) mei_me_pg_state() argument 295 me_intr_disable(struct mei_device *dev, u32 hcsr) me_intr_disable() argument 307 me_intr_clear(struct mei_device *dev, u32 hcsr) me_intr_clear() argument 318 mei_me_intr_clear(struct mei_device *dev) mei_me_intr_clear() argument 329 mei_me_intr_enable(struct mei_device *dev) mei_me_intr_enable() argument 345 mei_me_intr_disable(struct mei_device *dev) mei_me_intr_disable() argument 357 mei_me_synchronize_irq(struct mei_device *dev) mei_me_synchronize_irq() argument 372 mei_me_hw_reset_release(struct mei_device *dev) mei_me_hw_reset_release() argument 386 mei_me_host_set_ready(struct mei_device *dev) mei_me_host_set_ready() argument 403 mei_me_host_is_ready(struct mei_device *dev) mei_me_host_is_ready() argument 416 mei_me_hw_is_ready(struct mei_device *dev) mei_me_hw_is_ready() argument 429 mei_me_hw_is_resetting(struct mei_device *dev) mei_me_hw_is_resetting() argument 441 mei_gsc_pxp_check(struct mei_device *dev) mei_gsc_pxp_check() argument 466 mei_me_hw_ready_wait(struct mei_device *dev) mei_me_hw_ready_wait() argument 491 mei_me_hw_start(struct mei_device *dev) mei_me_hw_start() argument 511 mei_hbuf_filled_slots(struct mei_device *dev) mei_hbuf_filled_slots() argument 531 mei_me_hbuf_is_empty(struct mei_device *dev) mei_me_hbuf_is_empty() argument 543 mei_me_hbuf_empty_slots(struct mei_device *dev) mei_me_hbuf_empty_slots() argument 565 mei_me_hbuf_depth(const struct mei_device *dev) mei_me_hbuf_depth() argument 583 mei_me_hbuf_write(struct mei_device *dev, const void *hdr, size_t hdr_len, const void *data, size_t data_len) mei_me_hbuf_write() argument 643 mei_me_count_full_read_slots(struct mei_device *dev) mei_me_count_full_read_slots() argument 672 mei_me_read_slots(struct mei_device *dev, unsigned char *buffer, unsigned long buffer_length) mei_me_read_slots() argument 695 mei_me_pg_set(struct mei_device *dev) mei_me_pg_set() argument 714 mei_me_pg_unset(struct mei_device *dev) mei_me_pg_unset() argument 737 mei_me_pg_legacy_enter_sync(struct mei_device *dev) mei_me_pg_legacy_enter_sync() argument 774 mei_me_pg_legacy_exit_sync(struct mei_device *dev) mei_me_pg_legacy_exit_sync() argument 828 mei_me_pg_in_transition(struct mei_device *dev) mei_me_pg_in_transition() argument 841 mei_me_pg_is_enabled(struct mei_device *dev) mei_me_pg_is_enabled() argument 877 mei_me_d0i3_set(struct mei_device *dev, bool intr) mei_me_d0i3_set() argument 899 mei_me_d0i3_unset(struct mei_device *dev) mei_me_d0i3_unset() argument 918 mei_me_d0i3_enter_sync(struct mei_device *dev) mei_me_d0i3_enter_sync() argument 994 mei_me_d0i3_enter(struct mei_device *dev) mei_me_d0i3_enter() argument 1021 mei_me_d0i3_exit_sync(struct mei_device *dev) mei_me_d0i3_exit_sync() argument 1074 mei_me_pg_legacy_intr(struct mei_device *dev) mei_me_pg_legacy_intr() argument 1093 mei_me_d0i3_intr(struct mei_device *dev, u32 intr_source) mei_me_d0i3_intr() argument 1134 mei_me_pg_intr(struct mei_device *dev, u32 intr_source) mei_me_pg_intr() argument 1151 mei_me_pg_enter_sync(struct mei_device *dev) mei_me_pg_enter_sync() argument 1168 mei_me_pg_exit_sync(struct mei_device *dev) mei_me_pg_exit_sync() argument 1186 mei_me_hw_reset(struct mei_device *dev, bool intr_enable) mei_me_hw_reset() argument 1259 struct mei_device *dev = (struct mei_device *)dev_id; mei_me_irq_quick_handler() local 1286 struct mei_device *dev = (struct mei_device *) dev_id; mei_me_irq_thread_handler() local 1397 struct mei_device *dev = _dev; mei_me_polling_thread() local 1748 struct mei_device *dev; mei_me_dev_init() local [all...] |
H A D | hw-txe.c | 146 * @dev: the device structure 153 * Locking: called under "dev->device_lock" lock 157 static bool mei_txe_aliveness_set(struct mei_device *dev, u32 req) in mei_txe_aliveness_set() argument 160 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_set() 163 dev_dbg(dev->dev, "Aliveness current=%d request=%d\n", in mei_txe_aliveness_set() 166 dev->pg_event = MEI_PG_EVENT_WAIT; in mei_txe_aliveness_set() 176 * @dev: the device structure 183 static u32 mei_txe_aliveness_req_get(struct mei_device *dev) in mei_txe_aliveness_req_get() argument 185 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_req_get() 200 mei_txe_aliveness_get(struct mei_device *dev) mei_txe_aliveness_get() argument 219 mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) mei_txe_aliveness_poll() argument 252 mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) mei_txe_aliveness_wait() argument 292 mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req) mei_txe_aliveness_set_sync() argument 306 mei_txe_pg_in_transition(struct mei_device *dev) mei_txe_pg_in_transition() argument 318 mei_txe_pg_is_enabled(struct mei_device *dev) mei_txe_pg_is_enabled() argument 331 mei_txe_pg_state(struct mei_device *dev) mei_txe_pg_state() argument 343 mei_txe_input_ready_interrupt_enable(struct mei_device *dev) mei_txe_input_ready_interrupt_enable() argument 385 mei_txe_is_input_ready(struct mei_device *dev) mei_txe_is_input_ready() argument 399 mei_txe_intr_clear(struct mei_device *dev) mei_txe_intr_clear() argument 414 mei_txe_intr_disable(struct mei_device *dev) mei_txe_intr_disable() argument 426 mei_txe_intr_enable(struct mei_device *dev) mei_txe_intr_enable() argument 439 mei_txe_synchronize_irq(struct mei_device *dev) mei_txe_synchronize_irq() argument 457 mei_txe_pending_interrupts(struct mei_device *dev) mei_txe_pending_interrupts() argument 485 mei_txe_input_payload_write(struct mei_device *dev, unsigned long idx, u32 value) mei_txe_input_payload_write() argument 503 mei_txe_out_data_read(const struct mei_device *dev, unsigned long idx) mei_txe_out_data_read() argument 519 mei_txe_readiness_set_host_rdy(struct mei_device *dev) mei_txe_readiness_set_host_rdy() argument 533 mei_txe_readiness_clear(struct mei_device *dev) mei_txe_readiness_clear() argument 548 mei_txe_readiness_get(struct mei_device *dev) mei_txe_readiness_get() argument 576 mei_txe_hw_is_ready(struct mei_device *dev) mei_txe_hw_is_ready() argument 590 mei_txe_host_is_ready(struct mei_device *dev) mei_txe_host_is_ready() argument 605 mei_txe_readiness_wait(struct mei_device *dev) mei_txe_readiness_wait() argument 637 mei_txe_fw_status(struct mei_device *dev, struct mei_fw_status *fw_status) mei_txe_fw_status() argument 672 mei_txe_hw_config(struct mei_device *dev) mei_txe_hw_config() argument 697 mei_txe_write(struct mei_device *dev, const void *hdr, size_t hdr_len, const void *data, size_t data_len) mei_txe_write() argument 763 mei_txe_hbuf_depth(const struct mei_device *dev) mei_txe_hbuf_depth() argument 775 mei_txe_hbuf_empty_slots(struct mei_device *dev) mei_txe_hbuf_empty_slots() argument 789 mei_txe_count_full_read_slots(struct mei_device *dev) mei_txe_count_full_read_slots() argument 803 mei_txe_read_hdr(const struct mei_device *dev) mei_txe_read_hdr() argument 816 mei_txe_read(struct mei_device *dev, unsigned char *buf, unsigned long len) mei_txe_read() argument 858 mei_txe_hw_reset(struct mei_device *dev, bool intr_enable) mei_txe_hw_reset() argument 912 mei_txe_hw_start(struct mei_device *dev) mei_txe_hw_start() argument 971 mei_txe_check_and_ack_intrs(struct mei_device *dev, bool do_ack) mei_txe_check_and_ack_intrs() argument 1028 struct mei_device *dev = dev_id; mei_txe_irq_quick_handler() local 1046 struct mei_device *dev = (struct mei_device *) dev_id; mei_txe_irq_thread_handler() local 1197 struct mei_device *dev; mei_txe_dev_init() local 1222 mei_txe_setup_satt2(struct mei_device *dev, phys_addr_t addr, u32 range) mei_txe_setup_satt2() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-stu300.c | 169 static int stu300_init_hw(struct stu300_dev *dev); 190 static void stu300_irq_enable(struct stu300_dev *dev) in stu300_irq_enable() argument 193 val = stu300_r8(dev->virtbase + I2C_CR); in stu300_irq_enable() 196 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable() 197 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_enable() 200 static void stu300_irq_disable(struct stu300_dev *dev) in stu300_irq_disable() argument 203 val = stu300_r8(dev->virtbase + I2C_CR); in stu300_irq_disable() 206 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable() 207 stu300_wr8(val, dev->virtbase + I2C_CR); in stu300_irq_disable() 223 static int stu300_event_occurred(struct stu300_dev *dev, in stu300_event_occurred() argument 301 struct stu300_dev *dev = data; stu300_irh() local 325 stu300_start_and_await_event(struct stu300_dev *dev, u8 cr_value, enum stu300_event mr_event) stu300_start_and_await_event() argument 372 stu300_await_event(struct stu300_dev *dev, enum stu300_event mr_event) stu300_await_event() argument 426 stu300_wait_while_busy(struct stu300_dev *dev) stu300_wait_while_busy() argument 477 stu300_set_clk(struct stu300_dev *dev, unsigned long clkrate) stu300_set_clk() argument 543 stu300_init_hw(struct stu300_dev *dev) stu300_init_hw() argument 586 stu300_send_address(struct stu300_dev *dev, struct i2c_msg *msg, int resend) stu300_send_address() argument 652 struct stu300_dev *dev = i2c_get_adapdata(adap); stu300_xfer_msg() local 812 struct stu300_dev *dev = i2c_get_adapdata(adap); stu300_xfer() local 861 struct stu300_dev *dev; stu300_probe() local 933 struct stu300_dev *dev = dev_get_drvdata(device); stu300_suspend() local 943 struct stu300_dev *dev = dev_get_drvdata(device); stu300_resume() local 962 struct stu300_dev *dev = platform_get_drvdata(pdev); stu300_remove() local [all...] |
H A D | i2c-davinci.c | 121 struct device *dev; member 169 static void i2c_davinci_calc_clk_dividers(struct davinci_i2c_dev *dev) in i2c_davinci_calc_clk_dividers() argument 171 struct davinci_i2c_platform_data *pdata = dev->pdata; in i2c_davinci_calc_clk_dividers() 177 u32 input_clock = clk_get_rate(dev->clk); in i2c_davinci_calc_clk_dividers() 178 struct device_node *of_node = dev->dev->of_node; in i2c_davinci_calc_clk_dividers() 244 davinci_i2c_write_reg(dev, DAVINCI_I2C_PSC_REG, psc); in i2c_davinci_calc_clk_dividers() 245 davinci_i2c_write_reg(dev, DAVINCI_I2C_CLKH_REG, clkh); in i2c_davinci_calc_clk_dividers() 246 davinci_i2c_write_reg(dev, DAVINCI_I2C_CLKL_REG, clkl); in i2c_davinci_calc_clk_dividers() 248 dev_dbg(dev in i2c_davinci_calc_clk_dividers() 256 i2c_davinci_init(struct davinci_i2c_dev *dev) i2c_davinci_init() argument 296 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_prepare_recovery() local 307 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_unprepare_recovery() local 320 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_set_scl() local 332 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_get_scl() local 342 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_get_sda() local 352 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_scl_prepare_recovery() local 366 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); davinci_i2c_scl_unprepare_recovery() local 386 i2c_davinci_wait_bus_not_busy(struct davinci_i2c_dev *dev) i2c_davinci_wait_bus_not_busy() argument 416 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); i2c_davinci_xfer_msg() local 536 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); i2c_davinci_xfer() local 577 terminate_read(struct davinci_i2c_dev *dev) terminate_read() argument 588 terminate_write(struct davinci_i2c_dev *dev) terminate_write() argument 604 struct davinci_i2c_dev *dev = dev_id; i2c_davinci_isr() local 708 struct davinci_i2c_dev *dev; i2c_davinci_cpufreq_transition() local 724 i2c_davinci_cpufreq_register(struct davinci_i2c_dev *dev) i2c_davinci_cpufreq_register() argument 732 i2c_davinci_cpufreq_deregister(struct davinci_i2c_dev *dev) i2c_davinci_cpufreq_deregister() argument 738 i2c_davinci_cpufreq_register(struct davinci_i2c_dev *dev) i2c_davinci_cpufreq_register() argument 743 i2c_davinci_cpufreq_deregister(struct davinci_i2c_dev *dev) i2c_davinci_cpufreq_deregister() argument 762 struct davinci_i2c_dev *dev; davinci_i2c_probe() local 897 struct davinci_i2c_dev *dev = platform_get_drvdata(pdev); davinci_i2c_remove() local 920 davinci_i2c_suspend(struct device *dev) davinci_i2c_suspend() argument 930 davinci_i2c_resume(struct device *dev) davinci_i2c_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | radio.c | 77 void b43legacy_radio_lock(struct b43legacy_wldev *dev) in b43legacy_radio_lock() argument 81 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_lock() 84 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_lock() 88 void b43legacy_radio_unlock(struct b43legacy_wldev *dev) in b43legacy_radio_unlock() argument 92 b43legacy_read16(dev, B43legacy_MMIO_PHY_VER); /* dummy read */ in b43legacy_radio_unlock() 93 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_unlock() 96 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_unlock() 99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16() argument 101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() 122 b43legacy_write16(dev, B43legacy_MMIO_RADIO_CONTRO in b43legacy_radio_read16() 126 b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) b43legacy_radio_write16() argument 132 b43legacy_set_all_gains(struct b43legacy_wldev *dev, s16 first, s16 second, s16 third) b43legacy_set_all_gains() argument 169 b43legacy_set_original_gains(struct b43legacy_wldev *dev) b43legacy_set_original_gains() argument 208 b43legacy_synth_pu_workaround(struct b43legacy_wldev *dev, u8 channel) b43legacy_synth_pu_workaround() argument 230 b43legacy_radio_aci_detect(struct b43legacy_wldev *dev, u8 channel) b43legacy_radio_aci_detect() argument 264 b43legacy_radio_aci_scan(struct b43legacy_wldev *dev) b43legacy_radio_aci_scan() argument 317 b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) b43legacy_nrssi_hw_write() argument 324 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) b43legacy_nrssi_hw_read() argument 335 b43legacy_nrssi_hw_update(struct b43legacy_wldev *dev, u16 val) b43legacy_nrssi_hw_update() argument 349 b43legacy_nrssi_mem_update(struct b43legacy_wldev *dev) b43legacy_nrssi_mem_update() argument 366 b43legacy_calc_nrssi_offset(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_offset() argument 536 b43legacy_calc_nrssi_slope(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_slope() argument 801 b43legacy_calc_nrssi_threshold(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_threshold() argument 972 b43legacy_radio_interference_mitigation_enable(struct b43legacy_wldev *dev, int mode) b43legacy_radio_interference_mitigation_enable() argument 1218 b43legacy_radio_interference_mitigation_disable(struct b43legacy_wldev *dev, int mode) b43legacy_radio_interference_mitigation_disable() argument 1322 b43legacy_radio_set_interference_mitigation(struct b43legacy_wldev *dev, int mode) b43legacy_radio_set_interference_mitigation() argument 1366 b43legacy_radio_calibrationvalue(struct b43legacy_wldev *dev) b43legacy_radio_calibrationvalue() argument 1382 b43legacy_get_812_value(struct b43legacy_wldev *dev, u8 lpd) b43legacy_get_812_value() argument 1479 b43legacy_radio_init2050(struct b43legacy_wldev *dev) b43legacy_radio_init2050() argument 1729 b43legacy_radio_selectchannel(struct b43legacy_wldev *dev, u8 channel, int synthetic_pu_workaround) b43legacy_radio_selectchannel() argument 1784 b43legacy_radio_set_txantenna(struct b43legacy_wldev *dev, u32 val) b43legacy_radio_set_txantenna() argument 1864 b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower) b43legacy_radio_set_txpower_a() argument 1897 b43legacy_radio_set_txpower_bg(struct b43legacy_wldev *dev, u16 baseband_attenuation, u16 radio_attenuation, u16 txpower) b43legacy_radio_set_txpower_bg() argument 1934 b43legacy_default_baseband_attenuation(struct b43legacy_wldev *dev) b43legacy_default_baseband_attenuation() argument 1943 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) b43legacy_default_radio_attenuation() argument 2030 b43legacy_default_txctl1(struct b43legacy_wldev *dev) b43legacy_default_txctl1() argument 2045 b43legacy_radio_turn_on(struct b43legacy_wldev *dev) b43legacy_radio_turn_on() argument 2083 b43legacy_radio_turn_off(struct b43legacy_wldev *dev, bool force) b43legacy_radio_turn_off() argument 2109 b43legacy_radio_clear_tssi(struct b43legacy_wldev *dev) b43legacy_radio_clear_tssi() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A D | radio.c | 77 void b43legacy_radio_lock(struct b43legacy_wldev *dev) in b43legacy_radio_lock() argument 81 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_lock() 84 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_lock() 88 void b43legacy_radio_unlock(struct b43legacy_wldev *dev) in b43legacy_radio_unlock() argument 92 b43legacy_read16(dev, B43legacy_MMIO_PHY_VER); /* dummy read */ in b43legacy_radio_unlock() 93 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_unlock() 96 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_unlock() 99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16() argument 101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() 122 b43legacy_write16(dev, B43legacy_MMIO_RADIO_CONTRO in b43legacy_radio_read16() 126 b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) b43legacy_radio_write16() argument 132 b43legacy_set_all_gains(struct b43legacy_wldev *dev, s16 first, s16 second, s16 third) b43legacy_set_all_gains() argument 169 b43legacy_set_original_gains(struct b43legacy_wldev *dev) b43legacy_set_original_gains() argument 208 b43legacy_synth_pu_workaround(struct b43legacy_wldev *dev, u8 channel) b43legacy_synth_pu_workaround() argument 230 b43legacy_radio_aci_detect(struct b43legacy_wldev *dev, u8 channel) b43legacy_radio_aci_detect() argument 264 b43legacy_radio_aci_scan(struct b43legacy_wldev *dev) b43legacy_radio_aci_scan() argument 317 b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) b43legacy_nrssi_hw_write() argument 324 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) b43legacy_nrssi_hw_read() argument 335 b43legacy_nrssi_hw_update(struct b43legacy_wldev *dev, u16 val) b43legacy_nrssi_hw_update() argument 349 b43legacy_nrssi_mem_update(struct b43legacy_wldev *dev) b43legacy_nrssi_mem_update() argument 366 b43legacy_calc_nrssi_offset(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_offset() argument 536 b43legacy_calc_nrssi_slope(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_slope() argument 801 b43legacy_calc_nrssi_threshold(struct b43legacy_wldev *dev) b43legacy_calc_nrssi_threshold() argument 972 b43legacy_radio_interference_mitigation_enable(struct b43legacy_wldev *dev, int mode) b43legacy_radio_interference_mitigation_enable() argument 1218 b43legacy_radio_interference_mitigation_disable(struct b43legacy_wldev *dev, int mode) b43legacy_radio_interference_mitigation_disable() argument 1322 b43legacy_radio_set_interference_mitigation(struct b43legacy_wldev *dev, int mode) b43legacy_radio_set_interference_mitigation() argument 1366 b43legacy_radio_calibrationvalue(struct b43legacy_wldev *dev) b43legacy_radio_calibrationvalue() argument 1382 b43legacy_get_812_value(struct b43legacy_wldev *dev, u8 lpd) b43legacy_get_812_value() argument 1479 b43legacy_radio_init2050(struct b43legacy_wldev *dev) b43legacy_radio_init2050() argument 1712 b43legacy_radio_selectchannel(struct b43legacy_wldev *dev, u8 channel, int synthetic_pu_workaround) b43legacy_radio_selectchannel() argument 1767 b43legacy_radio_set_txantenna(struct b43legacy_wldev *dev, u32 val) b43legacy_radio_set_txantenna() argument 1847 b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower) b43legacy_radio_set_txpower_a() argument 1880 b43legacy_radio_set_txpower_bg(struct b43legacy_wldev *dev, u16 baseband_attenuation, u16 radio_attenuation, u16 txpower) b43legacy_radio_set_txpower_bg() argument 1917 b43legacy_default_baseband_attenuation(struct b43legacy_wldev *dev) b43legacy_default_baseband_attenuation() argument 1926 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) b43legacy_default_radio_attenuation() argument 2013 b43legacy_default_txctl1(struct b43legacy_wldev *dev) b43legacy_default_txctl1() argument 2028 b43legacy_radio_turn_on(struct b43legacy_wldev *dev) b43legacy_radio_turn_on() argument 2066 b43legacy_radio_turn_off(struct b43legacy_wldev *dev, bool force) b43legacy_radio_turn_off() argument 2092 b43legacy_radio_clear_tssi(struct b43legacy_wldev *dev) b43legacy_radio_clear_tssi() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | phy_ht.c | 35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup() argument 42 b43_radio_write(dev, 0x16, e->radio_syn16); in b43_radio_2059_channel_setup() 43 b43_radio_write(dev, 0x17, e->radio_syn17); in b43_radio_2059_channel_setup() 44 b43_radio_write(dev, 0x22, e->radio_syn22); in b43_radio_2059_channel_setup() 45 b43_radio_write(dev, 0x25, e->radio_syn25); in b43_radio_2059_channel_setup() 46 b43_radio_write(dev, 0x27, e->radio_syn27); in b43_radio_2059_channel_setup() 47 b43_radio_write(dev, 0x28, e->radio_syn28); in b43_radio_2059_channel_setup() 48 b43_radio_write(dev, 0x29, e->radio_syn29); in b43_radio_2059_channel_setup() 49 b43_radio_write(dev, 0x2c, e->radio_syn2c); in b43_radio_2059_channel_setup() 50 b43_radio_write(dev, in b43_radio_2059_channel_setup() 80 b43_radio_2059_rcal(struct b43_wldev *dev) b43_radio_2059_rcal() argument 107 b43_radio_2057_rccal(struct b43_wldev *dev) b43_radio_2057_rccal() argument 134 b43_radio_2059_init_pre(struct b43_wldev *dev) b43_radio_2059_init_pre() argument 142 b43_radio_2059_init(struct b43_wldev *dev) b43_radio_2059_init() argument 175 b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) b43_phy_ht_force_rf_sequence() argument 196 b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) b43_phy_ht_pa_override() argument 220 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) b43_phy_ht_classifier() argument 236 b43_phy_ht_reset_cca(struct b43_wldev *dev) b43_phy_ht_reset_cca() argument 250 b43_phy_ht_zero_extg(struct b43_wldev *dev) b43_phy_ht_zero_extg() argument 265 b43_phy_ht_afe_unk1(struct b43_wldev *dev) b43_phy_ht_afe_unk1() argument 286 b43_phy_ht_read_clip_detection(struct b43_wldev *dev, u16 *clip_st) b43_phy_ht_read_clip_detection() argument 293 b43_phy_ht_bphy_init(struct b43_wldev *dev) b43_phy_ht_bphy_init() argument 311 b43_phy_ht_bphy_reset(struct b43_wldev *dev, bool reset) b43_phy_ht_bphy_reset() argument 335 b43_phy_ht_stop_playback(struct b43_wldev *dev) b43_phy_ht_stop_playback() argument 359 b43_phy_ht_load_samples(struct b43_wldev *dev) b43_phy_ht_load_samples() argument 374 b43_phy_ht_run_samples(struct b43_wldev *dev, u16 samps, u16 loops, u16 wait) b43_phy_ht_run_samples() argument 415 b43_phy_ht_tx_tone(struct b43_wldev *dev) b43_phy_ht_tx_tone() argument 427 b43_phy_ht_rssi_select(struct b43_wldev *dev, u8 core_sel, enum ht_rssi_type rssi_type) b43_phy_ht_rssi_select() argument 467 b43_phy_ht_poll_rssi(struct b43_wldev *dev, enum ht_rssi_type type, s32 *buf, u8 nsamp) b43_phy_ht_poll_rssi() argument 511 b43_phy_ht_tx_power_fix(struct b43_wldev *dev) b43_phy_ht_tx_power_fix() argument 533 b43_phy_ht_tx_power_ctl(struct b43_wldev *dev, bool enable) b43_phy_ht_tx_power_ctl() argument 573 b43_phy_ht_tx_power_ctl_idle_tssi(struct b43_wldev *dev) b43_phy_ht_tx_power_ctl_idle_tssi() argument 609 b43_phy_ht_tssi_setup(struct b43_wldev *dev) b43_phy_ht_tssi_setup() argument 621 b43_phy_ht_tx_power_ctl_setup(struct b43_wldev *dev) b43_phy_ht_tx_power_ctl_setup() argument 733 b43_phy_ht_spur_avoid(struct b43_wldev *dev, struct ieee80211_channel *new_channel) b43_phy_ht_spur_avoid() argument 763 b43_phy_ht_channel_setup(struct b43_wldev *dev, const struct b43_phy_ht_channeltab_e_phy *e, struct ieee80211_channel *new_channel) b43_phy_ht_channel_setup() argument 807 b43_phy_ht_set_channel(struct b43_wldev *dev, struct ieee80211_channel *channel, enum nl80211_channel_type channel_type) b43_phy_ht_set_channel() argument 841 b43_phy_ht_op_allocate(struct b43_wldev *dev) b43_phy_ht_op_allocate() argument 853 b43_phy_ht_op_prepare_structs(struct b43_wldev *dev) b43_phy_ht_op_prepare_structs() argument 869 b43_phy_ht_op_init(struct b43_wldev *dev) b43_phy_ht_op_init() argument 1009 b43_phy_ht_op_free(struct b43_wldev *dev) b43_phy_ht_op_free() argument 1019 b43_phy_ht_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_phy_ht_op_software_rfkill() argument 1038 b43_phy_ht_op_switch_analog(struct b43_wldev *dev, bool on) b43_phy_ht_op_switch_analog() argument 1057 b43_phy_ht_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_phy_ht_op_switch_channel() argument 1074 b43_phy_ht_op_get_default_chan(struct b43_wldev *dev) b43_phy_ht_op_get_default_chan() argument 1085 b43_phy_ht_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, u16 set) b43_phy_ht_op_maskset() argument 1093 b43_phy_ht_op_radio_read(struct b43_wldev *dev, u16 reg) b43_phy_ht_op_radio_read() argument 1102 b43_phy_ht_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_phy_ht_op_radio_write() argument 1110 b43_phy_ht_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_phy_ht_op_recalc_txpower() argument 1115 b43_phy_ht_op_adjust_txpower(struct b43_wldev *dev) b43_phy_ht_op_adjust_txpower() argument [all...] |
H A D | phy_g.c | 54 static void b43_calc_nrssi_threshold(struct b43_wldev *dev); 68 static void generate_rfatt_list(struct b43_wldev *dev, in generate_rfatt_list() argument 71 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() 111 if (!b43_has_hardware_pctl(dev)) { in generate_rfatt_list() 134 static void generate_bbatt_list(struct b43_wldev *dev, in generate_bbatt_list() argument 155 static void b43_shm_clear_tssi(struct b43_wldev *dev) in b43_shm_clear_tssi() argument 157 b43_shm_write16(dev, B43_SHM_SHARED, 0x0058, 0x7F7F); in b43_shm_clear_tssi() 158 b43_shm_write16(dev, B43_SHM_SHARED, 0x005a, 0x7F7F); in b43_shm_clear_tssi() 159 b43_shm_write16(dev, B43_SHM_SHARED, 0x0070, 0x7F7F); in b43_shm_clear_tssi() 160 b43_shm_write16(dev, B43_SHM_SHARE in b43_shm_clear_tssi() 164 b43_synth_pu_workaround(struct b43_wldev *dev, u8 channel) b43_synth_pu_workaround() argument 186 b43_gphy_set_baseband_attenuation(struct b43_wldev *dev, u16 baseband_attenuation) b43_gphy_set_baseband_attenuation() argument 203 b43_set_txpower_g(struct b43_wldev *dev, const struct b43_bbatt *bbatt, const struct b43_rfatt *rfatt, u8 tx_control) b43_set_txpower_g() argument 252 b43_gphy_tssi_power_lt_init(struct b43_wldev *dev) b43_gphy_tssi_power_lt_init() argument 270 b43_gphy_gain_lt_init(struct b43_wldev *dev) b43_gphy_gain_lt_init() argument 296 b43_set_all_gains(struct b43_wldev *dev, s16 first, s16 second, s16 third) b43_set_all_gains() argument 328 b43_set_original_gains(struct b43_wldev *dev) b43_set_original_gains() argument 361 b43_nrssi_hw_write(struct b43_wldev *dev, u16 offset, s16 val) b43_nrssi_hw_write() argument 368 b43_nrssi_hw_read(struct b43_wldev *dev, u16 offset) b43_nrssi_hw_read() argument 379 b43_nrssi_hw_update(struct b43_wldev *dev, u16 val) b43_nrssi_hw_update() argument 393 b43_nrssi_mem_update(struct b43_wldev *dev) b43_nrssi_mem_update() argument 409 b43_calc_nrssi_offset(struct b43_wldev *dev) b43_calc_nrssi_offset() argument 556 b43_calc_nrssi_slope(struct b43_wldev *dev) b43_calc_nrssi_slope() argument 698 b43_calc_nrssi_threshold(struct b43_wldev *dev) b43_calc_nrssi_threshold() argument 826 b43_radio_interference_mitigation_enable(struct b43_wldev *dev, int mode) b43_radio_interference_mitigation_enable() argument 992 b43_radio_interference_mitigation_disable(struct b43_wldev *dev, int mode) b43_radio_interference_mitigation_disable() argument 1079 b43_radio_core_calibration_value(struct b43_wldev *dev) b43_radio_core_calibration_value() argument 1100 radio2050_rfover_val(struct b43_wldev *dev, u16 phy_register, unsigned int lpd) radio2050_rfover_val() argument 1245 b43_radio_init2050(struct b43_wldev *dev) b43_radio_init2050() argument 1480 b43_phy_initb5(struct b43_wldev *dev) b43_phy_initb5() argument 1579 b43_phy_initb6(struct b43_wldev *dev) b43_phy_initb6() argument 1695 b43_calc_loopback_gain(struct b43_wldev *dev) b43_calc_loopback_gain() argument 1849 b43_hardware_pctl_early_init(struct b43_wldev *dev) b43_hardware_pctl_early_init() argument 1880 b43_hardware_pctl_init_gphy(struct b43_wldev *dev) b43_hardware_pctl_init_gphy() argument 1910 b43_phy_init_pctl(struct b43_wldev *dev) b43_phy_init_pctl() argument 1978 b43_phy_inita(struct b43_wldev *dev) b43_phy_inita() argument 1997 b43_phy_initg(struct b43_wldev *dev) b43_phy_initg() argument 2103 b43_gphy_channel_switch(struct b43_wldev *dev, unsigned int channel, bool synthetic_pu_workaround) b43_gphy_channel_switch() argument 2130 default_baseband_attenuation(struct b43_wldev *dev, struct b43_bbatt *bb) default_baseband_attenuation() argument 2141 default_radio_attenuation(struct b43_wldev *dev, struct b43_rfatt *rf) default_radio_attenuation() argument 2237 default_tx_control(struct b43_wldev *dev) default_tx_control() argument 2252 b43_gphy_aci_detect(struct b43_wldev *dev, u8 channel) b43_gphy_aci_detect() argument 2284 b43_gphy_aci_scan(struct b43_wldev *dev) b43_gphy_aci_scan() argument 2354 b43_generate_dyn_tssi2dbm_tab(struct b43_wldev *dev, s16 pab0, s16 pab1, s16 pab2) b43_generate_dyn_tssi2dbm_tab() argument 2381 b43_gphy_init_tssi2dbm_table(struct b43_wldev *dev) b43_gphy_init_tssi2dbm_table() argument 2419 b43_gphy_op_allocate(struct b43_wldev *dev) b43_gphy_op_allocate() argument 2453 b43_gphy_op_prepare_structs(struct b43_wldev *dev) b43_gphy_op_prepare_structs() argument 2500 b43_gphy_op_free(struct b43_wldev *dev) b43_gphy_op_free() argument 2516 b43_gphy_op_prepare_hardware(struct b43_wldev *dev) b43_gphy_op_prepare_hardware() argument 2546 b43_gphy_op_init(struct b43_wldev *dev) b43_gphy_op_init() argument 2553 b43_gphy_op_exit(struct b43_wldev *dev) b43_gphy_op_exit() argument 2558 b43_gphy_op_read(struct b43_wldev *dev, u16 reg) b43_gphy_op_read() argument 2564 b43_gphy_op_write(struct b43_wldev *dev, u16 reg, u16 value) b43_gphy_op_write() argument 2570 b43_gphy_op_radio_read(struct b43_wldev *dev, u16 reg) b43_gphy_op_radio_read() argument 2581 b43_gphy_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_gphy_op_radio_write() argument 2590 b43_gphy_op_supports_hwpctl(struct b43_wldev *dev) b43_gphy_op_supports_hwpctl() argument 2595 b43_gphy_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_gphy_op_software_rfkill() argument 2637 b43_gphy_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_gphy_op_switch_channel() argument 2647 b43_gphy_op_get_default_chan(struct b43_wldev *dev) b43_gphy_op_get_default_chan() argument 2652 b43_gphy_op_set_rx_antenna(struct b43_wldev *dev, int antenna) b43_gphy_op_set_rx_antenna() argument 2705 b43_gphy_op_interf_mitigation(struct b43_wldev *dev, enum b43_interference_mitigation mode) b43_gphy_op_interf_mitigation() argument 2752 b43_gphy_estimate_power_out(struct b43_wldev *dev, s8 tssi) b43_gphy_estimate_power_out() argument 2765 b43_put_attenuation_into_ranges(struct b43_wldev *dev, int *_bbatt, int *_rfatt) b43_put_attenuation_into_ranges() argument 2818 b43_gphy_op_adjust_txpower(struct b43_wldev *dev) b43_gphy_op_adjust_txpower() argument 2880 b43_gphy_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_gphy_op_recalc_txpower() argument 2988 b43_gphy_op_pwork_15sec(struct b43_wldev *dev) b43_gphy_op_pwork_15sec() argument 3013 b43_gphy_op_pwork_60sec(struct b43_wldev *dev) b43_gphy_op_pwork_60sec() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | phy_ht.c | 35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup() argument 42 b43_radio_write(dev, 0x16, e->radio_syn16); in b43_radio_2059_channel_setup() 43 b43_radio_write(dev, 0x17, e->radio_syn17); in b43_radio_2059_channel_setup() 44 b43_radio_write(dev, 0x22, e->radio_syn22); in b43_radio_2059_channel_setup() 45 b43_radio_write(dev, 0x25, e->radio_syn25); in b43_radio_2059_channel_setup() 46 b43_radio_write(dev, 0x27, e->radio_syn27); in b43_radio_2059_channel_setup() 47 b43_radio_write(dev, 0x28, e->radio_syn28); in b43_radio_2059_channel_setup() 48 b43_radio_write(dev, 0x29, e->radio_syn29); in b43_radio_2059_channel_setup() 49 b43_radio_write(dev, 0x2c, e->radio_syn2c); in b43_radio_2059_channel_setup() 50 b43_radio_write(dev, in b43_radio_2059_channel_setup() 80 b43_radio_2059_rcal(struct b43_wldev *dev) b43_radio_2059_rcal() argument 107 b43_radio_2057_rccal(struct b43_wldev *dev) b43_radio_2057_rccal() argument 134 b43_radio_2059_init_pre(struct b43_wldev *dev) b43_radio_2059_init_pre() argument 142 b43_radio_2059_init(struct b43_wldev *dev) b43_radio_2059_init() argument 175 b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) b43_phy_ht_force_rf_sequence() argument 196 b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) b43_phy_ht_pa_override() argument 220 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) b43_phy_ht_classifier() argument 236 b43_phy_ht_reset_cca(struct b43_wldev *dev) b43_phy_ht_reset_cca() argument 250 b43_phy_ht_zero_extg(struct b43_wldev *dev) b43_phy_ht_zero_extg() argument 265 b43_phy_ht_afe_unk1(struct b43_wldev *dev) b43_phy_ht_afe_unk1() argument 286 b43_phy_ht_read_clip_detection(struct b43_wldev *dev, u16 *clip_st) b43_phy_ht_read_clip_detection() argument 293 b43_phy_ht_bphy_init(struct b43_wldev *dev) b43_phy_ht_bphy_init() argument 311 b43_phy_ht_bphy_reset(struct b43_wldev *dev, bool reset) b43_phy_ht_bphy_reset() argument 335 b43_phy_ht_stop_playback(struct b43_wldev *dev) b43_phy_ht_stop_playback() argument 359 b43_phy_ht_load_samples(struct b43_wldev *dev) b43_phy_ht_load_samples() argument 374 b43_phy_ht_run_samples(struct b43_wldev *dev, u16 samps, u16 loops, u16 wait) b43_phy_ht_run_samples() argument 415 b43_phy_ht_tx_tone(struct b43_wldev *dev) b43_phy_ht_tx_tone() argument 427 b43_phy_ht_rssi_select(struct b43_wldev *dev, u8 core_sel, enum ht_rssi_type rssi_type) b43_phy_ht_rssi_select() argument 467 b43_phy_ht_poll_rssi(struct b43_wldev *dev, enum ht_rssi_type type, s32 *buf, u8 nsamp) b43_phy_ht_poll_rssi() argument 511 b43_phy_ht_tx_power_fix(struct b43_wldev *dev) b43_phy_ht_tx_power_fix() argument 533 b43_phy_ht_tx_power_ctl(struct b43_wldev *dev, bool enable) b43_phy_ht_tx_power_ctl() argument 573 b43_phy_ht_tx_power_ctl_idle_tssi(struct b43_wldev *dev) b43_phy_ht_tx_power_ctl_idle_tssi() argument 609 b43_phy_ht_tssi_setup(struct b43_wldev *dev) b43_phy_ht_tssi_setup() argument 621 b43_phy_ht_tx_power_ctl_setup(struct b43_wldev *dev) b43_phy_ht_tx_power_ctl_setup() argument 733 b43_phy_ht_spur_avoid(struct b43_wldev *dev, struct ieee80211_channel *new_channel) b43_phy_ht_spur_avoid() argument 763 b43_phy_ht_channel_setup(struct b43_wldev *dev, const struct b43_phy_ht_channeltab_e_phy *e, struct ieee80211_channel *new_channel) b43_phy_ht_channel_setup() argument 807 b43_phy_ht_set_channel(struct b43_wldev *dev, struct ieee80211_channel *channel, enum nl80211_channel_type channel_type) b43_phy_ht_set_channel() argument 841 b43_phy_ht_op_allocate(struct b43_wldev *dev) b43_phy_ht_op_allocate() argument 853 b43_phy_ht_op_prepare_structs(struct b43_wldev *dev) b43_phy_ht_op_prepare_structs() argument 869 b43_phy_ht_op_init(struct b43_wldev *dev) b43_phy_ht_op_init() argument 1009 b43_phy_ht_op_free(struct b43_wldev *dev) b43_phy_ht_op_free() argument 1019 b43_phy_ht_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_phy_ht_op_software_rfkill() argument 1038 b43_phy_ht_op_switch_analog(struct b43_wldev *dev, bool on) b43_phy_ht_op_switch_analog() argument 1057 b43_phy_ht_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_phy_ht_op_switch_channel() argument 1074 b43_phy_ht_op_get_default_chan(struct b43_wldev *dev) b43_phy_ht_op_get_default_chan() argument 1085 b43_phy_ht_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, u16 set) b43_phy_ht_op_maskset() argument 1093 b43_phy_ht_op_radio_read(struct b43_wldev *dev, u16 reg) b43_phy_ht_op_radio_read() argument 1102 b43_phy_ht_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_phy_ht_op_radio_write() argument 1110 b43_phy_ht_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_phy_ht_op_recalc_txpower() argument 1115 b43_phy_ht_op_adjust_txpower(struct b43_wldev *dev) b43_phy_ht_op_adjust_txpower() argument [all...] |
H A D | phy_g.c | 54 static void b43_calc_nrssi_threshold(struct b43_wldev *dev); 68 static void generate_rfatt_list(struct b43_wldev *dev, in generate_rfatt_list() argument 71 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() 111 if (!b43_has_hardware_pctl(dev)) { in generate_rfatt_list() 134 static void generate_bbatt_list(struct b43_wldev *dev, in generate_bbatt_list() argument 155 static void b43_shm_clear_tssi(struct b43_wldev *dev) in b43_shm_clear_tssi() argument 157 b43_shm_write16(dev, B43_SHM_SHARED, 0x0058, 0x7F7F); in b43_shm_clear_tssi() 158 b43_shm_write16(dev, B43_SHM_SHARED, 0x005a, 0x7F7F); in b43_shm_clear_tssi() 159 b43_shm_write16(dev, B43_SHM_SHARED, 0x0070, 0x7F7F); in b43_shm_clear_tssi() 160 b43_shm_write16(dev, B43_SHM_SHARE in b43_shm_clear_tssi() 164 b43_synth_pu_workaround(struct b43_wldev *dev, u8 channel) b43_synth_pu_workaround() argument 186 b43_gphy_set_baseband_attenuation(struct b43_wldev *dev, u16 baseband_attenuation) b43_gphy_set_baseband_attenuation() argument 203 b43_set_txpower_g(struct b43_wldev *dev, const struct b43_bbatt *bbatt, const struct b43_rfatt *rfatt, u8 tx_control) b43_set_txpower_g() argument 252 b43_gphy_tssi_power_lt_init(struct b43_wldev *dev) b43_gphy_tssi_power_lt_init() argument 270 b43_gphy_gain_lt_init(struct b43_wldev *dev) b43_gphy_gain_lt_init() argument 296 b43_set_all_gains(struct b43_wldev *dev, s16 first, s16 second, s16 third) b43_set_all_gains() argument 328 b43_set_original_gains(struct b43_wldev *dev) b43_set_original_gains() argument 361 b43_nrssi_hw_write(struct b43_wldev *dev, u16 offset, s16 val) b43_nrssi_hw_write() argument 368 b43_nrssi_hw_read(struct b43_wldev *dev, u16 offset) b43_nrssi_hw_read() argument 379 b43_nrssi_hw_update(struct b43_wldev *dev, u16 val) b43_nrssi_hw_update() argument 393 b43_nrssi_mem_update(struct b43_wldev *dev) b43_nrssi_mem_update() argument 409 b43_calc_nrssi_offset(struct b43_wldev *dev) b43_calc_nrssi_offset() argument 556 b43_calc_nrssi_slope(struct b43_wldev *dev) b43_calc_nrssi_slope() argument 698 b43_calc_nrssi_threshold(struct b43_wldev *dev) b43_calc_nrssi_threshold() argument 826 b43_radio_interference_mitigation_enable(struct b43_wldev *dev, int mode) b43_radio_interference_mitigation_enable() argument 992 b43_radio_interference_mitigation_disable(struct b43_wldev *dev, int mode) b43_radio_interference_mitigation_disable() argument 1079 b43_radio_core_calibration_value(struct b43_wldev *dev) b43_radio_core_calibration_value() argument 1100 radio2050_rfover_val(struct b43_wldev *dev, u16 phy_register, unsigned int lpd) radio2050_rfover_val() argument 1245 b43_radio_init2050(struct b43_wldev *dev) b43_radio_init2050() argument 1480 b43_phy_initb5(struct b43_wldev *dev) b43_phy_initb5() argument 1579 b43_phy_initb6(struct b43_wldev *dev) b43_phy_initb6() argument 1695 b43_calc_loopback_gain(struct b43_wldev *dev) b43_calc_loopback_gain() argument 1849 b43_hardware_pctl_early_init(struct b43_wldev *dev) b43_hardware_pctl_early_init() argument 1880 b43_hardware_pctl_init_gphy(struct b43_wldev *dev) b43_hardware_pctl_init_gphy() argument 1910 b43_phy_init_pctl(struct b43_wldev *dev) b43_phy_init_pctl() argument 1978 b43_phy_inita(struct b43_wldev *dev) b43_phy_inita() argument 1997 b43_phy_initg(struct b43_wldev *dev) b43_phy_initg() argument 2103 b43_gphy_channel_switch(struct b43_wldev *dev, unsigned int channel, bool synthetic_pu_workaround) b43_gphy_channel_switch() argument 2130 default_baseband_attenuation(struct b43_wldev *dev, struct b43_bbatt *bb) default_baseband_attenuation() argument 2141 default_radio_attenuation(struct b43_wldev *dev, struct b43_rfatt *rf) default_radio_attenuation() argument 2237 default_tx_control(struct b43_wldev *dev) default_tx_control() argument 2252 b43_gphy_aci_detect(struct b43_wldev *dev, u8 channel) b43_gphy_aci_detect() argument 2284 b43_gphy_aci_scan(struct b43_wldev *dev) b43_gphy_aci_scan() argument 2354 b43_generate_dyn_tssi2dbm_tab(struct b43_wldev *dev, s16 pab0, s16 pab1, s16 pab2) b43_generate_dyn_tssi2dbm_tab() argument 2381 b43_gphy_init_tssi2dbm_table(struct b43_wldev *dev) b43_gphy_init_tssi2dbm_table() argument 2419 b43_gphy_op_allocate(struct b43_wldev *dev) b43_gphy_op_allocate() argument 2453 b43_gphy_op_prepare_structs(struct b43_wldev *dev) b43_gphy_op_prepare_structs() argument 2500 b43_gphy_op_free(struct b43_wldev *dev) b43_gphy_op_free() argument 2516 b43_gphy_op_prepare_hardware(struct b43_wldev *dev) b43_gphy_op_prepare_hardware() argument 2546 b43_gphy_op_init(struct b43_wldev *dev) b43_gphy_op_init() argument 2553 b43_gphy_op_exit(struct b43_wldev *dev) b43_gphy_op_exit() argument 2558 b43_gphy_op_read(struct b43_wldev *dev, u16 reg) b43_gphy_op_read() argument 2564 b43_gphy_op_write(struct b43_wldev *dev, u16 reg, u16 value) b43_gphy_op_write() argument 2570 b43_gphy_op_radio_read(struct b43_wldev *dev, u16 reg) b43_gphy_op_radio_read() argument 2581 b43_gphy_op_radio_write(struct b43_wldev *dev, u16 reg, u16 value) b43_gphy_op_radio_write() argument 2590 b43_gphy_op_supports_hwpctl(struct b43_wldev *dev) b43_gphy_op_supports_hwpctl() argument 2595 b43_gphy_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_gphy_op_software_rfkill() argument 2637 b43_gphy_op_switch_channel(struct b43_wldev *dev, unsigned int new_channel) b43_gphy_op_switch_channel() argument 2647 b43_gphy_op_get_default_chan(struct b43_wldev *dev) b43_gphy_op_get_default_chan() argument 2652 b43_gphy_op_set_rx_antenna(struct b43_wldev *dev, int antenna) b43_gphy_op_set_rx_antenna() argument 2705 b43_gphy_op_interf_mitigation(struct b43_wldev *dev, enum b43_interference_mitigation mode) b43_gphy_op_interf_mitigation() argument 2752 b43_gphy_estimate_power_out(struct b43_wldev *dev, s8 tssi) b43_gphy_estimate_power_out() argument 2765 b43_put_attenuation_into_ranges(struct b43_wldev *dev, int *_bbatt, int *_rfatt) b43_put_attenuation_into_ranges() argument 2818 b43_gphy_op_adjust_txpower(struct b43_wldev *dev) b43_gphy_op_adjust_txpower() argument 2880 b43_gphy_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) b43_gphy_op_recalc_txpower() argument 2988 b43_gphy_op_pwork_15sec(struct b43_wldev *dev) b43_gphy_op_pwork_15sec() argument 3013 b43_gphy_op_pwork_60sec(struct b43_wldev *dev) b43_gphy_op_pwork_60sec() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | hw-txe.c | 146 * @dev: the device structure 153 * Locking: called under "dev->device_lock" lock 157 static bool mei_txe_aliveness_set(struct mei_device *dev, u32 req) in mei_txe_aliveness_set() argument 160 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_set() 163 dev_dbg(dev->dev, "Aliveness current=%d request=%d\n", in mei_txe_aliveness_set() 166 dev->pg_event = MEI_PG_EVENT_WAIT; in mei_txe_aliveness_set() 176 * @dev: the device structure 183 static u32 mei_txe_aliveness_req_get(struct mei_device *dev) in mei_txe_aliveness_req_get() argument 185 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_req_get() 200 mei_txe_aliveness_get(struct mei_device *dev) mei_txe_aliveness_get() argument 219 mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) mei_txe_aliveness_poll() argument 252 mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) mei_txe_aliveness_wait() argument 292 mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req) mei_txe_aliveness_set_sync() argument 306 mei_txe_pg_in_transition(struct mei_device *dev) mei_txe_pg_in_transition() argument 318 mei_txe_pg_is_enabled(struct mei_device *dev) mei_txe_pg_is_enabled() argument 331 mei_txe_pg_state(struct mei_device *dev) mei_txe_pg_state() argument 343 mei_txe_input_ready_interrupt_enable(struct mei_device *dev) mei_txe_input_ready_interrupt_enable() argument 385 mei_txe_is_input_ready(struct mei_device *dev) mei_txe_is_input_ready() argument 399 mei_txe_intr_clear(struct mei_device *dev) mei_txe_intr_clear() argument 414 mei_txe_intr_disable(struct mei_device *dev) mei_txe_intr_disable() argument 426 mei_txe_intr_enable(struct mei_device *dev) mei_txe_intr_enable() argument 439 mei_txe_synchronize_irq(struct mei_device *dev) mei_txe_synchronize_irq() argument 457 mei_txe_pending_interrupts(struct mei_device *dev) mei_txe_pending_interrupts() argument 485 mei_txe_input_payload_write(struct mei_device *dev, unsigned long idx, u32 value) mei_txe_input_payload_write() argument 503 mei_txe_out_data_read(const struct mei_device *dev, unsigned long idx) mei_txe_out_data_read() argument 519 mei_txe_readiness_set_host_rdy(struct mei_device *dev) mei_txe_readiness_set_host_rdy() argument 533 mei_txe_readiness_clear(struct mei_device *dev) mei_txe_readiness_clear() argument 548 mei_txe_readiness_get(struct mei_device *dev) mei_txe_readiness_get() argument 576 mei_txe_hw_is_ready(struct mei_device *dev) mei_txe_hw_is_ready() argument 590 mei_txe_host_is_ready(struct mei_device *dev) mei_txe_host_is_ready() argument 605 mei_txe_readiness_wait(struct mei_device *dev) mei_txe_readiness_wait() argument 637 mei_txe_fw_status(struct mei_device *dev, struct mei_fw_status *fw_status) mei_txe_fw_status() argument 672 mei_txe_hw_config(struct mei_device *dev) mei_txe_hw_config() argument 697 mei_txe_write(struct mei_device *dev, const void *hdr, size_t hdr_len, const void *data, size_t data_len) mei_txe_write() argument 763 mei_txe_hbuf_depth(const struct mei_device *dev) mei_txe_hbuf_depth() argument 775 mei_txe_hbuf_empty_slots(struct mei_device *dev) mei_txe_hbuf_empty_slots() argument 789 mei_txe_count_full_read_slots(struct mei_device *dev) mei_txe_count_full_read_slots() argument 803 mei_txe_read_hdr(const struct mei_device *dev) mei_txe_read_hdr() argument 816 mei_txe_read(struct mei_device *dev, unsigned char *buf, unsigned long len) mei_txe_read() argument 858 mei_txe_hw_reset(struct mei_device *dev, bool intr_enable) mei_txe_hw_reset() argument 912 mei_txe_hw_start(struct mei_device *dev) mei_txe_hw_start() argument 971 mei_txe_check_and_ack_intrs(struct mei_device *dev, bool do_ack) mei_txe_check_and_ack_intrs() argument 1032 struct mei_device *dev = dev_id; mei_txe_irq_quick_handler() local 1050 struct mei_device *dev = (struct mei_device *) dev_id; mei_txe_irq_thread_handler() local 1201 struct mei_device *dev; mei_txe_dev_init() local 1226 mei_txe_setup_satt2(struct mei_device *dev, phys_addr_t addr, u32 range) mei_txe_setup_satt2() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/null_blk/ |
H A D | zoned.c | 17 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no() argument 19 return sect >> ilog2(dev->zone_size_sects); in null_zone_no() 22 static inline void null_lock_zone_res(struct nullb_device *dev) in null_lock_zone_res() argument 24 if (dev->need_zone_res_mgmt) in null_lock_zone_res() 25 spin_lock_irq(&dev->zone_res_lock); in null_lock_zone_res() 28 static inline void null_unlock_zone_res(struct nullb_device *dev) in null_unlock_zone_res() argument 30 if (dev->need_zone_res_mgmt) in null_unlock_zone_res() 31 spin_unlock_irq(&dev->zone_res_lock); in null_unlock_zone_res() 34 static inline void null_init_zone_lock(struct nullb_device *dev, in null_init_zone_lock() argument 37 if (!dev in null_init_zone_lock() 43 null_lock_zone(struct nullb_device *dev, struct nullb_zone *zone) null_lock_zone() argument 52 null_unlock_zone(struct nullb_device *dev, struct nullb_zone *zone) null_unlock_zone() argument 61 null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) null_init_zoned_dev() argument 159 struct nullb_device *dev = nullb->dev; null_register_zoned_dev() local 177 null_free_zoned_dev(struct nullb_device *dev) null_free_zoned_dev() argument 187 struct nullb_device *dev = nullb->dev; null_report_zones() local 233 struct nullb_device *dev = nullb->dev; null_zone_valid_read_len() local 248 __null_close_zone(struct nullb_device *dev, struct nullb_zone *zone) __null_close_zone() argument 277 null_close_imp_open_zone(struct nullb_device *dev) null_close_imp_open_zone() argument 300 null_check_active(struct nullb_device *dev) null_check_active() argument 312 null_check_open(struct nullb_device *dev) null_check_open() argument 343 null_check_zone_resources(struct nullb_device *dev, struct nullb_zone *zone) null_check_zone_resources() argument 366 struct nullb_device *dev = cmd->nq->dev; null_zone_write() local 456 null_open_zone(struct nullb_device *dev, struct nullb_zone *zone) null_open_zone() argument 499 null_close_zone(struct nullb_device *dev, struct nullb_zone *zone) null_close_zone() argument 514 null_finish_zone(struct nullb_device *dev, struct nullb_zone *zone) null_finish_zone() argument 559 null_reset_zone(struct nullb_device *dev, struct nullb_zone *zone) null_reset_zone() argument 602 struct nullb_device *dev = cmd->nq->dev; null_zone_mgmt() local 664 struct nullb_device *dev; null_process_zoned_cmd() local 695 null_set_zone_cond(struct nullb_device *dev, struct nullb_zone *zone, enum blk_zone_cond cond) null_set_zone_cond() argument 731 zone_cond_store(struct nullb_device *dev, const char *page, size_t count, enum blk_zone_cond cond) zone_cond_store() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-cap.c | 59 static inline unsigned int webcam_ival_count(const struct vivid_dev *dev, in webcam_ival_count() argument 79 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup() local 80 unsigned buffers = tpg_g_buffers(&dev->tpg); in vid_cap_queue_setup() 81 unsigned h = dev->fmt_cap_rect.height; in vid_cap_queue_setup() 84 if (dev->field_cap == V4L2_FIELD_ALTERNATE) { in vid_cap_queue_setup() 93 if (dev->queue_setup_error) { in vid_cap_queue_setup() 98 dev->queue_setup_error = false; in vid_cap_queue_setup() 109 if (sizes[p] < tpg_g_line_width(&dev->tpg, p) * h + in vid_cap_queue_setup() 110 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup() 115 sizes[p] = (tpg_g_line_width(&dev in vid_cap_queue_setup() 134 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); vid_cap_buf_prepare() local 174 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); vid_cap_buf_finish() local 200 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); vid_cap_buf_queue() local 212 struct vivid_dev *dev = vb2_get_drv_priv(vq); vid_cap_start_streaming() local 244 struct vivid_dev *dev = vb2_get_drv_priv(vq); vid_cap_stop_streaming() local 253 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); vid_cap_buf_request_complete() local 275 vivid_update_quality(struct vivid_dev *dev) vivid_update_quality() argument 323 vivid_get_quality(struct vivid_dev *dev, s32 *afc) vivid_get_quality() argument 345 vivid_get_video_aspect(const struct vivid_dev *dev) vivid_get_video_aspect() argument 356 vivid_get_pixel_aspect(const struct vivid_dev *dev) vivid_get_pixel_aspect() argument 374 vivid_update_format_cap(struct vivid_dev *dev, bool keep_controls) vivid_update_format_cap() argument 468 vivid_field_cap(struct vivid_dev *dev, enum v4l2_field field) vivid_field_cap() argument 491 vivid_colorspace_cap(struct vivid_dev *dev) vivid_colorspace_cap() argument 498 vivid_xfer_func_cap(struct vivid_dev *dev) vivid_xfer_func_cap() argument 505 vivid_ycbcr_enc_cap(struct vivid_dev *dev) vivid_ycbcr_enc_cap() argument 512 vivid_hsv_enc_cap(struct vivid_dev *dev) vivid_hsv_enc_cap() argument 519 vivid_quantization_cap(struct vivid_dev *dev) vivid_quantization_cap() argument 529 struct vivid_dev *dev = video_drvdata(file); vivid_g_fmt_vid_cap() local 560 struct vivid_dev *dev = video_drvdata(file); vivid_try_fmt_vid_cap() local 672 struct vivid_dev *dev = video_drvdata(file); vivid_s_fmt_vid_cap() local 804 struct vivid_dev *dev = video_drvdata(file); vidioc_g_fmt_vid_cap_mplane() local 814 struct vivid_dev *dev = video_drvdata(file); vidioc_try_fmt_vid_cap_mplane() local 824 struct vivid_dev *dev = video_drvdata(file); vidioc_s_fmt_vid_cap_mplane() local 834 struct vivid_dev *dev = video_drvdata(file); vidioc_g_fmt_vid_cap() local 844 struct vivid_dev *dev = video_drvdata(file); vidioc_try_fmt_vid_cap() local 854 struct vivid_dev *dev = video_drvdata(file); vidioc_s_fmt_vid_cap() local 864 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_g_selection() local 909 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_s_selection() local 1042 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_g_pixelaspect() local 1070 struct vivid_dev *dev = video_drvdata(file); vidioc_enum_input() local 1138 struct vivid_dev *dev = video_drvdata(file); vidioc_g_input() local 1146 struct vivid_dev *dev = video_drvdata(file); vidioc_s_input() local 1240 struct vivid_dev *dev = video_drvdata(file); vidioc_g_audio() local 1250 struct vivid_dev *dev = video_drvdata(file); vidioc_s_audio() local 1262 struct vivid_dev *dev = video_drvdata(file); vivid_video_g_frequency() local 1272 struct vivid_dev *dev = video_drvdata(file); vivid_video_s_frequency() local 1284 struct vivid_dev *dev = video_drvdata(file); vivid_video_s_tuner() local 1296 struct vivid_dev *dev = video_drvdata(file); vivid_video_g_tuner() local 1387 struct vivid_dev *dev = video_drvdata(file); vidioc_querystd() local 1414 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_s_std() local 1490 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_s_dv_timings() local 1513 struct vivid_dev *dev = video_drvdata(file); vidioc_query_dv_timings() local 1546 struct vivid_dev *dev = video_drvdata(file); vidioc_s_edid() local 1603 struct vivid_dev *dev = video_drvdata(file); vidioc_enum_framesizes() local 1632 struct vivid_dev *dev = video_drvdata(file); vidioc_enum_frameintervals() local 1668 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_g_parm() local 1684 struct vivid_dev *dev = video_drvdata(file); vivid_vid_cap_s_parm() local [all...] |
/kernel/linux/linux-5.10/drivers/block/null_blk/ |
H A D | zoned.c | 11 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no() argument 13 return sect >> ilog2(dev->zone_size_sects); in null_zone_no() 16 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev() argument 22 if (!is_power_of_2(dev->zone_size)) { in null_init_zoned_dev() 26 if (dev->zone_size > dev->size) { in null_init_zoned_dev() 31 if (!dev->zone_capacity) in null_init_zoned_dev() 32 dev->zone_capacity = dev->zone_size; in null_init_zoned_dev() 34 if (dev in null_init_zoned_dev() 128 struct nullb_device *dev = nullb->dev; null_register_zoned_dev() local 148 null_free_zoned_dev(struct nullb_device *dev) null_free_zoned_dev() argument 155 null_lock_zone(struct nullb_device *dev, unsigned int zno) null_lock_zone() argument 162 null_unlock_zone(struct nullb_device *dev, unsigned int zno) null_unlock_zone() argument 174 struct nullb_device *dev = nullb->dev; null_report_zones() local 213 struct nullb_device *dev = nullb->dev; null_zone_valid_read_len() local 228 null_close_zone(struct nullb_device *dev, struct blk_zone *zone) null_close_zone() argument 259 null_close_first_imp_zone(struct nullb_device *dev) null_close_first_imp_zone() argument 271 null_check_active(struct nullb_device *dev) null_check_active() argument 283 null_check_open(struct nullb_device *dev) null_check_open() argument 314 null_check_zone_resources(struct nullb_device *dev, struct blk_zone *zone) null_check_zone_resources() argument 336 struct nullb_device *dev = cmd->nq->dev; null_zone_write() local 432 null_open_zone(struct nullb_device *dev, struct blk_zone *zone) null_open_zone() argument 468 null_finish_zone(struct nullb_device *dev, struct blk_zone *zone) null_finish_zone() argument 506 null_reset_zone(struct nullb_device *dev, struct blk_zone *zone) null_reset_zone() argument 539 struct nullb_device *dev = cmd->nq->dev; null_zone_mgmt() local 592 struct nullb_device *dev = cmd->nq->dev; null_process_zoned_cmd() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_hw.c | 69 cedrus_write(ctx->dev, VE_MODE, reg); in cedrus_engine_enable() 74 void cedrus_engine_disable(struct cedrus_dev *dev) in cedrus_engine_disable() argument 76 cedrus_write(dev, VE_MODE, VE_MODE_DISABLED); in cedrus_engine_disable() 79 void cedrus_dst_format_set(struct cedrus_dev *dev, in cedrus_dst_format_set() argument 92 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set() 95 cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set() 99 cedrus_write(dev, VE_PRIMARY_FB_LINE_STRIDE, reg); in cedrus_dst_format_set() 105 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set() 108 cedrus_write(dev, VE_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set() 116 struct cedrus_dev *dev in cedrus_irq() local 155 struct cedrus_dev *dev; cedrus_watchdog() local 173 struct cedrus_dev *dev = dev_get_drvdata(device); cedrus_hw_suspend() local 186 struct cedrus_dev *dev = dev_get_drvdata(device); cedrus_hw_resume() local 229 cedrus_hw_probe(struct cedrus_dev *dev) cedrus_hw_probe() argument 332 cedrus_hw_remove(struct cedrus_dev *dev) cedrus_hw_remove() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/dwc/ |
H A D | dwc-i2s.c | 39 static inline void i2s_disable_channels(struct dw_i2s_dev *dev, u32 stream) in i2s_disable_channels() argument 45 i2s_write_reg(dev->i2s_base, TER(i), 0); in i2s_disable_channels() 48 i2s_write_reg(dev->i2s_base, RER(i), 0); in i2s_disable_channels() 52 static inline void i2s_clear_irqs(struct dw_i2s_dev *dev, u32 stream) in i2s_clear_irqs() argument 58 i2s_read_reg(dev->i2s_base, TOR(i)); in i2s_clear_irqs() 61 i2s_read_reg(dev->i2s_base, ROR(i)); in i2s_clear_irqs() 65 static inline void i2s_disable_irqs(struct dw_i2s_dev *dev, u32 stream, in i2s_disable_irqs() argument 72 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs() 73 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x30); in i2s_disable_irqs() 77 irq = i2s_read_reg(dev in i2s_disable_irqs() 83 i2s_enable_irqs(struct dw_i2s_dev *dev, u32 stream, int chan_nr) i2s_enable_irqs() argument 103 struct dw_i2s_dev *dev = dev_id; i2s_irq_handler() local 152 i2s_start(struct dw_i2s_dev *dev, struct snd_pcm_substream *substream) i2s_start() argument 168 i2s_stop(struct dw_i2s_dev *dev, struct snd_pcm_substream *substream) i2s_stop() argument 186 dw_i2s_config(struct dw_i2s_dev *dev, int stream) dw_i2s_config() argument 215 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dw_i2s_hw_params() local 287 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dw_i2s_prepare() local 300 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dw_i2s_trigger() local 326 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); dw_i2s_set_fmt() local 362 dw_i2s_runtime_suspend(struct device *dev) dw_i2s_runtime_suspend() argument 371 dw_i2s_runtime_resume(struct device *dev) dw_i2s_runtime_resume() argument 386 struct dw_i2s_dev *dev = snd_soc_component_get_drvdata(component); dw_i2s_suspend() local 395 struct dw_i2s_dev *dev = snd_soc_component_get_drvdata(component); dw_i2s_resume() local 458 dw_configure_dai(struct dw_i2s_dev *dev, struct snd_soc_dai_driver *dw_i2s_dai, unsigned int rates) dw_configure_dai() argument 519 dw_configure_dai_by_pd(struct dw_i2s_dev *dev, struct snd_soc_dai_driver *dw_i2s_dai, struct resource *res, const struct i2s_platform_data *pdata) dw_configure_dai_by_pd() argument 552 dw_configure_dai_by_dt(struct dw_i2s_dev *dev, struct snd_soc_dai_driver *dw_i2s_dai, struct resource *res) dw_configure_dai_by_dt() argument 597 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dw_i2s_dai_probe() local 606 struct dw_i2s_dev *dev; dw_i2s_probe() local 712 struct dw_i2s_dev *dev = dev_get_drvdata(&pdev->dev); dw_i2s_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | input.c | 86 static void input_start_autorepeat(struct input_dev *dev, int code) in input_start_autorepeat() argument 88 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 89 dev->rep[REP_PERIOD] && dev->rep[REP_DELAY] && in input_start_autorepeat() 90 dev->timer.function) { in input_start_autorepeat() 91 dev->repeat_key = code; in input_start_autorepeat() 92 mod_timer(&dev->timer, in input_start_autorepeat() 93 jiffies + msecs_to_jiffies(dev->rep[REP_DELAY])); in input_start_autorepeat() 97 static void input_stop_autorepeat(struct input_dev *dev) in input_stop_autorepeat() argument 99 del_timer(&dev in input_stop_autorepeat() 142 input_pass_values(struct input_dev *dev, struct input_value *vals, unsigned int count) input_pass_values() argument 189 input_handle_abs_event(struct input_dev *dev, unsigned int code, int *pval) input_handle_abs_event() argument 241 input_get_disposition(struct input_dev *dev, unsigned int type, unsigned int code, int *pval) input_get_disposition() argument 351 input_event_dispose(struct input_dev *dev, int disposition, unsigned int type, unsigned int code, int value) input_event_dispose() argument 394 input_handle_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) input_handle_event() argument 427 input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) input_event() argument 455 struct input_dev *dev = handle->dev; input_inject_event() local 480 input_alloc_absinfo(struct input_dev *dev) input_alloc_absinfo() argument 498 input_set_abs_params(struct input_dev *dev, unsigned int axis, int min, int max, int fuzz, int flat) input_set_abs_params() argument 565 struct input_dev *dev = handle->dev; input_grab_device() local 587 struct input_dev *dev = handle->dev; __input_release_device() local 614 struct input_dev *dev = handle->dev; input_release_device() local 631 struct input_dev *dev = handle->dev; input_open_device() local 678 struct input_dev *dev = handle->dev; input_flush_device() local 702 struct input_dev *dev = handle->dev; input_close_device() local 732 input_dev_release_keys(struct input_dev *dev) input_dev_release_keys() argument 752 input_disconnect_device(struct input_dev *dev) input_disconnect_device() argument 821 input_fetch_keycode(struct input_dev *dev, unsigned int index) input_fetch_keycode() argument 836 input_default_getkeycode(struct input_dev *dev, struct input_keymap_entry *ke) input_default_getkeycode() argument 864 input_default_setkeycode(struct input_dev *dev, const struct input_keymap_entry *ke, unsigned int *old_keycode) input_default_setkeycode() argument 934 input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke) input_get_keycode() argument 955 input_set_keycode(struct input_dev *dev, const struct input_keymap_entry *ke) input_set_keycode() argument 1004 input_match_device_id(const struct input_dev *dev, const struct input_device_id *id) input_match_device_id() argument 1040 input_match_device(struct input_handler *handler, struct input_dev *dev) input_match_device() argument 1055 input_attach_handler(struct input_dev *dev, struct input_handler *handler) input_attach_handler() argument 1198 struct input_dev *dev = container_of(v, struct input_dev, node); input_devices_seq_show() local 1425 input_dev_show_modalias(struct device *dev, struct device_attribute *attr, char *buf) input_dev_show_modalias() argument 1441 input_dev_show_properties(struct device *dev, struct device_attribute *attr, char *buf) input_dev_show_properties() argument 1455 inhibited_show(struct device *dev, struct device_attribute *attr, char *buf) inhibited_show() argument 1464 inhibited_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) inhibited_store() argument 1610 struct input_dev *dev = to_input_dev(device); input_dev_release() local 1644 input_add_uevent_modalias_var(struct kobj_uevent_env *env, const struct input_dev *dev) input_add_uevent_modalias_var() argument 1685 const struct input_dev *dev = to_input_dev(device); input_dev_uevent() local 1739 input_dev_toggle(struct input_dev *dev, bool activate) input_dev_toggle() argument 1761 input_reset_device(struct input_dev *dev) input_reset_device() argument 1777 input_inhibit_device(struct input_dev *dev) input_inhibit_device() argument 1805 input_uninhibit_device(struct input_dev *dev) input_uninhibit_device() argument 1834 input_dev_suspend(struct device *dev) input_dev_suspend() argument 1855 input_dev_resume(struct device *dev) input_dev_resume() argument 1869 input_dev_freeze(struct device *dev) input_dev_freeze() argument 1887 input_dev_poweroff(struct device *dev) input_dev_poweroff() argument 1916 input_devnode(const struct device *dev, umode_t *mode) input_devnode() argument 1939 struct input_dev *dev; input_allocate_device() local 1966 devm_input_device_match(struct device *dev, void *res, void *data) devm_input_device_match() argument 1973 devm_input_device_release(struct device *dev, void *res) devm_input_device_release() argument 2001 devm_input_allocate_device(struct device *dev) devm_input_allocate_device() argument 2041 input_free_device(struct input_dev *dev) input_free_device() argument 2068 input_set_timestamp(struct input_dev *dev, ktime_t timestamp) input_set_timestamp() argument 2083 input_get_timestamp(struct input_dev *dev) input_get_timestamp() argument 2103 input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code) input_set_capability() argument 2161 input_estimate_events_per_packet(struct input_dev *dev) input_estimate_events_per_packet() argument 2201 input_cleanse_bitmasks(struct input_dev *dev) input_cleanse_bitmasks() argument 2213 __input_unregister_device(struct input_dev *dev) __input_unregister_device() argument 2235 devm_input_device_unregister(struct device *dev, void *res) devm_input_device_unregister() argument 2252 struct input_dev *dev = from_timer(dev, t, timer); input_repeat_key() local 2281 input_enable_softrepeat(struct input_dev *dev, int delay, int period) input_enable_softrepeat() argument 2289 input_device_enabled(struct input_dev *dev) input_device_enabled() argument 2320 input_register_device(struct input_dev *dev) input_register_device() argument 2427 input_unregister_device(struct input_dev *dev) input_unregister_device() argument 2456 struct input_dev *dev; input_register_handler() local 2548 struct input_dev *dev = handle->dev; input_register_handle() local 2597 struct input_dev *dev = handle->dev; input_unregister_handle() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 22 * @dev: ISHTP device pointer 29 static inline uint32_t ish_reg_read(const struct ishtp_device *dev, in ish_reg_read() argument 32 struct ish_hw *hw = to_ish_hw(dev); in ish_reg_read() 39 * @dev: ISHTP device pointer 45 static inline void ish_reg_write(struct ishtp_device *dev, in ish_reg_write() argument 49 struct ish_hw *hw = to_ish_hw(dev); in ish_reg_write() 56 * @dev: ISHTP device pointer 62 static inline uint32_t _ish_read_fw_sts_reg(struct ishtp_device *dev) in _ish_read_fw_sts_reg() argument 64 return ish_reg_read(dev, IPC_REG_ISH_HOST_FWSTS); in _ish_read_fw_sts_reg() 69 * @dev 75 check_generated_interrupt(struct ishtp_device *dev) check_generated_interrupt() argument 103 ish_is_input_ready(struct ishtp_device *dev) ish_is_input_ready() argument 117 set_host_ready(struct ishtp_device *dev) set_host_ready() argument 160 ishtp_fw_is_ready(struct ishtp_device *dev) ishtp_fw_is_ready() argument 174 ish_set_host_rdy(struct ishtp_device *dev) ish_set_host_rdy() argument 188 ish_clr_host_rdy(struct ishtp_device *dev) ish_clr_host_rdy() argument 204 _ishtp_read_hdr(const struct ishtp_device *dev) _ishtp_read_hdr() argument 219 _ishtp_read(struct ishtp_device *dev, unsigned char *buffer, unsigned long buffer_length) _ishtp_read() argument 242 write_ipc_from_queue(struct ishtp_device *dev) write_ipc_from_queue() argument 353 write_ipc_to_queue(struct ishtp_device *dev, void (*ipc_send_compl)(void *), void *ipc_send_compl_prm, unsigned char *msg, int length) write_ipc_to_queue() argument 396 ipc_send_mng_msg(struct ishtp_device *dev, uint32_t msg_code, void *msg, size_t size) ipc_send_mng_msg() argument 423 timed_wait_for_timeout(struct ishtp_device *dev, int condition, unsigned int timeinc, unsigned int timeout) timed_wait_for_timeout() argument 469 ish_fw_reset_handler(struct ishtp_device *dev) ish_fw_reset_handler() argument 549 _ish_sync_fw_clock(struct ishtp_device *dev) _ish_sync_fw_clock() argument 571 recv_ipc(struct ishtp_device *dev, uint32_t doorbell_val) recv_ipc() argument 619 struct ishtp_device *dev = dev_id; ish_irq_handler() local 675 ish_disable_dma(struct ishtp_device *dev) ish_disable_dma() argument 704 ish_wakeup(struct ishtp_device *dev) ish_wakeup() argument 727 _ish_hw_reset(struct ishtp_device *dev) _ish_hw_reset() argument 778 _ish_ipc_reset(struct ishtp_device *dev) _ish_ipc_reset() argument 821 ish_hw_start(struct ishtp_device *dev) ish_hw_start() argument 855 ish_ipc_get_header(struct ishtp_device *dev, int length, int busy) ish_ipc_get_header() argument 886 struct ishtp_device *dev; ish_dev_init() local 935 ish_device_disable(struct ishtp_device *dev) ish_device_disable() argument [all...] |
/kernel/linux/linux-5.10/drivers/w1/ |
H A D | w1_int.c | 28 struct w1_master *dev; in w1_alloc_dev() local 34 dev = kzalloc(sizeof(struct w1_master) + sizeof(struct w1_bus_master), GFP_KERNEL); in w1_alloc_dev() 35 if (!dev) { in w1_alloc_dev() 42 dev->bus_master = (struct w1_bus_master *)(dev + 1); in w1_alloc_dev() 44 dev->owner = THIS_MODULE; in w1_alloc_dev() 45 dev->max_slave_count = slave_count; in w1_alloc_dev() 46 dev->slave_count = 0; in w1_alloc_dev() 47 dev->attempts = 0; in w1_alloc_dev() 48 dev in w1_alloc_dev() 83 w1_free_dev(struct w1_master *dev) w1_free_dev() argument 94 struct w1_master *dev, *entry; w1_add_master_device() local 173 __w1_remove_master_device(struct w1_master *dev) __w1_remove_master_device() argument 225 struct w1_master *dev, *found = NULL; w1_remove_master_device() local [all...] |
/kernel/linux/linux-6.6/drivers/w1/ |
H A D | w1_int.c | 28 struct w1_master *dev; in w1_alloc_dev() local 34 dev = kzalloc(sizeof(struct w1_master) + sizeof(struct w1_bus_master), GFP_KERNEL); in w1_alloc_dev() 35 if (!dev) { in w1_alloc_dev() 42 dev->bus_master = (struct w1_bus_master *)(dev + 1); in w1_alloc_dev() 44 dev->owner = THIS_MODULE; in w1_alloc_dev() 45 dev->max_slave_count = slave_count; in w1_alloc_dev() 46 dev->slave_count = 0; in w1_alloc_dev() 47 dev->attempts = 0; in w1_alloc_dev() 48 dev in w1_alloc_dev() 83 w1_free_dev(struct w1_master *dev) w1_free_dev() argument 94 struct w1_master *dev, *entry; w1_add_master_device() local 173 __w1_remove_master_device(struct w1_master *dev) __w1_remove_master_device() argument 225 struct w1_master *dev, *found = NULL; w1_remove_master_device() local [all...] |