/drivers/net/ethernet/mscc/ |
D | ocelot_ace.c | 98 static u32 vcap_s2_read_update_ctrl(struct ocelot *oc) in vcap_s2_read_update_ctrl() argument 100 return ocelot_read(oc, S2_CORE_UPDATE_CTRL); in vcap_s2_read_update_ctrl() 103 static void vcap_cmd(struct ocelot *oc, u16 ix, int cmd, int sel) in vcap_cmd() argument 121 ocelot_write(oc, value, S2_CORE_UPDATE_CTRL); in vcap_cmd() 122 readx_poll_timeout(vcap_s2_read_update_ctrl, oc, value, in vcap_cmd() 128 static void vcap_row_cmd(struct ocelot *oc, u32 row, int cmd, int sel) in vcap_row_cmd() argument 130 vcap_cmd(oc, vcap_is2.entry_count - row - 1, cmd, sel); in vcap_row_cmd() 133 static void vcap_entry2cache(struct ocelot *oc, struct vcap_data *data) in vcap_entry2cache() argument 138 ocelot_write_rix(oc, data->entry[i], S2_CACHE_ENTRY_DAT, i); in vcap_entry2cache() 139 ocelot_write_rix(oc, ~data->mask[i], S2_CACHE_MASK_DAT, i); in vcap_entry2cache() [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_cs.h | 39 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 40 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 41 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/drivers/scsi/bfa/ |
D | bfa_cs.h | 187 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 218 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/drivers/block/drbd/ |
D | drbd_state.c | 974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 977 if (oc == nc) in is_valid_conn_transition() 981 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 985 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 994 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() 998 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition() 2029 enum drbd_conns oc; member 2042 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local 2052 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch() [all …]
|
D | drbd_receiver.c | 5156 enum drbd_conns oc; in conn_disconnect() local 5200 oc = connection->cstate; in conn_disconnect() 5201 if (oc >= C_UNCONNECTED) in conn_disconnect() 5206 if (oc == C_DISCONNECTING) in conn_disconnect()
|
/drivers/thermal/tegra/ |
D | soctherm.c | 1901 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local 1903 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program() 1907 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program() 1908 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program() 1911 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program() 1912 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program() 1913 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program() 1914 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
|
/drivers/pinctrl/ |
D | pinctrl-as3722.c | 146 FUNCTION_GROUP(oc-pg-sd0, OC_PG_SD0), 147 FUNCTION_GROUP(oc-pg-sd6, OC_PG_SD6),
|
/drivers/s390/cio/ |
D | chsc.h | 233 u8 oc; member
|
D | chsc.c | 1360 brinfo_area->oc = 0; /* Store-network-bridging-information list */ in chsc_pnso_brinfo()
|
/drivers/tty/ |
D | sysrq.c | 364 struct oom_control oc = { in moom_callback() local 373 if (!out_of_memory(&oc)) in moom_callback()
|
/drivers/spi/ |
D | Makefile | 69 obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o
|
/drivers/s390/block/ |
D | scm_blk.c | 197 msb->oc = (rq_data_dir(req) == READ) ? MSB_OC_READ : MSB_OC_WRITE; in scm_request_prepare()
|