Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 25 of 1275) sorted by relevance

12345678910>>...51

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/
H A Ddisp.c37 NV2080_CTRL_INTERNAL_DISPLAY_CHANNEL_PUSHBUFFER_PARAMS *ctrl; in r570_disp_chan_set_pushbuf() local
39 ctrl = nvkm_gsp_rm_ctrl_get(&gsp->internal.device.subdevice, in r570_disp_chan_set_pushbuf()
41 sizeof(*ctrl)); in r570_disp_chan_set_pushbuf()
42 if (IS_ERR(ctrl)) in r570_disp_chan_set_pushbuf()
43 return PTR_ERR(ctrl); in r570_disp_chan_set_pushbuf()
48 ctrl->addressSpace = ADDR_SYSMEM; in r570_disp_chan_set_pushbuf()
49 ctrl->cacheSnoop = 0; in r570_disp_chan_set_pushbuf()
50 ctrl->pbTargetAperture = PHYS_PCI; in r570_disp_chan_set_pushbuf()
53 ctrl->addressSpace = ADDR_SYSMEM; in r570_disp_chan_set_pushbuf()
54 ctrl->cacheSnoop = 1; in r570_disp_chan_set_pushbuf()
[all …]
/linux/drivers/soundwire/
H A Dqcom.c223 int (*reg_read)(struct qcom_swrm_ctrl *ctrl, int reg, u32 *val);
224 int (*reg_write)(struct qcom_swrm_ctrl *ctrl, int reg, int val);
353 static void qcom_swrm_set_ee_register_layout(struct qcom_swrm_ctrl *ctrl, in qcom_swrm_ahb_reg_write()
358 memcpy(ctrl->reg_layout_local, data->reg_layout, in qcom_swrm_ahb_reg_write()
359 sizeof(ctrl->reg_layout_local)); in qcom_swrm_ahb_reg_write()
360 ctrl->reg_layout = ctrl->reg_layout_local; in qcom_swrm_ahb_reg_write()
362 if (ctrl->version < SWRM_VERSION_2_0_0) in qcom_swrm_ahb_reg_write()
371 ee_offset = ((int)ctrl->ee - SWRM_EE_CPU) * SWRM_V2_REG_EE_STRIDE; in qcom_swrm_cpu_reg_read()
375 ctrl in qcom_swrm_cpu_reg_read()
330 qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl * ctrl,int reg,u32 * val) qcom_swrm_ahb_reg_read() argument
350 qcom_swrm_ahb_reg_write(struct qcom_swrm_ctrl * ctrl,int reg,int val) qcom_swrm_ahb_reg_write() argument
370 qcom_swrm_cpu_reg_read(struct qcom_swrm_ctrl * ctrl,int reg,u32 * val) qcom_swrm_cpu_reg_read() argument
377 qcom_swrm_cpu_reg_write(struct qcom_swrm_ctrl * ctrl,int reg,int val) qcom_swrm_cpu_reg_write() argument
402 swrm_wait_for_rd_fifo_avail(struct qcom_swrm_ctrl * ctrl) swrm_wait_for_rd_fifo_avail() argument
428 swrm_wait_for_wr_fifo_avail(struct qcom_swrm_ctrl * ctrl) swrm_wait_for_wr_fifo_avail() argument
454 swrm_wait_for_wr_fifo_done(struct qcom_swrm_ctrl * ctrl) swrm_wait_for_wr_fifo_done() argument
480 qcom_swrm_cmd_fifo_wr_cmd(struct qcom_swrm_ctrl * ctrl,u8 cmd_data,u8 dev_addr,u16 reg_addr) qcom_swrm_cmd_fifo_wr_cmd() argument
528 qcom_swrm_cmd_fifo_rd_cmd(struct qcom_swrm_ctrl * ctrl,u8 dev_addr,u16 reg_addr,u32 len,u8 * rval) qcom_swrm_cmd_fifo_rd_cmd() argument
581 qcom_swrm_get_alert_slave_dev_num(struct qcom_swrm_ctrl * ctrl) qcom_swrm_get_alert_slave_dev_num() argument
600 qcom_swrm_get_device_status(struct qcom_swrm_ctrl * ctrl) qcom_swrm_get_device_status() argument
620 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_set_slave_dev_num() local
638 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_enumerate() local
692 struct qcom_swrm_ctrl *ctrl = dev_id; qcom_swrm_wake_irq_handler() local
717 struct qcom_swrm_ctrl *ctrl = dev_id; qcom_swrm_irq_handler() local
859 swrm_wait_for_frame_gen_enabled(struct qcom_swrm_ctrl * ctrl) swrm_wait_for_frame_gen_enabled() argument
879 qcom_swrm_init(struct qcom_swrm_ctrl * ctrl) qcom_swrm_init() argument
962 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_read_prop() local
975 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_xfer_msg() local
1020 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_pre_bank_switch() local
1035 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_port_params() local
1046 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_transport_params() local
1124 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_port_enable() local
1154 struct qcom_swrm_ctrl *ctrl = to_qcom_sdw(bus); qcom_swrm_compute_params() local
1215 qcom_swrm_stream_free_ports(struct qcom_swrm_ctrl * ctrl,struct sdw_stream_runtime * stream) qcom_swrm_stream_free_ports() argument
1233 qcom_swrm_stream_alloc_ports(struct qcom_swrm_ctrl * ctrl,struct sdw_stream_runtime * stream,struct snd_pcm_hw_params * params,int direction) qcom_swrm_stream_alloc_ports() argument
1309 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_hw_params() local
1324 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_hw_free() local
1336 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_set_sdw_stream() local
1345 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_get_sdw_stream() local
1353 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_startup() local
1371 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dai->dev); qcom_swrm_shutdown() local
1392 qcom_swrm_register_dais(struct qcom_swrm_ctrl * ctrl) qcom_swrm_register_dais() argument
1433 qcom_swrm_get_port_config(struct qcom_swrm_ctrl * ctrl) qcom_swrm_get_port_config() argument
1525 struct qcom_swrm_ctrl *ctrl = s_file->private; swrm_reg_show() local
1555 struct qcom_swrm_ctrl *ctrl; global() local
1716 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(&pdev->dev); global() local
1724 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dev); global() local
1789 struct qcom_swrm_ctrl *ctrl = dev_get_drvdata(dev); global() local
[all...]
/linux/drivers/pci/hotplug/
H A Dpciehp_hpc.c49 static inline struct pci_dev *ctrl_dev(struct controller *ctrl) in ctrl_dev() argument
51 return ctrl->pcie->port; in ctrl_dev()
58 static inline int pciehp_request_irq(struct controller *ctrl) in pciehp_request_irq() argument
60 int retval, irq = ctrl->pcie->irq; in pciehp_request_irq()
63 ctrl->poll_thread = kthread_run(&pciehp_poll, ctrl, in pciehp_request_irq()
65 slot_name(ctrl)); in pciehp_request_irq()
66 return PTR_ERR_OR_ZERO(ctrl->poll_thread); in pciehp_request_irq()
71 IRQF_SHARED, "pciehp", ctrl); in pciehp_request_irq()
73 ctrl_err(ctrl, "Cannot get irq %d for the hotplug controller\n", in pciehp_request_irq()
78 static inline void pciehp_free_irq(struct controller *ctrl) in pciehp_free_irq() argument
[all …]
H A Dshpchp_hpc.c169 static void start_int_poll_timer(struct controller *ctrl, int sec);
171 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb() argument
173 return readb(ctrl->creg + reg); in shpc_readb()
176 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw() argument
178 return readw(ctrl->creg + reg); in shpc_readw()
181 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew() argument
183 writew(val, ctrl->creg + reg); in shpc_writew()
186 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl() argument
188 return readl(ctrl->creg + reg); in shpc_readl()
191 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel() argument
[all …]
H A Dcpqphp_core.c120 static int init_SERR(struct controller *ctrl) in init_SERR() argument
125 if (!ctrl) in init_SERR()
128 tempdword = ctrl->first_slot; in init_SERR()
130 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR()
133 writeb(0, ctrl->hpc_reg + SLOT_SERR); in init_SERR()
266 static int ctrl_slot_cleanup(struct controller *ctrl) in ctrl_slot_cleanup() argument
270 old_slot = ctrl->slot; in ctrl_slot_cleanup()
271 ctrl->slot = NULL; in ctrl_slot_cleanup()
280 cpqhp_remove_debugfs_files(ctrl); in ctrl_slot_cleanup()
283 free_irq(ctrl->interrupt, ctrl); in ctrl_slot_cleanup()
[all …]
H A Dpciehp.h35 #define ctrl_dbg(ctrl, format, arg...) \ argument
36 pci_dbg(ctrl->pcie->port, format, ## arg)
37 #define ctrl_err(ctrl, format, arg...) \ argument
38 pci_err(ctrl->pcie->port, format, ## arg)
39 #define ctrl_info(ctrl, format, arg...) \ argument
40 pci_info(ctrl->pcie->port, format, ## arg)
41 #define ctrl_warn(ctrl, format, arg...) \ argument
42 pci_warn(ctrl->pcie->port, format, ## arg)
156 #define ATTN_BUTTN(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_ABP) argument
157 #define POWER_CTRL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PCP) argument
[all …]
H A Dshpchp_ctrl.c45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) in shpchp_handle_attention_button() argument
51 ctrl_dbg(ctrl, "Attention button interrupt received\n"); in shpchp_handle_attention_button()
53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button()
59 ctrl_info(ctrl, "Button pressed on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_attention_button()
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) in shpchp_handle_switch_change() argument
75 ctrl_dbg(ctrl, "Switch interrupt received\n"); in shpchp_handle_switch_change()
77 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_switch_change()
80 ctrl_dbg(ctrl, "Card present %x Power status %x\n", in shpchp_handle_switch_change()
87 ctrl_info(ctrl, "Latch open on Slot(%s)\n", slot_name(p_slot)); in shpchp_handle_switch_change()
91 ctrl_err(ctrl, "Surprise Removal of card\n"); in shpchp_handle_switch_change()
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c41 struct v4l2_ctrl *ctrl, in ptr_to_user() argument
46 if (ctrl->is_ptr && !ctrl->is_string) in ptr_to_user()
50 switch (ctrl->type) { in ptr_to_user()
54 c->size = ctrl->elem_size; in ptr_to_user()
70 static int cur_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in cur_to_user() argument
72 return ptr_to_user(c, ctrl, ctrl->p_cur); in cur_to_user()
77 struct v4l2_ctrl *ctrl) in new_to_user() argument
79 return ptr_to_user(c, ctrl, ctrl->p_new); in new_to_user()
86 return ptr_to_user(c, ref->ctrl, ref->p_req); in req_to_user()
90 static int def_to_user(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) in def_to_user() argument
[all …]
H A Dv4l2-ctrls-core.c22 static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, in fill_event() argument
27 ev->id = ctrl->id; in fill_event()
28 ev->u.ctrl.changes = changes; in fill_event()
29 ev->u.ctrl.type = ctrl->type; in fill_event()
30 ev->u.ctrl.flags = user_flags(ctrl); in fill_event()
31 if (ctrl->is_ptr) in fill_event()
32 ev->u.ctrl.value64 = 0; in fill_event()
34 ev->u.ctrl in fill_event()
45 send_initial_event(struct v4l2_fh * fh,struct v4l2_ctrl * ctrl) send_initial_event() argument
56 send_event(struct v4l2_fh * fh,struct v4l2_ctrl * ctrl,u32 changes) send_event() argument
71 v4l2_ctrl_type_op_equal(const struct v4l2_ctrl * ctrl,union v4l2_ctrl_ptr ptr1,union v4l2_ctrl_ptr ptr2) v4l2_ctrl_type_op_equal() argument
107 std_init_compound(const struct v4l2_ctrl * ctrl,u32 idx,union v4l2_ctrl_ptr ptr) std_init_compound() argument
194 std_min_compound(const struct v4l2_ctrl * ctrl,u32 idx,union v4l2_ctrl_ptr ptr) std_min_compound() argument
205 std_max_compound(const struct v4l2_ctrl * ctrl,u32 idx,union v4l2_ctrl_ptr ptr) std_max_compound() argument
216 __v4l2_ctrl_type_op_init(const struct v4l2_ctrl * ctrl,u32 from_idx,u32 which,union v4l2_ctrl_ptr ptr) __v4l2_ctrl_type_op_init() argument
311 v4l2_ctrl_type_op_init(const struct v4l2_ctrl * ctrl,u32 from_idx,union v4l2_ctrl_ptr ptr) v4l2_ctrl_type_op_init() argument
318 v4l2_ctrl_type_op_minimum(const struct v4l2_ctrl * ctrl,u32 from_idx,union v4l2_ctrl_ptr ptr) v4l2_ctrl_type_op_minimum() argument
324 v4l2_ctrl_type_op_maximum(const struct v4l2_ctrl * ctrl,u32 from_idx,union v4l2_ctrl_ptr ptr) v4l2_ctrl_type_op_maximum() argument
330 v4l2_ctrl_type_op_log(const struct v4l2_ctrl * ctrl) v4l2_ctrl_type_op_log() argument
471 ROUND_TO_RANGE(val,offset_type,ctrl) global() argument
981 std_validate_compound(const struct v4l2_ctrl * ctrl,u32 idx,union v4l2_ctrl_ptr ptr) std_validate_compound() argument
1439 std_validate_elem(const struct v4l2_ctrl * ctrl,u32 idx,union v4l2_ctrl_ptr ptr) std_validate_elem() argument
1510 v4l2_ctrl_type_op_validate(const struct v4l2_ctrl * ctrl,union v4l2_ctrl_ptr ptr) v4l2_ctrl_type_op_validate() argument
1551 v4l2_ctrl_notify(struct v4l2_ctrl * ctrl,v4l2_ctrl_notify_fnc notify,void * priv) v4l2_ctrl_notify() argument
1568 ptr_to_ptr(struct v4l2_ctrl * ctrl,union v4l2_ctrl_ptr from,union v4l2_ctrl_ptr to,unsigned int elems) ptr_to_ptr() argument
1578 new_to_cur(struct v4l2_fh * fh,struct v4l2_ctrl * ctrl,u32 ch_flags) new_to_cur() argument
1617 cur_to_new(struct v4l2_ctrl * ctrl) cur_to_new() argument
1652 struct v4l2_ctrl *ctrl; new_to_req() local
1669 struct v4l2_ctrl *ctrl; cur_to_req() local
1686 struct v4l2_ctrl *ctrl; req_to_new() local
1816 struct v4l2_ctrl *ctrl, *next_ctrl; v4l2_ctrl_handler_free() local
1931 handler_new_ref(struct v4l2_ctrl_handler * hdl,struct v4l2_ctrl * ctrl,struct v4l2_ctrl_ref ** ctrl_ref,bool from_other_dev,bool allocate_req) handler_new_ref() argument
2028 struct v4l2_ctrl *ctrl; v4l2_ctrl_new() local
2314 struct v4l2_ctrl *ctrl; v4l2_ctrl_new_custom() local
2496 v4l2_ctrl_add_handler(struct v4l2_ctrl_handler * hdl,struct v4l2_ctrl_handler * add,bool (* filter)(const struct v4l2_ctrl * ctrl),bool from_other_dev) v4l2_ctrl_add_handler() argument
2509 struct v4l2_ctrl *ctrl = ref->ctrl; v4l2_ctrl_add_handler() local
2529 v4l2_ctrl_radio_filter(const struct v4l2_ctrl * ctrl) v4l2_ctrl_radio_filter() argument
2624 struct v4l2_ctrl *ctrl = master->cluster[i]; cluster_changed() local
2674 struct v4l2_ctrl *ctrl = master->cluster[i]; try_or_set_cluster() local
2722 v4l2_ctrl_activate(struct v4l2_ctrl * ctrl,bool active) v4l2_ctrl_activate() argument
2742 __v4l2_ctrl_grab(struct v4l2_ctrl * ctrl,bool grabbed) __v4l2_ctrl_grab() argument
2765 struct v4l2_ctrl *ctrl; __v4l2_ctrl_handler_setup() local
2818 log_ctrl(const struct v4l2_ctrl * ctrl,const char * prefix,const char * colon) log_ctrl() argument
2847 struct v4l2_ctrl *ctrl; v4l2_ctrl_handler_log_status() local
[all...]
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c346 struct brcmnand_controller *ctrl; member
666 static inline bool brcmnand_non_mmio_ops(struct brcmnand_controller *ctrl) in brcmnand_non_mmio_ops() argument
675 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() argument
677 if (brcmnand_non_mmio_ops(ctrl)) in nand_readreg()
678 return brcmnand_soc_read(ctrl->soc, offs); in nand_readreg()
679 return brcmnand_readl(ctrl->nand_base + offs); in nand_readreg()
682 static inline void nand_writereg(struct brcmnand_controller *ctrl, u32 offs, in nand_writereg() argument
685 if (brcmnand_non_mmio_ops(ctrl)) in nand_writereg()
686 brcmnand_soc_write(ctrl->soc, val, offs); in nand_writereg()
688 brcmnand_writel(val, ctrl in nand_writereg()
691 brcmnand_revision_init(struct brcmnand_controller * ctrl) brcmnand_revision_init() argument
816 brcmnand_flash_dma_revision_init(struct brcmnand_controller * ctrl) brcmnand_flash_dma_revision_init() argument
827 brcmnand_read_reg(struct brcmnand_controller * ctrl,enum brcmnand_reg reg) brcmnand_read_reg() argument
838 brcmnand_write_reg(struct brcmnand_controller * ctrl,enum brcmnand_reg reg,u32 val) brcmnand_write_reg() argument
847 brcmnand_rmw_reg(struct brcmnand_controller * ctrl,enum brcmnand_reg reg,u32 mask,unsigned int shift,u32 val) brcmnand_rmw_reg() argument
858 brcmnand_read_fc(struct brcmnand_controller * ctrl,int word) brcmnand_read_fc() argument
865 brcmnand_write_fc(struct brcmnand_controller * ctrl,int word,u32 val) brcmnand_write_fc() argument
874 edu_writel(struct brcmnand_controller * ctrl,enum edu_reg reg,u32 val) edu_writel() argument
882 edu_readl(struct brcmnand_controller * ctrl,enum edu_reg reg) edu_readl() argument
890 brcmnand_read_data_bus(struct brcmnand_controller * ctrl,void __iomem * flash_cache,u32 * buffer,int fc_words) brcmnand_read_data_bus() argument
904 brcmnand_clear_ecc_addr(struct brcmnand_controller * ctrl) brcmnand_clear_ecc_addr() argument
914 brcmnand_get_uncorrecc_addr(struct brcmnand_controller * ctrl) brcmnand_get_uncorrecc_addr() argument
926 brcmnand_get_correcc_addr(struct brcmnand_controller * ctrl) brcmnand_get_correcc_addr() argument
942 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_set_cmd_addr() local
952 brcmnand_cs_offset(struct brcmnand_controller * ctrl,int cs,enum brcmnand_cs_reg reg) brcmnand_cs_offset() argument
970 brcmnand_corr_total(struct brcmnand_controller * ctrl) brcmnand_corr_total() argument
979 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_wr_corr_thresh() local
1008 brcmnand_cmd_shift(struct brcmnand_controller * ctrl) brcmnand_cmd_shift() argument
1021 brcmnand_spare_area_mask(struct brcmnand_controller * ctrl) brcmnand_spare_area_mask() argument
1033 brcmnand_ecc_level_mask(struct brcmnand_controller * ctrl) brcmnand_ecc_level_mask() argument
1048 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_set_ecc_enabled() local
1065 brcmnand_sector_1k_shift(struct brcmnand_controller * ctrl) brcmnand_sector_1k_shift() argument
1079 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_get_sector_size_1k() local
1095 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_set_sector_size_1k() local
1112 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_get_spare_size() local
1122 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_get_ecc_settings() local
1160 struct brcmnand_controller *ctrl = host->ctrl; bcmnand_ctrl_poll_status() local
1196 brcmnand_set_wp(struct brcmnand_controller * ctrl,bool en) brcmnand_set_wp() argument
1207 has_flash_dma(struct brcmnand_controller * ctrl) has_flash_dma() argument
1212 has_edu(struct brcmnand_controller * ctrl) has_edu() argument
1217 use_dma(struct brcmnand_controller * ctrl) use_dma() argument
1222 disable_ctrl_irqs(struct brcmnand_controller * ctrl) disable_ctrl_irqs() argument
1242 flash_dma_writel(struct brcmnand_controller * ctrl,enum flash_dma_reg dma_reg,u32 val) flash_dma_writel() argument
1250 flash_dma_readl(struct brcmnand_controller * ctrl,enum flash_dma_reg dma_reg) flash_dma_readl() argument
1270 is_hamming_ecc(struct brcmnand_controller * ctrl,struct brcmnand_cfg * cfg) is_hamming_ecc() argument
1466 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_wp() local
1508 oob_reg_read(struct brcmnand_controller * ctrl,u32 offs) oob_reg_read() argument
1526 oob_reg_write(struct brcmnand_controller * ctrl,u32 offs,u32 data) oob_reg_write() argument
1553 read_oob_from_regs(struct brcmnand_controller * ctrl,int i,u8 * oob,int sas,int sector_1k) read_oob_from_regs() argument
1576 write_oob_to_regs(struct brcmnand_controller * ctrl,int i,const u8 * oob,int sas,int sector_1k) write_oob_to_regs() argument
1610 brcmnand_edu_init(struct brcmnand_controller * ctrl) brcmnand_edu_init() argument
1625 struct brcmnand_controller *ctrl = data; brcmnand_edu_irq() local
1675 struct brcmnand_controller *ctrl = data; brcmnand_ctlrdy_irq() local
1698 struct brcmnand_controller *ctrl = data; brcmnand_irq() local
1708 struct brcmnand_controller *ctrl = data; brcmnand_dma_irq() local
1717 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_send_cmd() local
1749 struct brcmnand_controller *ctrl = host->ctrl; brcmstb_nand_wait_for_completion() local
1774 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_waitfunc() local
1831 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_low_level_op() local
1871 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_edu_trans() local
2018 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_dma_run() local
2047 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_dma_trans() local
2080 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_read_by_pio() local
2187 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_read() local
2337 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_write() local
2458 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_exec_instr() local
2589 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_exec_instructions_legacy() local
2711 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_exec_op() local
2756 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_set_cfg() local
2893 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_setup_dev() local
3083 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_init_cs() local
3138 struct brcmnand_controller *ctrl = host->ctrl; brcmnand_save_restore_cs_config() local
3168 struct brcmnand_controller *ctrl = dev_get_drvdata(dev); brcmnand_suspend() local
3189 struct brcmnand_controller *ctrl = dev_get_drvdata(dev); brcmnand_resume() local
3254 struct brcmnand_controller *ctrl = dev_get_drvdata(&pdev->dev); brcmnand_edu_setup() local
3300 struct brcmnand_controller *ctrl; brcmnand_probe() local
3563 struct brcmnand_controller *ctrl = dev_get_drvdata(&pdev->dev); brcmnand_remove() local
[all...]
/linux/drivers/nvme/target/
H A Dauth.c72 int nvmet_setup_dhgroup(struct nvmet_ctrl *ctrl, u8 dhgroup_id) in nvmet_setup_dhgroup()
77 pr_debug("%s: ctrl %d selecting dhgroup %d\n", in nvmet_setup_dhgroup()
78 __func__, ctrl->cntlid, dhgroup_id); in nvmet_setup_dhgroup()
80 if (ctrl->dh_tfm) { in nvmet_setup_dhgroup()
81 if (ctrl->dh_gid == dhgroup_id) { in nvmet_setup_dhgroup()
82 pr_debug("%s: ctrl %d reuse existing DH group %d\n", in nvmet_setup_dhgroup()
83 __func__, ctrl->cntlid, dhgroup_id); in nvmet_setup_dhgroup()
86 crypto_free_kpp(ctrl->dh_tfm); in nvmet_setup_dhgroup()
87 kfree_sensitive(ctrl->dh_key); in nvmet_setup_dhgroup()
88 ctrl in nvmet_setup_dhgroup()
64 nvmet_setup_dhgroup(struct nvmet_ctrl * ctrl,u8 dhgroup_id) nvmet_setup_dhgroup() argument
133 nvmet_setup_auth(struct nvmet_ctrl * ctrl,struct nvmet_sq * sq,bool reset) nvmet_setup_auth() argument
247 nvmet_destroy_auth(struct nvmet_ctrl * ctrl) nvmet_destroy_auth() argument
290 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_auth_host_hash() local
362 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_auth_ctrl_hash() local
430 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_auth_ctrl_exponential() local
455 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_auth_ctrl_sesskey() local
[all...]
H A Dcore.c137 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall() argument
141 mutex_lock(&ctrl->lock); in nvmet_async_events_failall()
142 while (ctrl->nr_async_event_cmds) { in nvmet_async_events_failall()
143 req = ctrl->async_event_cmds[--ctrl->nr_async_event_cmds]; in nvmet_async_events_failall()
144 mutex_unlock(&ctrl->lock); in nvmet_async_events_failall()
146 mutex_lock(&ctrl->lock); in nvmet_async_events_failall()
148 mutex_unlock(&ctrl->lock); in nvmet_async_events_failall()
151 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process() argument
156 mutex_lock(&ctrl in nvmet_async_events_process()
174 nvmet_async_events_free(struct nvmet_ctrl * ctrl) nvmet_async_events_free() argument
188 struct nvmet_ctrl *ctrl = nvmet_async_event_work() local
194 nvmet_add_async_event(struct nvmet_ctrl * ctrl,u8 event_type,u8 event_info,u8 log_page) nvmet_add_async_event() argument
214 nvmet_add_to_changed_ns_log(struct nvmet_ctrl * ctrl,__le32 nsid) nvmet_add_to_changed_ns_log() argument
240 struct nvmet_ctrl *ctrl; nvmet_ns_changed() local
257 struct nvmet_ctrl *ctrl; nvmet_send_ana_event() local
306 struct nvmet_ctrl *ctrl; nvmet_port_del_ctrls() local
406 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), nvmet_keep_alive_timer() local
424 nvmet_start_keep_alive_timer(struct nvmet_ctrl * ctrl) nvmet_start_keep_alive_timer() argument
435 nvmet_stop_keep_alive_timer(struct nvmet_ctrl * ctrl) nvmet_stop_keep_alive_timer() argument
534 nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl * ctrl,struct nvmet_ns * ns) nvmet_p2pmem_ns_add_p2p() argument
587 struct nvmet_ctrl *ctrl; nvmet_ns_enable() local
652 struct nvmet_ctrl *ctrl; nvmet_ns_disable() local
774 struct nvmet_ctrl *ctrl = req->sq->ctrl; nvmet_set_error() local
852 nvmet_cq_setup(struct nvmet_ctrl * ctrl,struct nvmet_cq * cq,u16 qid,u16 size) nvmet_cq_setup() argument
863 struct nvmet_ctrl *ctrl = cq->ctrl; nvmet_cq_destroy() local
872 nvmet_sq_setup(struct nvmet_ctrl * ctrl,struct nvmet_sq * sq,u16 qid,u16 size) nvmet_sq_setup() argument
889 nvmet_check_cqid(struct nvmet_ctrl * ctrl,u16 cqid,bool create) nvmet_check_cqid() argument
903 nvmet_check_io_cqid(struct nvmet_ctrl * ctrl,u16 cqid,bool create) nvmet_check_io_cqid() argument
916 nvmet_cq_create(struct nvmet_ctrl * ctrl,struct nvmet_cq * cq,u16 qid,u16 size) nvmet_cq_create() argument
936 nvmet_check_sqid(struct nvmet_ctrl * ctrl,u16 sqid,bool create) nvmet_check_sqid() argument
952 nvmet_sq_create(struct nvmet_ctrl * ctrl,struct nvmet_sq * sq,struct nvmet_cq * cq,u16 sqid,u16 size) nvmet_sq_create() argument
984 struct nvmet_ctrl *ctrl = sq->ctrl; nvmet_sq_destroy() local
1399 nvmet_start_ctrl(struct nvmet_ctrl * ctrl) nvmet_start_ctrl() argument
1435 nvmet_clear_ctrl(struct nvmet_ctrl * ctrl) nvmet_clear_ctrl() argument
1444 nvmet_update_cc(struct nvmet_ctrl * ctrl,u32 new) nvmet_update_cc() argument
1466 nvmet_init_cap(struct nvmet_ctrl * ctrl) nvmet_init_cap() argument
1489 struct nvmet_ctrl *ctrl = NULL; nvmet_ctrl_find_get() local
1568 nvmet_setup_p2p_ns_map(struct nvmet_ctrl * ctrl,struct device * p2p_client) nvmet_setup_p2p_ns_map() argument
1585 nvmet_release_p2p_ns_map(struct nvmet_ctrl * ctrl) nvmet_release_p2p_ns_map() argument
1600 struct nvmet_ctrl *ctrl = nvmet_fatal_error_handler() local
1610 struct nvmet_ctrl *ctrl; nvmet_alloc_ctrl() local
1763 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); nvmet_ctrl_free() local
1792 nvmet_ctrl_put(struct nvmet_ctrl * ctrl) nvmet_ctrl_put() argument
1798 nvmet_ctrl_fatal_error(struct nvmet_ctrl * ctrl) nvmet_ctrl_fatal_error() argument
1809 nvmet_ctrl_host_traddr(struct nvmet_ctrl * ctrl,char * traddr,size_t traddr_len) nvmet_ctrl_host_traddr() argument
1950 struct nvmet_ctrl *ctrl; nvmet_subsys_del_ctrls() local
[all...]
/linux/drivers/nvme/host/
H A Drdma.c97 struct nvme_rdma_ctrl *ctrl; member
139 struct nvme_ctrl ctrl; member
144 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() argument
146 return container_of(ctrl, struct nvme_rdma_ctrl, ctrl); in to_rdma_ctrl()
169 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx()
175 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue()
176 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue()
305 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(set->driver_data); in nvme_rdma_init_request() local
307 int queue_idx = (set == &ctrl in nvme_rdma_init_request()
330 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(data); nvme_rdma_init_hctx() local
342 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(data); nvme_rdma_init_admin_hctx() local
581 struct nvme_rdma_ctrl *ctrl = queue->ctrl; nvme_rdma_alloc_queue() local
666 nvme_rdma_free_io_queues(struct nvme_rdma_ctrl * ctrl) nvme_rdma_free_io_queues() argument
674 nvme_rdma_stop_io_queues(struct nvme_rdma_ctrl * ctrl) nvme_rdma_stop_io_queues() argument
682 nvme_rdma_start_queue(struct nvme_rdma_ctrl * ctrl,int idx) nvme_rdma_start_queue() argument
723 nvme_rdma_setup_io_queues(struct nvme_rdma_ctrl * ctrl,unsigned int first,unsigned int last,size_t queue_size) nvme_rdma_setup_io_queues() argument
769 nvme_rdma_alloc_tag_set(struct nvme_ctrl * ctrl) nvme_rdma_alloc_tag_set() argument
784 nvme_rdma_destroy_admin_queue(struct nvme_rdma_ctrl * ctrl) nvme_rdma_destroy_admin_queue() argument
795 nvme_rdma_configure_admin_queue(struct nvme_rdma_ctrl * ctrl,bool new) nvme_rdma_configure_admin_queue() argument
881 nvme_rdma_configure_io_queues(struct nvme_rdma_ctrl * ctrl,bool new) nvme_rdma_configure_io_queues() argument
963 nvme_rdma_teardown_admin_queue(struct nvme_rdma_ctrl * ctrl,bool remove) nvme_rdma_teardown_admin_queue() argument
977 nvme_rdma_teardown_io_queues(struct nvme_rdma_ctrl * ctrl,bool remove) nvme_rdma_teardown_io_queues() argument
995 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); nvme_rdma_stop_ctrl() local
1003 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); nvme_rdma_free_ctrl() local
1018 nvme_rdma_reconnect_or_remove(struct nvme_rdma_ctrl * ctrl,int status) nvme_rdma_reconnect_or_remove() argument
1039 nvme_rdma_setup_ctrl(struct nvme_rdma_ctrl * ctrl,bool new) nvme_rdma_setup_ctrl() argument
1133 struct nvme_rdma_ctrl *ctrl = container_of(to_delayed_work(work), nvme_rdma_reconnect_ctrl_work() local
1160 struct nvme_rdma_ctrl *ctrl = container_of(work, nvme_rdma_error_recovery_work() local
1183 nvme_rdma_error_recovery(struct nvme_rdma_ctrl * ctrl) nvme_rdma_error_recovery() argument
1206 struct nvme_rdma_ctrl *ctrl = queue->ctrl; nvme_rdma_wr_error() local
1700 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(arg); nvme_rdma_submit_async_event() local
1850 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; nvme_rdma_addr_resolved() local
1875 struct nvme_rdma_ctrl *ctrl = queue->ctrl; nvme_rdma_route_resolved() local
1992 struct nvme_rdma_ctrl *ctrl = queue->ctrl; nvme_rdma_timeout() local
2165 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(set->driver_data); nvme_rdma_map_queues() local
2190 nvme_rdma_shutdown_ctrl(struct nvme_rdma_ctrl * ctrl,bool shutdown) nvme_rdma_shutdown_ctrl() argument
2198 nvme_rdma_delete_ctrl(struct nvme_ctrl * ctrl) nvme_rdma_delete_ctrl() argument
2205 struct nvme_rdma_ctrl *ctrl = nvme_rdma_reset_ctrl_work() local
2229 nvme_rdma_supports_pci_p2pdma(struct nvme_ctrl * ctrl) nvme_rdma_supports_pci_p2pdma() argument
2268 struct nvme_rdma_ctrl *ctrl; nvme_rdma_existing_controller() local
2285 struct nvme_rdma_ctrl *ctrl; nvme_rdma_alloc_ctrl() local
2362 struct nvme_rdma_ctrl *ctrl; nvme_rdma_create_ctrl() local
2412 struct nvme_rdma_ctrl *ctrl; nvme_rdma_remove_one() local
2466 struct nvme_rdma_ctrl *ctrl; nvme_rdma_cleanup_module() local
[all...]
H A Dfc.c35 struct nvme_fc_ctrl *ctrl; member
98 struct nvme_fc_ctrl *ctrl;
178 struct nvme_ctrl ctrl;
182 to_fc_ctrl(struct nvme_ctrl *ctrl)
184 return container_of(ctrl, struct nvme_fc_ctrl, ctrl); in to_fc_ctrl()
551 nvme_fc_resume_controller(struct nvme_fc_ctrl *ctrl)
553 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_resume_controller()
560 dev_info(ctrl in nvme_fc_resume_controller()
99 struct nvme_fc_ctrl *ctrl; global() member
179 struct nvme_ctrl ctrl; global() member
183 to_fc_ctrl(struct nvme_ctrl * ctrl) to_fc_ctrl() argument
552 nvme_fc_resume_controller(struct nvme_fc_ctrl * ctrl) nvme_fc_resume_controller() argument
587 struct nvme_fc_ctrl *ctrl; nvme_fc_attach_to_suspended_rport() local
784 nvme_fc_ctrl_connectivity_loss(struct nvme_fc_ctrl * ctrl) nvme_fc_ctrl_connectivity_loss() argument
809 struct nvme_fc_ctrl *ctrl; nvme_fc_unregister_remoteport() local
1130 nvme_fc_connect_admin_queue(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,u16 qsize,u16 ersp_ratio) nvme_fc_connect_admin_queue() argument
1247 nvme_fc_connect_queue(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,u16 qsize,u16 ersp_ratio) nvme_fc_connect_queue() argument
1378 nvme_fc_xmt_disconnect_assoc(struct nvme_fc_ctrl * ctrl) nvme_fc_xmt_disconnect_assoc() argument
1473 struct nvme_fc_ctrl *ctrl, *tmp, *ret = NULL; nvme_fc_match_disconn_ls() local
1530 struct nvme_fc_ctrl *ctrl = NULL; nvme_fc_ls_disconnect_assoc() local
1790 __nvme_fc_exit_request(struct nvme_fc_ctrl * ctrl,struct nvme_fc_fcp_op * op) __nvme_fc_exit_request() argument
1811 __nvme_fc_abort_op(struct nvme_fc_ctrl * ctrl,struct nvme_fc_fcp_op * op) __nvme_fc_abort_op() argument
1838 nvme_fc_abort_aen_ops(struct nvme_fc_ctrl * ctrl) nvme_fc_abort_aen_ops() argument
1852 __nvme_fc_fcpop_chk_teardowns(struct nvme_fc_ctrl * ctrl,struct nvme_fc_fcp_op * op,int opstate) __nvme_fc_fcpop_chk_teardowns() argument
1871 struct nvme_fc_ctrl *ctrl = nvme_fc_ctrl_ioerr_work() local
1901 struct nvme_fc_ctrl *ctrl = op->ctrl; nvme_fc_fcpio_done() local
2058 __nvme_fc_init_request(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,struct nvme_fc_fcp_op * op,struct request * rq,u32 rqno) __nvme_fc_init_request() argument
2120 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(set->driver_data); nvme_fc_init_request() local
2137 nvme_fc_init_aen_ops(struct nvme_fc_ctrl * ctrl) nvme_fc_init_aen_ops() argument
2176 nvme_fc_term_aen_ops(struct nvme_fc_ctrl * ctrl) nvme_fc_term_aen_ops() argument
2194 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(data); __nvme_fc_init_hctx() local
2216 nvme_fc_init_queue(struct nvme_fc_ctrl * ctrl,int idx) nvme_fc_init_queue() argument
2270 __nvme_fc_delete_hw_queue(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,unsigned int qidx) __nvme_fc_delete_hw_queue() argument
2280 nvme_fc_free_io_queues(struct nvme_fc_ctrl * ctrl) nvme_fc_free_io_queues() argument
2289 __nvme_fc_create_hw_queue(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,unsigned int qidx,u16 qsize) __nvme_fc_create_hw_queue() argument
2303 nvme_fc_delete_hw_io_queues(struct nvme_fc_ctrl * ctrl) nvme_fc_delete_hw_io_queues() argument
2313 nvme_fc_create_hw_io_queues(struct nvme_fc_ctrl * ctrl,u16 qsize) nvme_fc_create_hw_io_queues() argument
2333 nvme_fc_connect_io_queues(struct nvme_fc_ctrl * ctrl,u16 qsize) nvme_fc_connect_io_queues() argument
2353 nvme_fc_init_io_queues(struct nvme_fc_ctrl * ctrl) nvme_fc_init_io_queues() argument
2364 struct nvme_fc_ctrl *ctrl = nvme_fc_ctrl_free() local
2391 nvme_fc_ctrl_put(struct nvme_fc_ctrl * ctrl) nvme_fc_ctrl_put() argument
2397 nvme_fc_ctrl_get(struct nvme_fc_ctrl * ctrl) nvme_fc_ctrl_get() argument
2409 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); nvme_fc_free_ctrl() local
2432 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); nvme_fc_terminate_exchange() local
2450 __nvme_fc_abort_outstanding_ios(struct nvme_fc_ctrl * ctrl,bool start_queues) __nvme_fc_abort_outstanding_ios() argument
2511 nvme_fc_error_recovery(struct nvme_fc_ctrl * ctrl,char * errmsg) nvme_fc_error_recovery() argument
2546 struct nvme_fc_ctrl *ctrl = op->ctrl; nvme_fc_timeout() local
2573 nvme_fc_map_data(struct nvme_fc_ctrl * ctrl,struct request * rq,struct nvme_fc_fcp_op * op) nvme_fc_map_data() argument
2608 nvme_fc_unmap_data(struct nvme_fc_ctrl * ctrl,struct request * rq,struct nvme_fc_fcp_op * op) nvme_fc_unmap_data() argument
2648 nvme_fc_start_fcp_op(struct nvme_fc_ctrl * ctrl,struct nvme_fc_queue * queue,struct nvme_fc_fcp_op * op,u32 data_len,enum nvmefc_fcp_datadir io_dir) nvme_fc_start_fcp_op() argument
2769 struct nvme_fc_ctrl *ctrl = queue->ctrl; nvme_fc_queue_rq() local
2809 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(arg); nvme_fc_submit_async_event() local
2829 struct nvme_fc_ctrl *ctrl = op->ctrl; nvme_fc_complete_rq() local
2841 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(set->driver_data); nvme_fc_map_queues() local
2872 nvme_fc_create_io_queues(struct nvme_fc_ctrl * ctrl) nvme_fc_create_io_queues() argument
2930 nvme_fc_recreate_io_queues(struct nvme_fc_ctrl * ctrl) nvme_fc_recreate_io_queues() argument
3002 nvme_fc_ctlr_active_on_rport(struct nvme_fc_ctrl * ctrl) nvme_fc_ctlr_active_on_rport() argument
3018 nvme_fc_ctlr_inactive_on_rport(struct nvme_fc_ctrl * ctrl) nvme_fc_ctlr_inactive_on_rport() argument
3041 nvme_fc_create_association(struct nvme_fc_ctrl * ctrl) nvme_fc_create_association() argument
3210 nvme_fc_delete_association(struct nvme_fc_ctrl * ctrl) nvme_fc_delete_association() argument
3277 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); nvme_fc_delete_ctrl() local
3296 nvme_fc_reconnect_or_delete(struct nvme_fc_ctrl * ctrl,int status) nvme_fc_reconnect_or_delete() argument
3348 struct nvme_fc_ctrl *ctrl = nvme_fc_reset_ctrl_work() local
3395 struct nvme_fc_ctrl *ctrl = nvme_fc_connect_ctrl_work() local
3431 struct nvme_fc_ctrl *ctrl; nvme_fc_existing_controller() local
3450 struct nvme_fc_ctrl *ctrl; nvme_fc_alloc_ctrl() local
3558 struct nvme_fc_ctrl *ctrl; nvme_fc_init_ctrl() local
3709 struct nvme_ctrl *ctrl; nvme_fc_create_ctrl() local
3963 struct nvme_fc_ctrl *ctrl; nvme_fc_delete_controllers() local
[all...]
H A Dcore.c158 static void nvme_update_keep_alive(struct nvme_ctrl *ctrl,
160 static int nvme_get_log_lsi(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page,
163 void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() argument
168 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
169 queue_work(nvme_wq, &ctrl->scan_work); in nvme_queue_scan()
178 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() argument
180 if (nvme_ctrl_state(ctrl) != NVME_CTRL_RESETTING) in nvme_try_sched_reset()
182 if (!queue_work(nvme_reset_wq, &ctrl->reset_work)) in nvme_try_sched_reset()
190 struct nvme_ctrl *ctrl in nvme_failfast_work() local
201 nvme_start_failfast_work(struct nvme_ctrl * ctrl) nvme_start_failfast_work() argument
210 nvme_stop_failfast_work(struct nvme_ctrl * ctrl) nvme_stop_failfast_work() argument
220 nvme_reset_ctrl(struct nvme_ctrl * ctrl) nvme_reset_ctrl() argument
230 nvme_reset_ctrl_sync(struct nvme_ctrl * ctrl) nvme_reset_ctrl_sync() argument
244 nvme_do_delete_ctrl(struct nvme_ctrl * ctrl) nvme_do_delete_ctrl() argument
258 struct nvme_ctrl *ctrl = nvme_delete_ctrl_work() local
264 nvme_delete_ctrl(struct nvme_ctrl * ctrl) nvme_delete_ctrl() argument
274 nvme_delete_ctrl_sync(struct nvme_ctrl * ctrl) nvme_delete_ctrl_sync() argument
476 struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; __nvme_complete_rq() local
559 nvme_cancel_tagset(struct nvme_ctrl * ctrl) nvme_cancel_tagset() argument
569 nvme_cancel_admin_tagset(struct nvme_ctrl * ctrl) nvme_cancel_admin_tagset() argument
579 nvme_change_ctrl_state(struct nvme_ctrl * ctrl,enum nvme_ctrl_state new_state) nvme_change_ctrl_state() argument
679 nvme_wait_reset(struct nvme_ctrl * ctrl) nvme_wait_reset() argument
782 nvme_fail_nonready_command(struct nvme_ctrl * ctrl,struct request * rq) nvme_fail_nonready_command() argument
801 __nvme_check_ready(struct nvme_ctrl * ctrl,struct request * rq,bool queue_live,enum nvme_ctrl_state state) __nvme_check_ready() argument
1096 struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; nvme_cleanup_cmd() local
1232 nvme_command_effects(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u8 opcode) nvme_command_effects() argument
1261 nvme_passthru_start(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u8 opcode) nvme_passthru_start() argument
1281 nvme_passthru_end(struct nvme_ctrl * ctrl,struct nvme_ns * ns,u32 effects,struct nvme_command * cmd,int status) nvme_passthru_end() argument
1334 nvme_keep_alive_work_period(struct nvme_ctrl * ctrl) nvme_keep_alive_work_period() argument
1349 nvme_queue_keep_alive_work(struct nvme_ctrl * ctrl) nvme_queue_keep_alive_work() argument
1367 struct nvme_ctrl *ctrl = rq->end_io_data; nvme_keep_alive_end_io() local
1402 struct nvme_ctrl *ctrl = container_of(to_delayed_work(work), nvme_keep_alive_work() local
1433 nvme_start_keep_alive(struct nvme_ctrl * ctrl) nvme_start_keep_alive() argument
1441 nvme_stop_keep_alive(struct nvme_ctrl * ctrl) nvme_stop_keep_alive() argument
1450 nvme_update_keep_alive(struct nvme_ctrl * ctrl,struct nvme_command * cmd) nvme_update_keep_alive() argument
1465 nvme_id_cns_ok(struct nvme_ctrl * ctrl,u8 cns) nvme_id_cns_ok() argument
1513 nvme_process_ns_desc(struct nvme_ctrl * ctrl,struct nvme_ns_ids * ids,struct nvme_ns_id_desc * cur,bool * csi_seen) nvme_process_ns_desc() argument
1565 nvme_identify_ns_descs(struct nvme_ctrl * ctrl,struct nvme_ns_info * info) nvme_identify_ns_descs() argument
1623 nvme_identify_ns(struct nvme_ctrl * ctrl,unsigned nsid,struct nvme_id_ns ** id) nvme_identify_ns() argument
1647 nvme_ns_info_from_identify(struct nvme_ctrl * ctrl,struct nvme_ns_info * info) nvme_ns_info_from_identify() argument
1687 nvme_ns_info_from_id_cs_indep(struct nvme_ctrl * ctrl,struct nvme_ns_info * info) nvme_ns_info_from_id_cs_indep() argument
1752 nvme_set_queue_count(struct nvme_ctrl * ctrl,int * count) nvme_set_queue_count() argument
1790 nvme_enable_aen(struct nvme_ctrl * ctrl) nvme_enable_aen() argument
1927 nvme_identify_ns_nvm(struct nvme_ctrl * ctrl,unsigned int nsid,struct nvme_id_ns_nvm ** nvmp) nvme_identify_ns_nvm() argument
1979 nvme_configure_metadata(struct nvme_ctrl * ctrl,struct nvme_ns_head * head,struct nvme_id_ns * id,struct nvme_id_ns_nvm * nvm,struct nvme_ns_info * info) nvme_configure_metadata() argument
2076 nvme_max_drv_segments(struct nvme_ctrl * ctrl) nvme_max_drv_segments() argument
2081 nvme_set_ctrl_limits(struct nvme_ctrl * ctrl,struct queue_limits * lim,bool is_admin) nvme_set_ctrl_limits() argument
2100 struct nvme_ctrl *ctrl = ns->ctrl; nvme_update_disk_info() local
2207 struct nvme_ctrl *ctrl = ns->ctrl; nvme_set_chunk_sectors() local
2257 nvme_query_fdp_granularity(struct nvme_ctrl * ctrl,struct nvme_ns_info * info,u8 fdp_idx) nvme_query_fdp_granularity() argument
2335 struct nvme_ctrl *ctrl = ns->ctrl; nvme_query_fdp_info() local
2668 struct nvme_ctrl *ctrl = data; nvme_sec_submit() local
2683 nvme_configure_opal(struct nvme_ctrl * ctrl,bool was_suspended) nvme_configure_opal() argument
2696 nvme_configure_opal(struct nvme_ctrl * ctrl,bool was_suspended) nvme_configure_opal() argument
2723 nvme_wait_ready(struct nvme_ctrl * ctrl,u32 mask,u32 val,u32 timeout,const char * op) nvme_wait_ready() argument
2750 nvme_disable_ctrl(struct nvme_ctrl * ctrl,bool shutdown) nvme_disable_ctrl() argument
2776 nvme_enable_ctrl(struct nvme_ctrl * ctrl) nvme_enable_ctrl() argument
2855 nvme_configure_timestamp(struct nvme_ctrl * ctrl) nvme_configure_timestamp() argument
2872 nvme_configure_host_options(struct nvme_ctrl * ctrl) nvme_configure_host_options() argument
2953 nvme_configure_apst(struct nvme_ctrl * ctrl) nvme_configure_apst() argument
3060 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); nvme_set_latency_tolerance() local
3171 nvme_init_subnqn(struct nvme_subsystem * subsys,struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_init_subnqn() argument
3268 nvme_discovery_ctrl(struct nvme_ctrl * ctrl) nvme_discovery_ctrl() argument
3273 nvme_admin_ctrl(struct nvme_ctrl * ctrl) nvme_admin_ctrl() argument
3278 nvme_is_io_ctrl(struct nvme_ctrl * ctrl) nvme_is_io_ctrl() argument
3284 nvme_validate_cntlid(struct nvme_subsystem * subsys,struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_validate_cntlid() argument
3315 nvme_init_subsystem(struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_init_subsystem() argument
3403 nvme_get_log_lsi(struct nvme_ctrl * ctrl,u32 nsid,u8 log_page,u8 lsp,u8 csi,void * log,size_t size,u64 offset,u16 lsi) nvme_get_log_lsi() argument
3423 nvme_get_log(struct nvme_ctrl * ctrl,u32 nsid,u8 log_page,u8 lsp,u8 csi,void * log,size_t size,u64 offset) nvme_get_log() argument
3430 nvme_get_effects_log(struct nvme_ctrl * ctrl,u8 csi,struct nvme_effects_log ** log) nvme_get_effects_log() argument
3460 nvme_mps_to_sectors(struct nvme_ctrl * ctrl,u32 units) nvme_mps_to_sectors() argument
3469 nvme_init_non_mdts_limits(struct nvme_ctrl * ctrl) nvme_init_non_mdts_limits() argument
3516 nvme_init_effects_log(struct nvme_ctrl * ctrl,u8 csi,struct nvme_effects_log ** log) nvme_init_effects_log() argument
3535 nvme_init_known_nvm_effects(struct nvme_ctrl * ctrl) nvme_init_known_nvm_effects() argument
3567 nvme_init_effects(struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_init_effects() argument
3594 nvme_check_ctrl_fabric_info(struct nvme_ctrl * ctrl,struct nvme_id_ctrl * id) nvme_check_ctrl_fabric_info() argument
3636 nvme_init_identify(struct nvme_ctrl * ctrl) nvme_init_identify() argument
3783 nvme_init_ctrl_finish(struct nvme_ctrl * ctrl,bool was_suspended) nvme_init_ctrl_finish() argument
3852 struct nvme_ctrl *ctrl = nvme_dev_open() local
3874 struct nvme_ctrl *ctrl = nvme_dev_release() local
3891 nvme_find_ns_head(struct nvme_ctrl * ctrl,unsigned nsid) nvme_find_ns_head() argument
3957 nvme_cdev_add(struct cdev * cdev,struct device * cdev_device,const struct file_operations * fops,struct module * owner,int ctrl,int head) nvme_cdev_add() argument
4024 struct nvme_ctrl *ctrl = ns->ctrl; nvme_alloc_ns_head() local
4119 struct nvme_ctrl *ctrl = ns->ctrl; nvme_init_ns_head() local
4218 nvme_find_get_ns(struct nvme_ctrl * ctrl,unsigned nsid) nvme_find_get_ns() argument
4256 nvme_alloc_ns(struct nvme_ctrl * ctrl,struct nvme_ns_info * info) nvme_alloc_ns() argument
4427 nvme_ns_remove_by_nsid(struct nvme_ctrl * ctrl,u32 nsid) nvme_ns_remove_by_nsid() argument
4459 nvme_scan_ns(struct nvme_ctrl * ctrl,unsigned nsid) nvme_scan_ns() argument
4517 struct nvme_ctrl *ctrl; global() member
4534 nvme_remove_nsid_range(struct nvme_ctrl * ctrl,u32 start,u32 end) nvme_remove_nsid_range() argument
4555 nvme_scan_ns_list(struct nvme_ctrl * ctrl) nvme_scan_ns_list() argument
4607 nvme_scan_ns_sequential(struct nvme_ctrl * ctrl) nvme_scan_ns_sequential() argument
4623 nvme_clear_changed_ns_log(struct nvme_ctrl * ctrl) nvme_clear_changed_ns_log() argument
4650 struct nvme_ctrl *ctrl = nvme_scan_work() local
4707 nvme_remove_namespaces(struct nvme_ctrl * ctrl) nvme_remove_namespaces() argument
4752 const struct nvme_ctrl *ctrl = nvme_class_uevent() local
4782 nvme_change_uevent(struct nvme_ctrl * ctrl,char * envdata) nvme_change_uevent() argument
4789 nvme_aen_uevent(struct nvme_ctrl * ctrl) nvme_aen_uevent() argument
4807 struct nvme_ctrl *ctrl = nvme_async_event_work() local
4821 nvme_ctrl_pp_status(struct nvme_ctrl * ctrl) nvme_ctrl_pp_status() argument
4835 nvme_get_fw_slot_info(struct nvme_ctrl * ctrl) nvme_get_fw_slot_info() argument
4867 struct nvme_ctrl *ctrl = container_of(work, nvme_fw_act_work() local
4910 nvme_handle_aen_notice(struct nvme_ctrl * ctrl,u32 result) nvme_handle_aen_notice() argument
4947 nvme_handle_aer_persistent_error(struct nvme_ctrl * ctrl) nvme_handle_aer_persistent_error() argument
4954 nvme_complete_async_event(struct nvme_ctrl * ctrl,__le16 status,volatile union nvme_result * res) nvme_complete_async_event() argument
4994 nvme_alloc_admin_tag_set(struct nvme_ctrl * ctrl,struct blk_mq_tag_set * set,const struct blk_mq_ops * ops,unsigned int cmd_size) nvme_alloc_admin_tag_set() argument
5046 nvme_remove_admin_tag_set(struct nvme_ctrl * ctrl) nvme_remove_admin_tag_set() argument
5060 nvme_alloc_io_tag_set(struct nvme_ctrl * ctrl,struct blk_mq_tag_set * set,const struct blk_mq_ops * ops,unsigned int nr_maps,unsigned int cmd_size) nvme_alloc_io_tag_set() argument
5112 nvme_remove_io_tag_set(struct nvme_ctrl * ctrl) nvme_remove_io_tag_set() argument
5122 nvme_stop_ctrl(struct nvme_ctrl * ctrl) nvme_stop_ctrl() argument
5134 nvme_start_ctrl(struct nvme_ctrl * ctrl) nvme_start_ctrl() argument
5165 nvme_uninit_ctrl(struct nvme_ctrl * ctrl) nvme_uninit_ctrl() argument
5178 struct nvme_ctrl *ctrl = nvme_free_ctrl() local
5216 nvme_init_ctrl(struct nvme_ctrl * ctrl,struct device * dev,const struct nvme_ctrl_ops * ops,unsigned long quirks) nvme_init_ctrl() argument
5299 nvme_add_ctrl(struct nvme_ctrl * ctrl) nvme_add_ctrl() argument
5329 nvme_mark_namespaces_dead(struct nvme_ctrl * ctrl) nvme_mark_namespaces_dead() argument
5342 nvme_unfreeze(struct nvme_ctrl * ctrl) nvme_unfreeze() argument
5356 nvme_wait_freeze_timeout(struct nvme_ctrl * ctrl) nvme_wait_freeze_timeout() argument
5374 nvme_wait_freeze(struct nvme_ctrl * ctrl) nvme_wait_freeze() argument
5387 nvme_start_freeze(struct nvme_ctrl * ctrl) nvme_start_freeze() argument
5406 nvme_quiesce_io_queues(struct nvme_ctrl * ctrl) nvme_quiesce_io_queues() argument
5417 nvme_unquiesce_io_queues(struct nvme_ctrl * ctrl) nvme_unquiesce_io_queues() argument
5426 nvme_quiesce_admin_queue(struct nvme_ctrl * ctrl) nvme_quiesce_admin_queue() argument
5435 nvme_unquiesce_admin_queue(struct nvme_ctrl * ctrl) nvme_unquiesce_admin_queue() argument
5442 nvme_sync_io_queues(struct nvme_ctrl * ctrl) nvme_sync_io_queues() argument
5455 nvme_sync_queues(struct nvme_ctrl * ctrl) nvme_sync_queues() argument
[all...]
H A Dtcp.c163 struct nvme_tcp_ctrl *ctrl; member
187 struct nvme_ctrl *ctrl; in nvme_tcp_reclassify_socket()
203 struct nvme_ctrl ctrl; in nvme_tcp_reclassify_socket()
256 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_tls_configured()
258 return container_of(ctrl, struct nvme_tcp_ctrl, ctrl);
263 return queue - queue->ctrl->queues; in nvme_tcp_tagset()
293 static inline bool nvme_tcp_tls_configured(struct nvme_ctrl *ctrl) in nvme_tcp_inline_data_size()
298 return ctrl->opts->tls || ctrl in nvme_tcp_async_req()
129 struct nvme_tcp_ctrl *ctrl; global() member
214 to_tcp_ctrl(struct nvme_ctrl * ctrl) to_tcp_ctrl() argument
251 nvme_tcp_tls_configured(struct nvme_ctrl * ctrl) nvme_tcp_tls_configured() argument
555 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(set->driver_data); nvme_tcp_init_request() local
583 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(data); nvme_tcp_init_hctx() local
593 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(data); nvme_tcp_init_admin_hctx() local
617 nvme_tcp_error_recovery(struct nvme_ctrl * ctrl) nvme_tcp_error_recovery() argument
1466 nvme_tcp_free_async_req(struct nvme_tcp_ctrl * ctrl) nvme_tcp_free_async_req() argument
1473 nvme_tcp_alloc_async_req(struct nvme_tcp_ctrl * ctrl) nvme_tcp_alloc_async_req() argument
1493 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_free_queue() local
1666 struct nvme_tcp_ctrl *ctrl = queue->ctrl; nvme_tcp_default_queue() local
1675 struct nvme_tcp_ctrl *ctrl = queue->ctrl; nvme_tcp_read_queue() local
1686 struct nvme_tcp_ctrl *ctrl = queue->ctrl; nvme_tcp_poll_queue() local
1708 struct nvme_tcp_ctrl *ctrl = queue->ctrl; nvme_tcp_set_queue_io_cpu() local
1752 struct nvme_tcp_ctrl *ctrl = queue->ctrl; nvme_tcp_tls_done() local
1837 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_alloc_queue() local
2006 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_stop_queue_nowait() local
2025 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_wait_queue() local
2066 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_start_queue() local
2091 nvme_tcp_free_admin_queue(struct nvme_ctrl * ctrl) nvme_tcp_free_admin_queue() argument
2102 nvme_tcp_free_io_queues(struct nvme_ctrl * ctrl) nvme_tcp_free_io_queues() argument
2110 nvme_tcp_stop_io_queues(struct nvme_ctrl * ctrl) nvme_tcp_stop_io_queues() argument
2120 nvme_tcp_start_io_queues(struct nvme_ctrl * ctrl,int first,int last) nvme_tcp_start_io_queues() argument
2139 nvme_tcp_alloc_admin_queue(struct nvme_ctrl * ctrl) nvme_tcp_alloc_admin_queue() argument
2173 __nvme_tcp_alloc_io_queues(struct nvme_ctrl * ctrl) __nvme_tcp_alloc_io_queues() argument
2214 nvme_tcp_alloc_io_queues(struct nvme_ctrl * ctrl) nvme_tcp_alloc_io_queues() argument
2239 nvme_tcp_configure_io_queues(struct nvme_ctrl * ctrl,bool new) nvme_tcp_configure_io_queues() argument
2308 nvme_tcp_configure_admin_queue(struct nvme_ctrl * ctrl,bool new) nvme_tcp_configure_admin_queue() argument
2358 nvme_tcp_teardown_admin_queue(struct nvme_ctrl * ctrl,bool remove) nvme_tcp_teardown_admin_queue() argument
2377 nvme_tcp_teardown_io_queues(struct nvme_ctrl * ctrl,bool remove) nvme_tcp_teardown_io_queues() argument
2393 nvme_tcp_reconnect_or_remove(struct nvme_ctrl * ctrl,int status) nvme_tcp_reconnect_or_remove() argument
2432 nvme_tcp_key_revoke_needed(struct nvme_ctrl * ctrl) nvme_tcp_key_revoke_needed() argument
2437 nvme_tcp_setup_ctrl(struct nvme_ctrl * ctrl,bool new) nvme_tcp_setup_ctrl() argument
2524 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; nvme_tcp_reconnect_ctrl_work() local
2552 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; nvme_tcp_error_recovery_work() local
2577 nvme_tcp_teardown_ctrl(struct nvme_ctrl * ctrl,bool shutdown) nvme_tcp_teardown_ctrl() argument
2585 nvme_tcp_delete_ctrl(struct nvme_ctrl * ctrl) nvme_tcp_delete_ctrl() argument
2592 struct nvme_ctrl *ctrl = nvme_reset_ctrl_work() local
2621 nvme_tcp_stop_ctrl(struct nvme_ctrl * ctrl) nvme_tcp_stop_ctrl() argument
2629 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); nvme_tcp_free_ctrl() local
2677 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(arg); nvme_tcp_submit_async_event() local
2708 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; nvme_tcp_complete_timed_out() local
2717 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; nvme_tcp_timeout() local
2862 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(set->driver_data); nvme_tcp_map_queues() local
2884 nvme_tcp_get_address(struct nvme_ctrl * ctrl,char * buf,int size) nvme_tcp_get_address() argument
2950 struct nvme_tcp_ctrl *ctrl; nvme_tcp_existing_controller() local
2967 struct nvme_tcp_ctrl *ctrl; nvme_tcp_alloc_ctrl() local
3053 struct nvme_tcp_ctrl *ctrl; nvme_tcp_create_ctrl() local
3137 struct nvme_tcp_ctrl *ctrl; nvme_tcp_cleanup_module() local
[all...]
H A Dauth.c23 struct nvme_ctrl *ctrl;
52 static inline int ctrl_max_dhchaps(struct nvme_ctrl *ctrl)
54 return ctrl->opts->nr_io_queues + ctrl->opts->nr_write_queues + in ctrl_max_dhchaps()
55 ctrl->opts->nr_poll_queues + 1; in ctrl_max_dhchaps()
58 static int nvme_auth_submit(struct nvme_ctrl *ctrl, int qid,
63 struct request_queue *q = ctrl->fabrics_q; in nvme_auth_submit()
68 q = ctrl->connect_q; in nvme_auth_submit()
86 dev_warn(ctrl->device, in nvme_auth_submit()
90 dev_err(ctrl in nvme_auth_submit()
24 struct nvme_ctrl *ctrl; global() member
53 ctrl_max_dhchaps(struct nvme_ctrl * ctrl) ctrl_max_dhchaps() argument
59 nvme_auth_submit(struct nvme_ctrl * ctrl,int qid,void * data,size_t data_len,bool auth_send) nvme_auth_submit() argument
95 nvme_auth_receive_validate(struct nvme_ctrl * ctrl,int qid,struct nvmf_auth_dhchap_failure_data * data,u16 transaction,u8 expected_msg) nvme_auth_receive_validate() argument
122 nvme_auth_set_dhchap_negotiate_data(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_set_dhchap_negotiate_data() argument
165 nvme_auth_process_dhchap_challenge(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_process_dhchap_challenge() argument
283 nvme_auth_set_dhchap_reply_data(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_set_dhchap_reply_data() argument
335 nvme_auth_process_dhchap_success1(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_process_dhchap_success1() argument
385 nvme_auth_set_dhchap_success2_data(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_set_dhchap_success2_data() argument
399 nvme_auth_set_dhchap_failure2_data(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_set_dhchap_failure2_data() argument
415 nvme_auth_dhchap_setup_host_response(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_dhchap_setup_host_response() argument
485 nvme_auth_dhchap_setup_ctrl_response(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_dhchap_setup_ctrl_response() argument
558 nvme_auth_dhchap_exponential(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_dhchap_exponential() argument
648 nvme_auth_revoke_tls_key(struct nvme_ctrl * ctrl) nvme_auth_revoke_tls_key() argument
658 nvme_auth_secure_concat(struct nvme_ctrl * ctrl,struct nvme_dhchap_queue_context * chap) nvme_auth_secure_concat() argument
739 struct nvme_ctrl *ctrl = chap->ctrl; nvme_queue_auth_work() local
918 nvme_auth_negotiate(struct nvme_ctrl * ctrl,int qid) nvme_auth_negotiate() argument
939 nvme_auth_wait(struct nvme_ctrl * ctrl,int qid) nvme_auth_wait() argument
955 struct nvme_ctrl *ctrl = nvme_ctrl_auth_work() local
1016 nvme_auth_init_ctrl(struct nvme_ctrl * ctrl) nvme_auth_init_ctrl() argument
1061 nvme_auth_stop(struct nvme_ctrl * ctrl) nvme_auth_stop() argument
1067 nvme_auth_free(struct nvme_ctrl * ctrl) nvme_auth_free() argument
[all...]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c147 static inline u32 msm_dp_read_ahb(const struct msm_dp_ctrl_private *ctrl, u32 offset) in msm_dp_read_ahb()
149 return readl_relaxed(ctrl->ahb_base + offset); in msm_dp_write_ahb() argument
152 static inline void msm_dp_write_ahb(struct msm_dp_ctrl_private *ctrl, in msm_dp_write_ahb()
159 writel(data, ctrl->ahb_base + offset); in msm_dp_read_link() argument
162 static inline u32 msm_dp_read_link(struct msm_dp_ctrl_private *ctrl, u32 offset) in msm_dp_read_link()
164 return readl_relaxed(ctrl->link_base + offset); in msm_dp_write_link() argument
167 static inline void msm_dp_write_link(struct msm_dp_ctrl_private *ctrl, in msm_dp_write_link()
174 writel(data, ctrl->link_base + offset); in msm_dp_aux_link_configure()
177 static inline u32 msm_dp_read_stream_link(struct msm_dp_ctrl_private *ctrl, in msm_dp_aux_link_configure()
184 return readl_relaxed(ctrl in msm_dp_aux_link_configure()
144 msm_dp_read_ahb(const struct msm_dp_ctrl_private * ctrl,u32 offset) msm_dp_read_ahb() argument
207 struct msm_dp_ctrl_private *ctrl = msm_dp_ctrl_reset() local
225 msm_dp_ctrl_get_aux_interrupt(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_get_aux_interrupt() argument
240 msm_dp_ctrl_get_interrupt(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_get_interrupt() argument
256 struct msm_dp_ctrl_private *ctrl = msm_dp_ctrl_enable_irq() local
267 struct msm_dp_ctrl_private *ctrl = msm_dp_ctrl_disable_irq() local
274 msm_dp_ctrl_get_psr_interrupt(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_get_psr_interrupt() argument
286 msm_dp_ctrl_config_psr_interrupt(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_config_psr_interrupt() argument
291 msm_dp_ctrl_psr_mainlink_enable(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_psr_mainlink_enable() argument
300 msm_dp_ctrl_psr_mainlink_disable(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_psr_mainlink_disable() argument
309 msm_dp_ctrl_mainlink_enable(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_mainlink_enable() argument
332 msm_dp_ctrl_mainlink_disable(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_mainlink_disable() argument
343 msm_dp_setup_peripheral_flush(struct msm_dp_ctrl_private * ctrl) msm_dp_setup_peripheral_flush() argument
357 msm_dp_ctrl_mainlink_ready(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_mainlink_ready() argument
376 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_push_idle() local
390 msm_dp_ctrl_config_ctrl_streams(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * msm_dp_panel) msm_dp_ctrl_config_ctrl_streams() argument
420 msm_dp_ctrl_config_ctrl_link(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_config_ctrl_link() argument
451 msm_dp_ctrl_lane_mapping(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_lane_mapping() argument
465 msm_dp_ctrl_config_misc1_misc0(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * msm_dp_panel) msm_dp_ctrl_config_misc1_misc0() argument
487 msm_dp_ctrl_configure_source_params(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_configure_source_params() argument
929 _dp_ctrl_calc_tu(struct msm_dp_ctrl_private * ctrl,struct msm_dp_tu_calc_input * in,struct msm_dp_vc_tu_mapping_table * tu_table) _dp_ctrl_calc_tu() argument
1263 msm_dp_ctrl_calc_tu_parameters(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,struct msm_dp_vc_tu_mapping_table * tu_table) msm_dp_ctrl_calc_tu_parameters() argument
1288 msm_dp_ctrl_setup_tr_unit(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_setup_tr_unit() argument
1317 msm_dp_ctrl_wait4video_ready(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_wait4video_ready() argument
1329 msm_dp_ctrl_set_vx_px(struct msm_dp_ctrl_private * ctrl,u8 v_level,u8 p_level) msm_dp_ctrl_set_vx_px() argument
1344 msm_dp_ctrl_update_phy_vx_px(struct msm_dp_ctrl_private * ctrl,enum drm_dp_phy dp_phy) msm_dp_ctrl_update_phy_vx_px() argument
1400 msm_dp_ctrl_train_pattern_set(struct msm_dp_ctrl_private * ctrl,u8 pattern,enum drm_dp_phy dp_phy) msm_dp_ctrl_train_pattern_set() argument
1423 msm_dp_ctrl_set_pattern_state_bit(struct msm_dp_ctrl_private * ctrl,u32 state_bit) msm_dp_ctrl_set_pattern_state_bit() argument
1447 msm_dp_ctrl_link_train_1(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,int * training_step,enum drm_dp_phy dp_phy) msm_dp_ctrl_link_train_1() argument
1509 msm_dp_ctrl_link_rate_down_shift(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_link_rate_down_shift() argument
1543 msm_dp_ctrl_link_lane_down_shift(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_link_lane_down_shift() argument
1559 msm_dp_ctrl_clear_training_pattern(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,enum drm_dp_phy dp_phy) msm_dp_ctrl_clear_training_pattern() argument
1572 msm_dp_ctrl_link_train_2(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,int * training_step,enum drm_dp_phy dp_phy) msm_dp_ctrl_link_train_2() argument
1629 msm_dp_ctrl_link_train_1_2(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,int * training_step,enum drm_dp_phy dp_phy) msm_dp_ctrl_link_train_1_2() argument
1652 msm_dp_ctrl_link_train(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,int * training_step) msm_dp_ctrl_link_train() argument
1711 msm_dp_ctrl_setup_main_link(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel,int * training_step) msm_dp_ctrl_setup_main_link() argument
1735 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_core_clk_enable() local
1762 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_core_clk_disable() local
1779 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_link_clk_enable() local
1812 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_link_clk_disable() local
1827 msm_dp_ctrl_enable_mainlink_clocks(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_enable_mainlink_clocks() argument
1851 msm_dp_ctrl_enable_sdp(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_enable_sdp() argument
1858 msm_dp_ctrl_psr_enter(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_psr_enter() argument
1871 msm_dp_ctrl_psr_exit(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_psr_exit() argument
1887 struct msm_dp_ctrl_private *ctrl = container_of(msm_dp_ctrl, msm_dp_ctrl_config_psr() local
1909 struct msm_dp_ctrl_private *ctrl = container_of(msm_dp_ctrl, msm_dp_ctrl_set_psr() local
1950 msm_dp_ctrl_phy_reset(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_phy_reset() argument
1960 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_phy_init() local
1972 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_phy_exit() local
1982 msm_dp_ctrl_reinitialize_mainlink(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_reinitialize_mainlink() argument
2012 msm_dp_ctrl_deinitialize_mainlink(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_deinitialize_mainlink() argument
2034 msm_dp_ctrl_link_maintenance(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_link_maintenance() argument
2060 msm_dp_ctrl_send_phy_pattern(struct msm_dp_ctrl_private * ctrl,u32 pattern) msm_dp_ctrl_send_phy_pattern() argument
2141 msm_dp_ctrl_send_phy_test_pattern(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_send_phy_test_pattern() argument
2193 msm_dp_ctrl_on_pixel_clk(struct msm_dp_ctrl_private * ctrl,unsigned long pixel_rate) msm_dp_ctrl_on_pixel_clk() argument
2218 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_off_pixel_clk() local
2228 msm_dp_ctrl_process_phy_test_request(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_process_phy_test_request() argument
2267 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_handle_sink_request() local
2321 msm_dp_ctrl_channel_eq_ok(struct msm_dp_ctrl_private * ctrl) msm_dp_ctrl_channel_eq_ok() argument
2335 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_on_link() local
2457 msm_dp_ctrl_link_retrain(struct msm_dp_ctrl_private * ctrl,struct msm_dp_panel * panel) msm_dp_ctrl_link_retrain() argument
2465 msm_dp_ctrl_config_msa(struct msm_dp_ctrl_private * ctrl,u32 rate,u32 stream_rate_khz,bool is_ycbcr_420) msm_dp_ctrl_config_msa() argument
2538 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_prepare_stream_on() local
2574 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_on_stream() local
2631 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_reinit_phy() local
2645 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_off_link() local
2665 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_isr() local
2724 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_clk_init() local
2768 struct msm_dp_ctrl_private *ctrl; msm_dp_ctrl_get() local
[all...]
/linux/drivers/net/mdio/
H A Dmdio-bitbang.c44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit() argument
46 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_send_bit()
48 ops->set_mdio_data(ctrl, val); in mdiobb_send_bit()
50 ops->set_mdc(ctrl, 1); in mdiobb_send_bit()
52 ops->set_mdc(ctrl, 0); in mdiobb_send_bit()
56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit() argument
58 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_get_bit()
61 ops->set_mdc(ctrl, 1); in mdiobb_get_bit()
63 ops->set_mdc(ctrl, 0); in mdiobb_get_bit()
65 return ops->get_mdio_data(ctrl); in mdiobb_get_bit()
[all …]
/linux/drivers/spi/
H A Dspi-qcom-qspi.c183 static u32 qspi_buswidth_to_iomode(struct qcom_qspi *ctrl, in qspi_buswidth_to_iomode() argument
194 dev_warn_once(ctrl->dev, in qspi_buswidth_to_iomode()
200 static void qcom_qspi_pio_xfer_cfg(struct qcom_qspi *ctrl) in qcom_qspi_pio_xfer_cfg() argument
206 xfer = &ctrl->xfer; in qcom_qspi_pio_xfer_cfg()
207 pio_xfer_cfg = readl(ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
215 iomode = qspi_buswidth_to_iomode(ctrl, xfer->buswidth); in qcom_qspi_pio_xfer_cfg()
218 writel(pio_xfer_cfg, ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
221 static void qcom_qspi_pio_xfer_ctrl(struct qcom_qspi *ctrl) in qcom_qspi_pio_xfer_ctrl() argument
225 pio_xfer_ctrl = readl(ctrl->base + PIO_XFER_CTRL); in qcom_qspi_pio_xfer_ctrl()
227 pio_xfer_ctrl |= ctrl in qcom_qspi_pio_xfer_ctrl()
231 qcom_qspi_pio_xfer(struct qcom_qspi * ctrl) qcom_qspi_pio_xfer() argument
255 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); qcom_qspi_handle_err() local
273 qcom_qspi_set_speed(struct qcom_qspi * ctrl,unsigned long speed_hz) qcom_qspi_set_speed() argument
312 qcom_qspi_alloc_desc(struct qcom_qspi * ctrl,dma_addr_t dma_ptr,uint32_t n_bytes) qcom_qspi_alloc_desc() argument
346 qcom_qspi_setup_dma_desc(struct qcom_qspi * ctrl,struct spi_transfer * xfer) qcom_qspi_setup_dma_desc() argument
404 qcom_qspi_dma_xfer(struct qcom_qspi * ctrl) qcom_qspi_dma_xfer() argument
426 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); qcom_qspi_transfer_one() local
496 struct qcom_qspi *ctrl; qcom_qspi_prepare_message() local
522 qcom_qspi_alloc_dma(struct qcom_qspi * ctrl) qcom_qspi_alloc_dma() argument
532 pio_read(struct qcom_qspi * ctrl) pio_read() argument
575 pio_write(struct qcom_qspi * ctrl) pio_write() argument
622 struct qcom_qspi *ctrl = dev_id; qcom_qspi_irq() local
706 struct qcom_qspi *ctrl; qcom_qspi_probe() local
835 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); qcom_qspi_runtime_suspend() local
879 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); qcom_qspi_runtime_resume() local
[all...]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
H A Ddisp.c76 NV2080_CTRL_INTERNAL_DISPLAY_CHANNEL_PUSHBUFFER_PARAMS *ctrl; in r535_disp_chan_set_pushbuf() local
78 ctrl = nvkm_gsp_rm_ctrl_get(&gsp->internal.device.subdevice, in r535_disp_chan_set_pushbuf()
80 sizeof(*ctrl)); in r535_disp_chan_set_pushbuf()
81 if (IS_ERR(ctrl)) in r535_disp_chan_set_pushbuf()
82 return PTR_ERR(ctrl); in r535_disp_chan_set_pushbuf()
87 ctrl->addressSpace = ADDR_SYSMEM; in r535_disp_chan_set_pushbuf()
88 ctrl->cacheSnoop = 0; in r535_disp_chan_set_pushbuf()
91 ctrl->addressSpace = ADDR_SYSMEM; in r535_disp_chan_set_pushbuf()
92 ctrl->cacheSnoop = 1; in r535_disp_chan_set_pushbuf()
95 ctrl->addressSpace = ADDR_FBMEM; in r535_disp_chan_set_pushbuf()
[all …]
/linux/drivers/clk/bcm/
H A Dclk-iproc-pll.c68 const struct iproc_pll_ctrl *ctrl; member
76 const struct iproc_clk_ctrl *ctrl; member
150 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_wait_for_lock() local
153 u32 val = readl(pll->status_base + ctrl->status.offset); in pll_wait_for_lock()
155 if (val & (1 << ctrl->status.shift)) in pll_wait_for_lock()
166 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in iproc_pll_write() local
170 if (unlikely(ctrl->flags & IPROC_CLK_NEEDS_READ_BACK && in iproc_pll_write()
177 const struct iproc_pll_ctrl *ctrl in __pll_disable() local
206 const struct iproc_pll_ctrl *ctrl = pll->ctrl; __pll_enable() local
236 const struct iproc_pll_ctrl *ctrl = pll->ctrl; __pll_put_in_reset() local
251 const struct iproc_pll_ctrl *ctrl = pll->ctrl; __pll_bring_out_reset() local
279 const struct iproc_pll_ctrl *ctrl = pll->ctrl; pll_fractional_change_only() local
309 const struct iproc_pll_ctrl *ctrl = pll->ctrl; pll_set_rate() local
439 const struct iproc_pll_ctrl *ctrl = pll->ctrl; iproc_pll_disable() local
452 const struct iproc_pll_ctrl *ctrl = pll->ctrl; iproc_pll_recalc_rate() local
502 const struct iproc_pll_ctrl *ctrl = pll->ctrl; iproc_pll_determine_rate() local
547 const struct iproc_pll_ctrl *ctrl = pll->ctrl; iproc_pll_set_rate() local
578 const struct iproc_clk_ctrl *ctrl = clk->ctrl; iproc_clk_enable() local
598 const struct iproc_clk_ctrl *ctrl = clk->ctrl; iproc_clk_disable() local
614 const struct iproc_clk_ctrl *ctrl = clk->ctrl; iproc_clk_recalc_rate() local
662 const struct iproc_clk_ctrl *ctrl = clk->ctrl; iproc_clk_set_rate() local
703 const struct iproc_pll_ctrl *ctrl = pll->ctrl; iproc_pll_sw_cfg() local
[all...]
/linux/arch/arm/kernel/
H A Dunwind.c211 static unsigned long unwind_get_byte(struct unwind_ctrl_block *ctrl) in unwind_get_byte() argument
215 if (ctrl->entries <= 0) { in unwind_get_byte()
220 ret = (*ctrl->insn >> (ctrl->byte * 8)) & 0xff; in unwind_get_byte()
222 if (ctrl->byte == 0) { in unwind_get_byte()
223 ctrl->insn++; in unwind_get_byte()
224 ctrl->entries--; in unwind_get_byte()
225 ctrl->byte = 3; in unwind_get_byte()
227 ctrl->byte--; in unwind_get_byte()
233 static int unwind_pop_register(struct unwind_ctrl_block *ctrl, in unwind_pop_register() argument
236 if (unlikely(ctrl->check_each_pop)) in unwind_pop_register()
[all …]
/linux/drivers/watchdog/
H A Drealtek_otto_wdt.c76 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_start() local
78 regmap_set_bits(ctrl->regmap, OTTO_WDT_REG_CTRL, OTTO_WDT_CTRL_ENABLE); in otto_wdt_start()
84 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_stop() local
86 regmap_clear_bits(ctrl->regmap, OTTO_WDT_REG_CTRL, in otto_wdt_stop()
93 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_ping() local
95 regmap_write(ctrl->regmap, OTTO_WDT_REG_CNTR, OTTO_WDT_CNTR_PING); in otto_wdt_ping()
99 static int otto_wdt_tick_ms(struct otto_wdt_ctrl *ctrl, int prescale) in otto_wdt_tick_ms() argument
101 return DIV_ROUND_CLOSEST(1 << (25 + prescale), ctrl->clk_rate_khz); in otto_wdt_tick_ms()
112 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_determine_timeouts() local
128 tick_ms = otto_wdt_tick_ms(ctrl, prescal in otto_wdt_determine_timeouts()
165 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); otto_wdt_restart() local
194 struct otto_wdt_ctrl *ctrl = dev_id; otto_wdt_phase1_isr() local
221 otto_wdt_probe_clk(struct otto_wdt_ctrl * ctrl) otto_wdt_probe_clk() argument
236 otto_wdt_probe_reset_mode(struct otto_wdt_ctrl * ctrl) otto_wdt_probe_reset_mode() argument
279 struct otto_wdt_ctrl *ctrl; otto_wdt_probe() local
[all...]
/linux/drivers/gpio/
H A Dgpio-realtek-otto.c158 static void realtek_gpio_clear_isr(struct realtek_gpio_ctrl *ctrl, u32 mask) in realtek_gpio_clear_isr() argument
160 ctrl->bank_write(ctrl->base + REALTEK_GPIO_REG_ISR, mask); in realtek_gpio_clear_isr()
163 static u32 realtek_gpio_read_isr(struct realtek_gpio_ctrl *ctrl) in realtek_gpio_read_isr() argument
165 return ctrl->bank_read(ctrl->base + REALTEK_GPIO_REG_ISR); in realtek_gpio_read_isr()
169 static void realtek_gpio_update_line_imr(struct realtek_gpio_ctrl *ctrl, unsigned int line) in realtek_gpio_update_line_imr() argument
171 void __iomem *reg = ctrl->base + REALTEK_GPIO_REG_IMR; in realtek_gpio_update_line_imr()
172 unsigned int line_shift = ctrl->line_imr_pos(line); in realtek_gpio_update_line_imr()
174 u32 irq_type = ctrl in realtek_gpio_update_line_imr()
187 struct realtek_gpio_ctrl *ctrl = irq_data_to_ctrl(data); realtek_gpio_irq_ack() local
195 struct realtek_gpio_ctrl *ctrl = irq_data_to_ctrl(data); realtek_gpio_irq_unmask() local
209 struct realtek_gpio_ctrl *ctrl = irq_data_to_ctrl(data); realtek_gpio_irq_mask() local
223 struct realtek_gpio_ctrl *ctrl = irq_data_to_ctrl(data); realtek_gpio_irq_set_type() local
255 struct realtek_gpio_ctrl *ctrl = gpiochip_get_data(gc); realtek_gpio_irq_handler() local
269 realtek_gpio_irq_cpu_mask(struct realtek_gpio_ctrl * ctrl,int cpu) realtek_gpio_irq_cpu_mask() argument
277 struct realtek_gpio_ctrl *ctrl = irq_data_to_ctrl(data); realtek_gpio_irq_set_affinity() local
310 struct realtek_gpio_ctrl *ctrl = gpiochip_get_data(gc); realtek_gpio_irq_init() local
369 struct realtek_gpio_ctrl *ctrl; realtek_gpio_probe() local
[all...]

12345678910>>...51